/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | misc.h | 26 void *ntfs_calloc(size_t size); 27 void *ntfs_malloc(size_t size);
|
H A D | misc.c | 43 void *ntfs_calloc(size_t size) argument 47 p = calloc(1, size); 49 ntfs_log_perror("Failed to calloc %lld bytes", (long long)size); 53 void *ntfs_malloc(size_t size) argument 57 p = malloc(size); 59 ntfs_log_perror("Failed to malloc %lld bytes", (long long)size);
|
/haiku-fatelf/src/system/libroot/posix/glibc/include/ |
H A D | allocalim.h | 4 _EXTERN_INLINE int __libc_use_alloca (size_t size) argument 6 return size <= __MAX_ALLOCA_CUTOFF;
|
/haiku-fatelf/headers/libs/print/libprint/ |
H A D | PackBits.h | 9 int pack_bits_size(const unsigned char* source, int size); 11 int size);
|
/haiku-fatelf/src/kits/package/hpkg/ |
H A D | DataOutput.cpp | 28 BBufferDataOutput::BBufferDataOutput(void* buffer, size_t size) argument 31 fSize(size), 38 BBufferDataOutput::WriteData(const void* buffer, size_t size) argument 40 if (size == 0) 42 if (size > fSize - fBytesWritten) 45 memcpy((uint8*)fBuffer + fBytesWritten, buffer, size); 46 fBytesWritten += size;
|
/haiku-fatelf/src/tests/system/kernel/ |
H A D | port_close_test_1.cpp | 16 ssize_t size; local 39 size = port_buffer_size(id); 40 printf("port_buffer_size %ld (0x%08lx) (%s)\n", size, size, strerror(size)); 43 size = read_port(id, &code, data, sizeof(data)); 44 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size)); [all...] |
H A D | port_close_test_2.cpp | 16 ssize_t size; local 39 size = port_buffer_size(id); 40 printf("port_buffer_size %ld (0x%08lx) (%s)\n", size, size, strerror(size)); 43 size = read_port(id, &code, data, sizeof(data)); 44 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size)); [all...] |
/haiku-fatelf/headers/private/kernel/util/ |
H A D | kernel_cpp.h | 27 operator new(size_t size) throw (std::bad_alloc) argument 32 return malloc(size); 37 operator new[](size_t size) throw (std::bad_alloc) argument 39 return malloc(size); 44 operator new(size_t size, const std::nothrow_t &) throw () argument 46 return malloc(size); 51 operator new[](size_t size, const std::nothrow_t &) throw () argument 53 return malloc(size); 58 operator new(size_t size, const mynothrow_t &) throw () argument 60 return malloc(size); 65 operator new[](size_t size, const mynothrow_t &) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/bcm440x/ |
H A D | mempool.h | 28 void * area_malloc(size_t size); 32 #define ROUNDUP(size, blocksize) (((size) + (blocksize) - 1) & ~((blocksize) - 1))
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/bcm570x/ |
H A D | mempool.h | 28 void * area_malloc(size_t size); 32 #define ROUNDUP(size, blocksize) (((size) + (blocksize) - 1) & ~((blocksize) - 1))
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/ |
H A D | AreaUtils.h | 33 void *calloc(size_t nmemb, size_t size); 35 void *malloc(size_t size); 36 void *realloc(void * ptr, size_t size);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/ |
H A D | AreaUtils.h | 33 void *calloc(size_t nmemb, size_t size); 35 void *malloc(size_t size); 36 void *realloc(void * ptr, size_t size);
|
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/ |
H A D | jas_malloc.c | 140 void *jas_malloc(size_t size) argument 142 return malloc(size); 150 void *jas_realloc(void *ptr, size_t size) argument 152 return realloc(ptr, size); 155 void *jas_calloc(size_t nmemb, size_t size) argument 159 n = nmemb * size;
|
/haiku-fatelf/headers/posix/ |
H A D | alloca.h | 26 #define __alloca(size) __builtin_alloca (size) 27 #define alloca(size) __alloca (size)
|
/haiku-fatelf/headers/posix/arch/mipsel/ |
H A D | arch_setjmp.h | 10 #warning MIPSEL: fix jmpbuf size
|
/haiku-fatelf/src/add-ons/kernel/drivers/dvb/cx23882/ |
H A D | util.h | 30 area_id map_mem(void **virt, void *phy, size_t size, uint32 protection, const char *name); 31 area_id alloc_mem(void **virt, void **phy, size_t size, uint32 protection, const char *name); 34 #define ROUNDUP(size, blocksize) (((size) + (blocksize) - 1) & ~((blocksize) - 1))
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/ |
H A D | util.h | 24 area_id map_mem(void **virt, void *phy, size_t size, uint32 protection, const char *name); 26 void * area_malloc(size_t size); 30 #define ROUNDUP(size, blocksize) (((size) + (blocksize) - 1) & ~((blocksize) - 1))
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/ipw2100/ |
H A D | kernel_cpp.h | 7 operator new(size_t size) argument 9 return malloc(size); 14 operator new[](size_t size) argument 16 return malloc(size);
|
/haiku-fatelf/src/add-ons/kernel/drivers/ports/pc_serial/ |
H A D | kernel_cpp.h | 7 operator new(size_t size) argument 9 return malloc(size); 14 operator new[](size_t size) argument 16 return malloc(size);
|
/haiku-fatelf/src/add-ons/media/plugins/asf_reader/libasf/ |
H A D | byteio.h | 25 int asf_byteio_read(asf_iostream_t *iostream, uint8_t *data, int size);
|
/haiku-fatelf/src/bin/coreutils/man/ |
H A D | truncate.x | 2 truncate \- shrink or extend the size of a file to the specified size
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/kernel_add_on/ |
H A D | kernel-cpp.h | 26 inline void *operator new(size_t size, const nothrow_t&) throw() argument 28 return malloc(size); 31 inline void *operator new[](size_t size, const nothrow_t&) throw() argument 33 return malloc(size);
|
/haiku-fatelf/src/tests/add-ons/kernel/kernelland_emu/ |
H A D | vm.cpp | 18 user_memcpy(void *to, const void *from, size_t size) argument 20 memcpy(to, from, size); 26 user_strlcpy(char *to, const char *from, size_t size) argument 28 return strlcpy(to, from, size);
|
/haiku-fatelf/src/tests/kits/media/mp3_reader_test/ |
H A D | FileDataIO.cpp | 14 FileDataIO::Read(void *buffer, size_t size) argument 16 return file->Read(buffer, size); 20 FileDataIO::Write(const void *buffer, size_t size) argument 22 return file->Write(buffer, size);
|
/haiku-fatelf/src/tests/kits/media/wav_reader_test/ |
H A D | FileDataIO.cpp | 14 FileDataIO::Read(void *buffer, size_t size) argument 16 return file->Read(buffer, size); 20 FileDataIO::Write(const void *buffer, size_t size) argument 22 return file->Write(buffer, size);
|