Home
last modified time | relevance | path

Searched refs:visited (Results 1 – 25 of 29) sorted by relevance

12

/system/tools/hidl/
DType.cpp158 std::unordered_set<const Type*>* visited) { in recursivePass() argument
162 if (visited->find(this) != visited->end()) return OK; in recursivePass()
163 visited->insert(this); in recursivePass()
169 err = nextType->recursivePass(stage, func, visited); in recursivePass()
174 err = nextRef->shallowGet()->recursivePass(stage, func, visited); in recursivePass()
182 std::unordered_set<const Type*>* visited) const { in recursivePass()
186 if (visited->find(this) != visited->end()) return OK; in recursivePass()
187 visited->insert(this); in recursivePass()
193 err = nextType->recursivePass(stage, func, visited); in recursivePass()
198 err = nextRef->shallowGet()->recursivePass(stage, func, visited); in recursivePass()
[all …]
DgenerateDependencies.cpp30 std::unordered_set<const Type*> visited; in generateDependencies() local
39 &visited); in generateDependencies()
DType.h97 std::unordered_set<const Type*>* visited);
99 std::unordered_set<const Type*>* visited) const;
140 bool canCheckEquality(std::unordered_set<const Type*>* visited) const;
141 virtual bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const;
315 bool needsResolveReferences(std::unordered_set<const Type*>* visited) const;
316 virtual bool deepNeedsResolveReferences(std::unordered_set<const Type*>* visited) const;
327 bool isJavaCompatible(std::unordered_set<const Type*>* visited) const;
328 virtual bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const;
332 bool containsPointer(std::unordered_set<const Type*>* visited) const;
333 virtual bool deepContainsPointer(std::unordered_set<const Type*>* visited) const;
DRefType.h74 bool deepNeedsResolveReferences(std::unordered_set<const Type*>* visited) const override;
77 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
78 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
DConstantExpression.cpp551 std::unordered_set<const ConstantExpression*>* visited, in recursivePass() argument
555 if (visited->find(this) != visited->end()) return OK; in recursivePass()
556 visited->insert(this); in recursivePass()
564 status_t err = nextCE->recursivePass(func, visited, processBeforeDependencies); in recursivePass()
571 status_t err = nextCE->recursivePass(func, visited, processBeforeDependencies); in recursivePass()
585 std::unordered_set<const ConstantExpression*>* visited, bool processBeforeDependencies) const { in recursivePass() argument
588 if (visited->find(this) != visited->end()) return OK; in recursivePass()
589 visited->insert(this); in recursivePass()
597 status_t err = nextCE->recursivePass(func, visited, processBeforeDependencies); in recursivePass()
604 status_t err = nextCE->recursivePass(func, visited, processBeforeDependencies); in recursivePass()
[all …]
DArrayType.cpp44 bool ArrayType::deepCanCheckEquality(std::unordered_set<const Type*>* visited) const { in deepCanCheckEquality()
45 return mElementType->canCheckEquality(visited); in deepCanCheckEquality()
363 bool ArrayType::deepNeedsResolveReferences(std::unordered_set<const Type*>* visited) const { in deepNeedsResolveReferences()
364 if (mElementType->needsResolveReferences(visited)) { in deepNeedsResolveReferences()
367 return Type::deepNeedsResolveReferences(visited); in deepNeedsResolveReferences()
595 bool ArrayType::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
596 if (!mElementType->isJavaCompatible(visited)) { in deepIsJavaCompatible()
599 return Type::deepIsJavaCompatible(visited); in deepIsJavaCompatible()
602 bool ArrayType::deepContainsPointer(std::unordered_set<const Type*>* visited) const { in deepContainsPointer()
603 if (mElementType->containsPointer(visited)) { in deepContainsPointer()
[all …]
DVectorType.cpp81 bool VectorType::deepCanCheckEquality(std::unordered_set<const Type*>* visited) const { in deepCanCheckEquality()
82 return mElementType->canCheckEquality(visited); in deepCanCheckEquality()
725 bool VectorType::deepNeedsResolveReferences(std::unordered_set<const Type*>* visited) const { in deepNeedsResolveReferences()
726 if (mElementType->needsResolveReferences(visited)) { in deepNeedsResolveReferences()
729 return TemplatedType::deepNeedsResolveReferences(visited); in deepNeedsResolveReferences()
736 bool VectorType::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
737 if (!mElementType->isJavaCompatible(visited)) { in deepIsJavaCompatible()
753 return TemplatedType::deepIsJavaCompatible(visited); in deepIsJavaCompatible()
756 bool VectorType::deepContainsPointer(std::unordered_set<const Type*>* visited) const { in deepContainsPointer()
757 if (mElementType->containsPointer(visited)) { in deepContainsPointer()
[all …]
DAST.cpp178 std::unordered_set<const Type*> visited; in setParseStage() local
185 &visited); in setParseStage()
189 std::unordered_set<const Type*> visited; in lookupTypes() local
212 &visited); in lookupTypes()
216 std::unordered_set<const Type*> visited; in gatherReferencedTypes() local
230 &visited); in gatherReferencedTypes()
276 std::unordered_set<const Type*> visited; in validateDefinedTypesUniqueNames() local
286 &visited); in validateDefinedTypesUniqueNames()
290 std::unordered_set<const Type*> visited; in resolveInheritance() local
292 &visited); in resolveInheritance()
[all …]
DArrayType.h34 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
110 bool deepNeedsResolveReferences(std::unordered_set<const Type*>* visited) const override;
136 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
137 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
DVectorType.h39 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
128 bool deepNeedsResolveReferences(std::unordered_set<const Type*>* visited) const override;
131 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
132 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
DPointerType.h64 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
65 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
DCompoundType.h44 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
136 bool deepNeedsResolveReferences(std::unordered_set<const Type*>* visited) const override;
142 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
143 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
DConstantExpression.h57 std::unordered_set<const ConstantExpression*>* visited,
60 std::unordered_set<const ConstantExpression*>* visited,
97 CheckAcyclicStatus checkAcyclic(std::unordered_set<const ConstantExpression*>* visited,
DScope.cpp219 bool Scope::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
221 if (!type->isJavaCompatible(visited)) { in deepIsJavaCompatible()
225 return Type::deepIsJavaCompatible(visited); in deepIsJavaCompatible()
DMemoryType.h62 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
DFmqType.h57 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
DMethod.cpp257 bool Method::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
259 [&](const auto* arg) { return (*arg)->isJavaCompatible(visited); })) { in deepIsJavaCompatible()
264 [&](const auto* arg) { return (*arg)->isJavaCompatible(visited); })) { in deepIsJavaCompatible()
DHandleType.h80 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
DStringType.h30 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
DCompoundType.cpp130 bool CompoundType::deepCanCheckEquality(std::unordered_set<const Type*>* visited) const { in deepCanCheckEquality()
135 if (!field->get()->canCheckEquality(visited)) { in deepCanCheckEquality()
2076 bool CompoundType::deepNeedsResolveReferences(std::unordered_set<const Type*>* visited) const { in deepNeedsResolveReferences()
2082 if (field->type().needsResolveReferences(visited)) { in deepNeedsResolveReferences()
2087 return Scope::deepNeedsResolveReferences(visited); in deepNeedsResolveReferences()
2163 bool CompoundType::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
2169 if (!field->get()->isJavaCompatible(visited)) { in deepIsJavaCompatible()
2174 return Scope::deepIsJavaCompatible(visited); in deepIsJavaCompatible()
2177 bool CompoundType::deepContainsPointer(std::unordered_set<const Type*>* visited) const { in deepContainsPointer()
2179 if (field->get()->containsPointer(visited)) { in deepContainsPointer()
[all …]
DScalarType.h47 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
DEnumType.h52 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
180 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
DScope.h80 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
DMethod.h109 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const;
DInterface.cpp978 bool Interface::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
979 if (superType() != nullptr && !superType()->isJavaCompatible(visited)) { in deepIsJavaCompatible()
984 if (!method->deepIsJavaCompatible(visited)) { in deepIsJavaCompatible()
989 return Scope::deepIsJavaCompatible(visited); in deepIsJavaCompatible()

12