Searched refs:malloc (Results 26 - 50 of 1021) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dstring_utils.c7 #include <malloc.h>
32 dst = malloc(strlen(str)*3);
89 dst = malloc(strlen(str)+2);
156 free(malloc(10));
/haiku/headers/private/app/
H A DSimpleMallocIO.h14 #include <malloc.h>
23 fBuffer = (char *)malloc(size);
/haiku/src/libs/bsd/
H A Dstringlist.c48 sl = malloc(sizeof(StringList));
54 sl->sl_str = malloc(sl->sl_max * sizeof(char *));
H A Dfgetln.c29 sBuffer = (char *)malloc(LINE_LENGTH);
/haiku/src/tests/system/libroot/posix/
H A Dsignal_in_allocator_test.cpp38 free(malloc(10));
67 allocations[i] = malloc(rand() % 50);
H A Dsignal_in_allocator_test2.cpp48 free(malloc(rand() % 10000));
/haiku/src/kits/shared/
H A DJsonEvent.cpp38 char* buffer = (char*) malloc(sizeof(char) * actualLength);
69 char* buffer = (char*) malloc(sizeof(char) * actualLength);
/haiku/src/system/libroot/posix/malloc_hoard2/
H A Dthreadheap.cpp38 // malloc (sz):
45 threadHeap::malloc(const size_t size) function in class:threadHeap
49 debug_printf("malloc() of %lu bytes asked\n", size);
108 m.malloc((void *)(b + 1), align(size));
/haiku/src/add-ons/kernel/drivers/graphics/framebuffer/
H A Ddriver.cpp19 #include <malloc.h>
69 gDeviceInfo[0] = (framebuffer_info*)malloc(sizeof(framebuffer_info));
/haiku/src/add-ons/kernel/file_systems/nfs/
H A DXDRInPacket.c3 #include <malloc.h>
62 char *string=(char *)malloc(size+1);
/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/
H A Dh2util.cpp10 #include <malloc.h>
39 nbuf->COOKIEFIELD = (uint32) malloc(nbuf->size);
140 item = (void*) malloc(size);
H A Dsnet_buffer.cpp11 #include <malloc.h>
37 snet_buffer* snb = (snet_buffer*) malloc(sizeof(snet_buffer) + size);
40 snet_buffer* snb = malloc(sizeof (snet_buffer));
41 snb->buffer = malloc(size);
/haiku/src/libs/compat/freebsd_network/
H A Dfirmware.c65 firmwarePath = (char*)malloc(B_PATH_NAME_LENGTH);
100 firmware = (struct firmware*)malloc(sizeof(struct firmware));
104 firmware->data = malloc(firmwareFileSize);
/haiku/src/system/libroot/posix/crypt/
H A Dcrypto_scrypt.cpp102 if ((B0 = malloc(128 * r * p + 63)) == NULL)
105 if ((XY0 = malloc(256 * r + 64 + 63)) == NULL)
109 if ((V0 = malloc(128 * r * N + 63)) == NULL)
/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Dhandle.cpp26 handle = (scsi_periph_handle_info *)malloc(sizeof(*handle));
/haiku/src/apps/mail/
H A DMailPopUpMenu.cpp43 #include <malloc.h>
/haiku/src/bin/hid_decode/
H A Dhid_decode.cpp34 uint8 *reportDescriptor = (uint8 *)malloc(descriptorLength);
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dreg-printf.c53 malloc ((UCHAR_MAX + 1) * sizeof (void *) * 2);
/haiku/src/system/libroot/posix/unistd/
H A Ddirectory.c37 buffer = malloc(size = PATH_MAX);
/haiku/src/tools/fs_shell/
H A Dpath_util.cpp61 char *path = (char*)malloc(pathLen);
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_xauth.c49 #include <sys/malloc.h>
/haiku/src/tests/system/glue/
H A DStackAlign.cpp53 signalStack.ss_sp = malloc(SIGSTKSZ);
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dsystem_dependencies.h48 #include <malloc.h>
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/usb/
H A Dr92cu_rx.c33 #include <sys/malloc.h>
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom440x/
H A Dglue.c7 #include <sys/malloc.h>

Completed in 116 milliseconds

1234567891011>>