/haiku/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); 28 void *ntfs_realloc(void *ptr, 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); 63 void *ntfs_realloc(void *ptr, size_t size) argument 67 p = realloc(ptr, size); 70 (long long)size);
|
/haiku/headers/libs/print/libprint/ |
H A D | PackBits.h | 9 int pack_bits_size(const unsigned char* source, int size); 11 int size);
|
/haiku/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;
|
H A D | unistd.h | 13 #define __read(fd, buffer, size) \ 14 read(fd, buffer, size) 16 #define __write(fd, buffer, size) \ 17 write(fd, buffer, size) 25 #define __getcwd(buf, size) \ 26 getcwd(buf, size)
|
/haiku/src/apps/haikudepot/model/ |
H A D | IconTarPtr.cpp | 30 IconTarPtr::Offset(BitmapSize size) const 32 return fOffsets[size]; 37 IconTarPtr::HasOffset(BitmapSize size) const 39 return 0 != (fOffsetsMask & (1 << size)); 44 IconTarPtr::SetOffset(BitmapSize size, off_t value) argument 46 fOffsets[size] = value; 47 fOffsetsMask |= (1 << size);
|
/haiku/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...] |
H A D | port_wakeup_test_3.cpp | 22 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 D | port_wakeup_test_8.cpp | 22 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 D | port_wakeup_test_9.cpp | 22 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 D | port_delete_test.cpp | 16 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/kits/package/hpkg/ |
H A D | PackageData.cpp | 31 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 D | DataReader.cpp | 43 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 D | alloca.h | 26 #define __alloca(size) __builtin_alloca (size) 27 #define alloca(size) __alloca (size)
|
/haiku/headers/posix/arch/mipsel/ |
H A D | arch_setjmp.h | 10 #warning MIPSEL: fix jmpbuf size
|
/haiku/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/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);
|
/haiku/src/add-ons/screen_savers/icons/ |
H A D | VectorIcon.h | 17 size_t size; member in struct:vector_icon
|
/haiku/src/apps/pairs/ |
H A D | PairsButton.cpp | 19 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 D | mul_n.c | 54 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 D | xattr.h | 26 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 D | SimpleMallocIO.h | 20 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...] |
/haiku/src/add-ons/kernel/drivers/audio/generic/ |
H A D | util.c | 39 uint32 round_to_pagesize(uint32 size); 60 round_to_pagesize(uint32 size) argument 62 return (size + B_PAGE_SIZE - 1) & ~(B_PAGE_SIZE - 1); 67 alloc_mem(phys_addr_t *phy, void **log, size_t size, const char *name, bool user) argument 75 LOG(("allocating %d bytes for %s\n",size,name)); 80 size = round_to_pagesize(size); 81 area = create_area(name, &logadr, B_ANY_KERNEL_ADDRESS, size, 89 rv = get_memory_map(logadr, size, &pe, 1); 96 user_memset(logadr, 0, size); 110 map_mem(void **log, phys_addr_t phy, size_t size, const char *name) argument [all...] |
/haiku/src/kits/package/hpkg/v1/ |
H A D | PackageDataV1.cpp | 36 BPackageData::SetData(uint64 size, uint64 offset) argument 38 fUncompressedSize = fCompressedSize = size; 45 BPackageData::SetData(uint8 size, const void* data) argument 47 fUncompressedSize = fCompressedSize = size; 48 if (size > 0) 49 memcpy(fInlineData, data, size);
|