Searched refs:malloc (Results 626 - 650 of 2881) sorted by relevance

<<21222324252627282930>>

/external/libmtp/examples/
H A Dthumb.c85 imagedata = malloc(filesize * sizeof(uint16_t));
110 thumb->data = malloc(sizeof(uint16_t) * filesize);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dtrace-event-scripting.c94 scripting_context = malloc(sizeof(struct scripting_context));
157 scripting_context = malloc(sizeof(struct scripting_context));
H A Dtrace-event-read.c155 str = malloc(size);
171 buf = malloc(size + 1);
197 buf = malloc(size);
229 header_page = malloc(size);
267 buf = malloc(size);
286 buf = malloc(size);
H A Dvalues.c9 values->pid = malloc(values->threads_max * sizeof(*values->pid));
10 values->tid = malloc(values->threads_max * sizeof(*values->tid));
11 values->value = malloc(values->threads_max * sizeof(*values->value));
17 values->counterrawid = malloc(values->counters_max
19 values->countername = malloc(values->counters_max
72 values->value[i] = malloc(values->counters_max * sizeof(**values->value));
137 counterwidth = malloc(values->counters * sizeof(*counterwidth));
/external/lldb/tools/debugserver/source/MacOSX/
H A Dstack_logging.h27 #import <malloc/malloc.h>
31 #define stack_logging_type_alloc 2 /* malloc, realloc, etc... */
53 /* Fits as the malloc_logger; logs malloc/free/realloc events and can log custom events if called directly */
65 /* Gets the last allocation record (malloc, realloc, or free) about address */
/external/oprofile/libpopt/
H A Dpoptparse.c30 dst = malloc(nb);
62 const char ** argv = malloc(sizeof(*argv) * argvAlloced);
/external/pcre/dist/
H A Dpcre_maketables.c62 part of the library, the store is obtained via PUBL(malloc)(), but when
63 compiled inside dftables, use malloc().
84 yield = (unsigned char*)(PUBL(malloc))(tables_length);
86 yield = (unsigned char*)malloc(tables_length);
/external/pixman/demos/
H A Dsrgb-test.c53 uint32_t *dest = malloc (WIDTH * HEIGHT * 4);
54 uint32_t *src1 = malloc (WIDTH * HEIGHT * 4);
/external/skia/src/utils/
H A DSkBitSet.cpp17 fBitData.set(malloc(fDwordCount * sizeof(uint32_t)));
33 fBitData.set(malloc(fDwordCount * sizeof(uint32_t)));
/external/strace/test/
H A Dthreaded_execve.c99 /* malloc gives sufficiently aligned buffer.
105 clone2(thread1, malloc(16 * 1024), 16 * 1024, 0
113 clone2(thread2, malloc(16 * 1024), 16 * 1024, 0
/external/valgrind/main/drd/tests/
H A Dpth_barrier.c75 t = malloc(nthread * sizeof(struct threadinfo));
76 array = malloc(iterations * sizeof(array[0]));
/external/valgrind/main/memcheck/tests/
H A Dleak-pool.c35 struct pool *p = malloc(sizeof(struct pool));
39 p->buf = malloc(p->allocated);
H A Dpdb-realloc2.c35 UChar* p = malloc(size);
64 v = malloc(size+100);
H A Dlks.stderr.exp22 at 0x........: malloc (vg_replace_malloc.c:...)
28 at 0x........: malloc (vg_replace_malloc.c:...)
34 at 0x........: malloc (vg_replace_malloc.c:...)
40 at 0x........: malloc (vg_replace_malloc.c:...)
46 at 0x........: malloc (vg_replace_malloc.c:...)
H A Dmempool2.stderr.exp2 ------ out of range reads in malloc-backed pool ------
40 ------ read free in malloc-backed pool ------
46 at 0x........: malloc (vg_replace_malloc.c:...)
57 Address 0x........ is not stack'd, malloc'd or (recently) free'd
60 ------ double free in malloc-backed pool ------
66 at 0x........: malloc (vg_replace_malloc.c:...)
77 Address 0x........ is not stack'd, malloc'd or (recently) free'd
/external/valgrind/main/memcheck/tests/s390x/
H A Dcu42.stderr.exp5 at 0x........: malloc (vg_replace_malloc.c:...)
12 at 0x........: malloc (vg_replace_malloc.c:...)
19 at 0x........: malloc (vg_replace_malloc.c:...)
26 at 0x........: malloc (vg_replace_malloc.c:...)
/external/zopfli/src/zopfli/
H A Dtree.c32 size_t* bl_count = (size_t*)malloc(sizeof(size_t) * (maxbits + 1));
33 size_t* next_code = (size_t*)malloc(sizeof(size_t) * (maxbits + 1));
/external/jemalloc/include/jemalloc/
H A Djemalloc.h121 JEMALLOC_EXPORT void *je_malloc(size_t size) JEMALLOC_ATTR(malloc); variable
123 JEMALLOC_ATTR(malloc); variable
127 JEMALLOC_ATTR(malloc); variable
152 JEMALLOC_ATTR(malloc); variable
156 JEMALLOC_EXPORT void * je_valloc(size_t size) JEMALLOC_ATTR(malloc); variable
175 # define malloc je_malloc macro
/external/webrtc/src/modules/audio_processing/utility/
H A Ddelay_estimator.c111 self = malloc(sizeof(BinaryDelayEstimator));
126 self->mean_bit_counts = malloc(history_size * sizeof(int32_t));
132 self->bit_counts = malloc(history_size * sizeof(int32_t));
139 self->binary_far_history = malloc(history_size * sizeof(uint32_t));
145 self->binary_near_history = malloc(self->near_history_size *
152 self->far_bit_counts = malloc(history_size * sizeof(int));
/external/compiler-rt/lib/asan/tests/
H A Dasan_test.cc16 void *res = malloc/**/(size); break_optimization(0); return res;}
59 int *a = (int*)malloc(100 * sizeof(int));
63 int *r = (int*)malloc(10);
113 free(Ident(malloc(Ident(1 << 27)))); // Try to drain the quarantine.
293 EXPECT_DEATH(Ident((char*)malloc(size))[-1] = 0, buff);
306 EXPECT_DEATH(Ident((char*)malloc(n_megs << 20))[-1] = 0,
332 free(Ident(malloc(size)));
352 int *ptr = (int*)malloc(sizeof(int) * kMinElem);
360 // Realloc pointer returned by malloc(0).
361 int *ptr2 = Ident((int*)malloc(
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcnmdptst.c87 unewp=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
101 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
139 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
168 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
253 upat=(UChar*)malloc(sizeof(UChar) * (strlen(pat[p])+1) );
270 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
302 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
348 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("*#,##0.00;-*#,##0.00") + 1) );
359 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
369 pat=(UChar*)malloc(sizeo
[all...]
H A Dcmsgtst.c65 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize);
70 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize);
117 str=(UChar*)malloc(sizeof(UChar) * 7);
120 result=(UChar*)malloc(sizeof(UChar) * 1);
164 result=(UChar*)malloc(sizeof(UChar) * resultlength);
212 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2);
284 str=(UChar*)malloc(sizeof(UChar) * 15);
289 result=(UChar*)malloc(sizeof(UChar) * 1);
417 result=(UChar*)malloc(sizeof(UChar) * resultlength);
494 str=(UChar*)malloc(sizeo
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcnmdptst.c87 unewp=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
101 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
139 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
168 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
253 upat=(UChar*)malloc(sizeof(UChar) * (strlen(pat[p])+1) );
270 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
302 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
348 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("*#,##0.00;-*#,##0.00") + 1) );
359 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
369 pat=(UChar*)malloc(sizeo
[all...]
H A Dcmsgtst.c65 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize);
70 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize);
117 str=(UChar*)malloc(sizeof(UChar) * 7);
120 result=(UChar*)malloc(sizeof(UChar) * 1);
164 result=(UChar*)malloc(sizeof(UChar) * resultlength);
212 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2);
284 str=(UChar*)malloc(sizeof(UChar) * 15);
289 result=(UChar*)malloc(sizeof(UChar) * 1);
417 result=(UChar*)malloc(sizeof(UChar) * resultlength);
494 str=(UChar*)malloc(sizeo
[all...]
/external/libsepol/src/
H A Dnode_record.c103 tmp_addr = malloc(4);
110 tmp_addr = malloc(16);
202 tmp_addr = malloc(INET_ADDRSTRLEN);
208 tmp_addr = malloc(INET6_ADDRSTRLEN);
293 tmp_key->addr = malloc(node->addr_sz);
294 tmp_key->mask = malloc(node->mask_sz);
393 char *tmp_buf = malloc(node->addr_sz);
438 char *tmp_addr = malloc(addr_sz);
482 char *tmp_buf = malloc(node->mask_sz);
527 char *tmp_mask = malloc(mask_s
[all...]

Completed in 557 milliseconds

<<21222324252627282930>>