/frameworks/native/vulkan/vkjson/ |
D | vkjson.cc | 338 inline bool Iterate(Visitor* visitor, VkExtent3D* extents) { in Iterate() argument 340 visitor->Visit("width", &extents->width) && in Iterate() 341 visitor->Visit("height", &extents->height) && in Iterate() 342 visitor->Visit("depth", &extents->depth); in Iterate() 346 inline bool Iterate(Visitor* visitor, VkImageFormatProperties* properties) { in Iterate() argument 348 visitor->Visit("maxExtent", &properties->maxExtent) && in Iterate() 349 visitor->Visit("maxMipLevels", &properties->maxMipLevels) && in Iterate() 350 visitor->Visit("maxArrayLayers", &properties->maxArrayLayers) && in Iterate() 351 visitor->Visit("sampleCounts", &properties->sampleCounts) && in Iterate() 352 visitor->Visit("maxResourceSize", &properties->maxResourceSize); in Iterate() [all …]
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 42 void Accept(Visitor* visitor) { in Accept() argument 48 visitor->VisitStartDocument(); in Accept() 52 visitor->VisitEndDocument(); in Accept() 58 visitor->VisitStartTag(std::u16string{name, name_length}); in Accept() 63 visitor->VisitEndTag(); in Accept() 76 LayoutValidationVisitor visitor; in CanCompileLayout() local 77 adapter.Accept(&visitor); in CanCompileLayout() 79 return visitor.can_compile(); in CanCompileLayout() 133 LayoutCompilerVisitor visitor{&builder}; in CompileApkAssetsLayouts() local 134 adapter.Accept(&visitor); in CompileApkAssetsLayouts() [all …]
|
D | main.cc | 59 explicit XmlVisitorAdapter(Visitor* visitor) : visitor_{visitor} {} in XmlVisitorAdapter() argument 89 startop::LayoutCompilerVisitor visitor{builder}; in CompileLayout() local 90 XmlVisitorAdapter<decltype(visitor)> adapter{&visitor}; in CompileLayout()
|
D | tinyxml_layout_parser.h | 30 explicit TinyXmlVisitorAdapter(Visitor* visitor) : visitor_{visitor} {} in TinyXmlVisitorAdapter() argument
|
/frameworks/base/tools/aapt2/ |
D | ValueVisitor_test.cpp | 51 SingleReferenceVisitor visitor; in TEST() local 52 ref.Accept(&visitor); in TEST() 54 EXPECT_EQ(visitor.visited, &ref); in TEST() 64 StyleVisitor visitor; in TEST() local 65 style->Accept(&visitor); in TEST() 67 ASSERT_EQ(style.get(), visitor.visited_style); in TEST() 71 ASSERT_EQ(style->entries.size() + 2, visitor.visited_refs.size()); in TEST()
|
D | ValueVisitor.h | 181 DynCastVisitor<T> visitor; 182 value->Accept(&visitor); 183 return visitor.value; 192 inline void VisitAllValuesInPackage(ResourceTablePackage* pkg, ValueVisitor* visitor) { 196 config_value->value->Accept(visitor); 202 inline void VisitAllValuesInTable(ResourceTable* table, ValueVisitor* visitor) { 204 VisitAllValuesInPackage(pkg.get(), visitor);
|
D | ResourceValues.h | 98 virtual void Accept(ValueVisitor* visitor) = 0; 101 virtual void Accept(ConstValueVisitor* visitor) const = 0; 126 void Accept(ValueVisitor* visitor) override; 127 void Accept(ConstValueVisitor* visitor) const override; 143 void Accept(ValueVisitor* visitor) override; 144 void Accept(ConstValueVisitor* visitor) const override;
|
D | DominatorTree.cpp | 36 void DominatorTree::Accept(Visitor* visitor) { in Accept() argument 38 visitor->VisitTree(entry.first, &entry.second); in Accept()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Dump.cpp | 60 RawPrintVisitor visitor(std::cout); in Dump() local 61 (*idmap)->accept(&visitor); in Dump() 63 PrettyPrintVisitor visitor(std::cout); in Dump() local 64 (*idmap)->accept(&visitor); in Dump()
|
D | Create.cpp | 113 BinaryStreamVisitor visitor(fout); in Create() local 114 (*idmap)->accept(&visitor); in Create()
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.cpp | 338 ManifestVisitor visitor(res->file, keep_set, main_dex_only); in CollectProguardRulesForManifest() local 340 res->root->Accept(&visitor); in CollectProguardRulesForManifest() 353 LayoutVisitor visitor(res->file, keep_set); in CollectProguardRules() local 354 res->root->Accept(&visitor); in CollectProguardRules() 359 XmlResourceVisitor visitor(res->file, keep_set); in CollectProguardRules() local 360 res->root->Accept(&visitor); in CollectProguardRules() 365 NavigationVisitor visitor(res->file, keep_set, context_->GetCompilationPackage()); in CollectProguardRules() local 366 res->root->Accept(&visitor); in CollectProguardRules() 371 TransitionVisitor visitor(res->file, keep_set); in CollectProguardRules() local 372 res->root->Accept(&visitor); in CollectProguardRules() [all …]
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.h | 50 virtual void Accept(Visitor* visitor) = 0; 51 virtual void Accept(ConstVisitor* visitor) const = 0; 130 void Accept(Visitor* visitor) override; 131 void Accept(ConstVisitor* visitor) const override; 141 void Accept(Visitor* visitor) override; 142 void Accept(ConstVisitor* visitor) const override; 300 internal::NodeCastImpl<T> visitor; in NodeCast() local 301 node->Accept(&visitor); in NodeCast() 302 return visitor.value; in NodeCast()
|
D | XmlDom.cpp | 515 void Element::Accept(Visitor* visitor) { in Accept() argument 516 visitor->BeforeVisitElement(this); in Accept() 517 visitor->Visit(this); in Accept() 518 visitor->AfterVisitElement(this); in Accept() 521 void Element::Accept(ConstVisitor* visitor) const { in Accept() 522 visitor->BeforeVisitElement(this); in Accept() 523 visitor->Visit(this); in Accept() 524 visitor->AfterVisitElement(this); in Accept() 536 void Text::Accept(Visitor* visitor) { in Accept() argument 537 visitor->Visit(this); in Accept() [all …]
|
/frameworks/base/cmds/idmap2/tests/ |
D | PrettyPrintVisitorTests.cpp | 52 PrettyPrintVisitor visitor(stream); in TEST() local 53 (*idmap)->accept(&visitor); in TEST() 70 PrettyPrintVisitor visitor(stream); in TEST() local 71 (*idmap)->accept(&visitor); in TEST()
|
D | RawPrintVisitorTests.cpp | 47 RawPrintVisitor visitor(stream); in TEST() local 48 (*idmap)->accept(&visitor); in TEST() 68 RawPrintVisitor visitor(stream); in TEST() local 69 (*idmap)->accept(&visitor); in TEST()
|
D | BinaryStreamVisitorTests.cpp | 43 BinaryStreamVisitor visitor(stream); in TEST() local 44 idmap1->accept(&visitor); in TEST() 84 BinaryStreamVisitor visitor(stream); in TEST() local 85 (*idmap)->accept(&visitor); in TEST()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerVector.cpp | 62 void LayerVector::traverseInZOrder(StateSet stateSet, const Visitor& visitor) const { in traverseInZOrder() 70 layer->traverseInZOrder(stateSet, visitor); in traverseInZOrder() 74 void LayerVector::traverseInReverseZOrder(StateSet stateSet, const Visitor& visitor) const { in traverseInReverseZOrder() 82 layer->traverseInReverseZOrder(stateSet, visitor); in traverseInReverseZOrder()
|
D | LayerVector.h | 51 void traverseInReverseZOrder(StateSet stateSet, const Visitor& visitor) const; 52 void traverseInZOrder(StateSet stateSet, const Visitor& visitor) const;
|
/frameworks/base/tools/aapt2/format/binary/ |
D | XmlFlattener.cpp | 317 XmlFlattenerVisitor visitor(&node_buffer, options_); in Flatten() local 318 node->Accept(&visitor); in Flatten() 321 for (auto& package_pool_entry : visitor.package_pools) { in Flatten() 322 visitor.pool.Merge(std::move(package_pool_entry.second)); in Flatten() 326 visitor.pool.Sort([](const StringPool::Context& a, const StringPool::Context& b) -> int { in Flatten() 331 for (const auto& ref_entry : visitor.string_refs) { in Flatten() 341 StringPool::FlattenUtf16(buffer_, visitor.pool, context->GetDiagnostics()); in Flatten() 343 StringPool::FlattenUtf8(buffer_, visitor.pool, context->GetDiagnostics()); in Flatten() 350 for (const auto& str : visitor.pool.strings()) { in Flatten()
|
/frameworks/base/tools/aapt2/link/ |
D | XmlNamespaceRemover.cpp | 57 XmlVisitor visitor(keep_uris_); in Consume() local 58 resource->root->Accept(&visitor); in Consume()
|
D | XmlReferenceLinker.cpp | 167 XmlVisitor visitor(resource->file.source, callsite, context, context->GetExternalSymbols()); in Consume() local 169 resource->root->Accept(&visitor); in Consume() 170 return !visitor.HasError(); in Consume()
|
/frameworks/base/tools/aapt2/compile/ |
D | InlineXmlFormatParser.cpp | 116 Visitor visitor(context, doc); in Consume() local 117 doc->root->Accept(&visitor); in Consume() 118 if (visitor.HasError()) { in Consume() 123 for (const InlineDeclaration& decl : visitor.GetInlineDeclarations()) { in Consume()
|
D | PseudolocaleGenerator.cpp | 317 Visitor visitor(pool, method); in PseudolocalizeIfNeeded() local 318 original_value->value->Accept(&visitor); in PseudolocalizeIfNeeded() 321 if (visitor.value) { in PseudolocalizeIfNeeded() 322 localized_value = std::move(visitor.value); in PseudolocalizeIfNeeded() 323 } else if (visitor.item) { in PseudolocalizeIfNeeded() 324 localized_value = std::move(visitor.item); in PseudolocalizeIfNeeded()
|
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | AsmAnalyzerTest.java | 189 …DependencyVisitor visitor = getDefaultAnalyzer().getVisitor(zipClasses, keep, new_keep, in_deps, o… in testDependencyVisitor() local 192 cr.accept(visitor, 0 /* flags */); in testDependencyVisitor() 206 cr2.accept(visitor, 0 /* flags */); in testDependencyVisitor() 221 cr2.accept(visitor, 0 /* flags */); in testDependencyVisitor()
|
/frameworks/native/libs/vr/libpdx/ |
D | variant_tests.cpp | 668 Visitor visitor; in TEST() local 669 v.Visit([&visitor](const auto& value) { visitor.Visit(value); }); in TEST() 670 EXPECT_EQ(10, visitor.int_value); in TEST() 672 visitor = {}; in TEST() 674 v.Visit([&visitor](const auto& value) { visitor.Visit(value); }); in TEST() 675 EXPECT_EQ(true, visitor.bool_value); in TEST() 682 Visitor visitor; in TEST() local 683 v.Visit([&visitor](const auto& value) { visitor.Visit(value); }); in TEST() 684 EXPECT_TRUE(visitor.empty_value); in TEST()
|