/haiku/src/tests/system/libroot/posix/ |
H A D | calloc_test.c | 15 printf("Testing calloc(SIZE_MAX, SIZE_MAX)... "); 16 if (calloc(SIZE_MAX, SIZE_MAX) != NULL) { 22 printf("Testing calloc(0, 0)... "); 23 ptr = calloc(0, 0); 24 /* free the value, since calloc() should return a free() able pointer */ 26 /* if the test reaches this point, then calloc() works exactly as expected */ 29 printf("Testing calloc(-1, -1)... "); 30 if (calloc(-1, -1) != NULL) {
|
H A D | clearenv.cpp | 52 environ = (char**)calloc(1, sizeof(*environ));
|
/haiku/headers/posix/ |
H A D | malloc.h | 18 extern void *calloc(size_t numElements, size_t size);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | misc.c | 47 p = calloc(1, size); 49 ntfs_log_perror("Failed to calloc %lld bytes", (long long)size);
|
/haiku/src/tests/system/network/ |
H A D | unix_send_test.c | 31 char *buf = calloc(bufLen, 1);
|
H A D | unix_recv_test.c | 30 char *buf = calloc(bufLen, 1);
|
/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( [all...] |
/haiku/src/add-ons/kernel/drivers/display/ |
H A D | display.cpp | 85 (display_device_info *)calloc(1, sizeof(*device));
|
/haiku/src/system/libroot/posix/malloc_debug/ |
H A D | malloc_debug_api.h | 22 void* (*calloc)(size_t numElements, size_t size); member in struct:heap_implementation
|
H A D | malloc_debug_api.cpp | 277 calloc(size_t numElements, size_t size) function 279 if (sCurrentHeap->calloc != NULL) 280 return sCurrentHeap->calloc(numElements, size);
|
/haiku/src/add-ons/translators/sgi/ |
H A D | SGIImage.cpp | 118 fOffsetTable = (int32**)calloc(fChannelCount, sizeof(int32*)); 119 fOffsetTable[0] = (int32*)calloc(fHeight * fChannelCount, sizeof(int32)); 127 fLengthTable = (int32**)calloc(fChannelCount, sizeof(int32*)); 128 fLengthTable[0] = (int32*)calloc(fHeight * fChannelCount, sizeof(int32)); 208 fARLERow = (uint16*)calloc(fWidth, sizeof(uint16)); 222 fOffsetTable = (int32**)calloc(fChannelCount, sizeof(int32*)); 223 fOffsetTable[0] = (int32*)calloc(fHeight * fChannelCount, sizeof(int32)); 229 fLengthTable = (int32**)calloc(fChannelCount, sizeof(int32*)); 230 fLengthTable[0] = (int32*)calloc(fHeight * fChannelCount, sizeof(int32));
|
/haiku/src/system/libroot/posix/musl/search/ |
H A D | hsearch.c | 60 htab->__tab->entries = calloc(newsize, sizeof *htab->__tab->entries); 116 htab->__tab = calloc(1, sizeof *htab->__tab);
|
/haiku/headers/private/interface/ |
H A D | TextViewSupportBuffer.h | 45 fBuffer = (T*)calloc(fExtraCount + fItemCount, sizeof(T));
|
/haiku/src/add-ons/kernel/busses/random/ccp/ |
H A D | ccp_acpi.cpp | 61 ccp_acpi_sim_info* bus = (ccp_acpi_sim_info*)calloc(1,
|
H A D | ccp_pci.cpp | 34 ccp_pci_sim_info* bus = (ccp_pci_sim_info*)calloc(1,
|
/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)); 237 device = (als_driver_cookie *)calloc(1, sizeof(als_driver_cookie));
|
/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));
|
/haiku/src/bin/network/ftpd/ |
H A D | popen.c | 88 if ((pids = calloc(fds, sizeof(int))) == NULL)
|
/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));
|
/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);
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | vcache.cpp | 100 vol->vcache.by_vnid = (vcache_entry**)calloc(sizeof(struct vache_entry *), 107 vol->vcache.by_loc = (vcache_entry**)calloc(sizeof(struct vache_entry *),
|
/haiku/headers/private/shared/ |
H A D | cpu_type.h | 487 topology = (cpu_topology_node_info*)calloc(topologyNodeCount, sizeof(cpu_topology_node_info)); 533 topology = (cpu_topology_node_info*)calloc(topologyNodeCount, sizeof(cpu_topology_node_info));
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | geode_controller.cpp | 195 geode_stream* stream = (geode_stream*)calloc(1, sizeof(geode_stream)); 433 controller->multi = (geode_multi*)calloc(1, sizeof(geode_multi));
|
/haiku/src/kits/shared/ |
H A D | ColorQuantizer.cpp | 185 Node* node = (Node*)calloc(1, sizeof(Node));
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | bitstring.h | 129 return ((bitstr_t *)calloc(bitstr_size(_nbits), 1));
|