HomeSort by relevance Sort by last modified time
    Searched refs:malloc (Results 501 - 525 of 2813) sorted by null

<<21222324252627282930>>

  /system/core/toolbox/
insmod.c 5 #include <malloc.h>
31 buffer = malloc(size);
  /external/webrtc/src/modules/audio_processing/utility/
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));
  /frameworks/compile/mclinker/unittests/
FactoriesTest.cpp 60 node->data = (int*)malloc(sizeof(int));
79 node->data = (int*)malloc(sizeof(int));
102 node->data = (int*)malloc(sizeof(int));
128 node->data = (int*)malloc(sizeof(int));
136 node->data = (int*)malloc(sizeof(int));
161 node->data = (int*)malloc(sizeof(int));
  /frameworks/base/tools/aidl/
aidl_language_y.y 84 user_data_type* b = (user_data_type*)malloc(sizeof(user_data_type));
105 user_data_type* b = (user_data_type*)malloc(sizeof(user_data_type));
130 interface_type* c = (interface_type*)malloc(sizeof(interface_type));
140 interface_type* c = (interface_type*)malloc(sizeof(interface_type));
150 interface_type* c = (interface_type*)malloc(sizeof(interface_type));
212 method_type *method = (method_type*)malloc(sizeof(method_type));
230 method_type *method = (method_type*)malloc(sizeof(method_type));
248 method_type *method = (method_type*)malloc(sizeof(method_type));
266 method_type *method = (method_type*)malloc(sizeof(method_type));
308 arg_type* arg = (arg_type*)malloc(sizeof(arg_type))
    [all...]
  /external/icu4c/test/cintltst/
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(sizeof(UChar) * (lneed+1) )
    [all...]
cmsgtst.c 65 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize);
70 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize);
113 str=(UChar*)malloc(sizeof(UChar) * 7);
116 result=(UChar*)malloc(sizeof(UChar) * 1);
160 result=(UChar*)malloc(sizeof(UChar) * resultlength);
208 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2);
280 str=(UChar*)malloc(sizeof(UChar) * 15);
285 result=(UChar*)malloc(sizeof(UChar) * 1);
413 result=(UChar*)malloc(sizeof(UChar) * resultlength);
490 str=(UChar*)malloc(sizeof(UChar) * 25)
    [all...]
nfsprep.c 79 b1 = (UChar*) malloc(b1Len * U_SIZEOF_UCHAR);
95 b2 = (UChar*) malloc(b2Len * U_SIZEOF_UCHAR);
107 b3 = (char*) malloc(b3Len);
237 p = (char*) malloc(pLen);
250 s = (char*) malloc(pLen);
  /external/valgrind/main/coregrind/m_replacemalloc/
vg_replace_malloc.c 3 /*--- Replacements for malloc() et al, which run on the simulated ---*/
35 These functions are drop-in replacements for malloc() and friends.
40 that wishes to know about calls to malloc(). The tool must define all
106 through to malloc/free.
168 /*--- Replacing malloc() et al ---*/
186 /* Below are new versions of malloc, __builtin_new, free,
190 be found by the dynamic linker. But ALL client calls to malloc()
198 /*---------------------- malloc ----------------------*/
267 // malloc
269 ALLOC_or_NULL(VG_Z_LIBSTDCXX_SONAME, malloc, malloc)
    [all...]
  /external/valgrind/main/memcheck/tests/
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/linux-tools-perf/util/
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
71 values->value[i] = malloc(values->counters_max * sizeof(**values->value));
136 counterwidth = malloc(values->counters * sizeof(*counterwidth));
  /system/core/libcutils/
dir_hash.c 149 char *name = malloc(strlen(de->d_name) + 1);
150 struct list *node = malloc(sizeof(struct list));
181 name = malloc(strlen(f->name) + strlen(directory_path) + 2);
207 keep = malloc(len + strlen(name) + 3);
208 res = malloc(sizeof(struct list));
285 list = malloc(count * sizeof(struct list *));
303 buf = malloc(len + 1);
  /external/compiler-rt/lib/asan/tests/
asan_test.cc 16 void *res = malloc/**/(size); break_optimization(0); return res;}
76 int *a = (int*)malloc(100 * sizeof(int));
80 int *r = (int*)malloc(10);
234 EXPECT_EQ(0, malloc(size));
235 EXPECT_EQ(0, malloc(~Ident(0)));
283 EXPECT_DEATH(Ident((char*)malloc(size))[-1] = 0, buff);
320 free(Ident(malloc(size)));
340 int *ptr = (int*)malloc(sizeof(int) * kMinElem);
348 // Realloc pointer returned by malloc(0).
349 int *ptr2 = Ident((int*)malloc(0))
    [all...]
