Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: third_party/tcmalloc/chromium/src/windows/google/tcmalloc.h

Issue 576001: Merged third_party/tcmalloc/vendor/src(google-perftools r87) into... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Removed the unnecessary printf and ASSERT(0) Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2003, Google Inc. 1 /* Copyright (c) 2003, Google Inc.
2 * All rights reserved. 2 * All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 PERFTOOLS_DLL_DECL void* tc_valloc(size_t __size) __THROW; 83 PERFTOOLS_DLL_DECL void* tc_valloc(size_t __size) __THROW;
84 PERFTOOLS_DLL_DECL void* tc_pvalloc(size_t __size) __THROW; 84 PERFTOOLS_DLL_DECL void* tc_pvalloc(size_t __size) __THROW;
85 85
86 PERFTOOLS_DLL_DECL void tc_malloc_stats(void) __THROW; 86 PERFTOOLS_DLL_DECL void tc_malloc_stats(void) __THROW;
87 PERFTOOLS_DLL_DECL int tc_mallopt(int cmd, int value) __THROW; 87 PERFTOOLS_DLL_DECL int tc_mallopt(int cmd, int value) __THROW;
88 #if 0 88 #if 0
89 PERFTOOLS_DLL_DECL struct mallinfo tc_mallinfo(void) __THROW; 89 PERFTOOLS_DLL_DECL struct mallinfo tc_mallinfo(void) __THROW;
90 #endif 90 #endif
91 91
92 #ifdef __cplusplus 92 #ifdef __cplusplus
93 PERFTOOLS_DLL_DECL int tc_set_new_mode(int flag) __THROW;
93 PERFTOOLS_DLL_DECL void* tc_new(size_t size); 94 PERFTOOLS_DLL_DECL void* tc_new(size_t size);
94 PERFTOOLS_DLL_DECL void tc_delete(void* p) __THROW; 95 PERFTOOLS_DLL_DECL void tc_delete(void* p) __THROW;
95 PERFTOOLS_DLL_DECL void* tc_newarray(size_t size); 96 PERFTOOLS_DLL_DECL void* tc_newarray(size_t size);
96 PERFTOOLS_DLL_DECL void tc_deletearray(void* p) __THROW; 97 PERFTOOLS_DLL_DECL void tc_deletearray(void* p) __THROW;
97 98
98 PERFTOOLS_DLL_DECL void* tc_new_nothrow(size_t size, 99 PERFTOOLS_DLL_DECL void* tc_new_nothrow(size_t size,
99 const std::nothrow_t&) __THROW; 100 const std::nothrow_t&) __THROW;
100 PERFTOOLS_DLL_DECL void* tc_newarray_nothrow(size_t size, 101 PERFTOOLS_DLL_DECL void* tc_newarray_nothrow(size_t size,
101 const std::nothrow_t&) __THROW; 102 const std::nothrow_t&) __THROW;
102 PERFTOOLS_DLL_DECL void tc_delete_nothrow(void* p, 103 PERFTOOLS_DLL_DECL void tc_delete_nothrow(void* p,
103 const std::nothrow_t&) __THROW; 104 const std::nothrow_t&) __THROW;
104 PERFTOOLS_DLL_DECL void tc_deletearray_nothrow(void* p, 105 PERFTOOLS_DLL_DECL void tc_deletearray_nothrow(void* p,
105 const std::nothrow_t&) __THROW; 106 const std::nothrow_t&) __THROW;
106 } 107 }
107 #endif 108 #endif
108 109
109 #endif // #ifndef TCMALLOC_TCMALLOC_H_ 110 #endif // #ifndef TCMALLOC_TCMALLOC_H_
OLDNEW
« no previous file with comments | « third_party/tcmalloc/chromium/src/windows/config.h ('k') | third_party/tcmalloc/chromium/src/windows/patch_functions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698