| /external/e2fsprogs/intl/ |
| os2compat.c | 60 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); 74 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); 88 _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1);
|
| /external/linux-tools-perf/util/ |
| levenshtein.c | 45 int *row0 = malloc(sizeof(int) * (len2 + 1)); 46 int *row1 = malloc(sizeof(int) * (len2 + 1)); 47 int *row2 = malloc(sizeof(int) * (len2 + 1));
|
| /external/valgrind/main/memcheck/tests/ |
| badrw.stderr.exp | 4 at 0x........: malloc (vg_replace_malloc.c:...) 10 at 0x........: malloc (vg_replace_malloc.c:...) 16 at 0x........: malloc (vg_replace_malloc.c:...) 22 at 0x........: malloc (vg_replace_malloc.c:...) 28 at 0x........: malloc (vg_replace_malloc.c:...) 34 at 0x........: malloc (vg_replace_malloc.c:...)
|
| holey_buffer_too_small.stderr.exp | 7 at 0x........: malloc (vg_replace_malloc.c:...) 10 at 0x........: malloc (vg_replace_malloc.c:...) 16 at 0x........: malloc (vg_replace_malloc.c:...) 25 at 0x........: malloc (vg_replace_malloc.c:...) 34 at 0x........: malloc (vg_replace_malloc.c:...) 43 at 0x........: malloc (vg_replace_malloc.c:...)
|
| leak-delta.c | 14 b10 = malloc (10); 23 b21 = malloc (21); 28 b32_33[i] = malloc (32+i);
|
| malloc_free_fill.c | 2 /* Test for correct functioning of the --malloc-fill and --free-fill 3 flags. Needs --malloc-fill=0x55 and --free-fill=0x77. */ 23 fprintf(stderr, "test simple malloc/free:\n"); 25 a = malloc(10 * sizeof(int)); assert(a); 26 TEST(a[4], 0x55555555, "malloc-filled"); 34 r = malloc(30 * sizeof(int)); assert(r); 35 TEST(r[25], 0x55555555, "malloc-filled"); 42 TEST( r[35], 0x55555555, "malloc-filled"); 49 r = malloc(30 * sizeof(int)); assert(r); 50 TEST(r[25], 0x55555555, "malloc-filled") [all...] |
| leak-delta.stderr.exp | 3 at 0x........: malloc (vg_replace_malloc.c:...) 10 at 0x........: malloc (vg_replace_malloc.c:...) 15 at 0x........: malloc (vg_replace_malloc.c:...) 21 at 0x........: malloc (vg_replace_malloc.c:...) 28 at 0x........: malloc (vg_replace_malloc.c:...) 34 at 0x........: malloc (vg_replace_malloc.c:...) 39 at 0x........: malloc (vg_replace_malloc.c:...) 45 at 0x........: malloc (vg_replace_malloc.c:...) 50 at 0x........: malloc (vg_replace_malloc.c:...) 56 at 0x........: malloc (vg_replace_malloc.c:... [all...] |
| leak-cases-full.stderr.exp | 6 at 0x........: malloc (vg_replace_malloc.c:...) 12 at 0x........: malloc (vg_replace_malloc.c:...) 18 at 0x........: malloc (vg_replace_malloc.c:...) 24 at 0x........: malloc (vg_replace_malloc.c:...) 30 at 0x........: malloc (vg_replace_malloc.c:...) 36 at 0x........: malloc (vg_replace_malloc.c:...) 42 at 0x........: malloc (vg_replace_malloc.c:...) 48 at 0x........: malloc (vg_replace_malloc.c:...) 54 at 0x........: malloc (vg_replace_malloc.c:...)
|
| leak-cases-possible.stderr.exp | 6 at 0x........: malloc (vg_replace_malloc.c:...) 12 at 0x........: malloc (vg_replace_malloc.c:...) 18 at 0x........: malloc (vg_replace_malloc.c:...)
|
| /external/valgrind/main/none/tests/ppc32/ |
| lsw.c | 19 char* a1 = malloc(100); 20 char* a2 = malloc(100); 52 a2 = malloc(100);
|
| /external/valgrind/main/none/tests/ppc64/ |
| lsw.c | 19 char* a1 = malloc(100); 20 char* a2 = malloc(100); 52 a2 = malloc(100);
|
| /external/yaffs2/yaffs2/direct/ |
| ydirectenv.h | 47 #define YMALLOC(x) malloc(x) 49 #define YMALLOC_ALT(x) malloc(x) 52 #define YMALLOC_DMA(x) malloc(x)
|
| /frameworks/compile/libbcc/tests/data/src/ |
| brackets.c | 38 int* ar = (int*) malloc(100); 46 int* ar = (int*) malloc(lenX * lenY * 4); 47 int** ar2D = (int**) malloc(lenX * 4);
|
| casts.c | 20 int px = (int) malloc(120); 59 int px = (int) malloc(120); 67 int px = (int) malloc(120);
|
| /hardware/ti/omap4xxx/domx/mm_osal/src/ |
| timm_osal_memory.c | 55 #include <malloc.h> 126 pData = malloc((size_t) size); 138 pData = malloc((size_t) size); /*size_t is long long */ 142 TIMM_OSAL_Error("Malloc failed!!!");
|
| /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/valgrind/main/massif/tests/ |
| basic2.post.exp | 39 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 45 98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 52 98.04% (7,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 59 98.04% (10,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 66 98.04% (14,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 73 98.04% (11,200B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 80 98.04% (8,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 87 98.04% (4,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 94 98.04% (1,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
| /external/valgrind/main/gdbserver_tests/ |
| mcleak.stderr.exp | 6 at 0x........: malloc (vg_replace_malloc.c:...) 24 at 0x........: malloc (vg_replace_malloc.c:...) 29 at 0x........: malloc (vg_replace_malloc.c:...) 34 at 0x........: malloc (vg_replace_malloc.c:...) 39 at 0x........: malloc (vg_replace_malloc.c:...)
|
| /external/compiler-rt/lib/asan/tests/ |
| asan_mac_test.cc | 18 #include <malloc/malloc.h> 77 // We're intercepting malloc, so kCFAllocatorMalloc is routed to ASan. 143 pointers[i] = malloc(i + 1); 159 // Call malloc in the child process to make sure we won't deadlock. 160 void *ptr = malloc(42); 170 // Incorrect implementation of force_lock and force_unlock in our malloc zone 190 void *mem = malloc(10); 229 void *alloc = Ident(malloc(kMallocSize));
|
| /external/compiler-rt/lib/asan/ |
| asan_malloc_win.cc | 12 // Windows-specific malloc interception. 46 void *malloc(size_t size) { function 52 return malloc(size); 110 // set on malloc/free etc (e.g. dllimport), so declare a few things manually: 122 if (GetRealFunctionAddress("malloc", (void**)&crt_malloc)) { 123 // Replace malloc in the CRT dll with a jump to our malloc. 128 ptrdiff_t jmp_offset = (char*)malloc - (char*)crt_malloc - 5;
|
| /external/elfutils/libasm/ |
| asm_error.c | 67 buffer = (int *) malloc (sizeof (int)); 102 buffer = malloc (sizeof (int)); 148 buffer = (int *) malloc (sizeof (int));
|
| /external/jpeg/ |
| jmemansi.c | 20 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */ 21 extern void * malloc JPP((size_t size)); 32 * routines malloc() and free(). 38 return (void *) malloc(sizeofobject); 58 return (void FAR *) malloc(sizeofobject);
|
| /external/qemu/distrib/jpeg-6b/ |
| jmemansi.c | 20 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */ 21 extern void * malloc JPP((size_t size)); 32 * routines malloc() and free(). 38 return (void *) malloc(sizeofobject); 58 return (void FAR *) malloc(sizeofobject);
|
| /external/stlport/stlport/stl/ |
| _stdexcept_base.c | 22 _M_name = __STATIC_CAST(char*, malloc(__size * sizeof(char))); 45 _M_name = __STATIC_CAST(char*, malloc(__size * sizeof(char))); 71 _M_name = __STATIC_CAST(char*, malloc(__size * sizeof(char)));
|