Searched refs:size_t (Results 201 - 225 of 3330) sorted by relevance

1234567891011>>

/haiku/src/system/runtime_loader/
H A Dutility.h39 T& operator[](size_t idx) { return fData[idx]; }
40 const T& operator[](size_t idx) const { return fData[idx]; }
42 size_t size() const { return fSize; }
48 size_t fMaxSize;
49 size_t fSize;
78 size_t newSize = std::max(fMaxSize * 2, size_t(4));
/haiku/headers/private/kernel/fs/
H A DKPath.h26 KPath(size_t bufferSize = B_PATH_NAME_LENGTH + 1);
28 size_t bufferSize = B_PATH_NAME_LENGTH + 1);
33 size_t bufferSize = B_PATH_NAME_LENGTH + 1);
41 size_t Length() const
44 size_t BufferSize() const
77 size_t fBufferSize;
78 size_t fPathLength;
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DIndex.h22 bool fixedKeyLength, size_t keyLength = 0);
33 size_t GetKeyLength() const { return fKeyLength; }
38 bool Find(const uint8 *key, size_t length,
47 size_t length) = 0;
54 size_t fKeyLength;
66 Entry *GetCurrent(uint8 *buffer, size_t *keyLength);
69 Entry *GetNext(uint8 *buffer, size_t *keyLength);
/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DProtocolHandler.h23 size_t ringBufferSize);
42 void *buffer, size_t *numBytes);
44 const void *buffer, size_t *numBytes);
47 size_t length);
50 status_t RingBufferRead(void *buffer, size_t length);
52 size_t length);
58 size_t length);
/haiku/src/system/libnetwork/netresolv/net/
H A Dhostent.h42 struct hostent *gethostent_r(FILE *, struct hostent *, char *, size_t, int *);
48 size_t, int *);
60 size_t buflen;
81 size_t _len = (anum + 1) * sizeof(*dst); \
91 if ((size_t)slen > len) \
93 memcpy(ptr, src, (size_t)slen); \
101 size_t _len = strlen(src) + 1; \
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DStream.h19 Stream(Device* device, size_t interface,
52 size_t fAreaSize;
54 size_t fDescriptorsCount;
57 size_t fCurrentBuffer;
58 size_t fSamplesCount;
68 status_t _QueueNextTransfer(size_t buffer, bool start);
70 void* data, size_t actualLength);
/haiku/src/system/libnetwork/netresolv/nameser/
H A Dns_print.c59 static size_t prune_origin(const char *name, const char *origin);
61 char **buf, size_t *buflen);
62 static int addname(const u_char *msg, size_t msglen,
64 char **buf, size_t *buflen);
65 static void addlen(size_t len, char **buf, size_t *buflen);
66 static int addstr(const char *src, size_t len,
67 char **buf, size_t *buflen);
68 static int addtab(size_t len, size_t targe
[all...]
/haiku/headers/libs/iconv/
H A Diconv.h32 /* Get size_t declaration.
66 extern size_t iconv(iconv_t cd, char* * inbuf, size_t *inbytesleft,
67 char* * outbuf, size_t *outbytesleft);
100 (const char* inbuf, size_t inbufsize,
101 void (*write_replacement) (const unsigned int *buf, size_t buflen,
111 void (*write_replacement) (const char *buf, size_t buflen,
121 (const char* inbuf, size_t inbufsize,
122 void (*write_replacement) (const wchar_t *buf, size_t buflen,
132 void (*write_replacement) (const char *buf, size_t bufle
[all...]
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DFile.h27 virtual status_t Read(off_t pos, void* buffer, size_t size,
28 size_t& _bytesRead);
30 size_t size, size_t& _bytesWritten,
36 status_t GetFileVecs(uint64 offset, size_t size,
37 file_io_vec* vecs, size_t count,
38 size_t& _count);
61 size_t size, size_t& _bytesWritten);
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/
H A DIndex.h25 static const size_t kMaxIndexKeyLength = 256;
35 size_t keyLength = 0);
43 size_t KeyLength() const { return fKeyLength; }
48 bool Find(const void* key, size_t length,
62 size_t length) = 0;
71 size_t fKeyLength;
83 Node* Next(void* buffer, size_t* _keyLength);
106 size_t HashKey(const StringKey& key) const
111 size_t Hash(const Index* value) const
/haiku/src/system/libroot/posix/malloc_hoard2/
H A Dblock.h78 setRequestedSize(size_t s)
83 size_t
92 setActualSize(size_t s)
97 size_t
129 setAllocatedSize(size_t size)
134 size_t
151 size_t _actualSize; // The actual size of the block.
178 size_t _allocatedSize;
184 size_t _requestedSize; // The amount of space requested (vs. allocated).
/haiku/src/add-ons/kernel/drivers/network/ether/usb_rndis/
H A DRNDISDevice.h24 status_t Read(uint8 *buffer, size_t *numBytes);
25 status_t Write(const uint8 *buffer, size_t *numBytes);
26 status_t Control(uint32 op, void *buffer, size_t length);
35 void *data, size_t actualLength);
37 void *data, size_t actualLength);
39 void *data, size_t actualLength);
41 status_t _SendCommand(const void*, size_t);
42 status_t _ReadResponse(void*, size_t);
45 status_t _GetOID(uint32 oid, void* buffer, size_t length);
/haiku/headers/posix/
H A Dgrp.h27 size_t bufferSize, struct group **_result);
29 size_t bufferSize, struct group **_result);
32 extern int getgrent_r(struct group* group, char* buffer, size_t bufferSize,
H A Dpwd.h27 extern int getpwent_r(struct passwd* pwbuf, char* buf, size_t buflen,
35 size_t bufferSize, struct passwd **result);
38 size_t bufferSize, struct passwd **result);
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dpacket_buffer.cpp16 create_packet_buffer(size_t size)
55 size_t
61 size_t available = ring_buffer_readable(buffer->buffer);
70 size_t
76 size_t left = ring_buffer_writable(buffer->buffer);
86 packet_buffer_flush(packet_buffer* buffer, size_t length)
98 size_t
99 packet_buffer_read(packet_buffer* buffer, uint8 *data, size_t length)
104 size_t bytesRead = ring_buffer_read(buffer->buffer, data, length);
113 size_t
[all...]
/haiku/src/add-ons/kernel/file_systems/cdda/
H A Dcdda.h33 status_t read_table_of_contents(int fd, scsi_toc_toc *toc, size_t length);
35 size_t length, off_t bufferOffset, void *buffer, size_t bufferSize);
/haiku/src/system/libroot/posix/string/
H A Dstrlcat.c18 size_t
19 strlcat(char *dest, const char *source, size_t maxLength)
21 size_t destLength = strnlen(dest, maxLength), i;
H A Dstrnlen.cpp16 size_t
17 strnlen(const char* string, size_t count)
19 size_t length = 0;
/haiku/src/tests/system/libroot/posix/
H A Dmemalign_test.cpp23 write_test_pattern(void *address, size_t size)
25 for (size_t i = 0; i < size; i++)
31 verify_test_pattern(void *address, size_t size)
33 for (size_t i = 0; i < size; i++) {
45 allocate_random_no_alignment(int32 count, size_t maxSize)
48 size_t *sizes = new size_t[count];
77 allocate_random_fixed_alignment(int32 count, size_t maxSize, size_t alignment)
80 size_t *size
[all...]
/haiku/src/kits/debug/
H A DImage.h36 size_t TextSize() const { return fInfo.text_size; }
41 size_t *_symbolNameLen,
45 size_t* _symbolNameLen,
46 addr_t* _symbolAddress, size_t* _symbolSize,
50 void** _symbolLocation, size_t* _symbolSize,
66 size_t *_symbolNameLen,
70 size_t* _symbolNameLen,
71 addr_t* _symbolAddress, size_t* _symbolSize,
75 size_t _SymbolNameLen(const char* symbolName) const;
82 size_t fStringTableSiz
[all...]
/haiku/src/kits/debugger/util/
H A DBitBuffer.h19 bool AddBytes(const void* data, size_t size);
25 size_t Size() const { return fBytes.Size(); }
26 size_t BitSize() const
/haiku/headers/private/debugger/model/
H A DTeamMemory.h27 size_t size) = 0;
29 size_t maxLength, BString& _string);
31 void* buffer, size_t size) = 0;
/haiku/src/system/boot/loader/file_systems/bfs/
H A DLink.h24 virtual status_t ReadLink(char *buffer, size_t bufferSize);
26 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
27 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
/haiku/src/tests/system/boot/loader/
H A DHandle.h25 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
26 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
28 virtual status_t GetName(char *nameBuffer, size_t bufferSize) const;
/haiku/src/add-ons/input_server/devices/wacom/
H A DDeviceReader.h45 size_t MaxPacketSize() const;
51 const size_t size) const;
61 size_t fMaxPacketSize;

Completed in 153 milliseconds

1234567891011>>