/hardware/qcom/media/mm-video/vidc/venc/test/ |
video_encoder_test.c | 88 calloc (sizeof (struct video_encoder_context),1); 393 calloc (sizeof (struct video_msgq), 396 calloc (sizeof (struct video_msgq), 536 calloc (sizeof (struct venc_bufferpayload *),buffercount); 560 calloc (sizeof (struct venc_bufferpayload),1); 564 DEBUG_PRINT ("\nallocate_buffer: ptemp [i] calloc failure");
|
/system/extras/ext4_utils/ |
allocate.c | 180 bg->inode_table = calloc(aux_info.inode_table_blocks, info.block_size); 182 critical_error_errno("calloc"); 292 bg->bitmaps = calloc(info.block_size, 2); 324 aux_info.bgs = calloc(sizeof(struct block_group_info), aux_info.groups); 326 critical_error_errno("calloc"); 708 block = calloc(info.block_size, 1);
|
make_ext4fs.c | 142 dentries = calloc(entries, sizeof(struct dentry)); 209 dentries[i].link = calloc(info.block_size, 1); 221 struct dentry *tmp = calloc(entries + 1, sizeof(struct dentry));
|
/external/libsepol/src/ |
policydb.c | 635 role = calloc(1, sizeof(role_datum_t)); 968 calloc(num_decls, sizeof(*(p->decl_val_to_struct))); 1025 calloc(p->p_types.nprim, sizeof(type_datum_t *)); 1036 calloc(p->symtab[i].nprim, sizeof(char *)); [all...] |
/external/chromium/third_party/libevent/ |
http.c | [all...] |
event.c | 175 if ((base = calloc(1, sizeof(struct event_base))) == NULL) 176 event_err(1, "%s: calloc", __func__); 330 calloc(base->nactivequeues, sizeof(struct event_list *)); 332 event_err(1, "%s: calloc", __func__); 580 if ((eonce = calloc(1, sizeof(struct event_once))) == NULL)
|
epoll.c | 128 if (!(epollop = calloc(1, sizeof(struct epollop)))) 141 epollop->fds = calloc(INITIAL_NFILES, sizeof(struct evepoll));
|
/external/clang/test/Analysis/ |
malloc.c | 13 void *calloc(size_t nmemb, size_t size); 293 // This tests that calloc() buffers need to be freed 295 char *buf = calloc(2,2); 299 // These test that calloc() buffers are zeroed by default 301 char *buf = calloc(2,2); 310 char *buf = calloc(2,2); 977 int *ctx = calloc(1, sizeof(int));
|
/bionic/libc/bionic/ |
malloc_debug_common.cpp | 233 extern "C" void* calloc(size_t n_elements, size_t elem_size) { function 234 return __libc_malloc_dispatch->calloc(n_elements, elem_size); 318 table->calloc = reinterpret_cast<MallocDebugCalloc>(dlsym(libc_malloc_impl_handle, symbol)); 319 if (table->calloc == NULL) { 486 (gMallocUse.calloc == NULL) ||
|
/external/eigen/unsupported/test/mpreal/ |
dlmalloc.h | 47 #define dlcalloc calloc
114 calloc(size_t n_elements, size_t element_size);
230 independent_calloc is similar to calloc, but instead of returning a
253 should instead use regular calloc and assign pointers into this
494 mspace_calloc behaves as calloc, but operates within
|
/external/zlib/src/examples/ |
enough.c | 294 vector = calloc(length, sizeof(char)); 508 code = calloc(max + 1, sizeof(int)); 515 allocate and clear the array (set all to zero with calloc()) */ 523 (num = calloc(size, sizeof(big_t))) == NULL) { 552 (done = calloc(size, sizeof(struct tab))) == NULL) {
|
/device/generic/goldfish/audio/ |
audio_hw.c | 398 out = (struct generic_stream_out *)calloc(1, sizeof(struct generic_stream_out)); 550 in = (struct generic_stream_in *)calloc(1, sizeof(struct generic_stream_in)); 644 adev = calloc(1, sizeof(struct generic_audio_device));
|
/external/clang/include/clang/Basic/ |
OnDiskHashTable.h | 153 Bucket* newBuckets = (Bucket*) std::calloc(newsize, sizeof(Bucket)); 230 // Bucket objects since 'calloc' returns bytes that are all 0. 231 Buckets = (Bucket*) std::calloc(NumBuckets, sizeof(Bucket));
|
/external/harfbuzz_ng/src/ |
hb-ot-layout.cc | 46 hb_ot_layout_t *layout = (hb_ot_layout_t *) calloc (1, sizeof (hb_ot_layout_t)); 62 layout->gsub_digests = (hb_set_digest_t *) calloc (layout->gsub->get_lookup_count (), sizeof (hb_set_digest_t)); 63 layout->gpos_digests = (hb_set_digest_t *) calloc (layout->gpos->get_lookup_count (), sizeof (hb_set_digest_t));
|
/external/libpng/ |
pngmem.c | 30 by a single call to calloc() if this is thought to improve performance. */ 345 memset can be replaced by a single call to calloc() if this is thought 355 memset can be replaced by a single call to calloc() if this is thought
|
/external/linux-tools-perf/ |
builtin-kmem.c | 80 cpunode_map = calloc(max_cpu_num, sizeof(int)); 82 die("calloc"); 745 rec_argv = calloc(rec_argc + 1, sizeof(char *));
|
/external/qemu/distrib/libpng-1.2.19/ |
pngmem.c | 27 by a single call to calloc() if this is thought to improve performance. */ 329 memset can be replaced by a single call to calloc() if this is thought 339 memset can be replaced by a single call to calloc() if this is thought
|
/external/srec/srec/crec/ |
get_fram.c | 108 prep->seq = (imeldata *) CALLOC(prep->dim, sizeof(imeldata), 110 prep->seq_unnorm = (imeldata *) CALLOC(prep->dim, sizeof(imeldata), 112 prep->last_frame = (featdata *) CALLOC(prep->dim, sizeof(featdata),
|
/frameworks/wilhelm/tests/examples/ |
slesTestFeedback.cpp | 253 freeBuffers = (char **) calloc(freeBufCount+1, sizeof(char *)); 263 rxBuffers = (char **) calloc(rxBufCount+1, sizeof(char *)); 268 txBuffers = (char **) calloc(txBufCount+1, sizeof(char *));
|
/hardware/libhardware_legacy/audio/ |
audio_hw_hal.cpp | 498 out = (struct legacy_stream_out *)calloc(1, sizeof(*out)); 561 in = (struct legacy_stream_in *)calloc(1, sizeof(*in)); 644 ladev = (struct legacy_audio_device *)calloc(1, sizeof(*ladev));
|
/system/core/toolbox/grep/ |
util.c | 402 * Safe calloc() for internal use. 409 if ((ptr = calloc(nmemb, size)) == NULL) 410 err(2, "calloc");
|
/external/llvm/lib/Analysis/ |
MemoryBuiltins.cpp | 64 {LibFunc::calloc, CallocLike, 2, 0, 1}, 144 /// allocates or reallocates memory (either malloc, calloc, realloc, or strdup 152 /// NoAlias pointer (including malloc/calloc/realloc/strdup-like functions). 169 /// allocates zero-filled memory (such as calloc). 176 /// allocates memory (either malloc, calloc, or strdup like). 297 /// is a calloc call.
|
/hardware/qcom/media/mm-video/vidc/venc/src/ |
omx_video_base.cpp | [all...] |
/bootable/recovery/minzip/ |
Hash.c | 65 (HashEntry*) calloc((size_t)pHashTable->tableSize, sizeof(HashTable)); 145 pNewEntries = (HashEntry*) calloc(newSize, sizeof(HashTable));
|
/dalvik/vm/ |
Hash.cpp | 60 (HashEntry*) calloc(pHashTable->tableSize, sizeof(HashEntry)); 140 pNewEntries = (HashEntry*) calloc(newSize, sizeof(HashEntry));
|