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

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

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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 PERFTOOLS_DLL_DECL void* tc_valloc(size_t __size) __THROW; 82 PERFTOOLS_DLL_DECL void* tc_valloc(size_t __size) __THROW;
83 PERFTOOLS_DLL_DECL void* tc_pvalloc(size_t __size) __THROW; 83 PERFTOOLS_DLL_DECL void* tc_pvalloc(size_t __size) __THROW;
84 84
85 PERFTOOLS_DLL_DECL void tc_malloc_stats(void) __THROW; 85 PERFTOOLS_DLL_DECL void tc_malloc_stats(void) __THROW;
86 PERFTOOLS_DLL_DECL int tc_mallopt(int cmd, int value) __THROW; 86 PERFTOOLS_DLL_DECL int tc_mallopt(int cmd, int value) __THROW;
87 #if @ac_cv_have_struct_mallinfo@ 87 #if @ac_cv_have_struct_mallinfo@
88 PERFTOOLS_DLL_DECL struct mallinfo tc_mallinfo(void) __THROW; 88 PERFTOOLS_DLL_DECL struct mallinfo tc_mallinfo(void) __THROW;
89 #endif 89 #endif
90 90
91 #ifdef __cplusplus 91 #ifdef __cplusplus
92 PERFTOOLS_DLL_DECL int tc_set_new_mode(int flag) __THROW;
92 PERFTOOLS_DLL_DECL void* tc_new(size_t size); 93 PERFTOOLS_DLL_DECL void* tc_new(size_t size);
93 PERFTOOLS_DLL_DECL void tc_delete(void* p) __THROW; 94 PERFTOOLS_DLL_DECL void tc_delete(void* p) __THROW;
94 PERFTOOLS_DLL_DECL void* tc_newarray(size_t size); 95 PERFTOOLS_DLL_DECL void* tc_newarray(size_t size);
95 PERFTOOLS_DLL_DECL void tc_deletearray(void* p) __THROW; 96 PERFTOOLS_DLL_DECL void tc_deletearray(void* p) __THROW;
96 97
97 PERFTOOLS_DLL_DECL void* tc_new_nothrow(size_t size, 98 PERFTOOLS_DLL_DECL void* tc_new_nothrow(size_t size,
98 const std::nothrow_t&) __THROW; 99 const std::nothrow_t&) __THROW;
99 PERFTOOLS_DLL_DECL void* tc_newarray_nothrow(size_t size, 100 PERFTOOLS_DLL_DECL void* tc_newarray_nothrow(size_t size,
100 const std::nothrow_t&) __THROW; 101 const std::nothrow_t&) __THROW;
101 PERFTOOLS_DLL_DECL void tc_delete_nothrow(void* p, 102 PERFTOOLS_DLL_DECL void tc_delete_nothrow(void* p,
102 const std::nothrow_t&) __THROW; 103 const std::nothrow_t&) __THROW;
103 PERFTOOLS_DLL_DECL void tc_deletearray_nothrow(void* p, 104 PERFTOOLS_DLL_DECL void tc_deletearray_nothrow(void* p,
104 const std::nothrow_t&) __THROW; 105 const std::nothrow_t&) __THROW;
105 } 106 }
106 #endif 107 #endif
107 108
108 #endif // #ifndef TCMALLOC_TCMALLOC_H_ 109 #endif // #ifndef TCMALLOC_TCMALLOC_H_
OLDNEW
« no previous file with comments | « third_party/tcmalloc/chromium/src/google/malloc_hook.h ('k') | third_party/tcmalloc/chromium/src/heap-checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698