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

1234567891011>>

/haiku/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/headers/libs/print/libprint/
H A DPackBits.h9 int pack_bits_size(const unsigned char* source, int size);
11 int size);
/haiku/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/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...]
H A Dport_wakeup_test_3.cpp22 ssize_t size; local
26 size = port_buffer_size(id);
27 printf("port_buffer_size size %ld (0x%08lx) (%s)\n", size, size, strerror(size));
37 ssize_t size; local
46 size = read_port(id, &code, data, sizeof(data));
47 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, siz
[all...]
H A Dport_wakeup_test_8.cpp22 ssize_t size; local
25 size = port_buffer_size(id);
26 printf("port_buffer_size size %ld (0x%08lx) (%s)\n", size, size, strerror(size));
36 ssize_t size; local
45 size = read_port(id, &code, data, sizeof(data));
46 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, siz
[all...]
H A Dport_wakeup_test_9.cpp22 ssize_t size; local
25 size = port_buffer_size(id);
26 printf("port_buffer_size size %ld (0x%08lx) (%s)\n", size, size, strerror(size));
36 ssize_t size; local
45 size = read_port(id, &code, data, sizeof(data));
46 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, siz
[all...]
H A Dport_delete_test.cpp16 ssize_t size; local
41 size = port_buffer_size(id);
42 printf("port_buffer_size %ld (0x%08lx) (%s)\n", size, size, strerror(size));
45 size = read_port(id, &code, data, sizeof(data));
46 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
[all...]
/haiku/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);
H A DBlockAllocatorMisc.h9 // block alignment -- start offsets and size
18 // minimal size of a gross/net block
26 // bucket_containing_size -- bucket for to contain an area with size
27 static inline int bucket_containing_size(size_t size) argument
28 { return fls(size / kMinNetBlockSize) + 1; }
30 // bucket_containing_min_size -- bucket containing areas >= size
32 bucket_containing_min_size(size_t size) argument
33 { return (size ? bucket_containing_size(size - 1) + 1 : 0); }
H A DAreaUtils.cpp60 AreaUtils::calloc(size_t nmemb, size_t size) argument
62 //PRINT(("AreaUtils::calloc(%lu, %lu)\n", nmemb, size));
63 return AreaUtils::malloc(nmemb * size);
92 AreaUtils::malloc(size_t size) argument
94 //PRINT(("AreaUtils::malloc(%lu)\n", size));
96 return ::malloc(size);
99 if (size > 0) {
100 // round to multiple of page size
101 size = (size
121 realloc(void * ptr, size_t size) argument
[all...]
/haiku/src/kits/package/hpkg/
H A DPackageData.cpp31 BPackageData::SetData(uint64 size, uint64 offset) argument
33 fSize = size;
40 BPackageData::SetData(uint8 size, const void* data) argument
42 fSize = size;
43 if (size > 0)
44 memcpy(fInlineData, data, size);
H A DDataReader.cpp43 BAbstractBufferedDataReader::ReadData(off_t offset, void* buffer, size_t size) argument
45 BMemoryIO output(buffer, size);
46 return ReadDataToOutput(offset, size, &output);
53 BBufferDataReader::BBufferDataReader(const void* data, size_t size) argument
56 fSize(size)
62 BBufferDataReader::ReadData(off_t offset, void* buffer, size_t size) argument
64 if (size == 0)
70 if (size > fSize || offset > (off_t)fSize - (off_t)size)
75 if (user_memcpy(buffer, (const uint8*)fData + offset, size) !
85 ReadDataToOutput(off_t offset, size_t size, BDataIO* output) argument
[all...]
/haiku/headers/posix/
H A Dalloca.h26 #define __alloca(size) __builtin_alloca (size)
27 #define alloca(size) __alloca (size)
/haiku/headers/posix/arch/mipsel/
H A Darch_setjmp.h10 #warning MIPSEL: fix jmpbuf size
/haiku/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/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/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);
/haiku/src/add-ons/screen_savers/icons/
H A DVectorIcon.h17 size_t size; member in struct:vector_icon
/haiku/src/apps/pairs/
H A DPairsButton.cpp19 PairsButton::PairsButton(int32 x, int32 y, int32 size, BMessage* message) argument
21 BButton(BRect(x, y, x + size, y + size), "pairs button", "?", message)
23 SetFontSize(size - 15);
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Dmul_n.c54 impn_mul_n_basecase (mp_ptr prodp, mp_srcptr up, mp_srcptr vp, mp_size_t size) argument
56 impn_mul_n_basecase (prodp, up, vp, size)
60 mp_size_t size;
73 MPN_COPY (prodp, up, size);
75 MPN_ZERO (prodp, size);
79 cy_limb = mpn_mul_1 (prodp, up, size, v_limb);
81 prodp[size] = cy_limb;
86 for (i = 1; i < size; i++)
93 cy_limb = mpn_add_n (prodp, prodp, up, size);
96 cy_limb = mpn_addmul_1 (prodp, up, size, v_lim
105 impn_mul_n(mp_ptr prodp, mp_srcptr up, mp_srcptr vp, mp_size_t size, mp_ptr tspace) argument
224 impn_sqr_n_basecase(mp_ptr prodp, mp_srcptr up, mp_size_t size) argument
274 impn_sqr_n(mp_ptr prodp, mp_srcptr up, mp_size_t size, mp_ptr tspace) argument
363 mpn_mul_n(mp_ptr prodp, mp_srcptr up, mp_srcptr vp, mp_size_t size) argument
[all...]
/haiku/headers/compatibility/gnu/sys/
H A Dxattr.h26 size_t size);
28 size_t size);
29 ssize_t fgetxattr(int fd, const char* attribute, void* buffer, size_t size);
32 size_t size, int flags);
34 size_t size, int flags);
36 size_t size, int flags);
42 ssize_t listxattr(const char* path, char* buffer, size_t size);
43 ssize_t llistxattr(const char* path, char* buffer, size_t size);
44 ssize_t flistxattr(int fd, char* buffer, size_t size);
/haiku/headers/private/app/
H A DSimpleMallocIO.h20 BSimpleMallocIO(size_t size) argument
21 : fSize(size)
23 fBuffer = (char *)malloc(size);
36 void Read(void *buffer, size_t size) argument
38 memcpy(buffer, fBuffer, size);
41 void ReadAt(off_t pos, void *buffer, size_t size) argument
43 memcpy(buffer, fBuffer + pos, size);
51 void Write(const void *buffer, size_t size) argument
53 memcpy(fBuffer, buffer, size);
56 void WriteAt(off_t pos, const void *buffer, size_t size) argument
61 SetSize(off_t size) argument
[all...]

Completed in 260 milliseconds

1234567891011>>