/freebsd/sys/contrib/dev/acpica/common/ |
H A D | dmtbdump1.c | 404 UINT32 Length = Table->Length; in AcpiDmDumpApmt() local 630 UINT32 Length = Table->Length; in AcpiDmDumpAspt() local 906 UINT32 Length = Table->Length; in AcpiDmDumpCedt() local 1005 UINT32 Length = Table->Length; in AcpiDmDumpCpep() local 1060 UINT32 Length = Table->Length; in AcpiDmDumpCsrt() local 1167 UINT32 Length = Table->Length; in AcpiDmDumpDbg2() local 1285 UINT32 Length = Table->Length; in AcpiDmDumpDmar() local 1560 UINT32 Length = Table->Length; in AcpiDmDumpEinj() local 1613 UINT32 Length = Table->Length; in AcpiDmDumpErst() local 1666 UINT32 Length = Table->Length; in AcpiDmDumpFpdt() local [all …]
|
H A D | dmtbdump.c | 203 if (!Length) in AcpiDmDumpBuffer() 211 while (i < Length) in AcpiDmDumpBuffer() 215 if ((Length - i) < 16) in AcpiDmDumpBuffer() 226 if (i + j >= Length) in AcpiDmDumpBuffer() 240 if (i + j >= Length) in AcpiDmDumpBuffer() 269 if (Length > 16) in AcpiDmDumpBuffer() 382 return (Length); in AcpiDmDumpRsdp() 399 Length = Rsdp->Length; in AcpiDmDumpRsdp() 403 return (Length); in AcpiDmDumpRsdp() 418 return (Length); in AcpiDmDumpRsdp() [all …]
|
H A D | dmtbdump2.c | 278 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort() 291 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort() 297 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort() 303 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort() 802 UINT32 Length = Table->Length; in AcpiDmDumpLpit() local 875 UINT32 Length = Table->Length; in AcpiDmDumpMadt() local 1649 Length = Subtable->Length - in AcpiDmDumpNfit() 2120 UINT32 Length = Table->Length; in AcpiDmDumpPcct() local 2224 UINT32 Length = Table->Length; in AcpiDmDumpPdtt() local 2632 if (Subtable->Length < Length) in AcpiDmDumpPptt() [all …]
|
H A D | dmtbdump3.c | 297 while (Offset < Table->Length) in AcpiDmDumpSrat() 352 if (!Subtable->Length) in AcpiDmDumpSrat() 373 Subtable->Length); in AcpiDmDumpSrat() 398 UINT32 Length = Table->Length; in AcpiDmDumpStao() local 413 while (Offset < Table->Length) in AcpiDmDumpStao() 450 UINT32 Length = Table->Length; in AcpiDmDumpSvkl() local 710 Status = AcpiDmDumpTable (Table->Length, Offset, ViotHeader, Length, in AcpiDmDumpViot() 717 Length = ViotHeader->Length; in AcpiDmDumpViot() 747 if (!Length) in AcpiDmDumpViot() 756 Status = AcpiDmDumpTable (Table->Length, Offset, ViotHeader, Length, in AcpiDmDumpViot() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ARMWinEHPrinter.h | 32 uint8_t Length; member 39 unsigned Length, bool Prologue); 41 unsigned Length, bool Prologue); 43 unsigned Length, bool Prologue); 45 unsigned Length, bool Prologue); 47 unsigned Length, bool Prologue); 49 unsigned Length, bool Prologue); 51 unsigned Length, bool Prologue); 53 unsigned Length, bool Prologue); 55 unsigned Length, bool Prologue); [all …]
|
/freebsd/sys/contrib/dev/acpica/components/executer/ |
H A D | exstorob.c | 179 UINT32 Length; in AcpiExStoreBufferToBuffer() local 196 Length = SourceDesc->Buffer.Length; in AcpiExStoreBufferToBuffer() 211 TargetDesc->Buffer.Length = Length; in AcpiExStoreBufferToBuffer() 216 if (Length <= TargetDesc->Buffer.Length) in AcpiExStoreBufferToBuffer() 242 TargetDesc->Buffer.Length = Length; in AcpiExStoreBufferToBuffer() 251 TargetDesc->Buffer.Length); in AcpiExStoreBufferToBuffer() 255 Length, TargetDesc->Buffer.Length)); in AcpiExStoreBufferToBuffer() 284 UINT32 Length; in AcpiExStoreStringToString() local 301 Length = SourceDesc->String.Length; in AcpiExStoreStringToString() 307 if ((Length < TargetDesc->String.Length) && in AcpiExStoreStringToString() [all …]
|
H A D | exoparg3.c | 290 ACPI_SIZE Length; in AcpiExOpcode_3A_1T_1R() local 315 Length = (ACPI_SIZE) Operand[2]->Integer.Value; in AcpiExOpcode_3A_1T_1R() 321 if (Index >= Operand[0]->String.Length) in AcpiExOpcode_3A_1T_1R() 323 Length = 0; in AcpiExOpcode_3A_1T_1R() 328 else if ((Index + Length) > Operand[0]->String.Length) in AcpiExOpcode_3A_1T_1R() 330 Length = in AcpiExOpcode_3A_1T_1R() 342 Buffer = ACPI_ALLOCATE_ZEROED ((ACPI_SIZE) Length + 1); in AcpiExOpcode_3A_1T_1R() 354 if (Length > 0) in AcpiExOpcode_3A_1T_1R() 358 Buffer = ACPI_ALLOCATE_ZEROED (Length); in AcpiExOpcode_3A_1T_1R() 378 Operand[0]->String.Pointer + Index, Length); in AcpiExOpcode_3A_1T_1R() [all …]
|
H A D | exconfig.c | 176 UINT32 Length, 292 if (Operand[3]->String.Length > 0) in AcpiExLoadTableOp() 309 if (Operand[4]->String.Length > 0) in AcpiExLoadTableOp() 401 UINT32 Length, in AcpiExRegionRead() argument 412 for (i = 0; i < Length; i++) in AcpiExRegionRead() 462 UINT32 Length; in AcpiExLoadOp() local 519 Length = TableHeader->Length; in AcpiExLoadOp() 552 Table = ACPI_ALLOCATE (Length); in AcpiExLoadOp() 585 Length = TableHeader->Length; in AcpiExLoadOp() 589 if (Length > ObjDesc->Buffer.Length) in AcpiExLoadOp() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/utilities/ |
H A D | utids.c | 186 UINT32 Length; in AcpiUtExecute_HID() local 208 Length = ObjDesc->String.Length + 1; in AcpiUtExecute_HID() 236 Hid->Length = Length; in AcpiUtExecute_HID() 274 UINT32 Length; in AcpiUtExecute_UID() local 296 Length = ObjDesc->String.Length + 1; in AcpiUtExecute_UID() 324 Uid->Length = Length; in AcpiUtExecute_UID() 370 UINT32 Length; in AcpiUtExecute_CID() local 470 Length = CidObjects[i]->String.Length + 1; in AcpiUtExecute_CID() 474 CidList->Ids[i].Length = Length; in AcpiUtExecute_CID() 475 NextIdString += Length; in AcpiUtExecute_CID() [all …]
|
H A D | utcksum.c | 184 UINT32 Length) in AcpiUtVerifyChecksum() argument 201 Length = Table->Length; in AcpiUtVerifyChecksum() 202 Checksum = AcpiUtGenerateChecksum (ACPI_CAST_PTR (UINT8, Table), Length, Table->Checksum); in AcpiUtVerifyChecksum() 240 UINT32 Length) in AcpiUtVerifyCdatChecksum() argument 248 CdatTable->Length, CdatTable->Checksum); in AcpiUtVerifyCdatChecksum() 286 UINT32 Length, in AcpiUtGenerateChecksum() argument 294 Checksum = AcpiUtChecksum ((UINT8 *) Table, Length); in AcpiUtGenerateChecksum() 323 UINT32 Length) in AcpiUtChecksum() argument 326 UINT8 *End = Buffer + Length; in AcpiUtChecksum()
|
H A D | utcopy.c | 272 ExternalObject->String.Length = InternalObject->String.Length; in AcpiUtCopyIsimpleToEsimple() 284 ExternalObject->Buffer.Length = InternalObject->Buffer.Length; in AcpiUtCopyIsimpleToEsimple() 286 InternalObject->String.Length); in AcpiUtCopyIsimpleToEsimple() 290 InternalObject->Buffer.Length); in AcpiUtCopyIsimpleToEsimple() 433 Info->Length += ObjectSpace; in AcpiUtCopyIelementToEelement() 502 *SpaceUsed = Info.Length; in AcpiUtCopyIpackageToEpackage() 550 &RetBuffer->Length); in AcpiUtCopyIobjectToEobject() 641 ExternalObject->String.Length); in AcpiUtCopyEsimpleToIsimple() 643 InternalObject->String.Length = ExternalObject->String.Length; in AcpiUtCopyEsimpleToIsimple() 659 InternalObject->Buffer.Length = ExternalObject->Buffer.Length; in AcpiUtCopyEsimpleToIsimple() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/ |
H A D | Math.h | 30 explicit Vector(unsigned Length) in Vector() argument 31 : Length(Length), Data(std::make_unique<PBQPNum []>(Length)) {} in Vector() 34 Vector(unsigned Length, PBQPNum InitVal) in Vector() argument 35 : Length(Length), Data(std::make_unique<PBQPNum []>(Length)) { in Vector() 41 : Length(V.Length), Data(std::make_unique<PBQPNum []>(Length)) { in Vector() 47 : Length(V.Length), Data(std::move(V.Data)) { in Vector() 48 V.Length = 0; in Vector() 54 if (Length != V.Length) 62 return Length; in getLength() 82 assert(Length == V.Length && "Vector length mismatch."); [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | StringRef.h | 63 size_t Length = 0; variable 165 return (Length == RHS.Length && in equals() 171 return Length == RHS.Length && compare_insensitive(RHS) == 0; in equals_insensitive() 179 if (int Res = compareMemory(Data, RHS.Data, std::min(Length, RHS.Length))) in compare() 183 if (Length == RHS.Length) in compare() 185 return Length < RHS.Length ? -1 : 1; in compare() 258 return Length >= Prefix.Length && in starts_with() 272 return Length >= Suffix.Length && in ends_with() 273 compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == in ends_with() 800 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1)); in rtrim() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | BinaryStreamRef.h | 35 ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase() 38 : BorrowedImpl(&BorrowedImpl), ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase() 49 if (Length) in getLength() 50 return *Length; in getLength() 68 if (Result.Length) in drop_front() 69 *Result.Length -= N; in drop_front() 88 if (!Result.Length) in drop_back() 89 Result.Length = getLength(); in drop_back() 91 *Result.Length -= N; in drop_back() 126 if (LHS.Length != RHS.Length) [all …]
|
/freebsd/sys/contrib/dev/acpica/components/tables/ |
H A D | tbfadt.c | 192 UINT16 Length; member 450 UINT32 Length; in AcpiTbParseFadt() local 469 Length = FadtDesc->Length; in AcpiTbParseFadt() 475 (void) AcpiUtVerifyChecksum (Table, Length); in AcpiTbParseFadt() 479 AcpiTbCreateLocalFadt (Table, Length); in AcpiTbParseFadt() 533 UINT32 Length) in AcpiTbCreateLocalFadt() argument 541 if (Length > sizeof (ACPI_TABLE_FADT)) in AcpiTbCreateLocalFadt() 628 UINT8 Length; in AcpiTbConvertFadt() local 687 Length = *ACPI_ADD_PTR (UINT8, in AcpiTbConvertFadt() 778 if (!Address64->Address || !Length) in AcpiTbConvertFadt() [all …]
|
H A D | tbutils.c | 238 if (AcpiGbl_OriginalDsdtHeader.Length != AcpiGbl_DSDT->Length || in AcpiTbCheckDsdtHeader() 250 AcpiGbl_OriginalDsdtHeader.Length = AcpiGbl_DSDT->Length; in AcpiTbCheckDsdtHeader() 280 NewTable = ACPI_ALLOCATE (TableDesc->Length); in AcpiTbCopyDsdt() 284 TableDesc->Length)); in AcpiTbCopyDsdt() 298 NewTable->Length)); in AcpiTbCopyDsdt() 395 UINT32 Length; in AcpiTbParseRootTable() local 457 Length = Table->Length; in AcpiTbParseRootTable() 467 Table = AcpiOsMapMemory (Address, Length); in AcpiTbParseRootTable() 475 Status = AcpiUtVerifyChecksum (Table, Length); in AcpiTbParseRootTable() 478 AcpiOsUnmapMemory (Table, Length); in AcpiTbParseRootTable() [all …]
|
/freebsd/sys/contrib/edk2/Include/Library/ |
H A D | BaseMemoryLib.h | 38 IN UINTN Length 59 IN UINTN Length, 86 IN UINTN Length, 113 IN UINTN Length, 140 IN UINTN Length, 167 IN UINTN Length, 189 IN UINTN Length 219 IN UINTN Length 245 IN UINTN Length, 274 IN UINTN Length, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | StringRef.cpp | 40 if (Length == RHS.Length) in compare_insensitive() 42 return Length < RHS.Length ? -1 : 1; in compare_insensitive() 46 return Length >= Prefix.Length && in starts_with_insensitive() 51 return Length >= Suffix.Length && in ends_with_insensitive() 62 for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) { in compare_numeric() 86 if (Length == RHS.Length) in compare_numeric() 88 return Length < RHS.Length ? -1 : 1; in compare_numeric() 131 if (From > Length) in find() 223 if (N > Length) in rfind_insensitive() 243 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_of() [all …]
|
H A D | ConvertEBCDIC.cpp | 75 size_t Length = Source.size(); in convertToEBCDIC() local 76 Result.reserve(Length); in convertToEBCDIC() 77 while (Length--) { in convertToEBCDIC() 85 if (!Length) in convertToEBCDIC() 92 Length--; in convertToEBCDIC() 108 size_t Length = Source.size(); in convertToUTF8() local 109 Result.reserve(Length); in convertToUTF8() 110 while (Length--) { in convertToUTF8()
|
H A D | BinaryStreamReader.cpp | 91 size_t Length = FoundOffset - OriginalOffset; in readCString() local 93 if (auto EC = readFixedString(Dest, Length)) in readCString() 102 uint64_t Length = 0; in readWideString() local 110 ++Length; in readWideString() 115 if (auto EC = readArray(Dest, Length)) in readWideString() 123 if (auto EC = readBytes(Bytes, Length)) in readFixedString() 134 if (bytesRemaining() < Length) in readStreamRef() 136 Ref = Stream.slice(Offset, Length); in readStreamRef() 137 Offset += Length; in readStreamRef() 142 uint32_t Length) { in readSubstream() argument [all …]
|
/freebsd/sys/contrib/dev/acpica/compiler/ |
H A D | asloffset.c | 206 UINT32 Length; in LsAmlOffsetWalk() local 252 Length = Op->Asl.FinalAmlLength; in LsAmlOffsetWalk() 263 DataOffset = AslGbl_CurrentAmlOffset + Length + in LsAmlOffsetWalk() 310 AslGbl_CurrentAmlOffset += Length; in LsAmlOffsetWalk() 317 Length = Op->Asl.FinalAmlLength; in LsAmlOffsetWalk() 328 DataOffset = AslGbl_CurrentAmlOffset + Length + in LsAmlOffsetWalk() 352 AslGbl_CurrentAmlOffset += Length; in LsAmlOffsetWalk() 364 Length = Op->Asl.FinalAmlLength; in LsAmlOffsetWalk() 391 Length = Op->Asl.FinalAmlLength; in LsAmlOffsetWalk() 416 Length = Op->Asl.FinalAmlLength; in LsAmlOffsetWalk() [all …]
|
H A D | dtio.c | 182 UINT32 Length); 230 ACPI_SIZE Length; in DtTrim() local 291 ReturnString[Length] = 0; in DtTrim() 323 UINT32 Length; in DtParseLine() local 380 strncpy (TmpName, Start, Length); in DtParseLine() 948 UINT32 Length) in DtDumpBuffer() argument 956 Offset, Offset, Length); in DtDumpBuffer() 959 while (i < Length) in DtDumpBuffer() 970 if (i + j >= Length) in DtDumpBuffer() 986 if (i + j >= Length) in DtDumpBuffer() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/disassembler/ |
H A D | dmresrcs.c | 180 UINT32 Length, in AcpiDmIrqDescriptor() argument 190 if (Length & 1) in AcpiDmIrqDescriptor() 227 UINT32 Length, in AcpiDmDmaDescriptor() argument 266 UINT32 Length, in AcpiDmFixedDmaDescriptor() argument 312 UINT32 Length, in AcpiDmIoDescriptor() argument 359 UINT32 Length, in AcpiDmFixedIoDescriptor() argument 399 UINT32 Length, in AcpiDmStartDependentDescriptor() argument 405 if (Length & 1) in AcpiDmStartDependentDescriptor() 440 UINT32 Length, in AcpiDmEndDependentDescriptor() argument 470 UINT32 Length, in AcpiDmVendorSmallDescriptor() argument [all …]
|
/freebsd/sys/contrib/dev/acpica/components/resources/ |
H A D | rsmisc.c | 293 Resource->Length = Resource->Length + in AcpiRsConvertAmlToResource() 302 Resource->Length = Resource->Length + in AcpiRsConvertAmlToResource() 311 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource() 321 Resource->Length = Resource->Length + (Info->Value * ItemCount); in AcpiRsConvertAmlToResource() 346 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource() 355 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource() 366 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource() 372 Resource->Length = Resource->Length + Info->Value; in AcpiRsConvertAmlToResource() 473 Resource->Length += in AcpiRsConvertAmlToResource() 486 Resource->Length += in AcpiRsConvertAmlToResource() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/namespace/ |
H A D | nsconvert.c | 205 if (OriginalObject->Buffer.Length > 8) in AcpiNsConvertToInteger() 254 ACPI_SIZE Length; in AcpiNsConvertToString() local 294 Length = 0; in AcpiNsConvertToString() 295 while ((Length < OriginalObject->Buffer.Length) && in AcpiNsConvertToString() 298 Length++; in AcpiNsConvertToString() 303 NewObject = AcpiUtCreateStringObject (Length); in AcpiNsConvertToString() 314 OriginalObject->Buffer.Pointer, Length); in AcpiNsConvertToString() 375 (OriginalObject->String.Length); in AcpiNsConvertToBuffer() 474 if (OriginalObject->Buffer.Length < 2) in AcpiNsConvertToUnicode() 502 for (i = 0; i < OriginalObject->String.Length; i++) in AcpiNsConvertToUnicode() [all …]
|