/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeDeserializer.h | 32 Mapping(Reader) {} in MappingInfo() 36 TypeRecordMapping Mapping; member 45 if (auto EC = I.Mapping.visitTypeBegin(CVT)) in deserializeAs() 47 if (auto EC = I.Mapping.visitKnownRecord(CVT, Record)) in deserializeAs() 49 if (auto EC = I.Mapping.visitTypeEnd(CVT)) in deserializeAs() 68 assert(!Mapping && "Already in a type mapping!"); in visitTypeBegin() 69 Mapping = std::make_unique<MappingInfo>(Record.content()); in visitTypeBegin() 70 return Mapping->Mapping.visitTypeBegin(Record); in visitTypeBegin() 78 assert(Mapping && "Not in a type mapping!"); in visitTypeEnd() 79 auto EC = Mapping->Mapping.visitTypeEnd(Record); in visitTypeEnd() [all …]
|
D | SymbolDeserializer.h | 28 Mapping(Reader, Container) {} in MappingInfo() 32 SymbolRecordMapping Mapping; member 64 assert(!Mapping && "Already in a symbol mapping!"); in visitSymbolBegin() 65 Mapping = std::make_unique<MappingInfo>(Record.content(), Container); in visitSymbolBegin() 66 return Mapping->Mapping.visitSymbolBegin(Record); in visitSymbolBegin() 69 assert(Mapping && "Not in a symbol mapping!"); in visitSymbolEnd() 70 auto EC = Mapping->Mapping.visitSymbolEnd(Record); in visitSymbolEnd() 71 Mapping.reset(); in visitSymbolEnd() 86 Delegate ? Delegate->getRecordOffset(Mapping->Reader) : 0; in visitKnownRecordImpl() 87 if (auto EC = Mapping->Mapping.visitKnownRecord(CVR, Record)) in visitKnownRecordImpl() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeDeserializer.h | 32 Mapping(Reader) {} in MappingInfo() 36 TypeRecordMapping Mapping; member 45 if (auto EC = I.Mapping.visitTypeBegin(CVT)) in deserializeAs() 47 if (auto EC = I.Mapping.visitKnownRecord(CVT, Record)) in deserializeAs() 49 if (auto EC = I.Mapping.visitTypeEnd(CVT)) in deserializeAs() 68 assert(!Mapping && "Already in a type mapping!"); in visitTypeBegin() 69 Mapping = std::make_unique<MappingInfo>(Record.content()); in visitTypeBegin() 70 return Mapping->Mapping.visitTypeBegin(Record); in visitTypeBegin() 78 assert(Mapping && "Not in a type mapping!"); in visitTypeEnd() 79 auto EC = Mapping->Mapping.visitTypeEnd(Record); in visitTypeEnd() [all …]
|
D | SymbolDeserializer.h | 28 Mapping(Reader, Container) {} in MappingInfo() 32 SymbolRecordMapping Mapping; member 64 assert(!Mapping && "Already in a symbol mapping!"); in visitSymbolBegin() 65 Mapping = std::make_unique<MappingInfo>(Record.content(), Container); in visitSymbolBegin() 66 return Mapping->Mapping.visitSymbolBegin(Record); in visitSymbolBegin() 69 assert(Mapping && "Not in a symbol mapping!"); in visitSymbolEnd() 70 auto EC = Mapping->Mapping.visitSymbolEnd(Record); in visitSymbolEnd() 71 Mapping.reset(); in visitSymbolEnd() 86 Delegate ? Delegate->getRecordOffset(Mapping->Reader) : 0; in visitKnownRecordImpl() 87 if (auto EC = Mapping->Mapping.visitKnownRecord(CVR, Record)) in visitKnownRecordImpl() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform.h | 44 struct Mapping { struct 76 struct Mapping { argument 266 struct Mapping { 291 struct Mapping { 334 template<typename Mapping, int Type> 338 case MAPPING_LO_APP_BEG: return Mapping::kLoAppMemBeg; in MappingImpl() 339 case MAPPING_LO_APP_END: return Mapping::kLoAppMemEnd; in MappingImpl() 341 case MAPPING_MID_APP_BEG: return Mapping::kMidAppMemBeg; in MappingImpl() 342 case MAPPING_MID_APP_END: return Mapping::kMidAppMemEnd; in MappingImpl() 344 case MAPPING_HI_APP_BEG: return Mapping::kHiAppMemBeg; in MappingImpl() [all …]
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform.h | 58 struct Mapping { struct 96 struct Mapping { argument 131 struct Mapping { 372 struct Mapping { 397 struct Mapping { 477 struct Mapping { 505 struct Mapping { 547 template<typename Mapping, int Type> 551 case MAPPING_LO_APP_BEG: return Mapping::kLoAppMemBeg; in MappingImpl() 552 case MAPPING_LO_APP_END: return Mapping::kLoAppMemEnd; in MappingImpl() [all …]
|
/external/llvm-project/clang/unittests/Basic/ |
D | LineOffsetMappingTest.cpp | 19 LineOffsetMapping Mapping; in TEST() local 20 EXPECT_FALSE(Mapping); in TEST() 23 EXPECT_DEATH((void)Mapping.getLines(), "Storage"); in TEST() 30 LineOffsetMapping Mapping(Offsets, Alloc); in TEST() local 31 EXPECT_EQ(3u, Mapping.size()); in TEST() 32 EXPECT_EQ(0u, Mapping[0]); in TEST() 33 EXPECT_EQ(10u, Mapping[1]); in TEST() 34 EXPECT_EQ(20u, Mapping[2]); in TEST() 37 EXPECT_DEATH((void)Mapping[3], "Invalid index"); in TEST() 62 auto Mapping = LineOffsetMapping::get(MemoryBufferRef(Source, ""), Alloc); in TEST() local [all …]
|
/external/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 53 SlotMapping Mapping; in TEST() local 54 auto Mod = parseAssemblyString(Source, Error, Ctx, &Mapping); in TEST() 59 ASSERT_EQ(Mapping.GlobalValues.size(), 1u); in TEST() 60 EXPECT_TRUE(isa<GlobalVariable>(Mapping.GlobalValues[0])); in TEST() 62 EXPECT_EQ(Mapping.MetadataNodes.size(), 2u); in TEST() 63 EXPECT_EQ(Mapping.MetadataNodes.count(0), 1u); in TEST() 64 EXPECT_EQ(Mapping.MetadataNodes.count(42), 1u); in TEST() 65 EXPECT_EQ(Mapping.MetadataNodes.count(1), 0u); in TEST() 136 SlotMapping Mapping; in TEST() local 137 auto Mod = parseAssemblyString(Source, Error, Ctx, &Mapping); in TEST() [all …]
|
/external/llvm-project/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 52 SlotMapping Mapping; in TEST() local 53 auto Mod = parseAssemblyString(Source, Error, Ctx, &Mapping); in TEST() 58 ASSERT_EQ(Mapping.GlobalValues.size(), 1u); in TEST() 59 EXPECT_TRUE(isa<GlobalVariable>(Mapping.GlobalValues[0])); in TEST() 61 EXPECT_EQ(Mapping.MetadataNodes.size(), 2u); in TEST() 62 EXPECT_EQ(Mapping.MetadataNodes.count(0), 1u); in TEST() 63 EXPECT_EQ(Mapping.MetadataNodes.count(42), 1u); in TEST() 64 EXPECT_EQ(Mapping.MetadataNodes.count(1), 0u); in TEST() 135 SlotMapping Mapping; in TEST() local 136 auto Mod = parseAssemblyString(Source, Error, Ctx, &Mapping); in TEST() [all …]
|
/external/llvm-project/llvm/tools/dsymutil/ |
D | DwarfLinkerForBinary.h | 64 const DebugMapObject::DebugMapEntry *Mapping; member 67 const DebugMapObject::DebugMapEntry *Mapping) in ValidReloc() 68 : Offset(Offset), Size(Size), Addend(Addend), Mapping(Mapping) {} in ValidReloc() 113 const auto &Mapping = Entry.getValue(); in AddressManager() local 114 if (Mapping.Size && Mapping.ObjectAddress) in AddressManager() 115 AddressRanges[*Mapping.ObjectAddress] = ObjFileAddressRange( in AddressManager() 116 *Mapping.ObjectAddress + Mapping.Size, in AddressManager() 117 int64_t(Mapping.BinaryAddress) - *Mapping.ObjectAddress); in AddressManager()
|
D | Reproducer.cpp | 40 SmallString<128> Mapping(Root); in ~ReproducerGenerate() local 41 sys::path::append(Mapping, "mapping.yaml"); in ~ReproducerGenerate() 42 FC->writeMapping(Mapping.str()); in ~ReproducerGenerate() 49 SmallString<128> Mapping(Root); in ReproducerUse() local 50 sys::path::append(Mapping, "mapping.yaml"); in ReproducerUse() 52 vfs::getRealFileSystem()->getBufferForFile(Mapping.str()); in ReproducerUse() 59 VFS = llvm::vfs::getVFSFromYAML(std::move(Buffer.get()), nullptr, Mapping); in ReproducerUse()
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan_platform.h | 21 struct Mapping { struct 28 struct Mapping { argument 62 template<typename Mapping, int Type> 65 case MAPPING_SHADOW_ADDR: return Mapping::kShadowAddr; in MappingImpl() 66 case MAPPING_UNION_TABLE_ADDR: return Mapping::kUnionTableAddr; in MappingImpl() 67 case MAPPING_APP_ADDR: return Mapping::kAppAddr; in MappingImpl() 68 case MAPPING_SHADOW_MASK: return Mapping::kShadowMask; in MappingImpl() 81 return MappingImpl<Mapping, Type>(); in MappingArchImpl()
|
/external/skia/src/core/ |
D | SkImageFilterTypes.cpp | 29 Mapping Mapping::DecomposeCTM(const SkMatrix& ctm, const SkImageFilter* filter, in DecomposeCTM() 59 return Mapping(remainder, layer); in DecomposeCTM() 64 SkIRect Mapping::map<SkIRect>(const SkIRect& geom, const SkMatrix& matrix) { in map() 69 SkRect Mapping::map<SkRect>(const SkRect& geom, const SkMatrix& matrix) { in map() 74 SkIPoint Mapping::map<SkIPoint>(const SkIPoint& geom, const SkMatrix& matrix) { in map() 81 SkPoint Mapping::map<SkPoint>(const SkPoint& geom, const SkMatrix& matrix) { in map() 88 IVector Mapping::map<IVector>(const IVector& geom, const SkMatrix& matrix) { in map() 93 Vector Mapping::map<Vector>(const Vector& geom, const SkMatrix& matrix) { in map() 98 SkISize Mapping::map<SkISize>(const SkISize& geom, const SkMatrix& matrix) { in map() 104 SkSize Mapping::map<SkSize>(const SkSize& geom, const SkMatrix& matrix) { in map()
|
/external/llvm-project/compiler-rt/lib/dfsan/ |
D | dfsan_platform.h | 20 struct Mapping { struct 27 struct Mapping { argument 68 template<typename Mapping, int Type> 71 case MAPPING_SHADOW_ADDR: return Mapping::kShadowAddr; in MappingImpl() 72 case MAPPING_UNION_TABLE_ADDR: return Mapping::kUnionTableAddr; in MappingImpl() 73 case MAPPING_APP_ADDR: return Mapping::kAppAddr; in MappingImpl() 74 case MAPPING_SHADOW_MASK: return Mapping::kShadowMask; in MappingImpl() 89 return MappingImpl<Mapping, Type>(); in MappingArchImpl()
|
/external/rust/crates/idna/src/ |
D | uts46.rs | 12 use self::Mapping::*; 42 enum Mapping { enum 53 fn find_char(codepoint: char) -> &'static Mapping { in find_char() argument 99 Mapping::Valid => codepoint, in next() 100 Mapping::Ignored => continue, in next() 101 Mapping::Mapped(ref slice) => { in next() 105 Mapping::Deviation(ref slice) => { in next() 113 Mapping::Disallowed => { in next() 117 Mapping::DisallowedStd3Valid => { in next() 123 Mapping::DisallowedStd3Mapped(ref slice) => { in next() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86RegisterBankInfo.cpp | 135 auto Mapping = getValueMapping(OpRegBankIdx[Idx], 1); in getInstrValueMapping() local 136 if (!Mapping->isValid()) in getInstrValueMapping() 139 OpdsMapping[Idx] = Mapping; in getInstrValueMapping() 157 auto Mapping = getValueMapping(getPartialMappingIdx(Ty, isFP), 3); in getSameOperandsMapping() local 158 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getSameOperandsMapping() 170 const InstructionMapping &Mapping = getInstrMappingImpl(MI); in getInstrMapping() local 171 if (Mapping.isValid()) in getInstrMapping() 172 return Mapping; in getInstrMapping() 191 auto Mapping = getValueMapping(getPartialMappingIdx(Ty, false), 3); in getInstrMapping() local 192 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getInstrMapping() [all …]
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86RegisterBankInfo.cpp | 135 auto Mapping = getValueMapping(OpRegBankIdx[Idx], 1); in getInstrValueMapping() local 136 if (!Mapping->isValid()) in getInstrValueMapping() 139 OpdsMapping[Idx] = Mapping; in getInstrValueMapping() 157 auto Mapping = getValueMapping(getPartialMappingIdx(Ty, isFP), 3); in getSameOperandsMapping() local 158 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getSameOperandsMapping() 170 const InstructionMapping &Mapping = getInstrMappingImpl(MI); in getInstrMapping() local 171 if (Mapping.isValid()) in getInstrMapping() 172 return Mapping; in getInstrMapping() 191 auto Mapping = getValueMapping(getPartialMappingIdx(Ty, false), 3); in getInstrMapping() local 192 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getInstrMapping() [all …]
|
/external/llvm-project/clang/lib/Tooling/Syntax/ |
D | Tokens.cpp | 196 std::pair<const syntax::Token *, const TokenBuffer::Mapping *> 210 auto It = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in spelledForExpandedToken() 232 const TokenBuffer::Mapping * 239 auto It = llvm::partition_point(F.Mappings, [SpelledI](const Mapping &M) { in mappingStartingBeforeSpelled() 322 std::string TokenBuffer::Mapping::str() const { in str() 336 const Mapping *BeginMapping; in spelledForExpanded() 341 const Mapping *LastMapping; in spelledForExpanded() 384 const Mapping &M) const { in makeExpansion() 418 auto M = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in expansionStartingAt() 435 auto M = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in expansionsOverlapping() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | PathMappingTests.cpp | 18 MATCHER_P2(Mapping, ClientPath, ServerPath, "") { 41 EXPECT_THAT(*ParsedMappings, ElementsAre(Mapping("/C:/a", "/root"))); in TEST() 45 EXPECT_THAT(*ParsedMappings, ElementsAre(Mapping("//Server/C$", "/root"))); in TEST() 54 EXPECT_THAT(*ParsedMappings, ElementsAre(Mapping("/A/b", "/root"))); in TEST() 58 EXPECT_THAT(*ParsedMappings, ElementsAre(Mapping(R"(/a/b\\ar)", "/root"))); in TEST() 80 ElementsAre(Mapping("/home/project", "/workarea/project"), in TEST() 81 Mapping("/home/project/.includes", "/opt/include"))); in TEST()
|
/external/perfetto/src/profiling/common/ |
D | callstack_trie.h | 33 struct Mapping { struct 34 explicit Mapping(Interned<std::string> b) : build_id(std::move(b)) {} in Mapping() argument 44 bool operator<(const Mapping& other) const { argument 51 bool operator==(const Mapping& other) const { 61 Frame(Interned<Mapping> m, Interned<std::string> fn_name, uint64_t pc) in Frame() 63 Interned<Mapping> mapping; 182 Interner<Mapping> mapping_interner_; 194 struct std::hash<::perfetto::profiling::Mapping> { 195 using argument_type = ::perfetto::profiling::Mapping;
|
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | CloningTest.cpp | 231 ValueToValueMapTy Mapping; in TEST_F() local 234 DuplicateInstructionsInSplitBetween(BB2, BB1, SubInst, Mapping, DTU); in TEST_F() 237 EXPECT_EQ(Mapping.size(), 2u); in TEST_F() 238 EXPECT_TRUE(Mapping.find(AddInst) != Mapping.end()); in TEST_F() 239 EXPECT_TRUE(Mapping.find(MulInst) != Mapping.end()); in TEST_F() 241 auto AddSplit = dyn_cast<Instruction>(Mapping[AddInst]); in TEST_F() 247 auto MulSplit = dyn_cast<Instruction>(Mapping[MulInst]); in TEST_F() 281 ValueToValueMapTy Mapping; in TEST_F() local 283 BB2, BB2, BB2->getTerminator(), Mapping, DTU); in TEST_F() 286 EXPECT_EQ(Mapping.size(), 3u); in TEST_F() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | CFLAndersAliasAnalysis.cpp | 372 for (const auto &Mapping : AMap.mappings()) { in populateAttrMap() local 373 auto IVal = Mapping.first; in populateAttrMap() 379 Attr |= Mapping.second; in populateAttrMap() 458 for (const auto &Mapping : ValueMap) { in populateExternalRelations() local 459 for (const auto &FromRecord : Mapping.second.FromRecords) { in populateExternalRelations() 460 for (const auto &ToRecord : Mapping.second.ToRecords) { in populateExternalRelations() 492 for (const auto &Mapping : AMap.mappings()) { in populateExternalAttributes() local 493 if (auto IVal = getInterfaceValue(Mapping.first, RetVals)) { in populateExternalAttributes() 494 auto Attr = getExternallyVisibleAttrs(Mapping.second); in populateExternalAttributes() 608 for (const auto &Mapping : Graph.value_mappings()) { in initializeWorkList() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CFLAndersAliasAnalysis.cpp | 372 for (const auto &Mapping : AMap.mappings()) { in populateAttrMap() local 373 auto IVal = Mapping.first; in populateAttrMap() 379 Attr |= Mapping.second; in populateAttrMap() 458 for (const auto &Mapping : ValueMap) { in populateExternalRelations() local 459 for (const auto &FromRecord : Mapping.second.FromRecords) { in populateExternalRelations() 460 for (const auto &ToRecord : Mapping.second.ToRecords) { in populateExternalRelations() 492 for (const auto &Mapping : AMap.mappings()) { in populateExternalAttributes() local 493 if (auto IVal = getInterfaceValue(Mapping.first, RetVals)) { in populateExternalAttributes() 494 auto Attr = getExternallyVisibleAttrs(Mapping.second); in populateExternalAttributes() 609 for (const auto &Mapping : Graph.value_mappings()) { in initializeWorkList() local [all …]
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
D | BodyDeclarationLocatorStore.java | 75 public static class Mapping<T> { class in BodyDeclarationLocatorStore 79 private Mapping(BodyDeclarationLocator locator, T value) { in Mapping() method in BodyDeclarationLocatorStore.Mapping 105 public Mapping<T> findMapping(BodyDeclaration declaration) { in findMapping() 108 return new Mapping<>(entry.getKey(), entry.getValue()); in findMapping()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTimerTree.cpp | 70 TranslationType Mapping(Size); in translateIDsFrom() local 72 Mapping[i] = getTimerID(Src.IDs[i]); in translateIDsFrom() 74 return Mapping; in translateIDsFrom() 82 TranslationType Mapping = translateIDsFrom(Src); in mergeFrom() local 89 PathType MyPath = Src.getPath(SrcIndex, Mapping); in mergeFrom() 99 LeafTimes[Mapping[i]] += Src.LeafTimes[i]; in mergeFrom() 100 LeafCounts[Mapping[i]] += Src.LeafCounts[i]; in mergeFrom() 109 const TranslationType &Mapping) const { in getPath() 112 Path.push_back(Mapping[Nodes[Index].Interior]); in getPath()
|