HomeSort by relevance Sort by last modified time
    Searched defs:malloc (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/clang/test/Sema/
implicit-builtin-freestanding.c 4 int malloc(int a) { return a; } function
implicit-builtin-redecl.c 4 static void* malloc(int);
5 static void* malloc(int size) { function
  /external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
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/
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
  /ndk/sources/host-tools/sed-4.2.1/lib/
malloc.c 3 /* malloc() function that is glibc compatible.
24 /* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */
25 #ifdef malloc
27 # undef malloc macro
35 /* Call the system's malloc below. */
36 #undef malloc macro
51 result = malloc (n);
realloc.c 27 /* Infer the properties of the system's malloc function.
28 Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */
29 #if GNULIB_MALLOC_GNU && !defined malloc
33 /* Below we want to call the system's malloc and realloc.
35 declaration of malloc(), not of rpl_malloc(), and likewise for realloc. */
36 #undef malloc macro
44 /* Below we want to call the system's malloc and realloc.
47 #undef malloc macro
52 use malloc. */
76 result = malloc (n)
    [all...]
  /external/bison/lib/
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/
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/
static_malloc.c 5 void* malloc(size_t i) { function
16 p = malloc(10);
17 p = malloc(123);
  /hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
OMX_DebugMem.h 34 #define malloc(x) OMX_DebugMem_malloc(x,__FILE__,__FUNCTION__,__LINE__) macro
  /hardware/ti/omap4xxx/domx/omx_core/inc/
OMX_DebugMem.h 58 #define malloc(x) OMX_DebugMem_malloc(x,__FILE__,__FUNCTION__,__LINE__) macro
  /external/chromium_org/third_party/npapi/npspy/extern/nspr/
prwin16.h 105 void * (PR_CALLBACK *malloc)( size_t size ); member in struct:PRMethodCallbackStr
  /external/compiler-rt/lib/asan/
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.
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/ipsec-tools/src/racoon/
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/chromium_org/third_party/tcmalloc/chromium/src/windows/
override_functions.cc 90 #undef malloc macro
106 return malloc(size);
  /external/chromium_org/third_party/tcmalloc/vendor/src/windows/
override_functions.cc 90 #undef malloc macro
106 return malloc(size);
  /ndk/tests/device/test-stlport_shared-exception/jni/
badalloc1.cpp 3 // itself call malloc(), and will fail if there is no more
9 // Check we can throw a bad_alloc exception when malloc dies.
41 extern "C" void *malloc (size_t size) function
79 r = malloc (size);
85 r = malloc (size);
112 __cxa_get_globals will try to call "malloc" when threads are in
117 thrown when malloc fails. */
  /ndk/tests/device/test-stlport_static-exception/jni/
badalloc1.cpp 3 // itself call malloc(), and will fail if there is no more
9 // Check we can throw a bad_alloc exception when malloc dies.
41 extern "C" void *malloc (size_t size) function
79 r = malloc (size);
85 r = malloc (size);
112 __cxa_get_globals will try to call "malloc" when threads are in
117 thrown when malloc fails. */
  /external/chromium/base/allocator/
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(size)
    [all...]
  /external/chromium_org/base/allocator/
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(size)
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/
yasm.pyx 64 cdef void *malloc(int n) function
101 self.cb = <yasm_assoc_data_callback *>malloc(sizeof(yasm_assoc_data_callback))
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_allocator_testlib.cc 9 // Malloc replacement library based on CombinedAllocator.
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/srec/portable/include/
pmemory.h 64 #define MALLOC(n, tag) malloc(n)
69 #define NEW(type, tag) ((type*)MALLOC(sizeof(type), tag))
85 #define malloc #error macro
99 * Portable malloc()
101 #define MALLOC(nbBytes, tag) (pmalloc(nbBytes, tag, L(__FILE__), __LINE__))
104 * Portable malloc()
106 #define MALLOC(nbBytes, tag) (pmalloc(nbBytes))
138 #define NEW(type, tag) ((type*) MALLOC(sizeof(type), tag))
162 * Allocates specified number of bytes, similar to malloc but initializes th
    [all...]
  /external/valgrind/main/drd/tests/
unit_vc.c 13 void* VG_(malloc)(HChar* cc, SizeT nbytes) function
14 { return malloc(nbytes); }

Completed in 291 milliseconds

1 2 3