Searched refs:Length (Results 26 - 50 of 551) sorted by relevance

1234567891011>>

/haiku/src/kits/debugger/arch/
H A DInstructionInfo.cpp47 return disassembledLine.Length() == 0 || fDisassembledLine.Length() > 0;
/haiku/src/kits/debugger/model/
H A DTeamMemory.cpp33 return _string.Length() == 0 ? bytesRead : B_OK;
36 return _string.Length() == 0 ? B_BAD_ADDRESS : B_OK;
/haiku/src/kits/debugger/files/
H A DLocatableDirectory.cpp27 if (fPath.Length() <= 1)
53 if (fLocatedPath.Length() == 0)
/haiku/src/kits/debugger/value/values/
H A DBoolValue.cpp26 if (string.Length() == 0)
H A DEnumerationValue.cpp38 if (string.Length() == 0)
H A DFloatValue.cpp45 if (string.Length() == 0)
H A DIntegerValue.cpp43 if (string.Length() == 0)
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DChunk.h28 { return fChunkOffset + fChunk->Length(); }
/haiku/src/apps/haikudepot/tar/
H A DTarArchiveHeader.cpp30 TarArchiveHeader::Length() const function in class:TarArchiveHeader
H A DTarArchiveHeader.h27 size_t Length() const;
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/executer/
H A Dexoparg2.c394 ACPI_SIZE Length = 0; local
447 case AML_TO_STRING_OP: /* ToString (Buffer, Length, Result) (ACPI 2.0) */
456 * 1) Length of the input buffer
458 * 3) Length of input buffer up to a zero byte (null terminator)
463 while ((Length < Operand[0]->Buffer.Length) && /* Length of input buffer */
464 (Length < Operand[1]->Integer.Value) && /* Length operand */
465 (Operand[0]->Buffer.Pointer[Length])) /* Nul
[all...]
/haiku/src/apps/cortex/Persistence/
H A DStringContent.cpp91 if(content.Length() == 0)
95 for(; last < content.Length() && isspace(content[last]); ++last) {}
99 last = content.Length() - 1;
/haiku/src/apps/mediaplayer/support/
H A DFileReadWrite.cpp40 ssize_t written = fFile->Write(contents.String(), contents.Length());
41 if (written != contents.Length())
63 int32 bufferLen = string.Length();
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/namespace/
H A Dnsnames.c198 * RETURN: Length of path, including prefix
370 UINT32 Length = 0, i; local
380 #define ACPI_PATH_PUT8(Path, Size, Byte, Length) \
382 if ((Length) < (Size)) \
384 (Path)[(Length)] = (Byte); \
386 (Length)++; \
408 ACPI_PATH_PUT8(FullPath, PathSize, AML_DUAL_NAME_PREFIX, Length);
422 ACPI_PATH_PUT8(FullPath, PathSize, c, Length);
429 ACPI_PATH_PUT8(FullPath, PathSize, AML_ROOT_PREFIX, Length);
433 if (Length <
[all...]
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/
H A Dutcopy.c219 * BufferSpaceUsed - Length of DataSpace that was used
272 ExternalObject->String.Length = InternalObject->String.Length;
274 (ACPI_SIZE) InternalObject->String.Length + 1);
278 (ACPI_SIZE) InternalObject->String.Length + 1);
284 ExternalObject->Buffer.Length = InternalObject->Buffer.Length;
286 InternalObject->String.Length);
290 InternalObject->Buffer.Length);
330 InternalObject->Processor.Length;
[all...]
H A Dutalloc.c411 if ((Buffer->Length == ACPI_NO_BUFFER) ||
412 (Buffer->Length == ACPI_ALLOCATE_BUFFER) ||
413 (Buffer->Length == ACPI_ALLOCATE_LOCAL_BUFFER))
418 /* Length is valid, the buffer pointer must be also */
434 * RequiredLength - Length needed
459 * Buffer->Length is used as both an input and output parameter. Get the
462 InputBufferLength = Buffer->Length;
463 Buffer->Length = RequiredLength;
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/resources/
H A Drslist.c178 UINT32 Length,
254 if (!Resource->Length)
262 AcpiUtGetResourceType (Aml), Length,
263 Resource->Length));
322 if (!Resource->Length)
176 AcpiRsConvertAmlToResources( UINT8 *Aml, UINT32 Length, UINT32 Offset, UINT8 ResourceIndex, void **Context) argument
H A Drsmisc.c213 "Misaligned resource pointer (get): %p Type 0x%2.2X Length %u",
214 Resource, Resource->Type, Resource->Length));
217 /* Extract the resource Length field (does not include header length) */
245 Resource->Length = INIT_RESOURCE_LENGTH (Info);
293 Resource->Length = Resource->Length +
302 Resource->Length = Resource->Length +
311 Resource->Length = Resource->Length
[all...]
/haiku/src/kits/support/
H A DString.cpp185 _Init(string.String(), string.Length());
217 return UTF8CountChars(fPrivateData, Length());
318 _Init(string.String(), string.Length());
341 || (fPrivateData == string.fPrivateData && Length() > maxLength)) {
342 maxLength = min_clamp0(maxLength, string.Length());
475 length = min_clamp0(length, Length() - fromOffset);
500 length = min_clamp0(length, Length() - fromOffset);
518 int32 length = Length();
533 if (toAppend.Length() != endIndex - index
576 length = min_clamp0(length, string.Length());
[all...]
/haiku/src/apps/mail/
H A DKUndoBuffer.cpp11 Length = length;
43 RedoText = (char*)realloc(RedoText, Length + length);
44 memcpy(&RedoText[Length], text, length);
45 Length += length;
153 int32 c_length = CurrentUndoItem->Length;
203 *length = undoItem->Length;
206 *cursor_pos = undoItem->CursorPos + undoItem->Length;
226 *length = undoItem->Length;
260 printf("Length = %d ", (int)item->Length);
[all...]
/haiku/src/servers/package/
H A DFSUtils.h114 char* buffer = fPath.LockBuffer(fPath.Length());
137 int32 length = fPath.Length();
140 if (++length != fPath.Length())
145 if (fPath.Length() <= length)
155 if (index < 0 || (index == 0 && fPath.Length() == 1))
167 if (index < 0 || (index == 0 && fPath.Length() == 1))
/haiku/src/kits/network/libnetservices/
H A DNetworkCookie.cpp45 if (url.Protocol() == "file" && url.Host().Length() == 0) {
112 if (url.Protocol() == "file" && url.Host().Length() == 0) {
125 if (index == -1 || value.Length() > 4096) {
138 while (index < string.Length()) {
234 if (to[0] != '/' || to.Length() > 4096)
481 int32 difference = domain.Length() - cookieDomain.Length();
507 if (slashPos != normalizedPath.Length() - 1)
510 if (normalizedPath.Length() < cookiePath.Length())
[all...]
/haiku/src/add-ons/kernel/file_systems/udf/
H A DDString.cpp66 if (ref.Length() > 0) {
67 fString = new(nothrow) uint8[ref.Length()];
69 fLength = ref.Length();
H A DDString.h31 uint8 Length() const { return fLength; } function in class:DString
/haiku/src/bin/pkgman/
H A DJobStateListener.cpp40 if (error.Length() > 0) {

Completed in 113 milliseconds

1234567891011>>