Searched refs:size_t (Results 126 - 150 of 3330) sorted by relevance

1234567891011>>

/haiku/src/system/runtime_loader/
H A Dpe.h20 status_t pe_verify_header(void *header, size_t length);
/haiku/headers/os/package/hpkg/
H A DDataReader.h25 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,
80 size_t fSize;
/haiku/src/add-ons/kernel/file_systems/packagefs/package/
H A DCachedDataReader.h29 virtual status_t ReadDataToOutput(off_t offset, size_t size,
93 size_t HashKey(off_t key) const
95 return size_t(key / kCacheLineSize);
98 size_t Hash(const CacheLineLocker* value) const
120 size_t lineSize, off_t requestOffset,
121 size_t requestLength, BDataIO* output);
123 void _DiscardPages(vm_page** pages, size_t firstPage,
124 size_t pageCount);
125 void _CachePages(vm_page** pages, size_t firstPage,
126 size_t pageCoun
[all...]
/haiku/src/bin/addattr/
H A DaddAttr.h15 const char* attrValue, size_t length, bool resolveLinks);
/haiku/headers/posix/
H A Dmalloc_debug.h21 void heap_debug_set_default_alignment(size_t defaultAlignment);
28 void *heap_debug_malloc_with_guard_page(size_t size);
30 status_t heap_debug_get_allocation_info(void *address, size_t *size,
34 status_t heap_debug_set_stack_trace_depth(size_t stackTraceDepth);
H A Dwchar.h66 extern size_t mbrlen(const char *s, size_t n, mbstate_t *mbState);
67 extern size_t mbrtowc(wchar_t *dest, const char *src, size_t srcLength,
70 extern size_t mbsnrtowcs(wchar_t *dest, const char **src, size_t srcLength,
71 size_t destLength, mbstate_t *mbState);
72 extern size_t mbsrtowcs(wchar_t *dest, const char **src, size_t destLength,
78 extern int swprintf(wchar_t *dest, size_t destLengt
[all...]
/haiku/headers/private/media/
H A DDataExchange.h30 status_t SendToServer(int32 msgCode, command_data* msg, size_t size);
31 status_t QueryServer(int32 msgCode, request_data* request, size_t requestSize,
32 reply_data* reply, size_t replySize);
35 status_t SendToAddOnServer(int32 msgCode, command_data *msg, size_t size);
37 size_t requestSize, reply_data* reply, size_t replySize);
41 size_t size);
43 size_t requestSize, reply_data* reply, size_t replySize);
/haiku/headers/private/shared/
H A DStringForRate.h14 const char* string_for_rate(double rate, char* string, size_t stringSize);
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dfirmware.h15 size_t datasize; // size of image in bytes
/haiku/src/system/kernel/slab/
H A DHashedObjectCache.h25 static HashedObjectCache* Create(const char* name, size_t object_size,
26 size_t alignment, size_t maximum,
27 size_t magazineCapacity,
28 size_t maxMagazineCount,
57 size_t HashKey(const void* key) const
63 size_t Hash(HashedSlab* value) const
82 void* Allocate(size_t size) const
103 size_t lower_boundary;
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DFile.h18 virtual status_t ReadAt(off_t offset, void *buffer, size_t size,
19 size_t *bytesRead);
20 virtual status_t WriteAt(off_t offset, const void *buffer, size_t size,
21 size_t *bytesWritten);
H A DAllocationInfo.cpp53 AllocationInfo::AddNodeTableAllocation(size_t arraySize, size_t vectorSize,
54 size_t elementSize, size_t elementCount)
63 AllocationInfo::AddDirectoryEntryTableAllocation(size_t arraySize,
64 size_t vectorSize,
65 size_t elementSize,
66 size_t elementCount)
75 AllocationInfo::AddAttributeAllocation(size_t size)
97 AllocationInfo::AddFileAllocation(size_t siz
[all...]
/haiku/headers/private/input/
H A Dwacom_driver.h15 size_t max_packet_size;
/haiku/headers/private/libroot/locale/
H A DICUCtypeData.h35 size_t mbLength, mbstate_t* mbState,
36 size_t& lengthOut);
38 size_t wcDestLength, const char** mbSource,
39 size_t mbSourceLength, mbstate_t* mbState,
40 size_t& lengthOut);
42 mbstate_t* mbState, size_t& lengthOut);
44 size_t mbDestLength,
46 size_t wcSourceLength, mbstate_t* mbState,
47 size_t& lengthOut);
/haiku/headers/os/net/
H A DNetDebug.h52 static void Dump(const char *data, size_t size, const char *title);
/haiku/src/add-ons/kernel/file_systems/nfs/
H A DXDRInPacket.h10 size_t fOffset;
16 status_t XDRInPacketGetFixed (struct XDRInPacket *packet, void *buffer, size_t len);
17 status_t XDRInPacketGetDynamic (struct XDRInPacket *packet, void *buffer, size_t *_len);
19 void XDRInPacketSetTo (struct XDRInPacket *packet, uint8 *buffer, size_t offset);
/haiku/src/kits/network/libnetservices2/
H A DHttpBuffer.h22 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>;
28 HttpBuffer(size_t capacity = 8 * 1024);
31 std::optional<size_t> maxSize = std::nullopt);
32 size_t WriteTo(HttpTransferFunction func,
33 std::optional<size_t> maxSize = std::nullopt);
35 std::optional<size_t> maxSize = std::nullopt);
38 size_t RemainingBytes() const noexcept;
50 size_t fCurrentOffset = 0;
/haiku/headers/cpp/std/
H A Dvalarray_array.h47 __valarray_fill (_Tp* __restrict__ __a, size_t __n, const _Tp& __t)
53 __valarray_fill (_Tp* __restrict__ __a, size_t __n,
54 size_t __s, const _Tp& __t)
55 { for (size_t __i=0; __i<__n; ++__i, __a+=__s) *__a = __t; }
60 __valarray_fill(_Tp* __restrict__ __a, const size_t* __restrict__ __i,
61 size_t __n, const _Tp& __t)
62 { for (size_t __j=0; __j<__n; ++__j, ++__i) __a[*__i] = __t; }
67 __valarray_copy (const _Tp* __restrict__ __a, size_t __n,
74 __valarray_copy (const _Tp* __restrict__ __a, size_t __n, size_t __
[all...]
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DSerialDevice.h52 size_t ReadBufferSize() { return fReadBufferSize; };
55 size_t WriteBufferSize() { return fWriteBufferSize; };
59 void *buffer, size_t length);
62 status_t Read(char *buffer, size_t *numBytes);
63 status_t Write(const char *buffer, size_t *numBytes);
64 status_t Control(uint32 op, void *arg, size_t length);
83 virtual void OnRead(char **buffer, size_t *numBytes);
84 virtual void OnWrite(const char *buffer, size_t *numBytes,
85 size_t *packetBytes);
89 void SetReadBufferSize(size_t siz
[all...]
/haiku/src/system/kernel/util/
H A DBitmap.cpp20 Bitmap::Bitmap(size_t bitCount)
44 Bitmap::Resize(size_t bitCount)
46 const size_t count = (bitCount + kBitsPerElement - 1) / kBitsPerElement;
74 Bitmap::SetRange(size_t index, size_t count)
83 Bitmap::ClearRange(size_t index, size_t count)
92 Bitmap::GetLowestClear(size_t fromIndex) const
96 for (size_t i = fromIndex; i < fSize; i++) {
105 Bitmap::GetLowestContiguousClear(size_t coun
[all...]
/haiku/src/add-ons/kernel/network/stack/
H A Dutility.h17 UserBuffer(void* buffer, size_t size);
19 void* Push(void* source, size_t size);
20 status_t Pad(size_t length);
21 status_t PadToNext(size_t length);
25 size_t BytesConsumed() const
30 size_t fBufferSize;
31 size_t fAvailable;
37 UserBuffer::UserBuffer(void* buffer, size_t size)
48 uint16 compute_checksum(uint8* _buffer, size_t length);
49 uint16 checksum(uint8* buffer, size_t lengt
[all...]
/haiku/src/system/kernel/debug/
H A Ddebug_hex_dump.cpp25 HexDumpDataProvider::GetAddressString(char* buffer, size_t bufferSize) const
35 size_t dataSize)
63 size_t bufferSize) const
74 print_hex_dump(HexDumpDataProvider& data, size_t maxBytes, uint32 flags)
76 static const size_t kBytesPerBlock = 4;
77 static const size_t kBytesPerLine = 16;
79 size_t i = 0;
93 size_t bytesInLine = 0;
101 for (size_t k = 0; k < bytesInLine; k++) {
116 for (size_t
[all...]
/haiku/headers/private/kernel/slab/
H A DSlab.h45 object_cache* create_object_cache(const char* name, size_t objectSize,
46 size_t alignment, void* cookie, object_cache_constructor constructor,
48 object_cache* create_object_cache_etc(const char* name, size_t objectSize,
49 size_t alignment, size_t maxByteUsage, size_t magazineCapacity,
50 size_t maxMagazineCount, uint32 flags, void* cookie,
57 size_t objectCount);
62 status_t object_cache_reserve(object_cache* cache, size_t object_count,
65 void object_cache_get_usage(object_cache* cache, size_t* _allocatedMemor
[all...]
/haiku/src/system/libroot/posix/wchar/
H A Dwcsrtombs.cpp28 extern "C" size_t
29 __wcsnrtombs(char* dst, const wchar_t** src, size_t nwc, size_t len,
48 size_t count = 0;
57 count = (size_t)-1;
71 count = (size_t)-1;
88 size_t result = 0;
95 result = (size_t)-1;
99 result = (size_t)-1;
111 extern "C" size_t
[all...]
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixFifo.h38 UnixRequest(const iovec* vecs, size_t count,
46 void AddBytesTransferred(size_t size);
47 bool GetCurrentChunk(void*& data, size_t& size);
57 size_t fVecCount;
61 size_t fVecIndex;
62 size_t fVecOffset;
69 UnixBufferQueue(size_t capacity, UnixFifoType type);
74 size_t Readable() const;
75 size_t Writable() const;
80 size_t Capacit
[all...]

Completed in 802 milliseconds

1234567891011>>