| /freebsd-12.1/sys/contrib/dev/acpica/common/ |
| H A D | dmtbdump2.c | 252 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort() 265 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort() 271 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort() 621 UINT32 Length = Table->Length; in AcpiDmDumpLpit() local 694 UINT32 Length = Table->Length; in AcpiDmDumpMadt() local 1292 Length = Subtable->Length - in AcpiDmDumpNfit() 1358 UINT32 Length = Table->Length; in AcpiDmDumpPcct() local 1457 UINT32 Length = Table->Length; in AcpiDmDumpPdtt() local 1513 UINT32 Length = Table->Length; in AcpiDmDumpPmtt() local 1777 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 491 Subtable->Length); in AcpiDmDumpCsrt() 515 UINT32 Length = Table->Length; in AcpiDmDumpDbg2() local 633 UINT32 Length = Table->Length; in AcpiDmDumpDmar() local 902 UINT32 Length = Table->Length; in AcpiDmDumpEinj() local 955 UINT32 Length = Table->Length; in AcpiDmDumpErst() local 1008 UINT32 Length = Table->Length; in AcpiDmDumpFpdt() local 1093 UINT32 Length = Table->Length; in AcpiDmDumpGtdt() local 1212 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() 342 if (!Subtable->Length) in AcpiDmDumpSrat() 352 Subtable->Length, InfoTable); in AcpiDmDumpSrat() 361 Offset += Subtable->Length; in AcpiDmDumpSrat() 363 Subtable->Length); in AcpiDmDumpSrat() 388 UINT32 Length = Table->Length; in AcpiDmDumpStao() local 403 while (Offset < Table->Length) in AcpiDmDumpStao() 631 while (Offset < Table->Length) in AcpiDmDumpVrtc() 684 while (Offset < Table->Length) in AcpiDmDumpWdat() [all …]
|
| /freebsd-12.1/contrib/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-12.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() 390 UINT32 Length, in AcpiExRegionRead() argument 401 for (i = 0; i < Length; i++) in AcpiExRegionRead() 451 UINT32 Length; in AcpiExLoadOp() local 496 Length = TableHeader->Length; in AcpiExLoadOp() 529 Table = ACPI_ALLOCATE (Length); in AcpiExLoadOp() 562 Length = TableHeader->Length; in AcpiExLoadOp() 566 if (Length > ObjDesc->Buffer.Length) in AcpiExLoadOp() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/PBQP/ |
| H A D | Math.h | 31 explicit Vector(unsigned Length) in Vector() argument 32 : Length(Length), Data(llvm::make_unique<PBQPNum []>(Length)) {} in Vector() 35 Vector(unsigned Length, PBQPNum InitVal) in Vector() argument 36 : Length(Length), Data(llvm::make_unique<PBQPNum []>(Length)) { in Vector() 42 : Length(V.Length), Data(llvm::make_unique<PBQPNum []>(Length)) { in Vector() 48 : Length(V.Length), Data(std::move(V.Data)) { in Vector() 49 V.Length = 0; in Vector() 55 if (Length != V.Length) 63 return Length; in getLength() 83 assert(Length == V.Length && "Vector length mismatch."); [all …]
|
| /freebsd-12.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-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | StringRef.h | 62 size_t Length = 0; variable 170 return (Length == RHS.Length && in equals() 177 return Length == RHS.Length && compare_lower(RHS) == 0; in equals_lower() 186 if (int Res = compareMemory(Data, RHS.Data, std::min(Length, RHS.Length))) in compare() 190 if (Length == RHS.Length) in compare() 192 return Length < RHS.Length ? -1 : 1; in compare() 268 return Length >= Prefix.Length && in startswith() 280 return Length >= Suffix.Length && in endswith() 281 compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in endswith() 835 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1)); in rtrim() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | BinaryStreamRef.h | 37 ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase() 40 : BorrowedImpl(&BorrowedImpl), ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase() 53 if (Length.hasValue()) in getLength() 54 return *Length; in getLength() 72 if (Result.Length.hasValue()) in drop_front() 73 *Result.Length -= N; in drop_front() 92 if (!Result.Length.hasValue()) in drop_back() 93 Result.Length = getLength(); in drop_back() 95 *Result.Length -= N; in drop_back() 130 if (Length != Other.Length) [all …]
|
| /freebsd-12.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-12.1/contrib/llvm/lib/Support/ |
| H A D | StringRef.cpp | 41 if (Length == RHS.Length) in compare_lower() 43 return Length < RHS.Length ? -1 : 1; in compare_lower() 48 return Length >= Prefix.Length && in startswith_lower() 54 return Length >= Suffix.Length && in endswith_lower() 65 for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) { in compare_numeric() 89 if (Length == RHS.Length) in compare_numeric() 91 return Length < RHS.Length ? -1 : 1; in compare_numeric() 134 if (From > Length) in find() 210 if (N > Length) in rfind() 222 if (N > Length) in rfind_lower() [all …]
|
| /freebsd-12.1/sys/contrib/edk2/Include/Library/ |
| H A D | BaseMemoryLib.h | 44 IN UINTN Length 65 IN UINTN Length, 92 IN UINTN Length, 119 IN UINTN Length, 146 IN UINTN Length, 173 IN UINTN Length, 195 IN UINTN Length 225 IN UINTN Length 251 IN UINTN Length, 280 IN UINTN Length, [all …]
|
| /freebsd-12.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 | 186 UINT32 Length); 234 ACPI_SIZE Length; in DtTrim() local 295 ReturnString[Length] = 0; in DtTrim() 366 UINT32 Length; in DtParseLine() local 423 strncpy (TmpName, Start, Length); in DtParseLine() 993 UINT32 Length) in DtDumpBuffer() argument 1001 Offset, Offset, Length); in DtDumpBuffer() 1004 while (i < Length) in DtDumpBuffer() 1015 if (i + j >= Length) in DtDumpBuffer() 1031 if (i + j >= Length) in DtDumpBuffer() [all …]
|
| /freebsd-12.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-12.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-12.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 …]
|
| /freebsd-12.1/contrib/llvm/lib/ObjectYAML/ |
| H A D | DWARFEmitter.cpp | 68 if (Length.isDWARF64()) in writeInitialLength() 121 writeInitialLength(Sect.Length, OS, IsLittleEndian); in EmitPubSection() 210 encodeULEB128(File.Length, OS); in EmitFileEntry() 312 uint64_t Length; member in __anond76b7c7c0211::DIEFixupVisitor 321 CU.Length.setLength(Length); in onEndCompileUnit() 325 Length += getULEB128Size(DIE.AbbrCode); in onStartDIE() 333 Length += getULEB128Size(U); in onValue() 335 Length += 8; in onValue() 339 Length += getSLEB128Size(S); in onValue() 341 Length += 8; in onValue() [all …]
|