Searched defs:malloc (Results 1 - 25 of 52) sorted by relevance

123

/external/clang/test/Sema/
H A Dimplicit-builtin-freestanding.c4 int malloc(int a) { return a; } function
H A Dimplicit-builtin-redecl.c4 static void* malloc(int);
5 static void* malloc(int size) { function
H A Dimplicit-builtin-decl.c5 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 Dconfigure2237 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 Dpr5056.cpp4 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 Dinterception_malloc_test.cc12 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 Dmalloc.c0 /* 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 Duser_malloc.cc8 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 Dstatic_malloc.c5 void* malloc(size_t i) { function
16 p = malloc(10);
17 p = malloc(123);
/external/cmockery/cmockery_0_1_2/src/example/
H A Dallocate_module.c24 #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 Dcurl_memory.h29 * 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 Dmemdebug.h87 #define malloc(size) curl_domalloc(size, __LINE__, __FILE__) macro
/external/ipsec-tools/src/racoon/
H A Dgcmalloc.h35 * 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 DGtest-nomalloc.c38 malloc(size_t s) function
43 func = (void *(*)()) dlsym(RTLD_NEXT, "malloc");
H A DLtest-nocalloc.c66 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 DSkMipMap.h49 SkMipMap(void* malloc, size_t size) : INHERITED(malloc, size) {} argument
/external/vboot_reference/firmware/lib/include/
H A Dutility.h109 #define malloc _do_not_use_standard_malloc macro
/external/boringssl/src/crypto/test/
H A Dmalloc.cc28 // 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 Dasan_malloc_win.cc12 // 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 Dsanitizer_allocator_testlib.cc73 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 Dserver.h157 #define malloc(sz) VG_(malloc) ("gdbsrv", sz) macro
/external/bison/darwin-lib/
H A Dstdlib.h593 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 Dstdlib.h593 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 Djemalloc_mangle.h14 # define malloc je_malloc macro
H A Djemalloc_mangle_jet.h14 # define malloc jet_malloc macro

Completed in 2477 milliseconds

123