/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 88 key = malloc(sizeof(cache_test_key)); 99 key = malloc(sizeof(cache_test_key)); 100 value_in = malloc(sizeof(cache_test_value));
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
H A D | malloc_extension_c_test.c | 81 free(malloc(10)); 82 free(malloc(20)); 102 char* x = (char*)malloc(10);
|
H A D | debugallocation_test.cc | 79 // OS X the OS converts new/new[] to malloc before it gets to us, so 83 // malloc can be matched only by free 89 // Allocate with malloc. 91 int* x = static_cast<int*>(malloc(sizeof(*x))); 244 free(malloc(1)); 263 void *p = malloc(i); 268 void* a = malloc(1000); 285 a = malloc(kTooBig); 293 a = malloc(kAlsoTooBig);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
H A D | malloc_extension_c_test.c | 81 free(malloc(10)); 82 free(malloc(20)); 102 char* x = (char*)malloc(10);
|
/external/clang/test/CodeGen/ |
H A D | 2002-07-14-MiscListTests.c | 5 void *malloc(unsigned); 28 Data = (list*)malloc(12); // This is not a proper list allocation 44 *L = (list*)malloc(sizeof(list));
|
/external/e2fsprogs/intl/ |
H A D | 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/jemalloc/include/jemalloc/ |
H A D | jemalloc_protos.h.in | 10 JEMALLOC_EXPORT void *@je_@malloc(size_t size) JEMALLOC_ATTR(malloc); 12 JEMALLOC_ATTR(malloc); 16 JEMALLOC_ATTR(malloc); 41 JEMALLOC_ATTR(malloc); 45 JEMALLOC_EXPORT void * @je_@valloc(size_t size) JEMALLOC_ATTR(malloc);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | 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/mesa3d/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 88 key = malloc(sizeof(cache_test_key)); 99 key = malloc(sizeof(cache_test_key)); 100 value_in = malloc(sizeof(cache_test_value));
|
/external/pixman/demos/ |
H A D | convolution-test.c | 14 uint32_t *src = malloc (WIDTH * HEIGHT * 4); 15 uint32_t *mask = malloc (WIDTH * HEIGHT * 4); 16 uint32_t *dest = malloc (WIDTH * HEIGHT * 4);
|
/external/valgrind/main/memcheck/tests/ |
H A D | 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:...)
|
H A D | 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:...)
|
H A D | leak-delta.c | 14 b10 = malloc (10); 23 b21 = malloc (21); 28 b32_33[i] = malloc (32+i);
|
H A D | 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 [all...] |
H A D | 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_mallo [all...] |
H A D | 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:...)
|
H A D | threadname.stderr.exp | 5 at 0x........: malloc (vg_replace_malloc.c:...) 15 at 0x........: malloc (vg_replace_malloc.c:...) 26 at 0x........: malloc (vg_replace_malloc.c:...) 37 at 0x........: malloc (vg_replace_malloc.c:...) 47 at 0x........: malloc (vg_replace_malloc.c:...)
|
/external/valgrind/main/none/tests/ppc32/ |
H A D | lsw.c | 19 char* a1 = malloc(100); 20 char* a2 = malloc(100); 52 a2 = malloc(100);
|
/external/valgrind/main/none/tests/ppc64/ |
H A D | lsw.c | 19 char* a1 = malloc(100); 20 char* a2 = malloc(100); 52 a2 = malloc(100);
|
/external/yaffs2/yaffs2/direct/ |
H A D | ydirectenv.h | 47 #define YMALLOC(x) malloc(x) 49 #define YMALLOC_ALT(x) malloc(x) 52 #define YMALLOC_DMA(x) malloc(x)
|
/external/chromium_org/base/third_party/xdg_user_dirs/ |
H A D | xdg_user_dir_lookup.cc | 67 config_file = (char*) malloc (strlen (home_dir) + strlen ("/.config/user-dirs.dirs") + 1); 76 config_file = (char*) malloc (strlen (config_home) + strlen ("/user-dirs.dirs") + 1); 136 user_dir = (char*) malloc (strlen (home_dir) + 1 + strlen (p) + 1); 145 user_dir = (char*) malloc (strlen (p) + 1); 207 user_dir = (char*) malloc (strlen (home_dir) + strlen ("/Desktop") + 1);
|
/external/valgrind/main/none/tests/arm/ |
H A D | ldrt.c | 7 #include <malloc.h> 86 unsigned char* b = malloc(256); 93 unsigned char* c = malloc(256); 102 unsigned char* d = malloc(256); 110 unsigned char* e = malloc(256);
|
/external/zopfli/src/zopfli/ |
H A D | hash.c | 33 h->head = (int*)malloc(sizeof(*h->head) * 65536); 34 h->prev = (unsigned short*)malloc(sizeof(*h->prev) * window_size); 35 h->hashval = (int*)malloc(sizeof(*h->hashval) * window_size); 45 h->same = (unsigned short*)malloc(sizeof(*h->same) * window_size); 53 h->head2 = (int*)malloc(sizeof(*h->head2) * 65536); 54 h->prev2 = (unsigned short*)malloc(sizeof(*h->prev2) * window_size); 55 h->hashval2 = (int*)malloc(sizeof(*h->hashval2) * window_size);
|
/external/valgrind/main/massif/tests/ |
H A D | 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/ |
H A D | 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:...)
|