/haiku/headers/os/package/hpkg/ |
H A D | DataReader.h | 25 size_t size) = 0; 34 size_t size); 35 virtual status_t ReadDataToOutput(off_t offset, size_t size, 47 size_t size); 60 size_t size); 71 BBufferDataReader(const void* data, size_t size); 74 size_t size); 75 virtual status_t ReadDataToOutput(off_t offset, size_t size,
|
/haiku/src/tests/kits/media/nodetest/ |
H A D | misc.h | 6 void val_size(ssize_t size);
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/compat/ |
H A D | nvme_mem.h | 17 void* nvme_mem_alloc_node(size_t size, size_t align, 19 void* nvme_malloc_node(size_t size, size_t align,
|
/haiku/headers/private/system/arch/arm64/ |
H A D | asm_defs.h | 9 #define SYMBOL_END(name) .size name, . - name 12 #define FUNCTION_END(name) .size name, . - name
|
/haiku/src/add-ons/kernel/file_systems/netfs/shared/ |
H A D | RequestUnflattener.cpp | 26 Reader::Read(int32 size, void** buffer, bool* mustFree) argument 29 if (size < 0 || !buffer || !mustFree) 32 // deal with size == 0 33 if (size == 0) { 40 *buffer = malloc(size); 43 status_t error = Read(*buffer, size); 53 Reader::Skip(int32 size) argument 55 if (size <= 0) 58 if (size > 8) 62 return Read(buffer, size); 168 int32 size; local 189 int32 size; local 228 Read(void* buffer, int32 size) argument 242 Read(int32 size, void*& buffer, bool& mustFree) argument 333 int32 size; local [all...] |
H A D | InsecureChannel.cpp | 57 InsecureChannel::Send(const void* _buffer, int32 size) argument 59 if (size == 0) 61 if (!_buffer || size < 0) 65 while (size > 0) { 66 int32 bytesSent = send(fSocket, buffer, size, 0); 86 size -= bytesSent; 90 //bytesSent, size)); 98 InsecureChannel::Receive(void* _buffer, int32 size) argument 100 if (size == 0) 102 if (!_buffer || size < 143 socklen_t size = sizeof(sockaddr_in); local [all...] |
H A D | RequestFlattener.cpp | 21 Writer::Pad(int32 size) argument 23 if (size <= 0) 26 if (size > 8) 30 return Write(buffer, size); 50 DataIOWriter::Write(const void* buffer, int32 size) argument 52 ssize_t bytesWritten = fDataIO->Write(buffer, size); 55 if (bytesWritten != size) 75 DummyWriter::Write(const void* buffer, int32 size) argument 180 WriteData(data.address, data.size); 187 WriteData(data.address, data.size); 213 Write(const void* buffer, int32 size) argument 266 WriteData(const void* buffer, int32 size) argument 280 int32 size = (string ? strlen(string) + 1 : 0); local [all...] |
/haiku/src/system/libroot/posix/malloc_hoard2/ |
H A D | arch-specific.h | 47 void *hoardSbrk(long size); 48 void hoardUnsbrk(void *ptr, long size);
|
/haiku/src/system/libroot/posix/string/ |
H A D | strndup.cpp | 12 strndup(const char* string, size_t size) argument 18 size_t length = strnlen(string, size);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | ea.h | 31 int ntfs_get_ntfs_ea(ntfs_inode *ni, char *value, size_t size); 33 int ntfs_set_ntfs_ea(ntfs_inode *ni, const char *value, size_t size, int flags);
|
/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | malloc.h | 12 #define malloc(size, base, flags) kernel_malloc(size, base, flags)
|
/haiku/src/add-ons/kernel/drivers/audio/generic/ |
H A D | util.h | 37 area_id alloc_mem(phys_addr_t *phy, void **log, size_t size, const char *name, 39 area_id map_mem(void **log, phys_addr_t phy, size_t size, const char *name);
|
/haiku/src/system/kernel/vm/ |
H A D | VMKernelAddressSpace.cpp | 53 /*! Verifies that an area with the given aligned base and size fits into 57 \param size The size of the area. 61 is_valid_spot(addr_t base, addr_t alignedBase, addr_t size, addr_t limit) argument 63 return (alignedBase >= base && alignedBase + (size - 1) > alignedBase 64 && alignedBase + (size - 1) <= limit); 71 VMKernelAddressSpace::VMKernelAddressSpace(team_id id, addr_t base, size_t size) argument 73 VMAddressSpace(id, base, size, "kernel address space"), 100 size_t size = fEndAddress - fBase + 1; 101 fFreeListCount = ld(size) 192 InsertArea(VMArea* _area, size_t size, const virtual_address_restrictions* addressRestrictions, uint32 allocationFlags, void** _address) argument 388 ReserveAddressRange(size_t size, const virtual_address_restrictions* addressRestrictions, uint32 flags, uint32 allocationFlags, void** _address) argument 421 UnreserveAddressRange(addr_t address, size_t size, uint32 allocationFlags) argument 519 _FreeListInsertRange(Range* range, size_t size) argument 530 _FreeListRemoveRange(Range* range, size_t size) argument 580 _AllocateRange( const virtual_address_restrictions* addressRestrictions, size_t size, bool allowReservedRange, uint32 allocationFlags, Range*& _range) argument 698 _FindFreeRange(addr_t start, size_t size, size_t alignment, uint32 addressSpec, bool allowReservedRange, addr_t& _foundAddress) argument [all...] |
/haiku/src/tools/restest/ |
H A D | ResourceItem.cpp | 29 ResourceItem::SetLocation(roff_t offset, roff_t size) argument 32 SetSize(size); 60 ResourceItem::SetSize(roff_t size) argument 62 if (size != fSize) { 64 fSize = size; 119 ResourceItem::SetData(const void* data, roff_t size) argument 121 if (size < 0) 122 size = fSize; 125 AllocData(size); 144 ResourceItem::AllocData(roff_t size) argument 162 LoadData(BPositionIO& file, roff_t position, roff_t size) argument [all...] |
/haiku/src/add-ons/media/media-add-ons/usb_webcam/ |
H A D | CamBufferedFilterInterface.h | 19 virtual ssize_t Read(void *buffer, size_t size); 20 virtual ssize_t ReadAt(off_t pos, void *buffer, size_t size); 22 virtual ssize_t Write(const void *buffer, size_t size); 23 virtual ssize_t WriteAt(off_t pos, const void *buffer, size_t size); 27 virtual status_t SetSize(off_t size); 28 // size of the buffer required for reading a whole frame
|
H A D | CamFilterInterface.cpp | 54 CamFilterInterface::Read(void *buffer, size_t size) argument 57 (void)size; 63 CamFilterInterface::ReadAt(off_t pos, void *buffer, size_t size) argument 67 (void)size; 73 CamFilterInterface::Write(const void *buffer, size_t size) argument 76 (void)size; 82 CamFilterInterface::WriteAt(off_t pos, const void *buffer, size_t size) argument 86 (void)size; 108 CamFilterInterface::SetSize(off_t size) argument 110 (void)size; [all...] |
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | filedoalloc.c | 82 * optimisation) right after the _fstat() that finds the buffer size. 89 _IO_size_t size; local 102 size = _IO_BUFSIZ; 117 size = st.st_blksize; 120 ALLOC_BUF (p, size, EOF); 121 INTUSE(_IO_setb) (fp, p, p + size, 1);
|
/haiku/src/tests/system/kernel/ |
H A D | port_wakeup_test_1.cpp | 36 ssize_t size; local 53 size = read_port(id, &code, data, sizeof(data)); 54 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
|
/haiku/headers/private/storage/ |
H A D | FdIO.h | 21 virtual ssize_t Read(void* buffer, size_t size); 22 virtual ssize_t Write(const void* buffer, size_t size); 25 size_t size); 27 size_t size); 32 virtual status_t SetSize(off_t size);
|
/haiku/src/system/boot/platform/openfirmware/ |
H A D | mmu.cpp | 15 platform_allocate_region(void **_address, size_t size, uint8 protection, argument 18 if (size == 0) 21 void *address = arch_mmu_allocate(*_address, size, protection, 48 platform_free_region(void *address, size_t size) argument 50 return arch_mmu_free(address, size);
|
/haiku/src/apps/haikudepot/ui_generic/ |
H A D | SharedBitmap.cpp | 78 off_t size; local 79 if (data.GetSize(&size) == B_OK) { 81 _InitWithData(data, size); 89 SharedBitmap::SharedBitmap(BDataIO& data, size_t size) argument 97 _InitWithData(data, size); 112 SharedBitmap::_InitWithData(BDataIO& data, size_t size) argument 114 fSize = size; 116 if (size > 0 && size <= kMaxSize) { 117 fBuffer = new(std::nothrow) uint8[size]; 145 int32 size = 16; local [all...] |
/haiku/src/libs/gnu/ |
H A D | xattr.cpp | 133 int Set(const char* attribute, int flags, const void* buffer, size_t size) argument 160 ssize_t written = write(attributeFD, buffer, size); 166 if ((size_t)written != size) 172 ssize_t Get(const char* attribute, void* buffer, size_t size) argument 180 // get the attribute size -- we read all or nothing 189 // if an empty buffer is given, return the attribute size 190 if (size == 0) 191 return info.size; 194 if (size < info.size) { 226 GetList(void* _buffer, size_t size) argument 284 getxattr(const char* path, const char* attribute, void* buffer, size_t size) argument 291 lgetxattr(const char* path, const char* attribute, void* buffer, size_t size) argument 298 fgetxattr(int fd, const char* attribute, void* buffer, size_t size) argument 305 setxattr(const char* path, const char* attribute, const void* buffer, size_t size, int flags) argument 313 lsetxattr(const char* path, const char* attribute, const void* buffer, size_t size, int flags) argument 321 fsetxattr(int fd, const char* attribute, const void* buffer, size_t size, int flags) argument 350 listxattr(const char* path, char* buffer, size_t size) argument 357 llistxattr(const char* path, char* buffer, size_t size) argument 364 flistxattr(int fd, char* buffer, size_t size) argument [all...] |
/haiku/headers/private/kernel/ |
H A D | debug_paranoia.h | 43 size_t size, paranoia_set_check_mode mode); 45 size_t size); 72 #define ADD_PARANOIA_CHECK(level, object, address, size) \ 74 set_paranoia_check((object), (address), (size), \ 76 #define UPDATE_PARANOIA_CHECK(level, object, address, size) \ 78 set_paranoia_check((object), (address), (size), \ 80 #define SET_PARANOIA_CHECK(level, object, address, size) \ 82 set_paranoia_check((object), (address), (size), \ 84 #define REMOVE_PARANOIA_CHECK(level, object, address, size) \ 86 remove_paranoia_check((object), (address), (size))) [all...] |
/haiku/src/system/libroot/posix/glibc/arch/x86/ |
H A D | submul_1.S | 34 #define size ecx define 48 movl SIZE(%esp), %size 56 leal (%res_ptr,%size,4), %res_ptr 57 leal (%s1_ptr,%size,4), %s1_ptr 58 negl %size 63 movl (%s1_ptr,%size,4), %eax 68 movl (%res_ptr,%size,4), %ebp 73 movl %ebp, (%res_ptr,%size,4) 74 incl %size 88 #undef size [all...] |
/haiku/src/add-ons/translators/gif/ |
H A D | SFHash.cpp | 26 SFHash::SFHash(int size) { argument 28 this->size = size; 30 main_array = (HashItem**)malloc(this->size * sizeof(HashItem*)); 37 for (int x = 0; x < this->size; x++) 43 for (int x = 0; x < size; x++) { 58 int pos = item->key % size; 73 int pos = key % size; 89 for (int x = 0; x < this->size; x++) { 104 if (iterate_pos >= size) { [all...] |