/freebsd/sys/contrib/dev/acpica/compiler/ |
H A D | dtfield.c | 163 DT_FIELD *Field, 169 DT_FIELD *Field, 175 DT_FIELD *Field, 202 DT_FIELD *Field, in DtCompileOneField() argument 214 DtCompileInteger (Buffer, Field, ByteLength, Flags); in DtCompileOneField() 219 DtCompileString (Buffer, Field, ByteLength); in DtCompileOneField() 224 Status = DtCompileUuid (Buffer, Field, ByteLength); in DtCompileOneField() 234 DtCompileBuffer (Buffer, Field->Value, Field, ByteLength); in DtCompileOneField() 239 DtCompileUnicode (Buffer, Field, ByteLength); in DtCompileOneField() 248 DtFatal (ASL_MSG_COMPILER_INTERNAL, Field, "Invalid field type"); in DtCompileOneField() [all …]
|
H A D | dtio.c | 324 DT_FIELD *Field; in DtParseLine() local 436 Field = UtFieldCacheCalloc (); in DtParseLine() 437 Field->Name = Name; in DtParseLine() 438 Field->Value = Value; in DtParseLine() 439 Field->Line = Line; in DtParseLine() 440 Field->ByteOffset = Offset; in DtParseLine() 441 Field->NameColumn = NameColumn; in DtParseLine() 442 Field->Column = Column; in DtParseLine() 443 Field->StringLength = Length; in DtParseLine() 445 DtLinkField (Field); in DtParseLine() [all …]
|
H A D | dtexpress.c | 163 DT_FIELD *Field); 190 DT_FIELD *Field, in DtResolveIntegerExpression() argument 197 Field->Value); in DtResolveIntegerExpression() 199 AslGbl_CurrentField = Field; in DtResolveIntegerExpression() 201 Result = DtEvaluateExpression (Field->Value); in DtResolveIntegerExpression() 481 DT_FIELD *Field) in DtInsertLabelField() argument 487 ACPI_GET_FUNCTION_NAME, Field->Value, Field->TableOffset); in DtInsertLabelField() 489 Field->NextLabel = AslGbl_LabelList; in DtInsertLabelField() 490 AslGbl_LabelList = Field; in DtInsertLabelField()
|
H A D | dtcompile.c | 170 DT_FIELD **Field); 590 DT_FIELD **Field, in DtCompileTable() argument 607 if (!Field || !Info) in DtCompileTable() 611 if (!*Field) in DtCompileTable() 623 strcmp ((*Field)->Name, Info->Name)) in DtCompileTable() 629 Length = DtGetSubtableLength (*Field, Info); in DtCompileTable() 647 LocalField = *Field; in DtCompileTable() 695 *Field = LocalField; in DtCompileTable() 723 *Field = LocalField; in DtCompileTable() 731 *Field = LocalField; in DtCompileTable() [all …]
|
H A D | dtsubtable.c | 395 DT_FIELD *Field, in DtGetSubtableLength() argument 412 if (!Field) in DtGetSubtableLength() 417 ByteLength += DtGetFieldLength (Field, Info); in DtGetSubtableLength() 444 if (!Field) in DtGetSubtableLength() 449 Field = Field->Next; in DtGetSubtableLength() 456 if (!Field) in DtGetSubtableLength()
|
H A D | dtcompiler.h | 291 DT_FIELD **Field, 333 DT_FIELD *Field); 338 DT_FIELD *Field, 356 DT_FIELD *Field, 394 DT_FIELD *Field, 417 DT_FIELD *Field, 425 DT_FIELD *Field, 433 DT_FIELD *Field, 439 DT_FIELD *Field, 447 DT_FIELD *Field); [all …]
|
H A D | dtutils.c | 361 DT_FIELD *Field) in DtGetFieldValue() argument 363 if (!Field) in DtGetFieldValue() 368 return (Field->Value); in DtGetFieldValue() 543 DT_FIELD *Field, in DtGetFieldLength() argument 672 Value = DtGetFieldValue (Field); in DtGetFieldLength() 688 Value = DtGetFieldValue (Field); in DtGetFieldLength() 721 Value = DtGetFieldValue (Field); in DtGetFieldLength() 764 Value = DtGetFieldValue (Field); in DtGetFieldLength() 773 DtFatal (ASL_MSG_COMPILER_INTERNAL, Field, "Invalid table opcode"); in DtGetFieldLength()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | SearchableTableEmitter.cpp | 41 int64_t getInt(Record *R, StringRef Field) { in getInt() argument 42 return getAsInt(R->getValueInit(Field)); in getInt() 86 for (const auto &Field : Fields) { in getFieldByName() local 87 if (Name == Field.Name) in getFieldByName() 88 return &Field; in getFieldByName() 116 std::string primaryRepresentation(SMLoc Loc, const GenericField &Field, in primaryRepresentation() argument 119 if (Field.IsCode || SI->hasCodeFormat()) in primaryRepresentation() 127 else if (Field.IsIntrinsic) in primaryRepresentation() 129 else if (Field.IsInstruction) in primaryRepresentation() 131 else if (Field.Enum) { in primaryRepresentation() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/executer/ |
H A D | exfield.c | 296 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS || in AcpiExReadDataFromField() 297 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS || in AcpiExReadDataFromField() 298 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_IPMI || in AcpiExReadDataFromField() 299 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_RT || in AcpiExReadDataFromField() 300 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_FIXED_HARDWARE)) in AcpiExReadDataFromField() 322 ObjDesc->Field.BitLength); in AcpiExReadDataFromField() 352 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO)) in AcpiExReadDataFromField() 360 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_COMM)) in AcpiExReadDataFromField() 367 "PCC FieldRead bits %u\n", ObjDesc->Field.BitLength)); in AcpiExReadDataFromField() 369 memcpy (Buffer, ObjDesc->Field.RegionObj->Field.InternalPccBuffer + in AcpiExReadDataFromField() [all …]
|
H A D | exprep.c | 605 ObjDesc->Field.RegionObj = AcpiNsGetAttachedObject (Info->RegionNode); in AcpiExPrepFieldValue() 609 ObjDesc->Field.AccessLength = Info->AccessLength; in AcpiExPrepFieldValue() 624 ObjDesc->Field.ResourceBuffer = in AcpiExPrepFieldValue() 626 ObjDesc->Field.ResourceLength = in AcpiExPrepFieldValue() 631 ObjDesc->Field.ResourceBuffer = Info->ResourceBuffer; in AcpiExPrepFieldValue() 632 ObjDesc->Field.ResourceLength = Info->ResourceLength; in AcpiExPrepFieldValue() 635 ObjDesc->Field.PinNumberIndex = Info->PinNumberIndex; in AcpiExPrepFieldValue() 639 if ((ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_EC) && in AcpiExPrepFieldValue() 656 ObjDesc->Field.StartFieldBitOffset, in AcpiExPrepFieldValue() 657 ObjDesc->Field.BaseByteOffset, in AcpiExPrepFieldValue() [all …]
|
H A D | exserial.c | 196 ObjDesc->Field.PinNumberIndex, ObjDesc->Field.BitLength)); in AcpiExReadGpio() 258 ObjDesc->Field.PinNumberIndex, ObjDesc->Field.BitLength)); in AcpiExWriteGpio() 316 switch (ObjDesc->Field.RegionObj->Region.SpaceId) in AcpiExReadSerialBus() 321 Function = ACPI_READ | (ObjDesc->Field.Attribute << 16); in AcpiExReadSerialBus() 332 AccessorType = ObjDesc->Field.Attribute; in AcpiExReadSerialBus() 449 switch (ObjDesc->Field.RegionObj->Region.SpaceId) in AcpiExWriteSerialBus() 454 Function = ACPI_WRITE | (ObjDesc->Field.Attribute << 16); in AcpiExWriteSerialBus() 465 AccessorType = ObjDesc->Field.Attribute; in AcpiExWriteSerialBus()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | OptimizedStructLayout.cpp | 18 using Field = OptimizedStructLayoutField; typedef 21 static void checkValidLayout(ArrayRef<Field> Fields, uint64_t Size, in checkValidLayout() 25 for (auto &Field : Fields) { in checkValidLayout() local 26 assert(Field.hasFixedOffset() && in checkValidLayout() 28 assert(isAligned(Field.Alignment, Field.Offset) && in checkValidLayout() 30 assert(Field.Offset >= LastEnd && in checkValidLayout() 32 LastEnd = Field.getEndOffset(); in checkValidLayout() 33 assert(Field.Alignment <= MaxAlign && in checkValidLayout() 35 ComputedMaxAlign = std::max(Field.Alignment, MaxAlign); in checkValidLayout() 43 llvm::performOptimizedStructLayout(MutableArrayRef<Field> Fields) { in performOptimizedStructLayout() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | RecordOps.cpp | 19 static void copyField(const ValueDecl &Field, StorageLocation *SrcFieldLoc, in copyField() argument 22 assert(Field.getType()->isReferenceType() || in copyField() 25 if (Field.getType()->isRecordType()) { in copyField() 28 } else if (Field.getType()->isReferenceType()) { in copyField() 29 Dst.setChild(Field, SrcFieldLoc); in copyField() 74 for (auto [Field, DstFieldLoc] : Dst.children()) in copyRecord() 75 copyField(*Field, Src.getChild(*Field), DstFieldLoc, Dst, Env); in copyRecord() 80 for (auto [Field, SrcFieldLoc] : Src.children()) in copyRecord() 81 copyField(*Field, SrcFieldLoc, Dst.getChild(*Field), Dst, Env); in copyRecord() 100 for (auto [Field, FieldLoc1] : Loc1.children()) { in recordsEqual() [all …]
|
H A D | ASTOps.cpp | 66 for (const FieldDecl *Field : Type->getAsRecordDecl()->fields()) in getFieldsFromClassHierarchy() local 67 Fields.insert(Field); in getFieldsFromClassHierarchy() 84 for ([[maybe_unused]] auto [Field, Loc] : FieldLocs) in containsSameFields() 85 if (!Fields.contains(cast_or_null<FieldDecl>(Field))) in containsSameFields() 103 if (const FieldDecl *Field = InitList->getInitializedFieldInUnion()) in getFieldsForInitListExpr() local 104 Fields.push_back(Field); in getFieldsForInitListExpr() 114 [](const FieldDecl *Field) { return !Field->isUnnamedBitField(); }); in getFieldsForInitListExpr() argument 159 for (const FieldDecl *Field : Fields) { in RecordInitListHelper() local 162 FieldInits.emplace_back(Field, Init); in RecordInitListHelper()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGRecordLayoutBuilder.cpp | 79 enum InfoKind { VFPtr, VBPtr, Field, Base, VBase } Kind; enumerator 99 return MemberInfo(Offset, MemberInfo::Field, Data); in StorageInfo() 189 RecordDecl::field_iterator Field, 323 for (const auto *Field : D->fields()) { in lowerUnion() local 324 if (Field->isBitField()) { in lowerUnion() 325 if (Field->isZeroLengthBitField(Context)) in lowerUnion() 327 llvm::Type *FieldType = getStorageType(Field); in lowerUnion() 330 setBitFieldInfo(Field, CharUnits::Zero(), FieldType); in lowerUnion() 332 Fields[Field->getCanonicalDecl()] = 0; in lowerUnion() 333 llvm::Type *FieldType = getStorageType(Field); in lowerUnion() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | RegisterFlags.cpp | 21 RegisterFlags::Field::Field(std::string name, unsigned start, unsigned end) in Field() function in RegisterFlags::Field 27 RegisterFlags::Field::Field(std::string name, unsigned bit_position) in Field() function in RegisterFlags::Field 31 RegisterFlags::Field::Field(std::string name, unsigned start, unsigned end, in Field() function in RegisterFlags::Field 50 void RegisterFlags::Field::DumpToLog(Log *log) const { in DumpToLog() 55 bool RegisterFlags::Field::Overlaps(const Field &other) const { in Overlaps() 61 unsigned RegisterFlags::Field::PaddingDistance(const Field &other) const { in PaddingDistance() 81 unsigned RegisterFlags::Field::GetSizeInBits(unsigned start, unsigned end) { in GetSizeInBits() 85 unsigned RegisterFlags::Field::GetSizeInBits() const { in GetSizeInBits() 89 uint64_t RegisterFlags::Field::GetMaxValue(unsigned start, unsigned end) { in GetMaxValue() 102 uint64_t RegisterFlags::Field::GetMaxValue() const { in GetMaxValue() [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | RegisterFlags.h | 61 class Field { 65 Field(std::string name, unsigned start, unsigned end); 68 Field(std::string name, unsigned start, unsigned end, 72 Field(std::string name, unsigned bit_position); 98 bool Overlaps(const Field &other) const; 103 unsigned PaddingDistance(const Field &other) const; 110 bool operator<(const Field &rhs) const { 114 bool operator==(const Field &rhs) const { 137 const std::vector<Field> &fields); 142 void SetFields(const std::vector<Field> &fields); [all …]
|
/freebsd/sys/contrib/dev/acpica/components/parser/ |
H A D | psargs.c | 640 ACPI_PARSE_OBJECT *Field; in AcpiPsGetNextField() local 694 Field = AcpiPsAllocOp (Opcode, Aml); in AcpiPsGetNextField() 695 if (!Field) in AcpiPsGetNextField() 710 AcpiPsSetName (Field, Name); in AcpiPsGetNextField() 722 if (Field->Common.InlineComment) in AcpiPsGetNextField() 724 Field->Common.NameComment = Field->Common.InlineComment; in AcpiPsGetNextField() 726 Field->Common.InlineComment = AcpiGbl_CurrentInlineComment; in AcpiPsGetNextField() 732 Field->Common.Value.Size = AcpiPsGetNextPackageLength (ParserState); in AcpiPsGetNextField() 740 Field->Common.Value.Size = AcpiPsGetNextPackageLength (ParserState); in AcpiPsGetNextField() 760 Field->Common.Value.Integer = (UINT8) AccessType; in AcpiPsGetNextField() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SymbolRewriter.cpp | 331 for (auto &Field : *Descriptor) { in parseRewriteFunctionDescriptor() 338 Key = dyn_cast<yaml::ScalarNode>(Field.getKey()); in parseRewriteFunctionDescriptor() 340 YS.printError(Field.getKey(), "descriptor key must be a scalar"); in parseRewriteFunctionDescriptor() 344 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteFunctionDescriptor() 346 YS.printError(Field.getValue(), "descriptor value must be a scalar"); in parseRewriteFunctionDescriptor() 356 YS.printError(Field.getKey(), "invalid regex: " + Error); in parseRewriteFunctionDescriptor() 369 YS.printError(Field.getKey(), "unknown key for function"); in parseRewriteFunctionDescriptor() 400 for (auto &Field : *Descriptor) { in parseRewriteGlobalVariableDescriptor() 407 Key = dyn_cast<yaml::ScalarNode>(Field.getKey()); in parseRewriteGlobalVariableDescriptor() 409 YS.printError(Field.getKey(), "descriptor Key must be a scalar"); in parseRewriteGlobalVariableDescriptor() [all …]
|
/freebsd/contrib/libxo/doc/ |
H A D | field-modifiers.rst | 2 .. index:: Field Modifiers 5 Field Modifiers 8 Field modifiers are flags which modify the way content emitted for 23 k key Field is a key, suitable for XPath predicates 24 l leaf-list Field is a leaf-list 40 .. index:: Field Modifiers; Argument 46 .. index:: Field Modifiers; Argument 67 .. index:: Field Modifiers; Colon 73 .. index:: Field Modifiers; Colon 86 .. index:: Field Modifiers; Display [all …]
|
H A D | field-roles.rst | 2 .. index:: Field Roles 5 Field Roles 8 Field roles are optional, and indicate the role and formatting of the 14 C color Field has color and effect controls 15 D decoration Field is non-text (e.g., colon, comma) 16 E error Field is an error message 18 L label Field is text that prefixes a value 19 N note Field is text that follows a value 20 P padding Field is spaces needed for vertical alignment 21 T title Field is a title value for headings [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/Disassembler/ |
H A D | ARCDisassembler.cpp | 285 using Field = decltype(Insn); in DecodeMoveHRegInstruction() typedef 286 Field H = fieldFromInstruction(Insn, 5, 3) | in DecodeMoveHRegInstruction() 288 Field G = fieldFromInstruction(Insn, 8, 3) | in DecodeMoveHRegInstruction() 291 auto DecodeRegisterOrImm = [&Inst, Address, Decoder](Field RegNum, in DecodeMoveHRegInstruction() 292 Field Value) { in DecodeMoveHRegInstruction() 314 using Field = decltype(Insn); in DecodeCCRU6Instruction() typedef 315 Field U6Field = fieldFromInstruction(Insn, 6, 6); in DecodeCCRU6Instruction() 317 Field CCField = fieldFromInstruction(Insn, 0, 4); in DecodeCCRU6Instruction() 327 using Field = decltype(Insn); in DecodeSOPwithRU6() typedef 328 Field U6 = fieldFromInstruction(Insn, 6, 6); in DecodeSOPwithRU6() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | ArchiveEmitter.cpp | 31 auto WriteField = [&](StringRef Field, uint8_t Size) { in yaml2archive() argument 32 Out.write(Field.data(), Field.size()); in yaml2archive() 33 for (size_t I = Field.size(); I != Size; ++I) in yaml2archive()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | ArchiveYAML.h | 27 struct Field { struct 28 Field() = default; 29 Field(StringRef Default, unsigned Length) in Field() function 46 MapVector<StringRef, Field> Fields;
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Record.h | 28 struct Field { struct 44 using FieldList = llvm::SmallVector<Field, 8>; argument 62 const Field *getField(const FieldDecl *FD) const; 82 const Field *getField(unsigned I) const { return &Fields[I]; } in getField() 128 llvm::DenseMap<const FieldDecl *, const Field *> FieldMap;
|