asan_mem_test.cc 19 T *array = Ident((T*)malloc(size));
117 assert(0 && "Did not find two adjacent malloc-ed pointers");
125 T *src = Ident((T*)malloc(size));
126 T *dest = Ident((T*)malloc(size));
168 T *big_src = Ident((T*)malloc(size * 2));
169 T *big_dest = Ident((T*)malloc(size * 2));
asan_noinst_test.cc 367 char *array = Ident((char*)malloc(kArraySize));
378 // and from the interior pointers (not returned by previous malloc).
397 void *zero_alloc = Ident(malloc(0));
399 // If malloc(0) is not null, this pointer is owned and should have valid
414 array = Ident((char*)malloc(kMallocSize));
439 free(Ident(malloc(kLargeMallocSize)));
442 fprintf(stderr, "heap growth after first malloc: %zu\n", heap_growth);
449 free(Ident(malloc(kLargeMallocSize)));
451 fprintf(stderr, "heap growth after second malloc: %zu\n", heap_growth);
467 free(Ident(malloc(kLargeMallocSize))); // Drain quarantine
    [all...]
  /external/libsepol/src/
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_sz)
    [all...]
  /hardware/samsung_slsi/exynos5/libkeymaster/
keymaster_mobicore.cpp 117 UniquePtr<uint8_t> keyDataPtr(reinterpret_cast<uint8_t*>(malloc(RSA_KEY_BUFFER_SIZE)));
213 UniquePtr<uint8_t> outPtr(reinterpret_cast<uint8_t*>(malloc(RSA_KEY_BUFFER_SIZE)));
244 UniquePtr<uint8_t> binModPtr(reinterpret_cast<uint8_t*>(malloc(RSA_KEY_MAX_SIZE)));
250 UniquePtr<uint8_t> binExpPtr(reinterpret_cast<uint8_t*>(malloc(sizeof(uint32_t))));
313 UniquePtr<uint8_t> key(static_cast<uint8_t*>(malloc(len)));
355 UniquePtr<uint8_t> signedDataPtr(reinterpret_cast<uint8_t*>(malloc(RSA_KEY_MAX_SIZE)));
364 void *tmpData = malloc(dataLength);
404 void *tmpSignedData = malloc(signedDataLength);
406 void *tmpSig = malloc(signatureLength);
  /external/blktrace/
blkrawverify.c 131 bit = malloc(sizeof(struct blk_io_trace)); \
148 struct blk_io_trace *bit = malloc(sizeof(struct blk_io_trace));
198 pdu_buf = malloc(bit->pdu_len);
282 char *ofname = malloc(1024);
283 char *fname = malloc(1024);
  /external/e2fsprogs/intl/
bindtextdom.c 155 result = (char *) malloc (len);
193 result = (char *) malloc (len);
225 (struct binding *) malloc (offsetof (struct binding, domainname) + len);
252 result = (char *) malloc (len);
283 result = (char *) malloc (len);
  /external/jpeg/
ansi2knr.c 272 malloc and free should be declared in stdlib.h,
276 # include <malloc.h>
279 extern char *malloc();
282 extern char *malloc();
370 buf = malloc(bufsize);
547 breaks = (char **)malloc(sizeof(char *) * num_breaks * 2);
  /external/qemu/distrib/jpeg-6b/
ansi2knr.c 272 malloc and free should be declared in stdlib.h,
276 # include <malloc.h>
279 extern char *malloc();
282 extern char *malloc();
370 buf = malloc(bufsize);
547 breaks = (char **)malloc(sizeof(char *) * num_breaks * 2);
  /external/tremolo/Tremolo/
misc.c 76 pointers=(void **)malloc(sizeof(void **)*palloced);
77 insertlist=(long *)malloc(sizeof(long *)*palloced);
103 files=malloc(filecount*sizeof(*files));
104 file_bytes=malloc(filecount*sizeof(*file_bytes));
187 fprintf(stderr,"DEBUGGING MALLOC ERROR: freeing previously freed memory\n");
192 fprintf(stderr,"DEBUGGING MALLOC ERROR: freeing unmalloced memory\n");
216 ptr=malloc(bytes);
  /system/vold/
Devmapper.cpp 43 char *buffer = (char *) malloc(1024 * 64);
50 char *buffer2 = (char *) malloc(DEVMAPPER_BUFFER_SIZE);
134 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE);
168 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE);
265 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE);
  /external/svox/pico/tts/
com_svox_picottsengine.cpp 255 char* fileName = (char*)malloc(PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE);
337 picoProp_currLang = (char *) malloc( 10 );
338 picoTaFileName = (pico_Char *) malloc( PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE );
339 picoSgFileName = (pico_Char *) malloc( PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE );
340 picoUtppFileName = (pico_Char *) malloc( PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE );
341 picoTaResourceName = (pico_Char *) malloc( PICO_MAX_RESOURCE_NAME_SIZE );
342 picoSgResourceName = (pico_Char *) malloc( PICO_MAX_RESOURCE_NAME_SIZE );
343 picoUtppResourceName =(pico_Char *) malloc( PICO_MAX_RESOURCE_NAME_SIZE );
360 char* tmpFileName = (char*)malloc(PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE);
552 data = (char *) malloc( textlen ); /* allocate string *
    [all...]
  /build/tools/acp/
acp.c 62 stripDest = malloc(stripDestLen+1);
123 src = malloc(srcLen+1);
142 dst = malloc(stripDestLen +1 + srcNameLen +1);
  /external/checkpolicy/
queue.c 17 q = (queue_t) malloc(sizeof(struct queue_info));
33 newnode = (queue_node_ptr_t) malloc(sizeof(struct queue_node));
57 newnode = (queue_node_ptr_t) malloc(sizeof(struct queue_node));

Completed in 2237 milliseconds

<<21222324252627282930>>