/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{{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/fec/ |
H A D | configure | 2237 echo "$as_me:$LINENO: checking for malloc in -lc" >&5 2238 echo $ECHO_N "checking for malloc in -lc... $ECHO_C" >&6 2257 char malloc (); 2261 malloc (); 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/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/Linux/ |
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/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/curl/lib/ |
H A D | curl_memory.h | 29 * that use memory related functions strdup, malloc, calloc, realloc 41 * clone implementation while using malloc. Extra care needed inside 100 * libcurl's 'memory tracking' system defines strdup, malloc, calloc, 110 #undef malloc macro 111 #define malloc(size) Curl_cmalloc(size) macro
|
H A D | memdebug.h | 87 #define malloc(size) curl_domalloc(size, __LINE__, __FILE__) macro
|
/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/skia/src/core/ |
H A D | SkMipMap.h | 49 SkMipMap(void* malloc, size_t size) : INHERITED(malloc, size) {} argument
|
/external/vboot_reference/firmware/lib/include/ |
H A D | utility.h | 109 #define malloc _do_not_use_standard_malloc macro
|
/external/boringssl/src/crypto/test/ |
H A D | malloc.cc | 28 // builds and trying to override malloc in a static link doesn't work. It also 30 // ASan's malloc interceptor. 121 void *malloc(size_t size) { function
|
/external/compiler-rt/lib/asan/ |
H A D | asan_malloc_win.cc | 12 // Windows-specific malloc interception. 57 void *malloc(size_t size) { function 64 return malloc(size); 125 // functions to detect a bit more bugs. Those functions seem to wrap malloc(). 147 __interception::OverrideFunction("malloc", (uptr)malloc); 148 __interception::OverrideFunction("_malloc_crt", (uptr)malloc);
|
/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/valgrind/coregrind/m_gdbserver/ |
H A D | server.h | 157 #define malloc(sz) VG_(malloc) ("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/jemalloc/include/jemalloc/ |
H A D | jemalloc_mangle.h | 14 # define malloc je_malloc macro
|
H A D | jemalloc_mangle_jet.h | 14 # define malloc jet_malloc macro
|