Searched refs:malloc (Results 326 - 350 of 2881) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
H A Du_cache_test.c88 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 Dmalloc_extension_c_test.c81 free(malloc(10));
82 free(malloc(20));
102 char* x = (char*)malloc(10);
H A Ddebugallocation_test.cc79 // 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 Dmalloc_extension_c_test.c81 free(malloc(10));
82 free(malloc(20));
102 char* x = (char*)malloc(10);
/external/clang/test/CodeGen/
H A D2002-07-14-MiscListTests.c5 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 Dos2compat.c60 _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 Djemalloc_protos.h.in10 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 Dlevenshtein.c45 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 Du_cache_test.c88 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 Dconvolution-test.c14 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 Dbadrw.stderr.exp4 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 Dholey_buffer_too_small.stderr.exp7 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 Dleak-delta.c14 b10 = malloc (10);
23 b21 = malloc (21);
28 b32_33[i] = malloc (32+i);
H A Dmalloc_free_fill.c2 /* 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 Dleak-delta.stderr.exp3 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 Dleak-cases-full.stderr.exp6 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 Dthreadname.stderr.exp5 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 Dlsw.c19 char* a1 = malloc(100);
20 char* a2 = malloc(100);
52 a2 = malloc(100);
/external/valgrind/main/none/tests/ppc64/
H A Dlsw.c19 char* a1 = malloc(100);
20 char* a2 = malloc(100);
52 a2 = malloc(100);
/external/yaffs2/yaffs2/direct/
H A Dydirectenv.h47 #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 Dxdg_user_dir_lookup.cc67 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 Dldrt.c7 #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 Dhash.c33 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 Dbasic2.post.exp39 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 Dmcleak.stderr.exp6 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:...)

Completed in 601 milliseconds

<<11121314151617181920>>