/prebuilts/ndk/9/sources/cxx-stl/llvm-libc++/libcxx/include/ |
cstdlib | 48 void* calloc(size_t nmemb, size_t size); 122 using ::calloc;
|
/system/core/libbacktrace/ |
map_info.c | 48 backtrace_map_info_t* mi = calloc(1, sizeof(backtrace_map_info_t) + name_len); 115 backtrace_map_info_t* mi = calloc(1, sizeof(backtrace_map_info_t) + name_len + 1);
|
/system/netd/server/ |
MDnsSdListener.cpp | 592 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); 593 mPollRefs = (DNSServiceRef **)calloc(sizeof(DNSServiceRef *), mPollSize); 594 LOG_ALWAYS_FATAL_IF((mPollFds == NULL), "initial calloc failed on mPollFds with a size of %d", 596 LOG_ALWAYS_FATAL_IF((mPollRefs == NULL), "initial calloc failed on mPollRefs with a size of %d", 654 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); 655 mPollRefs = (DNSServiceRef **)calloc(sizeof(DNSServiceRef *), mPollSize); 656 LOG_ALWAYS_FATAL_IF((mPollFds == NULL), "calloc failed on mPollFds with a size of %d", 658 LOG_ALWAYS_FATAL_IF((mPollRefs == NULL), "calloc failed on mPollRefs with a size of %d",
|
/external/chromium_org/third_party/mesa/src/src/gbm/backends/dri/ |
gbm_dri.c | 420 bo = calloc(1, sizeof *bo); 468 bo = calloc(1, sizeof *bo); 525 bo = calloc(1, sizeof *bo); 583 surf = calloc(1, sizeof *surf); 623 dri = calloc(1, sizeof *dri);
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
ralloc.h | 106 * This is similar to \c calloc with a size of 1. 130 * Similar to \c calloc, but does not initialize the memory to zero. 147 * Similar to \c calloc. 183 * Similar to \c calloc, but does not initialize the memory to zero. 193 * Similar to \c calloc.
|
/external/mesa3d/src/gbm/backends/dri/ |
gbm_dri.c | 420 bo = calloc(1, sizeof *bo); 468 bo = calloc(1, sizeof *bo); 525 bo = calloc(1, sizeof *bo); 583 surf = calloc(1, sizeof *surf); 623 dri = calloc(1, sizeof *dri);
|
/external/mesa3d/src/glsl/ |
ralloc.h | 106 * This is similar to \c calloc with a size of 1. 130 * Similar to \c calloc, but does not initialize the memory to zero. 147 * Similar to \c calloc. 183 * Similar to \c calloc, but does not initialize the memory to zero. 193 * Similar to \c calloc.
|
/external/qemu/distrib/libsparse/src/ |
output_file.c | 553 out->zero_buf = calloc(block_size, 1); 559 out->fill_buf = calloc(block_size, 1); 606 struct output_file_gz *outgz = calloc(1, sizeof(struct output_file_gz)); 619 struct output_file_normal *outn = calloc(1, sizeof(struct output_file_normal)); 637 outc = calloc(1, sizeof(struct output_file_callback));
|
/external/tinyalsa/ |
mixer.c | 110 mixer = calloc(1, sizeof(*mixer)); 114 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl)); 115 mixer->elem_info = calloc(elist.count, sizeof(struct snd_ctl_elem_info)); 122 eid = calloc(elist.count, sizeof(struct snd_ctl_elem_id)); 141 char **enames = calloc(ei->value.enumerated.items, sizeof(char*));
|
/hardware/intel/img/libdrm/libdrm/radeon/ |
radeon_cs_gem.c | 73 csg = (struct cs_gem*)calloc(1, sizeof(struct cs_gem)); 79 csg->base.packets = (uint32_t*)calloc(1, 64 * 1024); 87 csg->relocs_bo = (struct radeon_bo**)calloc(1, 94 csg->base.relocs = csg->relocs = (uint32_t*)calloc(1, 4096); 444 csm = (struct radeon_cs_manager*)calloc(1,
|
/system/core/libsparse/ |
output_file.c | 553 out->zero_buf = calloc(block_size, 1); 559 out->fill_buf = calloc(block_size, 1); 606 struct output_file_gz *outgz = calloc(1, sizeof(struct output_file_gz)); 619 struct output_file_normal *outn = calloc(1, sizeof(struct output_file_normal)); 637 outc = calloc(1, sizeof(struct output_file_callback));
|
/system/core/libusbhost/ |
usbhost.c | 159 struct usb_host_context *context = calloc(1, sizeof(struct usb_host_context)); 356 struct usb_device *device = calloc(1, sizeof(struct usb_device)); 427 char* result = (char *)calloc(1, strlen(USB_FS_ID_FORMAT)); 614 struct usbdevfs_urb *urb = calloc(1, sizeof(struct usbdevfs_urb)); 629 struct usb_request *req = calloc(1, sizeof(struct usb_request));
|
/external/f2fs-tools/fsck/ |
mount.c | 478 sit_i->sentries = calloc(TOTAL_SEGS(sbi) * sizeof(struct seg_entry), 1); 482 = calloc(SIT_VBLOCK_MAP_SIZE, 1); 484 = calloc(SIT_VBLOCK_MAP_SIZE, 1); 697 struct f2fs_sit_block *sit_blk = calloc(BLOCK_SZ, 1); 835 sum_blk = calloc(BLOCK_SZ, 1); 857 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); 955 fsck->sit_area_bitmap = calloc(1, fsck->sit_area_bitmap_sz); 1084 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); 1121 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); 1130 fsck->nat_area_bitmap = calloc(fsck->nat_area_bitmap_sz, 1) [all...] |
dump.c | 167 node_blk = calloc(BLOCK_SZ, 1); 276 node_blk = calloc(BLOCK_SZ, 1); 325 node_blk = calloc(BLOCK_SZ, 1);
|
/bionic/libc/bionic/ |
malloc_debug_qemu.cpp | 124 * actually allocated in previous calls to malloc, calloc, memalign, or realloc. 673 qemu_debug_log("Instrumented for pid=%03u: malloc=%p, free=%p, calloc=%p, realloc=%p, memalign=%p", 769 /* This routine serves as entry point for 'calloc'. 775 qemu_info_log("::: <libc_pid=%03u, pid=%03u>: Zero calloc redir to malloc", 783 qemu_error_log("<libc_pid=%03u, pid=%03u> calloc: calloc(%zu, %zu) overflow caused failure.", [all...] |
/system/core/init/ |
init_parser.c | 314 import = calloc(1, sizeof(struct import)); 576 act = calloc(1, sizeof(*act)); 581 cmd = calloc(1, sizeof(*cmd)); 635 svc = calloc(1, sizeof(*svc) + sizeof(char*) * nargs); 766 ei = calloc(1, sizeof(*ei)); 788 si = calloc(1, sizeof(*si)); 837 act = calloc(1, sizeof(*act));
|
/external/chromium_org/base/process/ |
memory_unittest.cc | 240 TEST_F(OutOfMemoryDeathTest, Calloc) { 243 value_ = calloc(1024, test_size_ / 1024L); 405 // UncheckedMalloc() and UncheckedCalloc() work as regular malloc()/calloc()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
compute_memory_pool.c | 80 CALLOC(sizeof(struct compute_memory_pool), 1); 97 * pool->shadow = (uint32_t*)CALLOC(4, pool->size_in_dw); 396 CALLOC(sizeof(struct compute_memory_item), 1);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
xa_tracker.c | 139 struct xa_tracker *xa = calloc(1, sizeof(struct xa_tracker)); 159 xa->supported_formats = calloc(num_formats, sizeof(*xa->supported_formats)); 302 srf = calloc(1, sizeof(*srf));
|
/external/libnl/lib/route/link/ |
vlan.c | 75 if ((vi = calloc(1, sizeof(*vi))) == NULL) 148 vi->vi_egress_qos = calloc(vi->vi_egress_size, sizeof(*map)); 248 vdst->vi_egress_qos = calloc(vsrc->vi_egress_size,
|
/external/mesa3d/src/gallium/drivers/r600/ |
compute_memory_pool.c | 80 CALLOC(sizeof(struct compute_memory_pool), 1); 97 * pool->shadow = (uint32_t*)CALLOC(4, pool->size_in_dw); 396 CALLOC(sizeof(struct compute_memory_item), 1);
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_tracker.c | 139 struct xa_tracker *xa = calloc(1, sizeof(struct xa_tracker)); 159 xa->supported_formats = calloc(num_formats, sizeof(*xa->supported_formats)); 302 srf = calloc(1, sizeof(*srf));
|
/external/valgrind/main/coregrind/ |
m_hashtable.c | 72 VgHashTable table = VG_(calloc)("hashtable.Hc.1", 74 table->chains = VG_(calloc)("hashtable.Hc.2", 1, sz); 123 chains = VG_(calloc)("hashtable.resize.1", 1, sz);
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
HashBase.tcc | 107 /** calloc also set bucket.Item = bucket_type::getEmptyStone() **/ 108 m_Buckets = (bucket_type*)calloc(m_NumOfBuckets, sizeof(bucket_type)); 230 bucket_type* new_table = (bucket_type*)calloc(pNewSize, sizeof(bucket_type));
|
/frameworks/rs/cpp/ |
Element.cpp | 393 const char ** nameArray = (const char **)calloc(fieldCount, sizeof(char *)); 394 const Element ** elementArray = (const Element **)calloc(fieldCount, sizeof(Element *)); 395 size_t* sizeArray = (size_t*)calloc(fieldCount, sizeof(size_t));
|