Searched refs:malloc (Results 1 - 25 of 1021) sorted by relevance

1234567891011>>

/haiku/src/libs/compat/freebsd_network/compat/vm/
H A Duma.h10 #include <sys/malloc.h>
/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Dmalloc.h9 #include_next <sys/malloc.h>
12 #define malloc(size, base, flags) kernel_malloc(size, base, flags) macro
/haiku/headers/private/kernel/util/
H A DMallocFreeAllocator.h6 #include <malloc.h>
16 /*! malloc()'s an object of type \c DataType and returns a
20 return reinterpret_cast<Pointer>(malloc(sizeof(DataType)));
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A Dcpp.h29 return malloc(size);
34 return malloc(size);
/haiku/src/tests/system/network/
H A Dufunc.c7 #include <malloc.h>
27 char *buf = (char*)malloc(sl + 5);
/haiku/src/kits/package/hpkg/
H A DPoolBuffer.cpp22 fBuffer(malloc(size)),
/haiku/src/system/libroot/posix/string/
H A Dstrdup.cpp24 if ((copied = (char *)malloc(length)) == NULL)
H A Dstrndup.cpp19 char* copied = (char*)malloc(length + 1);
/haiku/src/servers/app/drawing/
H A DMallocBuffer.cpp3 #include <malloc.h>
20 fBuffer = malloc((fWidth * 4) * fHeight);
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_subr_bufring.c35 #include <sys/malloc.h>
47 br = malloc(sizeof(struct buf_ring) + count*sizeof(caddr_t),
/haiku/src/add-ons/kernel/file_systems/udf/
H A DMemoryChunk.h11 #include <malloc.h>
25 , fData(malloc(blockSize))
/haiku/src/system/libroot/posix/glibc/libio/
H A Dvasprintf.c28 #include <malloc.h>
49 string = (char *) malloc (init_string_size);
59 sf._s._allocate_buffer = (_IO_alloc_type) malloc;
75 *result_ptr = (char *) malloc (needed);
/haiku/src/tests/system/boot/loader/
H A Dplatform_mmu.cpp20 void *address = malloc(size);
/haiku/src/system/libroot/posix/wchar/
H A Dwcsdup.c21 wchar_t* dest = malloc(bufferSize);
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_trackpoint.cpp10 #include <malloc.h>
/haiku/headers/posix/
H A Dmalloc.h16 extern void *malloc(size_t numBytes);
/haiku/src/add-ons/media/media-add-ons/dvb/
H A DPacket.cpp42 : fBuffer(malloc(init_size))
54 fBuffer = malloc(fBufferSize);
61 : fBuffer(malloc(size))
/haiku/src/system/kernel/util/
H A Dkernel_cpp.cpp93 return malloc(size);
100 return malloc(size);
107 return malloc(size);
114 return malloc(size);
121 return malloc(size);
128 return malloc(size);
/haiku/src/system/libroot/posix/malloc_hoard2/
H A Dthreadheap.h42 void *malloc(const size_t sz);
75 // just call malloc.
77 return this->malloc(size);
88 // Now malloc the space up with a little extra (we'll put the block
91 void *ptr = this->malloc(newSize);
/haiku/src/add-ons/input_server/devices/wacom/
H A DPointingDevice.cpp5 #include <malloc.h>
/haiku/src/system/libroot/os/
H A Dextended_system_info.cpp28 void* buffer = malloc(bufferSize);
/haiku/src/system/libroot/posix/stdlib/
H A Drealpath.cpp23 resolvedPath = (char*)malloc(PATH_MAX + 1);
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dcounter.h9 #include <sys/malloc.h>
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dmisc.c57 p = malloc(size);
59 ntfs_log_perror("Failed to malloc %lld bytes", (long long)size);
/haiku/src/add-ons/kernel/drivers/network/ether/rdc/
H A Dglue.c8 #include <sys/malloc.h>

Completed in 577 milliseconds

1234567891011>>