Home
last modified time | relevance | path

Searched full:unittype (Results 1 – 25 of 57) sorted by relevance

123

/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnit.h59 template<typename UnitType>
60 class DWARFUnitSection final : public SmallVector<std::unique_ptr<UnitType>, 1>,
65 typedef llvm::SmallVectorImpl<std::unique_ptr<UnitType>> UnitVector;
69 UnitType *getUnitForOffset(uint32_t Offset) const override { in getUnitForOffset()
72 [](uint32_t LHS, const std::unique_ptr<UnitType> &RHS) { in getUnitForOffset()
87 const auto &Index = getDWARFUnitIndex(Context, UnitType::Section); in parseImpl()
91 auto U = llvm::make_unique<UnitType>(Context, Section, DA, RS, SS, SOS, in parseImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnit.h66 uint8_t UnitType = 0; variable
96 uint8_t getUnitType() const { return UnitType; } in getUnitType()
98 return UnitType == dwarf::DW_UT_type || UnitType == dwarf::DW_UT_split_type; in isTypeUnit()
357 static bool isMatchingUnitTypeAndTag(uint8_t UnitType, dwarf::Tag Tag) { in isMatchingUnitTypeAndTag() argument
358 switch (UnitType) { in isMatchingUnitTypeAndTag()
375 /// UnitType type.
379 static uint32_t getDWARF5HeaderSize(uint8_t UnitType) { in getDWARF5HeaderSize() argument
380 switch (UnitType) { in getDWARF5HeaderSize()
391 llvm_unreachable("Invalid UnitType."); in getDWARF5HeaderSize()
DDWARFVerifier.h135 /// \param UnitType A reference to the type of the unit
141 uint64_t *Offset, unsigned UnitIndex, uint8_t &UnitType,
/external/antlr/runtime/Cpp/include/
Dantlr3baserecognizer.inl55 const typename BaseRecognizer<ImplTraits, StreamType>::UnitType*
63 const UnitType* matchedSymbol = this->getCurrentInputSymbol(is);
417 const typename BaseRecognizer<ImplTraits, StreamType>::UnitType*
422 const UnitType* matchedSymbol;
508 const typename BaseRecognizer<ImplTraits, StreamType>::UnitType*
513 const UnitType* matchedSymbol;
757 const typename BaseRecognizer<ImplTraits, StreamType>::UnitType*
764 const typename BaseRecognizer<ImplTraits, StreamType>::UnitType*
771 const typename BaseRecognizer<ImplTraits, StreamType>::UnitType*
780 const typename BaseRecognizer<ImplTraits, StreamType>::UnitType*
[all …]
Dantlr3baserecognizer.hpp53 typedef typename StreamType::UnitType UnitType; typedef in BaseRecognizer
101 const UnitType* match(ANTLR_UINT32 ttype, BitsetListType* follow);
382 const UnitType* recoverFromMismatchedToken( ANTLR_UINT32 ttype, BitsetListType* follow);
387 const UnitType* recoverFromMismatchedSet(BitsetListType* follow);
452 const UnitType* getCurrentInputSymbol(IntStreamType* istream);
453 const UnitType* getCurrentInputSymbol(IntStreamType* istream, ClassForwarder<LexerType>);
454 const UnitType* getCurrentInputSymbol(IntStreamType* istream, ClassForwarder<ParserType>);
455 const UnitType* getCurrentInputSymbol(IntStreamType* istream, ClassForwarder<TreeParserType>);
476 UnitType* getMissingSymbol( IntStreamType* istream, ExceptionBaseType* e,
Dantlr3input.hpp57 typedef typename ImplTraits::StreamDataType UnitType; typedef in InputStream
58 typedef UnitType DataType;
59 typedef UnitType TokenType;
/external/cldr/tools/java/org/unicode/cldr/util/
DUnits.java66 String unitType = s.substring(0,dashPos);
70 coreToType.put(coreUnit, unitType); in coreToType.put() argument
71 typeToCore.put(unitType, coreUnit); in typeToCore.put() argument
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java936 … private String getFormattedUnit(String unitType, UnitLength unitWidth, FixedDecimal unitAmount) { in getFormattedUnit() argument
938 return getFormattedUnit(unitType, unitWidth, unitAmount, numberFormat.format(unitAmount)); in getFormattedUnit()
942 private String getFormattedUnit(String unitType, UnitLength unitWidth, double unitAmount) { in getFormattedUnit() argument
943 return getFormattedUnit(unitType, unitWidth, new FixedDecimal(unitAmount)); in getFormattedUnit()
947 …private String getFormattedUnit(String unitType, UnitLength unitWidth, FixedDecimal unitAmount, St… in getFormattedUnit() argument
951 return format(getValueFromFormat(pathFormat, unitType, form), formattedUnitAmount); in getFormattedUnit()
1164 String unitType = parts.getAttributeValue(-2, "type"); in formatCountValue() local
1165 if (unitType == null) { in formatCountValue()
1166 unitType = "USD"; // sample for currency pattern in formatCountValue()
1191 DecimalFormat currencyFormat = icuServiceBuilder.getCurrencyFormat(unitType); in formatCountValue()
[all …]
/external/llvm-project/llvm/test/ObjectYAML/MachO/
DDWARF5-debug_info.yaml396 UnitType: DW_UT_compile
516 # DWARF32-NEXT: UnitType: DW_UT_compile
587 # DWARF32-YAML-NEXT: UnitType: DW_UT_compile
656 UnitType: DW_UT_compile
673 # DWARF64-YAML-NEXT: UnitType: DW_UT_compile
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnit.h66 uint8_t UnitType = 0; variable
100 uint8_t getUnitType() const { return UnitType; } in getUnitType()
102 return UnitType == dwarf::DW_UT_type || UnitType == dwarf::DW_UT_split_type; in isTypeUnit()
359 static bool isMatchingUnitTypeAndTag(uint8_t UnitType, dwarf::Tag Tag) { in isMatchingUnitTypeAndTag() argument
360 switch (UnitType) { in isMatchingUnitTypeAndTag()
DDWARFVerifier.h135 /// \param UnitType A reference to the type of the unit
141 uint64_t *Offset, unsigned UnitIndex, uint8_t &UnitType,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DDWARFYAML.h103 llvm::dwarf::UnitType Type; // Added in DWARF 5
288 template <> struct ScalarEnumerationTraits<dwarf::UnitType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
289 static void enumeration(IO &io, dwarf::UnitType &value) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFVerifier.cpp102 uint8_t &UnitType, bool &isUnitDWARF64) { in verifyUnitHeader() argument
123 UnitType = DebugInfoData.getU8(Offset); in verifyUnitHeader()
126 ValidType = dwarf::isUnitType(UnitType); in verifyUnitHeader()
128 UnitType = 0; in verifyUnitHeader()
191 uint8_t UnitType = Unit.getUnitType(); in verifyUnitContents() local
192 if (!DWARFUnit::isMatchingUnitTypeAndTag(UnitType, Die.getTag())) { in verifyUnitContents()
193 error() << "Compilation unit type (" << dwarf::UnitTypeString(UnitType) in verifyUnitContents()
287 uint8_t UnitType = 0; in verifyUnitSection() local
295 if (!verifyUnitHeader(DebugInfoData, &Offset, UnitIdx, UnitType, in verifyUnitSection()
304 switch (UnitType) { in verifyUnitSection()
[all …]
DDWARFUnit.cpp274 UnitType = debug_info.getU8(offset_ptr, &Err); in extract()
285 UnitType = DW_UT_type; in extract()
287 UnitType = DW_UT_compile; in extract()
304 } else if (UnitType == DW_UT_split_compile || UnitType == DW_UT_skeleton) in extract()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFVerifier.cpp104 uint8_t &UnitType, bool &isUnitDWARF64) { in verifyUnitHeader() argument
123 UnitType = DebugInfoData.getU8(Offset); in verifyUnitHeader()
126 ValidType = dwarf::isUnitType(UnitType); in verifyUnitHeader()
128 UnitType = 0; in verifyUnitHeader()
200 uint8_t UnitType = Unit.getUnitType(); in verifyUnitContents() local
201 if (!DWARFUnit::isMatchingUnitTypeAndTag(UnitType, Die.getTag())) { in verifyUnitContents()
202 error() << "Compilation unit type (" << dwarf::UnitTypeString(UnitType) in verifyUnitContents()
296 uint8_t UnitType = 0; in verifyUnitSection() local
304 if (!verifyUnitHeader(DebugInfoData, &Offset, UnitIdx, UnitType, in verifyUnitSection()
313 switch (UnitType) { in verifyUnitSection()
[all …]
DDWARFUnit.cpp240 UnitType = debug_info.getU8(offset_ptr, &Err); in extract()
251 UnitType = DW_UT_type; in extract()
253 UnitType = DW_UT_compile; in extract()
259 } else if (UnitType == DW_UT_split_compile || UnitType == DW_UT_skeleton) in extract()
/external/llvm-project/llvm/test/tools/yaml2obj/ELF/DWARF/
Ddebug-info.yaml211 UnitType: DW_UT_type
273 UnitType: DW_UT_compile
452 UnitType: DW_UT_type
479 UnitType: DW_UT_type
544 UnitType: DW_UT_type
570 UnitType: DW_UT_type
620 UnitType: DW_UT_type
658 UnitType: DW_UT_type
692 UnitType: DW_UT_type
/external/llvm-project/llvm/include/llvm/ObjectYAML/
DDWARFYAML.h114 llvm::dwarf::UnitType Type; // Added in DWARF 5
442 template <> struct ScalarEnumerationTraits<dwarf::UnitType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
443 static void enumeration(IO &io, dwarf::UnitType &value) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context_embeddertest.cpp972 TEST_F(CFXJSE_FormCalcContextEmbedderTest, UnitType) { in TEST_F() argument
978 } tests[] = {{"UnitType(\"36 in\")", "in"}, in TEST_F()
979 {"UnitType(\"2.54centimeters\")", "cm"}, in TEST_F()
980 {"UnitType(\"picas\")", "pt"}, in TEST_F()
981 {"UnitType(\"2.cm\")", "cm"}, in TEST_F()
982 {"UnitType(\"2.zero cm\")", "in"}, in TEST_F()
983 {"UnitType(\"kilometers\")", "in"}}; in TEST_F()
1005 // {"UnitType(\"A\", \"cm\")", 0.0f}, in TEST_F()
1006 // {"UnitType(\"5.08cm\", \"kilograms\")", 2.0f} in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DDwarf.h367 enum UnitType : unsigned char { enum
381 inline bool isUnitType(uint8_t UnitType) { in isUnitType() argument
382 switch (UnitType) { in isUnitType()
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/
DDWARFDieTest.cpp39 UnitType: DW_UT_compile in TEST()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DlinkValidate.cpp511 void TIntermediate::mergeImplicitArraySizes(TType& type, const TType& unitType) in mergeImplicitArraySizes() argument
514 if (unitType.isUnsizedArray()) { in mergeImplicitArraySizes()
515 type.updateImplicitArraySize(unitType.getImplicitArraySize()); in mergeImplicitArraySizes()
516 if (unitType.isArrayVariablyIndexed()) in mergeImplicitArraySizes()
518 } else if (unitType.isSizedArray()) in mergeImplicitArraySizes()
519 type.changeOuterArraySize(unitType.getOuterArraySize()); in mergeImplicitArraySizes()
523 …if (! type.isStruct() || ! unitType.isStruct() || type.getStruct()->size() != unitType.getStruct()… in mergeImplicitArraySizes()
527 mergeImplicitArraySizes(*(*type.getStruct())[i].type, *(*unitType.getStruct())[i].type); in mergeImplicitArraySizes()
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DDwarf.h439 enum UnitType : unsigned char { enum
453 inline bool isUnitType(uint8_t UnitType) { in isUnitType() argument
454 switch (UnitType) { in isUnitType()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestUnits.java655 String unitType = s.substring(0,dashPos);
658 coreToType.put(coreUnit, unitType); in coreToType.put() argument
659 typeToCore.put(unitType, coreUnit); in typeToCore.put() argument
671 final String unitType = entry.getKey(); in TestUnitCategory() local
677 System.out.format("%s\t%s\t%s\n", coreUnit, quantity, unitType); in TestUnitCategory()
682 } else if (!unitType.equals(quantity)) { in TestUnitCategory()
683 switch (unitType) { in TestUnitCategory()
730 Multimap<String, String> badMap = bad.get(unitType); in TestUnitCategory()
732 bad.put(unitType, badMap = TreeMultimap.create()); in TestUnitCategory()
738 …assertNull("UnitType != quantity: " + entry.getKey(), '"' + Joiner.on("\", \"").join(entry.getValu… in TestUnitCategory()
/external/llvm-project/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp156 auto UnitType = InfoData.getU8(&Offset); in getCUIdentifiers() local
157 if (UnitType != dwarf::DW_UT_split_compile) in getCUIdentifiers()
161 utostr(UnitType) + " found")); in getCUIdentifiers()

123