/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 | 3 int *ptr = malloc(sizeof(int) * 10); // expected-warning{{implicitly declaring library function 'malloc' with type}} \ 4 // expected-note{{please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'}} \ 5 // expected-note{{'malloc' is a builtin with type 'void *}} 14 void g(int malloc) { // okay: these aren't functions argument 19 int malloc(int); // expected-warning{{incompatible redeclaration of library function 'malloc'}}
|
/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/lib/asan/lit_tests/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/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/lib/tsan/lit_tests/ |
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/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/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. 26 DECLARE_REAL_AND_INTERCEPTOR(void*, malloc, uptr size) 33 void* (*malloc)(uptr bytes); member in struct:MallocDebug 41 WRAP(malloc), WRAP(free), WRAP(calloc), WRAP(realloc), WRAP(memalign) 73 INTERCEPTOR(void*, malloc, uptr size) { 112 // We avoid including malloc.h for portability reasons.
|
H A D | asan_malloc_win.cc | 12 // Windows-specific malloc interception. 48 void *malloc(size_t size) { function 54 return malloc(size); 112 // set on malloc/free etc (e.g. dllimport), so declare a few things manually: 124 if (GetRealFunctionAddress("malloc", (void**)&crt_malloc)) { 125 // Replace malloc in the CRT dll with a jump to our malloc. 130 ptrdiff_t jmp_offset = (char*)malloc - (char*)crt_malloc - 5;
|
/external/chromium/base/allocator/ |
H A D | generic_allocators.cc | 6 // low-level functions malloc() and free(). This way, including a new 16 ptr = malloc(size); 52 // If flag is 0 (default), calls to malloc will behave normally. 53 // If flag is 1, calls to malloc will behave like calls to new, 71 void* result = malloc(size); 90 // Generally, calls to malloc() have padding. So a request 91 // to malloc N bytes actually malloc's N+x bytes. Later, if 105 #undef malloc macro 122 return malloc(siz [all...] |
/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); 52 // If flag is 0 (default), calls to malloc will behave normally. 53 // If flag is 1, calls to malloc will behave like calls to new, 71 void* result = malloc(size); 90 // Generally, calls to malloc() have padding. So a request 91 // to malloc N bytes actually malloc's N+x bytes. Later, if 105 #undef malloc macro 149 return malloc(siz [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_allocator_testlib.cc | 73 void *malloc(size_t size) { function 155 void *operator new(size_t size) ALIAS("malloc"); 156 void *operator new[](size_t size) ALIAS("malloc"); 157 void *operator new(size_t size, std::nothrow_t const&) ALIAS("malloc"); 158 void *operator new[](size_t size, std::nothrow_t const&) ALIAS("malloc");
|
/external/libvpx/libvpx/vpx_mem/ |
H A D | vpx_mem.h | 109 # define malloc vpx_malloc macro
|
/external/valgrind/main/coregrind/m_gdbserver/ |
H A D | server.h | 154 #define malloc(sz) VG_(arena_malloc) (VG_AR_CORE, "gdbsrv", sz) macro
|
/external/bison/darwin-lib/ |
H A D | stdlib.h | 593 rely on GNU or POSIX semantics for malloc and realloc (for example, 594 by never specifying a zero size), so it does not need malloc or 600 # undef malloc 601 # define malloc rpl_malloc 603 _GL_FUNCDECL_RPL (malloc, void *, (size_t size)); 604 _GL_CXXALIAS_RPL (malloc, void *, (size_t size)); 606 _GL_CXXALIAS_SYS (malloc, void *, (size_t size)); 608 _GL_CXXALIASWARN (malloc); variable 610 # undef malloc macro 611 /* Assume malloc i [all...] |
/external/bison/linux-lib/ |
H A D | stdlib.h | 593 rely on GNU or POSIX semantics for malloc and realloc (for example, 594 by never specifying a zero size), so it does not need malloc or 600 # undef malloc 601 # define malloc rpl_malloc 603 _GL_FUNCDECL_RPL (malloc, void *, (size_t size)); 604 _GL_CXXALIAS_RPL (malloc, void *, (size_t size)); 606 _GL_CXXALIAS_SYS (malloc, void *, (size_t size)); 608 _GL_CXXALIASWARN (malloc); variable 610 # undef malloc macro 611 /* Assume malloc i [all...] |
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
H A D | SDL_qsort.c | 57 #ifdef malloc 58 #undef malloc macro 60 #define malloc SDL_malloc macro 326 char *pivot=malloc(size); 357 char *pivot=malloc(size); 388 char *pivot=malloc(WORD_BYTES);
|
/external/valgrind/main/callgrind/ |
H A D | debug.c | 438 void* CLG_(malloc)(HChar* cc, UWord s, char* f) function 441 return VG_(malloc)(cc,s);
|