/haiku/src/tests/system/libroot/posix/ |
H A D | calloc_test.c | 16 if (calloc(SIZE_MAX, SIZE_MAX) != NULL) { in main() 23 ptr = calloc(0, 0); in main() 30 if (calloc(-1, -1) != NULL) { in main()
|
H A D | clearenv.cpp | 52 environ = (char**)calloc(1, sizeof(*environ)); in main()
|
/haiku/src/bin/pcmcia-cs/ |
H A D | yacc_cis.y | 137 { $$ = calloc(1, sizeof(cisparse_t)); } 149 { $$ = calloc(1, sizeof(cisparse_t)); } 162 $$ = calloc(1, sizeof(cisparse_t)); 186 $$ = calloc(1, sizeof(cisparse_t)); 194 $$ = calloc(1, sizeof(cisparse_t)); 205 $$ = calloc(1, sizeof(cisparse_t)); 219 $$ = calloc(1, sizeof(cisparse_t)); 233 $$ = calloc(1, sizeof(cisparse_t)); 356 $$ = calloc(1, sizeof(cisparse_t)); 394 tuple_info_t *t = calloc(1, sizeof(tuple_info_t));
|
/haiku/src/tests/add-ons/kernel/file_systems/fs_shell/ |
H A D | argv.c | 37 argv = (char **)calloc(table_size, sizeof(char *)); in build_argv() 81 nargv = (char **)calloc(table_size, sizeof(char *)); in build_argv()
|
/haiku/src/add-ons/translators/sgi/ |
H A D | SGIImage.cpp | 118 fOffsetTable = (int32**)calloc(fChannelCount, sizeof(int32*)); in SetTo() 119 fOffsetTable[0] = (int32*)calloc(fHeight * fChannelCount, sizeof(int32)); in SetTo() 127 fLengthTable = (int32**)calloc(fChannelCount, sizeof(int32*)); in SetTo() 128 fLengthTable[0] = (int32*)calloc(fHeight * fChannelCount, sizeof(int32)); in SetTo() 208 fARLERow = (uint16*)calloc(fWidth, sizeof(uint16)); in SetTo() 222 fOffsetTable = (int32**)calloc(fChannelCount, sizeof(int32*)); in SetTo() 223 fOffsetTable[0] = (int32*)calloc(fHeight * fChannelCount, sizeof(int32)); in SetTo() 229 fLengthTable = (int32**)calloc(fChannelCount, sizeof(int32*)); in SetTo() 230 fLengthTable[0] = (int32*)calloc(fHeight * fChannelCount, sizeof(int32)); in SetTo()
|
/haiku/src/system/libroot/posix/malloc/debug/ |
H A D | malloc_debug_api.cpp | 277 calloc(size_t numElements, size_t size) in calloc() function 279 if (sCurrentHeap->calloc != NULL) in calloc() 280 return sCurrentHeap->calloc(numElements, size); in calloc()
|
H A D | malloc_debug_api.h | 22 void* (*calloc)(size_t numElements, size_t size); member
|
/haiku/src/add-ons/kernel/file_systems/fat/bsd/sys/ |
H A D | malloc.h | 50 return (flags & M_ZERO) == 0 ? malloc(size) : calloc(1, size); in _malloc()
|
/haiku/headers/posix/ |
H A D | malloc.h | 19 extern void *calloc(size_t numElements, size_t size);
|
/haiku/src/tests/system/network/ |
H A D | unix_recv_test.c | 30 char *buf = calloc(bufLen, 1); in main()
|
H A D | unix_send_test.c | 31 char *buf = calloc(bufLen, 1); in main()
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | misc.c | 47 p = calloc(1, size); in ntfs_calloc()
|
/haiku/src/system/libroot/posix/musl/search/ |
H A D | hsearch.c | 60 htab->__tab->entries = calloc(newsize, sizeof *htab->__tab->entries); in resize() 116 htab->__tab = calloc(1, sizeof *htab->__tab); in __hcreate_r()
|
/haiku/src/add-ons/kernel/drivers/display/ |
H A D | display.cpp | 85 (display_device_info *)calloc(1, sizeof(*device)); in display_init()
|
/haiku/src/add-ons/kernel/drivers/sensor/acpi_als/ |
H A D | acpi_als.cpp | 114 device = (als_device_cookie*)calloc(1, sizeof(als_device_cookie)); in acpi_als_open() 237 device = (als_driver_cookie *)calloc(1, sizeof(als_driver_cookie)); in acpi_als_init_driver()
|
/haiku/src/libs/bsd/ |
H A D | vis.c | 360 if ((dst = calloc(len + MAXEXTRAS, sizeof(*dst))) == NULL) in makeextralist() 436 if ((psrc = calloc(mbslength + 1, sizeof(*psrc))) == NULL) in istrsenvisx() 438 if ((pdst = calloc((16 * mbslength) + 1, sizeof(*pdst))) == NULL) in istrsenvisx() 441 if ((mdst = calloc((16 * mbslength) + 1, sizeof(*mdst))) == NULL) in istrsenvisx()
|
/haiku/src/add-ons/kernel/file_systems/fat/bsd/kern/ |
H A D | vfs_subr.c | 99 struct vnode* newBsdNode = calloc(1, sizeof(struct vnode)); in getnewvnode()
|
/haiku/src/add-ons/kernel/busses/random/ccp/ |
H A D | ccp_pci.cpp | 34 ccp_pci_sim_info* bus = (ccp_pci_sim_info*)calloc(1, in init_device()
|
H A D | ccp_acpi.cpp | 61 ccp_acpi_sim_info* bus = (ccp_acpi_sim_info*)calloc(1, in init_device()
|
/haiku/headers/private/interface/ |
H A D | TextViewSupportBuffer.h | 45 fBuffer = (T*)calloc(fExtraCount + fItemCount, sizeof(T)); in _BTextViewSupportBuffer_()
|
/haiku/src/bin/network/ftpd/ |
H A D | popen.c | 84 if ((pids = calloc(fds, sizeof(int))) == NULL) in ftpd_popen()
|
/haiku/headers/private/shared/ |
H A D | cpu_type.h | 487 topology = (cpu_topology_node_info*)calloc(topologyNodeCount, sizeof(cpu_topology_node_info)); in get_cpu_type() 533 topology = (cpu_topology_node_info*)calloc(topologyNodeCount, sizeof(cpu_topology_node_info)); in get_rounded_cpu_speed()
|
/haiku/src/add-ons/kernel/bus_managers/acpi/ |
H A D | Call.cpp | 50 acpi_call_device_info* device = (acpi_call_device_info*)calloc(1, sizeof(acpi_call_device_info)); in acpi_call_init_device()
|
/haiku/src/libs/compat/openbsd_network/compat/machine/ |
H A D | bus.h | 34 *dmamp = calloc(sizeof(struct bus_dmamap_obsd) + (sizeof(bus_dma_segment_t) * nsegments), 1); in bus_dmamap_create_obsd()
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_request.c | 88 qpair->reqs = calloc(qpair->num_reqs, sizeof(struct nvme_request)); in nvme_request_pool_construct()
|