| /freebsd-13.1/sys/contrib/dev/acpica/common/ |
| H A D | dmtbdump2.c | 253 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort() 266 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort() 272 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort() 645 UINT32 Length = Table->Length; in AcpiDmDumpLpit() local 718 UINT32 Length = Table->Length; in AcpiDmDumpMadt() local 1315 Length = Subtable->Length - in AcpiDmDumpNfit() 1382 UINT32 Length = Table->Length; in AcpiDmDumpPcct() local 1481 UINT32 Length = Table->Length; in AcpiDmDumpPdtt() local 1537 UINT32 Length = Table->Length; in AcpiDmDumpPmtt() local 1801 if (Subtable->Length < Length) in AcpiDmDumpPptt() [all …]
|
| H A D | dmtbdump1.c | 352 UINT32 Length = Table->Length; in AcpiDmDumpCpep() local 407 UINT32 Length = Table->Length; in AcpiDmDumpCsrt() local 490 Subtable->Length); in AcpiDmDumpCsrt() 514 UINT32 Length = Table->Length; in AcpiDmDumpDbg2() local 632 UINT32 Length = Table->Length; in AcpiDmDumpDmar() local 901 UINT32 Length = Table->Length; in AcpiDmDumpEinj() local 954 UINT32 Length = Table->Length; in AcpiDmDumpErst() local 1007 UINT32 Length = Table->Length; in AcpiDmDumpFpdt() local 1092 UINT32 Length = Table->Length; in AcpiDmDumpGtdt() local 1228 UINT32 Length = Table->Length; in AcpiDmDumpHest() local [all …]
|
| H A D | dmtbdump.c | 193 UINT32 Length, in AcpiDmDumpBuffer() argument 201 if (!Length) in AcpiDmDumpBuffer() 209 while (i < Length) in AcpiDmDumpBuffer() 215 if (Length > 16) in AcpiDmDumpBuffer() 255 UINT32 Length; in AcpiDmDumpUnicode() local 264 for (i = 0; i < Length; i += 2) in AcpiDmDumpUnicode() 328 return (Length); in AcpiDmDumpRsdp() 345 Length = Rsdp->Length; in AcpiDmDumpRsdp() 349 return (Length); in AcpiDmDumpRsdp() 364 return (Length); in AcpiDmDumpRsdp() [all …]
|
| H A D | dmtbdump3.c | 232 if (Offset >= Table->Length) in AcpiDmDumpSlit() 297 while (Offset < Table->Length) in AcpiDmDumpSrat() 347 if (!Subtable->Length) in AcpiDmDumpSrat() 357 Subtable->Length, InfoTable); in AcpiDmDumpSrat() 366 Offset += Subtable->Length; in AcpiDmDumpSrat() 368 Subtable->Length); in AcpiDmDumpSrat() 393 UINT32 Length = Table->Length; in AcpiDmDumpStao() local 408 while (Offset < Table->Length) in AcpiDmDumpStao() 636 while (Offset < Table->Length) in AcpiDmDumpVrtc() 689 while (Offset < Table->Length) in AcpiDmDumpWdat() [all …]
|
| /freebsd-13.1/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-13.1/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, 288 if (Operand[3]->String.Length > 0) in AcpiExLoadTableOp() 305 if (Operand[4]->String.Length > 0) in AcpiExLoadTableOp() 391 UINT32 Length, in AcpiExRegionRead() argument 402 for (i = 0; i < Length; i++) in AcpiExRegionRead() 452 UINT32 Length; in AcpiExLoadOp() local 497 Length = TableHeader->Length; in AcpiExLoadOp() 530 Table = ACPI_ALLOCATE (Length); in AcpiExLoadOp() 563 Length = TableHeader->Length; in AcpiExLoadOp() 567 if (Length > ObjDesc->Buffer.Length) in AcpiExLoadOp() [all …]
|
| /freebsd-13.1/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 | 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-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | StringRef.h | 71 size_t Length = 0; variable 188 return (Length == RHS.Length && in equals() 195 return Length == RHS.Length && compare_insensitive(RHS) == 0; in equals_insensitive() 203 if (int Res = compareMemory(Data, RHS.Data, std::min(Length, RHS.Length))) in compare() 207 if (Length == RHS.Length) in compare() 209 return Length < RHS.Length ? -1 : 1; in compare() 287 return Length >= Prefix.Length && in startswith() 298 return Length >= Suffix.Length && in endswith() 299 compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in endswith() 857 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1)); in rtrim() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | BinaryStreamRef.h | 36 ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase() 39 : BorrowedImpl(&BorrowedImpl), ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase() 52 if (Length.hasValue()) in getLength() 53 return *Length; in getLength() 71 if (Result.Length.hasValue()) in drop_front() 72 *Result.Length -= N; in drop_front() 91 if (!Result.Length.hasValue()) in drop_back() 92 Result.Length = getLength(); in drop_back() 94 *Result.Length -= N; in drop_back() 129 if (LHS.Length != RHS.Length) [all …]
|
| /freebsd-13.1/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) AcpiTbVerifyChecksum (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() 394 UINT32 Length; in AcpiTbParseRootTable() local 456 Length = Table->Length; in AcpiTbParseRootTable() 466 Table = AcpiOsMapMemory (Address, Length); in AcpiTbParseRootTable() 474 Status = AcpiTbVerifyChecksum (Table, Length); in AcpiTbParseRootTable() 477 AcpiOsUnmapMemory (Table, Length); in AcpiTbParseRootTable() [all …]
|
| H A D | tbprint.c | 165 ACPI_SIZE Length); 190 ACPI_SIZE Length) in AcpiTbFixString() argument 193 while (Length && *String) in AcpiTbFixString() 201 Length--; in AcpiTbFixString() 262 Header->Length)); in AcpiTbPrintTableHeader() 275 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Length : 20, in AcpiTbPrintTableHeader() 289 LocalHeader.Length, LocalHeader.Revision, LocalHeader.OemId, in AcpiTbPrintTableHeader() 313 UINT32 Length) in AcpiTbVerifyChecksum() argument 331 Checksum = AcpiTbChecksum (ACPI_CAST_PTR (UINT8, Table), Length); in AcpiTbVerifyChecksum() 368 UINT32 Length) in AcpiTbChecksum() argument [all …]
|
| /freebsd-13.1/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-13.1/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 startswith_insensitive() 51 return Length >= Suffix.Length && in endswith_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() 125 if (From > Length) in find() 201 if (N > Length) in rfind() 213 if (N > Length) in rfind_insensitive() [all …]
|
| H A D | BinaryStreamReader.cpp | 92 size_t Length = FoundOffset - OriginalOffset; in readCString() local 94 if (auto EC = readFixedString(Dest, Length)) in readCString() 103 uint32_t Length = 0; in readWideString() local 111 ++Length; in readWideString() 116 if (auto EC = readArray(Dest, Length)) in readWideString() 124 if (auto EC = readBytes(Bytes, Length)) in readFixedString() 135 if (bytesRemaining() < Length) in readStreamRef() 137 Ref = Stream.slice(Offset, Length); in readStreamRef() 138 Offset += Length; in readStreamRef() 143 uint32_t Length) { in readSubstream() argument [all …]
|
| /freebsd-13.1/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-13.1/sys/contrib/dev/acpica/components/resources/ |
| H A D | rsmisc.c | 283 Resource->Length = Resource->Length + in AcpiRsConvertAmlToResource() 292 Resource->Length = Resource->Length + in AcpiRsConvertAmlToResource() 301 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource() 311 Resource->Length = Resource->Length + (Info->Value * ItemCount); in AcpiRsConvertAmlToResource() 336 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource() 344 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource() 354 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource() 360 Resource->Length = Resource->Length + Info->Value; in AcpiRsConvertAmlToResource() 460 Resource->Length += in AcpiRsConvertAmlToResource() 473 Resource->Length += in AcpiRsConvertAmlToResource() [all …]
|
| H A D | rsdump.c | 196 UINT16 Length, 201 UINT16 Length, 206 UINT8 Length, 211 UINT8 Length, 283 if (!ResourceList->Length) in AcpiRsDumpResourceList() 768 UINT16 Length, in AcpiRsDumpByteList() argument 774 for (i = 0; i < Length; i++) in AcpiRsDumpByteList() 782 UINT8 Length, in AcpiRsDumpShortByteList() argument 788 for (i = 0; i < Length; i++) in AcpiRsDumpShortByteList() 804 for (i = 0; i < Length; i++) in AcpiRsDumpDwordList() [all …]
|
| /freebsd-13.1/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-13.1/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 …]
|