/external/libmtp/examples/ |
H A D | thumb.c | 85 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 D | trace-event-scripting.c | 94 scripting_context = malloc(sizeof(struct scripting_context)); 157 scripting_context = malloc(sizeof(struct scripting_context));
|
H A D | trace-event-read.c | 155 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 D | values.c | 9 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 D | stack_logging.h | 27 #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 D | poptparse.c | 30 dst = malloc(nb); 62 const char ** argv = malloc(sizeof(*argv) * argvAlloced);
|
/external/pcre/dist/ |
H A D | pcre_maketables.c | 62 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 D | srgb-test.c | 53 uint32_t *dest = malloc (WIDTH * HEIGHT * 4); 54 uint32_t *src1 = malloc (WIDTH * HEIGHT * 4);
|
/external/skia/src/utils/ |
H A D | SkBitSet.cpp | 17 fBitData.set(malloc(fDwordCount * sizeof(uint32_t))); 33 fBitData.set(malloc(fDwordCount * sizeof(uint32_t)));
|
/external/strace/test/ |
H A D | threaded_execve.c | 99 /* 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 D | pth_barrier.c | 75 t = malloc(nthread * sizeof(struct threadinfo)); 76 array = malloc(iterations * sizeof(array[0]));
|
/external/valgrind/main/memcheck/tests/ |
H A D | leak-pool.c | 35 struct pool *p = malloc(sizeof(struct pool)); 39 p->buf = malloc(p->allocated);
|
H A D | pdb-realloc2.c | 35 UChar* p = malloc(size); 64 v = malloc(size+100);
|
H A D | lks.stderr.exp | 22 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 D | mempool2.stderr.exp | 2 ------ 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 D | cu42.stderr.exp | 5 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 D | tree.c | 32 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 D | jemalloc.h | 121 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 D | delay_estimator.c | 111 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 D | asan_test.cc | 16 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 D | cnmdptst.c | 87 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 D | cmsgtst.c | 65 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 D | cnmdptst.c | 87 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 D | cmsgtst.c | 65 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 D | node_record.c | 103 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...] |