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

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

Issue 7046043: Landing http://codereview.chromium.org/7033062/: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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) 2008, Google Inc. 1 /* Copyright (c) 2008, 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 MallocHook_MunmapHook MallocHook_SetMunmapHook(MallocHook_MunmapHook hook); 77 MallocHook_MunmapHook MallocHook_SetMunmapHook(MallocHook_MunmapHook hook);
78 78
79 typedef void (*MallocHook_MremapHook)(const void* result, 79 typedef void (*MallocHook_MremapHook)(const void* result,
80 const void* old_addr, 80 const void* old_addr,
81 size_t old_size, 81 size_t old_size,
82 size_t new_size, 82 size_t new_size,
83 int flags, 83 int flags,
84 const void* new_addr); 84 const void* new_addr);
85 MallocHook_MremapHook MallocHook_SetMremapHook(MallocHook_MremapHook hook); 85 MallocHook_MremapHook MallocHook_SetMremapHook(MallocHook_MremapHook hook);
86 86
87 typedef void (*MallocHook_PreSbrkHook)(ptrdiff_t increment); 87 typedef void (*MallocHook_PreSbrkHook)(std::ptrdiff_t increment);
88 MallocHook_PreSbrkHook MallocHook_SetPreSbrkHook(MallocHook_PreSbrkHook hook); 88 MallocHook_PreSbrkHook MallocHook_SetPreSbrkHook(MallocHook_PreSbrkHook hook);
89 89
90 typedef void (*MallocHook_SbrkHook)(const void* result, ptrdiff_t increment); 90 typedef void (*MallocHook_SbrkHook)(const void* result, std::ptrdiff_t increment );
91 MallocHook_SbrkHook MallocHook_SetSbrkHook(MallocHook_SbrkHook hook); 91 MallocHook_SbrkHook MallocHook_SetSbrkHook(MallocHook_SbrkHook hook);
92 92
93 #endif /* _MALLOC_HOOK_C_H_ */ 93 #endif /* _MALLOC_HOOK_C_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