/frameworks/native/vulkan/vkjson/ |
D | vkjson.cc | 406 inline bool Iterate(Visitor* visitor, VkExtent3D* extents) { in Iterate() argument 408 visitor->Visit("width", &extents->width) && in Iterate() 409 visitor->Visit("height", &extents->height) && in Iterate() 410 visitor->Visit("depth", &extents->depth); in Iterate() 414 inline bool Iterate(Visitor* visitor, VkImageFormatProperties* properties) { in Iterate() argument 416 visitor->Visit("maxExtent", &properties->maxExtent) && in Iterate() 417 visitor->Visit("maxMipLevels", &properties->maxMipLevels) && in Iterate() 418 visitor->Visit("maxArrayLayers", &properties->maxArrayLayers) && in Iterate() 419 visitor->Visit("sampleCounts", &properties->sampleCounts) && in Iterate() 420 visitor->Visit("maxResourceSize", &properties->maxResourceSize); in Iterate() [all …]
|
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/ |
D | ProtoLogCallProcessorImplTest.kt | 35 private val visitor = ProtoLogCallProcessorImpl( constant 73 visitor.process(StaticJavaParser.parse(code), processor, "") in process_samePackage() 100 visitor.process(StaticJavaParser.parse(code), processor, "") in process_imported() 119 visitor.process(StaticJavaParser.parse(code), processor, "") in process_importedStatic() 137 visitor.process(StaticJavaParser.parse(code), processor, "") in process_groupNotImported() 154 visitor.process(StaticJavaParser.parse(code), processor, "") in process_protoLogNotImported() 169 visitor.process(StaticJavaParser.parse(code), processor, "") in process_unknownGroup() 183 visitor.process(StaticJavaParser.parse(code), processor, "") in process_staticGroup() 197 visitor.process(StaticJavaParser.parse(code), processor, "") in process_badGroup() 211 visitor.process(StaticJavaParser.parse(code), processor, "") in process_invalidSignature() [all …]
|
D | SourceTransformerTest.kt | 158 val visitor = invocation.arguments[1] as ProtoLogCallVisitor in <lambda>() constant 160 visitor.processCall(code.findAll(MethodCallExpr::class.java)[0], "test %d %f", in <lambda>() 195 val visitor = invocation.arguments[1] as ProtoLogCallVisitor in <lambda>() constant 198 visitor.processCall(calls[0], "test %d %f", in <lambda>() 200 visitor.processCall(calls[1], "test %d %f", in <lambda>() 202 visitor.processCall(calls[2], "test %d %f", in <lambda>() 237 val visitor = invocation.arguments[1] as ProtoLogCallVisitor in <lambda>() constant 239 visitor.processCall(code.findAll(MethodCallExpr::class.java)[0], in <lambda>() 275 val visitor = invocation.arguments[1] as ProtoLogCallVisitor in <lambda>() constant 277 visitor.processCall(code.findAll(MethodCallExpr::class.java)[0], "test", in <lambda>() [all …]
|
/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 | 187 DynCastVisitor<T> visitor; 188 value->Accept(&visitor); 189 return visitor.value; 198 inline void VisitAllValuesInPackage(ResourceTablePackage* pkg, ValueVisitor* visitor) { 202 config_value->value->Accept(visitor); 208 inline void VisitAllValuesInTable(ResourceTable* table, ValueVisitor* visitor) { 210 VisitAllValuesInPackage(pkg.get(), visitor);
|
D | DominatorTree.cpp | 36 void DominatorTree::Accept(Visitor* visitor) { in Accept() argument 38 visitor->VisitTree(entry.first, &entry.second); in Accept()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerVector.cpp | 64 void LayerVector::traverseInZOrder(StateSet stateSet, const Visitor& visitor) const { in traverseInZOrder() 71 layer->traverseInZOrder(stateSet, visitor); in traverseInZOrder() 75 void LayerVector::traverseInReverseZOrder(StateSet stateSet, const Visitor& visitor) const { in traverseInReverseZOrder() 82 layer->traverseInReverseZOrder(stateSet, visitor); in traverseInReverseZOrder() 86 void LayerVector::traverse(const Visitor& visitor) const { in traverse() 89 layer->traverse(mStateSet, visitor); in traverse()
|
D | LayerVector.h | 51 void traverseInReverseZOrder(StateSet stateSet, const Visitor& visitor) const; 52 void traverseInZOrder(StateSet stateSet, const Visitor& visitor) const; 53 void traverse(const Visitor& visitor) const;
|
D | TransactionState.h | 81 void traverseStatesWithBuffers(Visitor&& visitor) const { in traverseStatesWithBuffers() 84 visitor(state.state); in traverseStatesWithBuffers() 90 void traverseStatesWithBuffersWhileTrue(Visitor&& visitor) NO_THREAD_SAFETY_ANALYSIS { in traverseStatesWithBuffersWhileTrue() 93 int result = visitor(*state); in traverseStatesWithBuffersWhileTrue()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | RemoteViewsTest.java | 718 Consumer<Uri> visitor = (Consumer<Uri>) spy(Consumer.class); in visitUris() local 719 views.visitUris(visitor); in visitUris() 720 verify(visitor, times(1)).accept(eq(imageUri)); in visitUris() 721 verify(visitor, times(1)).accept(eq(icon1.getUri())); in visitUris() 722 verify(visitor, times(1)).accept(eq(icon2.getUri())); in visitUris() 723 verify(visitor, times(1)).accept(eq(icon3.getUri())); in visitUris() 724 verify(visitor, times(1)).accept(eq(icon4.getUri())); in visitUris() 734 Consumer<Uri> visitor = (Consumer<Uri>) spy(Consumer.class); in visitUris_themedIcons() local 735 views.visitUris(visitor); in visitUris_themedIcons() 736 verify(visitor, times(1)).accept(eq(iconLight.getUri())); in visitUris_themedIcons() [all …]
|
/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()
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.cpp | 348 ManifestVisitor visitor(res->file, keep_set, main_dex_only); in CollectProguardRulesForManifest() local 350 res->root->Accept(&visitor); in CollectProguardRulesForManifest() 363 LayoutVisitor visitor(res->file, keep_set); in CollectProguardRules() local 364 res->root->Accept(&visitor); in CollectProguardRules() 369 XmlResourceVisitor visitor(res->file, keep_set); in CollectProguardRules() local 370 res->root->Accept(&visitor); in CollectProguardRules() 375 NavigationVisitor visitor(res->file, keep_set, context_->GetCompilationPackage()); in CollectProguardRules() local 376 res->root->Accept(&visitor); in CollectProguardRules() 381 TransitionVisitor visitor(res->file, keep_set); in CollectProguardRules() local 382 res->root->Accept(&visitor); in CollectProguardRules() [all …]
|
/frameworks/base/cmds/idmap2/tests/ |
D | PrettyPrintVisitorTests.cpp | 50 PrettyPrintVisitor visitor(stream); in TEST() local 51 (*idmap)->accept(&visitor); in TEST() 70 PrettyPrintVisitor visitor(stream); in TEST() local 71 (*idmap)->accept(&visitor); in TEST()
|
D | RawPrintVisitorTests.cpp | 63 RawPrintVisitor visitor(stream); in TEST() local 64 (*idmap)->accept(&visitor); in TEST() 112 RawPrintVisitor visitor(stream); in TEST() local 113 (*idmap)->accept(&visitor); in TEST()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.h | 49 virtual void Accept(Visitor* visitor) = 0; 50 virtual void Accept(ConstVisitor* visitor) const = 0; 124 void Accept(Visitor* visitor) override; 125 void Accept(ConstVisitor* visitor) const override; 135 void Accept(Visitor* visitor) override; 136 void Accept(ConstVisitor* visitor) const override; 295 internal::NodeCastImpl<T> visitor; in NodeCast() local 296 node->Accept(&visitor); in NodeCast() 297 return visitor.value; in NodeCast()
|
D | XmlDom.cpp | 516 void Element::Accept(Visitor* visitor) { in Accept() argument 517 visitor->BeforeVisitElement(this); in Accept() 518 visitor->Visit(this); in Accept() 519 visitor->AfterVisitElement(this); in Accept() 522 void Element::Accept(ConstVisitor* visitor) const { in Accept() 523 visitor->BeforeVisitElement(this); in Accept() 524 visitor->Visit(this); in Accept() 525 visitor->AfterVisitElement(this); in Accept() 537 void Text::Accept(Visitor* visitor) { in Accept() argument 538 visitor->Visit(this); in Accept() [all …]
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerHierarchy.h | 145 void traverse(const Visitor& visitor) const { in traverse() argument 150 traverse(visitor, root, /*depth=*/0); in traverse() 154 void traverseInZOrder(const Visitor& visitor) const { in traverseInZOrder() argument 159 traverseInZOrder(visitor, root); in traverseInZOrder() 192 void traverseInZOrder(const Visitor& visitor, LayerHierarchy::TraversalPath& parent) const; 193 void traverse(const Visitor& visitor, LayerHierarchy::TraversalPath& parent,
|
D | LayerSnapshotBuilder.h | 80 void forEachVisibleSnapshot(const ConstVisitor& visitor) const; 83 void forEachVisibleSnapshot(const ConstVisitor& visitor, const LayerHierarchy& root) const; 87 void forEachVisibleSnapshot(const Visitor& visitor); 90 void forEachInputSnapshot(const ConstVisitor& visitor) const;
|
/frameworks/base/tools/aapt2/format/binary/ |
D | XmlFlattener.cpp | 318 XmlFlattenerVisitor visitor(&node_buffer, options_); in Flatten() local 319 node->Accept(&visitor); in Flatten() 322 for (auto& package_pool_entry : visitor.package_pools) { in Flatten() 323 visitor.pool.Merge(std::move(package_pool_entry.second)); in Flatten() 327 visitor.pool.Sort( in Flatten() 333 for (const auto& ref_entry : visitor.string_refs) { in Flatten() 343 android::StringPool::FlattenUtf16(buffer_, visitor.pool, context->GetDiagnostics()); in Flatten() 345 android::StringPool::FlattenUtf8(buffer_, visitor.pool, context->GetDiagnostics()); in Flatten() 352 for (const auto& str : visitor.pool.strings()) { in Flatten()
|
/frameworks/base/tools/aapt2/link/ |
D | FeatureFlagsFilter.cpp | 99 FlagsVisitor visitor(context->GetDiagnostics(), feature_flag_values_, options_); in Consume() local 100 doc->root->Accept(&visitor); in Consume() 101 return !visitor.HasError(); in Consume()
|
D | XmlNamespaceRemover.cpp | 57 XmlVisitor visitor(keep_uris_); in Consume() local 58 resource->root->Accept(&visitor); in Consume()
|
D | XmlReferenceLinker.cpp | 144 XmlVisitor visitor(resource->file.source, &resource->string_pool, callsite, context, table_, in Consume() local 147 resource->root->Accept(&visitor); in Consume() 148 return !visitor.HasError(); in Consume()
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator.cpp | 405 GrammaticalGenderVisitor visitor(pool, grammaticalInflection); in GrammaticalGender() local 406 localized_config_value->value->Accept(&visitor); in GrammaticalGender() 409 if (visitor.value) { in GrammaticalGender() 410 grammatical_gendered_value = std::move(visitor.value); in GrammaticalGender() 411 } else if (visitor.item) { in GrammaticalGender() 412 grammatical_gendered_value = std::move(visitor.item); in GrammaticalGender() 455 Visitor visitor(pool, method); in PseudolocalizeIfNeeded() local 456 original_value->value->Accept(&visitor); in PseudolocalizeIfNeeded() 459 if (visitor.value) { in PseudolocalizeIfNeeded() 460 localized_value = std::move(visitor.value); in PseudolocalizeIfNeeded() [all …]
|
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()
|
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
D | AsmAnalyzerTest.java | 193 …DependencyVisitor visitor = getDefaultAnalyzer().getVisitor(zipClasses, keep, new_keep, in_deps, o… in testDependencyVisitor() local 196 cr.accept(visitor, 0 /* flags */); in testDependencyVisitor() 210 cr2.accept(visitor, 0 /* flags */); in testDependencyVisitor() 225 cr2.accept(visitor, 0 /* flags */); in testDependencyVisitor()
|