Searched refs:length (Results 176 - 200 of 1330) sorted by relevance

1234567891011>>

/haiku/headers/private/shared/
H A DHashString.h38 HashString(const char *string, int32 length = -1);
56 bool _SetTo(const char *string, int32 length);
/haiku/headers/private/userlandfs/shared/
H A DString.h39 String(const char *string, int32 length = -1);
57 bool _SetTo(const char *string, int32 length);
/haiku/src/add-ons/kernel/debugger/bochs/
H A Dbochs.cpp18 debugger_puts(const char *s, int32 length) argument
21 for (i = 0; i < length; i++)
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DKLSI.cpp61 size_t length = 0; local
70 KLSI_CONF_REQUEST_READ_ON, 0, 0, NULL, &length);
76 length = 0;
80 0, 0, 2, linestate, &length);
121 size_t length = 0; local
125 sizeof(codingPacket), codingPacket, &length);
170 size_t length = 0; local
175 NULL, &length);
/haiku/src/kits/interface/layouter/
H A DLayouter.h21 virtual float ElementRangeSize(int32 position, int32 length);
30 virtual void AddConstraints(int32 element, int32 length,
/haiku/src/kits/storage/sniffer/
H A DCharStream.cpp80 return fPos >= fString.length();
113 if (fPos < fString.length())
/haiku/src/tests/add-ons/kernel/file_systems/cdda/
H A Dcdda_text.cpp21 user_memcpy(void *dest, const void *source, size_t length) argument
23 memcpy(dest, source, length);
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUtils.cpp29 \param length Length of the byte stream in bytes.
34 calculate_crc(uint8 *data, uint16 length) argument
38 for ( ; length > 0; length--, data++)
154 to_long_address(ino_t id, uint32 length) argument
156 TRACE(("udf_to_long_address: ino_t = %" B_PRIdINO ", length = %" B_PRIu32,
157 id, length));
161 result.set_length(length);
177 TRACE(("length: %" B_PRIu32 ", 0x%" B_PRIx32 "\n", address.length(),
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/
H A DNameIndex.cpp201 NameIndex::InternalFind(const void* _key, size_t length) argument
203 if (length == 0)
210 if (key[length - 1] != '\0') {
211 if (length >= kMaxIndexKeyLength)
212 length = kMaxIndexKeyLength - 1;
214 memcpy(clonedKey, key, length);
215 clonedKey[length] = '\0';
216 length++;
/haiku/headers/os/kernel/
H A Dscheduler.h20 \a length is how long (in us) you expect to run for each invocation.
61 int32 period = 0, bigtime_t jitter = 0, bigtime_t length = 0);
73 bigtime_t length);
/haiku/src/kits/debugger/model/
H A DWatchpoint.cpp9 Watchpoint::Watchpoint(target_addr_t address, uint32 type, int32 length) argument
13 fLength(length),
/haiku/src/servers/app/drawing/interface/remote/
H A DStreamingRingBuffer.cpp77 StreamingRingBuffer::Read(void *buffer, size_t length, bool onlyBlockOnNoData) argument
88 while (length > 0) {
89 size_t copyLength = min_c(length, fBufferSize - fReadPosition);
133 length -= copyLength;
146 StreamingRingBuffer::Write(const void *buffer, size_t length) argument
156 while (length > 0) {
157 size_t copyLength = min_c(length, fBufferSize - fWritePosition);
194 length -= copyLength;
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DAttribute.h57 uint32* length = NULL);
60 size_t length, const char* name,
/haiku/src/system/boot/platform/riscv/
H A Ddebug.cpp23 int length = vsnprintf(buffer, sizeof(buffer), format, args); local
24 if (length == 0)
27 //syslog_write(buffer, length);
/haiku/src/add-ons/disk_systems/gpt/
H A DGPTPartitionHandle.cpp174 size_t length = name->CountChars(); local
175 if (length == 0)
178 size_t size = length * 2;
182 size = to_ucs2(name->String(), length, buffer, length * 2);
185 length--;
186 name->TruncateChars(length, false);
187 } while (size > 36 && length > 0);
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DCall.cpp121 acpi_call_control(void *_device, uint32 op, void *buffer, size_t length) argument
123 TRACE("control(%p, %" B_PRIu32 ", %p, %lu)\n", _device, op, buffer, length);
134 result.length = ACPI_ALLOCATE_BUFFER;
141 params.result.length = min_c(params.result.length, result.length);
142 if (result.length >= sizeof(acpi_object_type))
145 if (user_memcpy(params.result.pointer, result.pointer, params.result.length) != B_OK
/haiku/src/apps/resedit/
H A DResFields.cpp79 BitmapPreviewField::SetData(char *data, const size_t &length) argument
81 BMemoryIO memio(data, length);
111 IntegerPreviewField::SetData(char *data, const size_t &length) argument
113 switch(length) {
161 StringPreviewField::SetData(char *data, const size_t &length) argument
163 char *temp = fString.LockBuffer(length + 2);
165 memcpy(temp, data, length);
166 temp[length] = '\0';
/haiku/src/apps/haikudepot/textview/
H A DTextDocument.cpp102 TextDocument::Remove(int32 textOffset, int32 length) argument
104 return Replace(textOffset, length, BString());
112 TextDocument::Replace(int32 textOffset, int32 length, const BString& text) argument
114 return Replace(textOffset, length, text, CharacterStyleAt(textOffset));
119 TextDocument::Replace(int32 textOffset, int32 length, const BString& text, argument
122 return Replace(textOffset, length, text, style,
128 TextDocument::Replace(int32 textOffset, int32 length, const BString& text, argument
135 return Replace(textOffset, length, document);
140 TextDocument::Replace(int32 textOffset, int32 length, TextDocumentRef document) argument
147 status_t ret = _Remove(textOffset, length, firstParagrap
440 int32 length = text.CountChars(); local
676 _Remove(int32 textOffset, int32 length, int32& index, int32& paragraphCount) argument
[all...]
/haiku/headers/private/system/
H A Ddevice_manager_defs.h35 size_t length; member in struct:device_attr_info::__anon1185::__anon1186
/haiku/src/add-ons/kernel/network/stack/
H A Dutility.h20 status_t Pad(size_t length);
21 status_t PadToNext(size_t length);
48 uint16 compute_checksum(uint8* _buffer, size_t length);
49 uint16 checksum(uint8* buffer, size_t length);
/haiku/src/bin/rc/
H A Drdef.cpp86 size_t length = strlen(dir); local
88 if (dir[length - 1] != '/')
94 if (!strncmp(dir, path, length)
95 && path[length + (noSlash ? 1 : 0)] == '\0') {
/haiku/headers/private/storage/mime/
H A DMimeSniffer.h33 const void* buffer, int32 length,
/haiku/src/add-ons/kernel/debugger/demangle/
H A Dgcc2.cpp31 Input(const char* string, size_t length) argument
34 fLength(length)
118 argument_type(Input arg, size_t& length) argument
120 length = sizeof(int);
125 length = sizeof(void*);
136 length = sizeof(long long);
153 length = sizeof(long long);
173 length = sizeof(double);
332 uint32 length = argument_length(arg);
333 arg.Skip(length);
478 uint32 length = strtoul(ns_str, (char**)&ns_str, 10); local
533 uint32 length = strtoul(ns_str, (char**)&ns_str, 10); local
[all...]
/haiku/src/system/libnetwork/
H A Dr5_compatibility.cpp105 getusername(char *user, size_t length) argument
107 if (find_net_setting(NULL, "GLOBAL", "USERNAME", user, length) == NULL)
115 getpassword(char *password, size_t length) argument
117 if (find_net_setting(NULL, "GLOBAL", "PASSWORD", password, length) == NULL)
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DAttributeIndex.h21 const uint8 *oldKey, size_t length) = 0;

Completed in 99 milliseconds

1234567891011>>