/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/mesa3d/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/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));
|
/hardware/qcom/audio/hal/ |
audio_hw.c | 618 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); 656 struct offload_cmd *cmd = (struct offload_cmd *)calloc(1, sizeof(struct offload_cmd)); 921 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); [all...] |
/system/core/toolbox/grep/ |
util.c | 402 * Safe calloc() for internal use. 409 if ((ptr = calloc(nmemb, size)) == NULL) 410 err(2, "calloc");
|
/system/extras/ext4_utils/ |
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));
|
/hardware/qcom/media/mm-video-legacy/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));
|
/external/chromium/third_party/libevent/ |
epoll.c | 128 if (!(epollop = calloc(1, sizeof(struct epollop)))) 141 epollop->fds = calloc(INITIAL_NFILES, sizeof(struct evepoll));
|
event_tagging.c | 416 *pstring = calloc(EVBUFFER_LENGTH(_buf) + 1, 1); 418 event_err(1, "%s: calloc", __func__);
|
/external/chromium_org/base/process/ |
memory_unittest.cc | 233 TEST_F(OutOfMemoryDeathTest, Calloc) { 236 value_ = calloc(1024, test_size_ / 1024L);
|
/external/chromium_org/third_party/libevent/ |
epoll.c | 128 if (!(epollop = calloc(1, sizeof(struct epollop)))) 141 epollop->fds = calloc(INITIAL_NFILES, sizeof(struct evepoll));
|
event_tagging.c | 416 *pstring = calloc(EVBUFFER_LENGTH(_buf) + 1, 1); 418 event_err(1, "%s: calloc", __func__);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/ |
x11_screen.c | 357 XRectangle *rectangles = CALLOC(num_rects, sizeof(XRectangle)); 405 *next = (__GLcontextModes *) CALLOC(1, size);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
xa_context.c | 47 struct xa_context *ctx = calloc(1, sizeof(*ctx)); 351 struct xa_fence *fence = calloc(1, sizeof(*fence));
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_state_cache.c | 114 items = (struct brw_cache_item**) calloc(1, size * sizeof(*items)); 331 calloc(1, cache->size * sizeof(struct brw_cache_item));
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
_pth.h | 125 * instruction). However, PR_GetCurrentThread calls calloc if 128 * locking in their malloc, calloc, and free functions. If
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
tcmalloc_unittest.cc | 580 char* p = reinterpret_cast<char*>(calloc(n, s)); 582 fprintf(LOGSTREAM, "calloc(%"PRIxS", %"PRIxS"): %p\n", n, s, p); 584 CHECK(p == NULL); // calloc(n, s) should not succeed 586 CHECK(p != NULL); // calloc(n, s) should succeed 942 ret = calloc(1, kTooBig); [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
tcmalloc_unittest.cc | 580 char* p = reinterpret_cast<char*>(calloc(n, s)); 582 fprintf(LOGSTREAM, "calloc(%"PRIxS", %"PRIxS"): %p\n", n, s, p); 584 CHECK(p == NULL); // calloc(n, s) should not succeed 586 CHECK(p != NULL); // calloc(n, s) should succeed 942 ret = calloc(1, kTooBig); [all...] |
/external/elfutils/lib/ |
dynamicsizehash.c | 153 htab->table = calloc ((1 + htab->size), sizeof (htab->table[0])); 212 htab->table = (void *) calloc ((init_size + 1), sizeof (htab->table[0]));
|