Searched refs:malloc (Results 126 - 150 of 1021) sorted by relevance

1234567891011>>

/haiku/src/bin/fwcontrol/
H A Dfwcontrol.c55 #include <sys/malloc.h>
128 err(EX_SOFTWARE, "%s: data malloc", __func__);
162 data = (struct fw_devlstreq *)malloc(sizeof(struct fw_devlstreq));
164 err(EX_SOFTWARE, "%s: data malloc", __func__);
197 data = (struct fw_devlstreq *)malloc(sizeof(struct fw_devlstreq));
199 err(1, "%s: data malloc", __func__);
222 asyreq = (struct fw_asyreq *)malloc(sizeof(struct fw_asyreq_t) + 16);
224 err(EX_SOFTWARE, "%s:asyreq malloc", __func__);
277 asyreq = (struct fw_asyreq *)malloc(sizeof(struct fw_asyreq_t) + 12);
279 err(EX_SOFTWARE, "%s:asyreq malloc", __func_
[all...]
/haiku/headers/private/bluetooth/
H A DPortListener.h26 fThreadName = (char*)malloc(strlen(name) + strlen(" thread") + 1);
145 TYPE* buffer = (TYPE*)malloc(MAX_MESSAGE_SIZE);
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfwdma.cpp37 #include <malloc.h>
165 am = (struct fwdma_alloc_multi *)malloc(sizeof(struct fwdma_alloc_multi)
168 dprintf("fwdma_malloc_multiseg: malloc failed\n");
/haiku/src/add-ons/translators/hvif/
H A DHVIFTranslator.cpp104 uint8 *buffer = (uint8 *)malloc(size);
146 uint8 *buffer = (uint8 *)malloc(size);
/haiku/src/libs/icon/flat_icon/
H A DLittleEndianBuffer.cpp27 : fBuffer((uint8*)malloc(CHUNK_SIZE)),
37 : fBuffer((uint8*)malloc(size)),
/haiku/src/system/libroot/posix/glibc/libio/
H A Dfmemopen.c206 c = (fmemopen_cookie_t *) malloc (sizeof (fmemopen_cookie_t));
214 c->buffer = (char *) malloc (len);
H A Diofopen.c75 } *new_f = (struct locked_FILE *) malloc (sizeof (struct locked_FILE));
/haiku/src/tests/servers/app/drawing_debugger/
H A DDrawingDebugger.cpp5 #include <malloc.h>
138 uint8 *buffer = (uint8 *)malloc(bufferSize);
/haiku/src/tests/system/benchmarks/
H A Dctxbench.c130 contextp = (ucontext_t *)malloc(sizeof(ucontext_t));
131 stackbase = malloc(stacksize);
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dsg_buffer.c19 #include <malloc.h>
60 void *ptr = malloc(size);
/haiku/headers/private/media/
H A DTMap.h14 items((ent **)malloc(sizeof(ent *) * INIT_COUNT))
36 items = (ent **)malloc(sizeof(ent *) * item_max);
/haiku/src/add-ons/translators/wonderbrush/support/
H A Dbitmap_compression.cpp9 #include <malloc.h>
31 *buffer = malloc(*size);
/haiku/src/add-ons/kernel/file_systems/fat/
H A Ddlist.cpp43 vol->dlist.vnid_list = (ino_t *)malloc(sizeof(ino_t) * vol->dlist.allocated);
79 vnid_list = (ino_t *)malloc(sizeof(ino_t) * allocate);
/haiku/src/apps/processcontroller/
H A DTeamBarMenu.cpp29 fTeamList = (team_id*)malloc(sizeof(team_id) * fTeamCount);
38 fRecycleList = (TRecycleItem*)malloc(sizeof(TRecycleItem) * fRecycleCount);
H A DMemoryBarMenu.cpp32 fTeamList = (team_id*)malloc(sizeof (team_id) * fTeamCount);
48 fRecycleList = (MRecycleItem*)malloc(sizeof(MRecycleItem) * fRecycleCount);
/haiku/src/system/boot/platform/riscv/
H A DFwCfg.cpp11 #include <malloc.h>
120 gFramebuf.colors = (uint32_t*)malloc(4*width*height);
/haiku/src/add-ons/kernel/network/dns_resolver/server/
H A Dmain.cpp51 char* reply = reinterpret_cast<char*>(malloc(totalSize));
138 void* buffer = malloc(size);
/haiku/src/add-ons/kernel/drivers/audio/echo/generic/
H A DOsSupportBeOS.cpp74 if ((mem = (echo_mem*)malloc(sizeof(*mem))) == NULL)
385 pMemory = malloc(size);
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Dbus_raw.cpp35 bus = (bus_raw_info*)malloc(sizeof(*bus));
/haiku/src/add-ons/kernel/drivers/midi/usb_midi/
H A Ddevlist.cpp119 usbmidi_port_names = (char**)malloc(sizeof(char*)
/haiku/src/add-ons/media/media-add-ons/firewire_dv/
H A DFireWireCard.cpp202 buf = (char*)malloc(1024*16);
215 fBuf = malloc(DV_RBUFSIZE);
218 fPad = malloc(DV_DSIZE*DV_MAXBLOCKS);
224 fBuf = malloc(MPEG_RBUFSIZE);
/haiku/src/bin/network/ftpd/
H A Dmd5hl.c31 buf = malloc(2*MD5_DIGEST_LENGTH + 1);
/haiku/src/bin/rc/
H A Drdef.cpp65 char *path = (char *)malloc(strlen(dir) + 2);
/haiku/src/libs/stdc++/legacy/
H A Dstrerror.c30 extern void *malloc (size_t size); /* 4.10.3.3 */
33 extern char *malloc (); /* Standard memory allocater */
525 if ((error_names = (const char **) malloc (nbytes)) != NULL)
543 if ((sys_errlist = (const char **) malloc (nbytes)) != NULL)
/haiku/src/system/boot/loader/file_systems/fat/
H A DCachedBlock.cpp60 fBlock = (uint8*)malloc(BlockSize());

Completed in 162 milliseconds

1234567891011>>