/system/core/libcorkscrew/ |
map_info.c | 51 map_info_t* mi = calloc(1, sizeof(map_info_t) + name_len); 116 map_info_t* mi = calloc(1, sizeof(map_info_t) + name_len + 1);
|
/system/core/libcutils/ |
hashmap.c | 61 map->buckets = calloc(map->bucketCount, sizeof(Entry*)); 106 Entry** newBuckets = calloc(newBucketCount, sizeof(Entry*));
|
/external/chromium/base/ |
process_util_mac.mm | 493 // === C malloc/calloc/valloc/realloc/posix_memalign === 729 // === C malloc/calloc/valloc/realloc/posix_memalign === 778 g_old_calloc = default_zone->calloc; 785 default_zone->calloc = oom_killer_calloc; 799 g_old_calloc_purgeable = purgeable_zone->calloc; 807 purgeable_zone->calloc = oom_killer_calloc_purgeable;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_screen.c | 252 image = CALLOC(sizeof *image); 337 image = CALLOC(sizeof *image); 444 image = CALLOC(sizeof *image); 551 image->region = calloc(sizeof(*image->region), 1); 1067 intelScreen = CALLOC(sizeof *intelScreen); [all...] |
/external/llvm/lib/Analysis/ |
MemoryBuiltins.cpp | 64 {LibFunc::calloc, CallocLike, 2, 0, 1}, 147 /// allocates or reallocates memory (either malloc, calloc, realloc, or strdup 155 /// NoAlias pointer (including malloc/calloc/realloc/strdup-like functions). 172 /// allocates zero-filled memory (such as calloc). 179 /// allocates memory (either malloc, calloc, or strdup like). 300 /// is a calloc call.
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_screen.c | 252 image = CALLOC(sizeof *image); 337 image = CALLOC(sizeof *image); 444 image = CALLOC(sizeof *image); 551 image->region = calloc(sizeof(*image->region), 1); 1067 intelScreen = CALLOC(sizeof *intelScreen); [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioStreamInALSA.cpp | 647 mSurroundInputBuffer = (Word16 *) calloc(2 * SSR_INPUT_FRAME_SIZE, 655 mSurroundOutputBuffer = (Word16 *) calloc(2 * SSR_OUTPUT_FRAME_SIZE, 663 mRealCoeffs = (Word16 **) calloc(COEFF_ARRAY_SIZE, sizeof(Word16 *)); 669 mImagCoeffs = (Word16 **) calloc(COEFF_ARRAY_SIZE, sizeof(Word16 *)); 818 mRealCoeffs[i] = (Word16 *)calloc(FILT_SIZE, sizeof(Word16)); 821 mImagCoeffs[i] = (Word16 *)calloc(FILT_SIZE, sizeof(Word16)); [all...] |
/hardware/qcom/media/mm-video-legacy/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");
|
/hardware/qcom/media/mm-video-v4l2/vidc/venc/test/ |
video_encoder_test.c | 87 calloc (sizeof (struct video_encoder_context),1); 376 calloc (sizeof (struct video_msgq), 379 calloc (sizeof (struct video_msgq), 504 calloc (sizeof (struct venc_bufferpayload *),buffercount); 523 calloc (sizeof (struct venc_bufferpayload),1); 526 DEBUG_PRINT ("\nallocate_buffer: ptemp [i] calloc failure"); [all...] |
/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);
|
/external/libsepol/src/ |
policydb.c | 677 role = calloc(1, sizeof(role_datum_t)); 1010 calloc(num_decls, sizeof(*(p->decl_val_to_struct))); 1067 calloc(p->p_types.nprim, sizeof(type_datum_t *)); 1078 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)
|
/external/chromium_org/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)
|
/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); 995 int *ctx = calloc(1, sizeof(int));
|
/bionic/libc/bionic/ |
malloc_debug_common.cpp | 230 extern "C" void* calloc(size_t n_elements, size_t elem_size) { function 231 return __libc_malloc_dispatch->calloc(n_elements, elem_size); 311 InitMallocFunction<MallocDebugCalloc>(malloc_impl_handler, &table->calloc, prefix, "calloc"); 468 (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 | 297 vector = calloc(length, sizeof(char)); 511 code = calloc(max + 1, sizeof(int)); 518 allocate and clear the array (set all to zero with calloc()) */ 526 (num = calloc(size, sizeof(big_t))) == NULL) { 555 (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/chromium_org/third_party/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/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
platform_android.c | 152 dri2_surf = calloc(1, sizeof *dri2_surf); 326 dri2_img = calloc(1, sizeof(*dri2_img)); 700 dri2_dpy = calloc(1, sizeof(*dri2_dpy));
|
/external/chromium_org/third_party/tcmalloc/vendor/doc/ |
heapprofile.html | 30 <code>malloc</code>, <code>calloc</code>, <code>realloc</code>, or, 114 to <code>malloc</code>, <code>calloc</code>, <code>realloc</code>, 130 <code>malloc</code>, <code>calloc</code>, <code>realloc</code>,
|
/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));
|