Searched refs:size (Results 1 - 25 of 3482) sorted by relevance

1234567891011>>

/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dmisc.h26 void *ntfs_calloc(size_t size);
27 void *ntfs_malloc(size_t size);
H A Dmisc.c43 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 Dallocalim.h4 _EXTERN_INLINE int __libc_use_alloca (size_t size) argument
6 return size <= __MAX_ALLOCA_CUTOFF;
/haiku-fatelf/headers/libs/print/libprint/
H A DPackBits.h9 int pack_bits_size(const unsigned char* source, int size);
11 int size);
/haiku-fatelf/src/kits/package/hpkg/
H A DDataOutput.cpp28 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 Dport_close_test_1.cpp16 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 Dport_close_test_2.cpp16 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 Dkernel_cpp.h27 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 Dmempool.h28 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 Dmempool.h28 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 DAreaUtils.h33 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 DAreaUtils.h33 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 Djas_malloc.c140 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 Dalloca.h26 #define __alloca(size) __builtin_alloca (size)
27 #define alloca(size) __alloca (size)
/haiku-fatelf/headers/posix/arch/mipsel/
H A Darch_setjmp.h10 #warning MIPSEL: fix jmpbuf size
/haiku-fatelf/src/add-ons/kernel/drivers/dvb/cx23882/
H A Dutil.h30 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 Dutil.h24 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 Dkernel_cpp.h7 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 Dkernel_cpp.h7 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 Dbyteio.h25 int asf_byteio_read(asf_iostream_t *iostream, uint8_t *data, int size);
/haiku-fatelf/src/bin/coreutils/man/
H A Dtruncate.x2 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 Dkernel-cpp.h26 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 Dvm.cpp18 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 DFileDataIO.cpp14 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 DFileDataIO.cpp14 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);

Completed in 229 milliseconds

1234567891011>>