/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/executer/ |
H A D | exstorob.c | 179 UINT32 Length; local 196 Length = SourceDesc->Buffer.Length; 202 if ((TargetDesc->Buffer.Length == 0) || 205 TargetDesc->Buffer.Pointer = ACPI_ALLOCATE (Length); 211 TargetDesc->Buffer.Length = Length; 216 if (Length <= TargetDesc->Buffer.Length) 220 memset (TargetDesc->Buffer.Pointer, 0, TargetDesc->Buffer.Length); 284 UINT32 Length; local [all...] |
H A D | exoparg3.c | 290 ACPI_SIZE Length; local 299 case AML_MID_OP: /* Mid (Source[0], Index[1], Length[2], Result[3]) */ 315 Length = (ACPI_SIZE) Operand[2]->Integer.Value; 321 if (Index >= Operand[0]->String.Length) 323 Length = 0; 328 else if ((Index + Length) > Operand[0]->String.Length) 330 Length = 331 (ACPI_SIZE) Operand[0]->String.Length - (ACPI_SIZE) Index; 342 Buffer = ACPI_ALLOCATE_ZEROED ((ACPI_SIZE) Length [all...] |
H A D | exconfig.c | 176 UINT32 Length, 292 if (Operand[3]->String.Length > 0) 309 if (Operand[4]->String.Length > 0) 388 * Length - Number of bytes to read 401 UINT32 Length, 412 for (i = 0; i < Length; i++) 462 UINT32 Length; local 497 * If the Region Address and Length have not been previously 519 Length = TableHeader->Length; 399 AcpiExRegionRead( ACPI_OPERAND_OBJECT *ObjDesc, UINT32 Length, UINT8 *Buffer) argument [all...] |
H A D | exregion.c | 192 UINT32 Length; local 209 Length = 1; 214 Length = 2; 219 Length = 4; 224 Length = 8; 239 (void) AcpiUtShortDivide ((UINT64) Address, Length, NULL, &Remainder); 252 ((UINT64) Address + Length > (UINT64) Mm->PhysicalAddress + Mm->Length)) 273 if ((UINT64) Address + Length > (UINT64) Mm->PhysicalAddress + Mm->Length) [all...] |
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/ |
H A D | utcksum.c | 169 * Length - Length of entire table 184 UINT32 Length) 201 Length = Table->Length; 202 Checksum = AcpiUtGenerateChecksum (ACPI_CAST_PTR (UINT8, Table), Length, Table->Checksum); 228 * Length - Length of entire table 240 UINT32 Length) 248 CdatTable->Length, CdatTabl 182 AcpiUtVerifyChecksum( ACPI_TABLE_HEADER *Table, UINT32 Length) argument 238 AcpiUtVerifyCdatChecksum( ACPI_TABLE_CDAT *CdatTable, UINT32 Length) argument 284 AcpiUtGenerateChecksum( void *Table, UINT32 Length, UINT8 OriginalChecksum) argument 321 AcpiUtChecksum( UINT8 *Buffer, UINT32 Length) argument [all...] |
H A D | utids.c | 186 UINT32 Length; local 204 Length = ACPI_EISAID_STRING_SIZE; 208 Length = ObjDesc->String.Length + 1; 214 sizeof (ACPI_PNP_DEVICE_ID) + (ACPI_SIZE) Length); 236 Hid->Length = Length; 274 UINT32 Length; local 292 Length = ACPI_MAX64_DECIMAL_DIGITS + 1; 296 Length 370 UINT32 Length; local 522 UINT32 Length; local [all...] |
H A D | utobject.c | 405 BufferDesc->Buffer.Length = (UINT32) BufferSize; 463 StringDesc->String.Length = (UINT32) StringSize; 624 ACPI_SIZE Length; local 634 Length = sizeof (ACPI_OBJECT); 644 *ObjLength = ACPI_ROUND_UP_TO_NATIVE_WORD (Length); 671 Length += (ACPI_SIZE) InternalObject->String.Length + 1; 676 Length += (ACPI_SIZE) InternalObject->Buffer.Length; 702 Length [all...] |
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/tables/ |
H A D | tbprint.c | 167 ACPI_SIZE Length); 180 * Length - Maximum length 192 ACPI_SIZE Length) 195 while (Length && *String) 203 Length--; 264 Header->Length)); 278 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Length : 20, 292 LocalHeader.Length, LocalHeader.Revision, LocalHeader.OemId, 190 AcpiTbFixString( char *String, ACPI_SIZE Length) argument
|
H A D | tbfadt.c | 192 UINT16 Length; member in struct:acpi_fadt_info 450 UINT32 Length; local 469 Length = FadtDesc->Length; 475 (void) AcpiUtVerifyChecksum (Table, Length); 479 AcpiTbCreateLocalFadt (Table, Length); 519 * Length - Length of the table 533 UINT32 Length) 541 if (Length > sizeo 531 AcpiTbCreateLocalFadt( ACPI_TABLE_HEADER *Table, UINT32 Length) argument 628 UINT8 Length; local [all...] |
H A D | tbutils.c | 238 if (AcpiGbl_OriginalDsdtHeader.Length != AcpiGbl_DSDT->Length || 250 AcpiGbl_OriginalDsdtHeader.Length = AcpiGbl_DSDT->Length; 280 NewTable = ACPI_ALLOCATE (TableDesc->Length); 284 TableDesc->Length)); 288 memcpy (NewTable, TableDesc->Pointer, TableDesc->Length); 298 NewTable->Length)); 395 UINT32 Length; local 457 Length [all...] |
/haiku/src/tests/kits/support/bstring/ |
H A D | StringConstructionTest.cpp | 27 CPPUNIT_ASSERT(string->Length() == 0); 34 CPPUNIT_ASSERT((unsigned)string->Length() == strlen(str)); 41 CPPUNIT_ASSERT(string->Length() == 0); 49 CPPUNIT_ASSERT(string->Length() == anotherString.Length()); 57 CPPUNIT_ASSERT(string->Length() == 5); 66 CPPUNIT_ASSERT(string->Length() == strlen(str)); 68 CPPUNIT_ASSERT(movableString.Length() == 0); 75 CPPUNIT_ASSERT((unsigned)string->Length() == strlen(str));
|
H A D | StringAccessTest.cpp | 22 // CountChars(), Length(), String() 26 CPPUNIT_ASSERT((unsigned)string.Length() == strlen(string.String())); 31 CPPUNIT_ASSERT((unsigned)string2.Length() == strlen(string2.String())); 39 CPPUNIT_ASSERT((unsigned)string3.Length() == strlen(string3.String())); 45 CPPUNIT_ASSERT(empty.Length() == 0); 52 invalid.Truncate(invalid.Length() -1); 70 CPPUNIT_ASSERT(locked2.Length() == 4);
|
/haiku/src/add-ons/print/drivers/postscript/ |
H A D | PPDParser.cpp | 75 if (line.Compare(pattern, pattern.Length()) == 0) { 77 line.CopyInto(result, pattern.Length(), 78 line.Length() - pattern.Length()).Trim(); 81 result.Truncate(result.Length() -1);
|
/haiku/src/tests/add-ons/print/ppd/test/ |
H A D | TestScanner.cpp | 53 printf("%d\n", (int)string.Length()); 56 printf("%d\n", (int)string.Length()); 57 for (int i = 0; i < string.Length(); i ++) {
|
/haiku/src/apps/haikudepot/util/ |
H A D | StringUtils.cpp | 13 int len = value.Length(); 21 len = value.Length(); 35 for (int i = value.Length() - 1; i >= 0; i--) {
|
/haiku/src/add-ons/input_server/methods/pen/compat/ |
H A D | StringIO.cpp | 38 if (fString->Length() < pos) 39 fString->Insert(' ', (int32)(pos - fString->Length()), fString->Length()); 56 fPosition = fString->Length() - pos; 85 BStringIO & BStringIO::operator<<(const BString & s) {this->BPositionIO::Write(s.String(), s.Length()); return *this;}; 86 BStringIO & BStringIO::operator<<(const BRect & r) {BString s; s << "Rect{" << r.left << r.top << r.right << r.bottom << "}"; this->BPositionIO::Write(s.String(), s.Length()); return *this;};
|
/haiku/src/tests/system/kernel/fs/ |
H A D | KPathTest.cpp | 99 CPPUNIT_ASSERT(path.Length() == 5); 105 CPPUNIT_ASSERT(path.Length() == 7); 111 CPPUNIT_ASSERT(path.Length() == 5); 117 CPPUNIT_ASSERT(path.Length() == 5); 129 CPPUNIT_ASSERT(path.Length() == 0); 136 CPPUNIT_ASSERT(path.Length() == 2); 142 CPPUNIT_ASSERT(second.Length() == 2); 190 CPPUNIT_ASSERT(path.Length() == 6); 194 CPPUNIT_ASSERT(path.Length() == 4); 199 CPPUNIT_ASSERT(path.Length() [all...] |
/haiku/src/kits/network/libnetservices/ |
H A D | DataRequest.cpp | 68 while (meta.Length() > 0) { 90 if (charset.Length() > 0) 101 if (data.Length() & 3) 104 buffer.SetTo(new char[data.Length() * 3 / 4]); 108 length = decode_base64(buffer.Get(), data.String(), data.Length()); 113 if (length > data.Length() * 3 / 4 114 || length < data.Length() * 3 / 4 - 3) { 119 length = data.Length();
|
H A D | UrlResult.cpp | 51 BUrlResult::Length() const function in class:BUrlResult
|
/haiku/src/kits/debugger/types/ |
H A D | ArrayIndexPath.cpp | 80 int32 oldLength = path.Length(); 81 if (path.Append(kIndexSeparator, 1).Length() != oldLength + 1) 86 int32 oldLength = path.Length(); 87 if ((path << IndexAt(i)).Length() == oldLength)
|
/haiku/src/kits/debugger/value/values/ |
H A D | AddressValue.cpp | 34 if (string.Length() == 0)
|
/haiku/headers/private/netservices/ |
H A D | UrlResult.h | 26 virtual off_t Length() const;
|
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/namespace/ |
H A D | nsconvert.c | 205 if (OriginalObject->Buffer.Length > 8) 212 for (i = 0; i < OriginalObject->Buffer.Length; i++) 254 ACPI_SIZE Length; local 294 Length = 0; 295 while ((Length < OriginalObject->Buffer.Length) && 296 (OriginalObject->Buffer.Pointer[Length])) 298 Length++; 303 NewObject = AcpiUtCreateStringObject (Length); 311 * terminated at Length [all...] |
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/resources/ |
H A D | rscreate.c | 166 * AmlBufferLength - Length of the AmlBuffer 279 AmlBufferLength = AmlBuffer->Buffer.Length; 314 ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "OutputBuffer %p Length %X\n", 315 OutputBuffer->Pointer, (UINT32) OutputBuffer->Length)); 330 * AE_BUFFER_OVERFLOW and OutputBuffer->Length will point 399 * NOTE: On the first iteration, UserPrt->Length will 402 Buffer += UserPrt->Length; 406 * Fill in the Length field with the information we have at this 410 UserPrt->Length = (sizeof (ACPI_PCI_ROUTING_TABLE) - 4); 477 PathBuffer.Length [all...] |
/haiku/src/add-ons/kernel/file_systems/packagefs/util/ |
H A D | StringPool.h | 39 size_t Length() const function in class:StringDataKey 85 void* data = malloc(sizeof(StringData) + key.Length()); 146 memcpy(fString, key.String(), key.Length()); 147 fString[key.Length()] = '\0'; 181 && strncmp(value->String(), key.String(), key.Length()) == 0 182 && value->String()[key.Length()] == '\0';
|