Searched refs:malloc (Results 76 - 100 of 1021) sorted by relevance

1234567891011>>

/haiku/src/build/libroot/
H A Dfs_freebsd.cpp46 // Not needed but this saves malloc and free operations
50 char* tmpBlock = (char*)malloc(sectorSize);
74 char* tmpBlock = (char*)malloc(sectorSize);
146 // Not needed but this saves malloc and free operations
150 char* tmpBlock = (char*)malloc(sectorSize);
176 char* tmpBlock = (char*)malloc(sectorSize);
/haiku/src/tests/system/kernel/device_manager/
H A Dlistdev.c1 #include <malloc.h>
/haiku/src/tests/system/kernel/
H A Dreserved_areas_test.cpp26 if (malloc(size) == NULL) {
/haiku/src/tests/system/kernel/swap/
H A Dswap_test_heap.cpp38 uint32_t* allocation = (uint32_t*)malloc(allocationSize);
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DXDR.cpp131 char* str = reinterpret_cast<char*>(malloc(size + 1));
171 Stream(malloc(kInitialSize), kInitialSize),
179 Stream(malloc(x.fSize), x.fSize),
198 fBuffer = reinterpret_cast<uint32*>(malloc(fSize));
/haiku/src/apps/activitymonitor/
H A DCircularBuffer.h43 fBuffer = (Type*)malloc(fSize * sizeof(Type));
/haiku/src/add-ons/screen_savers/flurry/
H A DFlurry.cpp241 fFlurryInfo = (flurry_info_t*)malloc(sizeof(flurry_info_t));
261 fFlurryInfo->s = (SmokeV*)malloc(sizeof(SmokeV));
264 fFlurryInfo->star = (Star*)malloc(sizeof(Star));
270 fFlurryInfo->spark[i] = (Spark*)malloc(sizeof(Spark));
/haiku/src/system/libroot/posix/pthread/
H A Dpthread_condattr.c21 attr = (pthread_condattr *)malloc(sizeof(pthread_condattr));
/haiku/src/system/libroot/posix/malloc_debug/
H A Dmalloc_debug_api.h17 void* (*malloc)(size_t size); member in struct:heap_implementation
H A Dmalloc_debug_api.cpp9 #include <malloc.h>
256 malloc(size_t size) function
258 return sCurrentHeap->malloc(size);
282 void* address = malloc(numElements * size);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/pci/
H A Dr92ce_led.c33 #include <sys/malloc.h>
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/
H A Dr92e_led.c39 #include <sys/malloc.h>
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/
H A Dr92c_llt.c33 #include <sys/malloc.h>
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DChunk.cpp29 fChunk = (btrfs_chunk*)malloc(sizeof(btrfs_chunk)
/haiku/src/libs/glut/
H A Dglut_util.c29 copy = (char*) malloc(strlen(string) + 1);
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dmtctxres.c72 if ((mt = malloc(sizeof (mtctxres_t))) == 0) {
/haiku/src/tests/system/network/
H A Dtest2.c5 #include <malloc.h>
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Ddpc.cpp26 *dpc = (scsi_dpc_info *)malloc(sizeof(scsi_dpc_info));
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_spectral.c48 #include <sys/malloc.h>
117 ss = malloc(sizeof(struct ath_spectral_state),
205 indata = malloc(insize, M_TEMP, M_NOWAIT);
222 outdata = malloc(outsize, M_TEMP, M_NOWAIT | M_ZERO);
/haiku/headers/private/kernel/util/
H A Dfs_trim_support.h39 void* trimBuffer = malloc(bytes);
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dtracing.c20 #include <malloc.h>
305 char *pbuf = (char *)malloc(len * 3 + sizeof(truncTail) + strlen(prefix) + 1);
330 char *sgbPrefix = (char*)malloc(len);
364 char *pbuf = (char *)malloc(len + 1);
/haiku/src/system/boot/platform/riscv/
H A Dvirtio.cpp11 #include <malloc.h>
33 if ((p1 = (void*)malloc(required_bytes + offset)) == NULL) {
256 malloc(sizeof(VirtioInputPacket)), sizeof(VirtioInputPacket)));
290 malloc(sizeof(VirtioInputPacket)), sizeof(VirtioInputPacket)));
/haiku/src/libs/compat/freebsd_network/compat/dev/usb/
H A Dusb.h11 #include <sys/malloc.h>
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_usb_error.c42 #include <sys/malloc.h>
H A Dfbsd_usb_util.c39 #include <sys/malloc.h>

Completed in 135 milliseconds

1234567891011>>