/external/clang/test/Sema/ |
H A D | implicit-builtin-freestanding.c | 4 int malloc(int a) { return a; } function
|
H A D | implicit-builtin-redecl.c | 4 static void* malloc(int); 5 static void* malloc(int size) { function
|
H A D | implicit-builtin-decl.c | 5 int *ptr = malloc(sizeof(int) * 10); // expected-warning{{implicitly declaring library function 'malloc' with type}} \ 6 // expected-note{{please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'}} \ 7 // expected-note{{'malloc' is a builtin with type 'void *}} 16 void g(int malloc) { // okay: these aren't functions argument 21 int malloc(int); // expected-warning{{incompatible redeclaration of library function 'malloc'}}
|
/external/chromium_org/tools/gyp/test/link-dependency/ |
H A D | mymalloc.c | 9 void *malloc(size_t size) { function
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/ |
H A D | pr5056.cpp | 4 extern "C" void * malloc(int); 7 void *malloc(int); 11 inline void *A<T>::malloc(int) function in class:A 17 malloc(10);
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | interception_malloc_test.cc | 12 extern "C" void *malloc(size_t size) { function 13 write(2, "malloc call\n", sizeof("malloc call\n") - 1); 18 char *x = (char*)malloc(10 * sizeof(char)); 21 // CHECK: malloc call
|
/external/jemalloc/include/jemalloc/ |
H A D | jemalloc_protos.h | 10 JEMALLOC_EXPORT void *je_malloc(size_t size) JEMALLOC_ATTR(malloc); variable 12 JEMALLOC_ATTR(malloc); variable 16 JEMALLOC_ATTR(malloc); variable 41 JEMALLOC_ATTR(malloc); variable 45 JEMALLOC_EXPORT void * je_valloc(size_t size) JEMALLOC_ATTR(malloc); variable
|
H A D | jemalloc_protos_jet.h | 10 JEMALLOC_EXPORT void *jet_malloc(size_t size) JEMALLOC_ATTR(malloc); variable 12 JEMALLOC_ATTR(malloc); variable 16 JEMALLOC_ATTR(malloc); variable 41 JEMALLOC_ATTR(malloc); variable 45 JEMALLOC_EXPORT void * jet_valloc(size_t size) JEMALLOC_ATTR(malloc); variable
|
/external/bison/lib/ |
H A D | malloc.c | 0 /* malloc() function that is glibc compatible. 22 /* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */ 23 #ifdef malloc 25 # undef malloc macro 26 /* Whereas the gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ 48 result = malloc (n);
|
/external/compiler-rt/test/tsan/ |
H A D | user_malloc.cc | 8 extern "C" void *malloc(unsigned long size) { function 11 printf("user malloc\n"); 20 volatile char *p = (char*)malloc(10); 25 // CHECK: user malloc
|
/external/valgrind/main/memcheck/tests/ |
H A D | static_malloc.c | 5 void* malloc(size_t i) { function 16 p = malloc(10); 17 p = malloc(123);
|
/external/cmockery/cmockery_0_1_2/src/example/ |
H A D | allocate_module.c | 24 #define malloc(size) _test_malloc(size, __FILE__, __LINE__) macro 30 int * const temporary = (int*)malloc(sizeof(int)); 35 char * const memory = (char*)malloc(sizeof(int)); 41 char * const memory = (char*)malloc(sizeof(int));
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
H A D | prwin16.h | 105 void * (PR_CALLBACK *malloc)( size_t size ); member in struct:PRMethodCallbackStr
|
/external/ipsec-tools/src/racoon/ |
H A D | gcmalloc.h | 35 * Debugging malloc glue for Racoon. 46 * malloc(), calloc(), realloc(), and free() entry points in the main 55 malloc(size_t size) function 111 #define racoon_malloc(sz) malloc((sz))
|
/external/libunwind/tests/ |
H A D | Gtest-nomalloc.c | 38 malloc(size_t s) function 43 func = (void *(*)()) dlsym(RTLD_NEXT, "malloc");
|
H A D | Ltest-nocalloc.c | 66 malloc(size_t s) function 71 func = dlsym(RTLD_NEXT, "malloc"); 116 and check that it doesn't call malloc()/calloc(). */ 123 * where we are sure that we're not inside malloc */ 131 "FAILURE: detected %d error%s (malloc: %d, calloc: %d)\n",
|
/external/compiler-rt/lib/asan/ |
H A D | asan_malloc_linux.cc | 12 // Linux-specific malloc interception. 13 // We simply define functions like malloc, free, realloc, etc. 27 DECLARE_REAL_AND_INTERCEPTOR(void*, malloc, uptr size) 35 void *(*malloc)(uptr bytes); member in struct:MallocDebug 44 WRAP(malloc), WRAP(free), WRAP(calloc), 78 INTERCEPTOR(void*, malloc, uptr size) { 127 // We avoid including malloc.h for portability reasons.
|
H A D | asan_malloc_win.cc | 12 // Windows-specific malloc interception. 51 void *malloc(size_t size) { function 58 return malloc(size); 119 // functions to detect a bit more bugs. Those functions seem to wrap malloc(). 139 // set on malloc/free etc (e.g. dllimport), so declare a few things manually: 151 if (GetRealFunctionAddress("malloc", (void**)&crt_malloc)) { 152 // Replace malloc in the CRT dll with a jump to our malloc. 157 ptrdiff_t jmp_offset = (char*)malloc - (char*)crt_malloc - 5;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
H A D | override_functions.cc | 90 #undef malloc macro 106 return malloc(size);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
H A D | override_functions.cc | 90 #undef malloc macro 106 return malloc(size);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/ |
H A D | yasm.pyx | 64 cdef void *malloc(int n) function 101 self.cb = <yasm_assoc_data_callback *>malloc(sizeof(yasm_assoc_data_callback))
|
/external/srec/portable/include/ |
H A D | pmemory.h | 64 #define MALLOC(n, tag) malloc(n) 85 #define malloc #error macro 99 * Portable malloc() 104 * Portable malloc() 162 * Allocates specified number of bytes, similar to malloc but initializes the
|
/external/chromium_org/base/allocator/ |
H A D | generic_allocators.cc | 6 // low-level functions malloc() and free(). This way, including a new 16 ptr = malloc(size); 60 // If flag is 0 (default), calls to malloc will behave normally. 61 // If flag is 1, calls to malloc will behave like calls to new, 79 void* result = malloc(size); 98 // Generally, calls to malloc() have padding. So a request 99 // to malloc N bytes actually malloc's N+x bytes. Later, if 113 #undef malloc macro 157 return malloc(siz [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | DefaultAllocator.h | 86 static Return malloc(size_t size) function in class:WTF::DefaultAllocator 98 return malloc<void*, void>(bytes); 177 return Allocator::template malloc<void*, ClassName>(size); \
|
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/ |
H A D | vpx_mem.h | 112 # define malloc vpx_malloc macro
|