Home
last modified time | relevance | path

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

12

/system/tools/hidl/lint/lints/
Dsafeunion.cpp34 static void lintUnionRecursively(const Scope* scope, std::unordered_set<const Type*>* visited, in lintUnionRecursively() argument
39 if (visited->find(scope) != visited->end()) return; in lintUnionRecursively()
40 visited->insert(scope); in lintUnionRecursively()
48 lintUnionRecursively(static_cast<const Scope*>(nextType), visited, errors); in lintUnionRecursively()
62 lintUnionRecursively(compoundType, visited, errors); in lintUnionRecursively()
98 visited); in lintUnionRecursively()
113 std::unordered_set<const Type*> visited; in safeunionLint() local
115 lintUnionRecursively(&ast.getRootScope(), &visited, errors); in safeunionLint()
DemptyStructs.cpp30 std::unordered_set<const Type*> visited; in checkSmallStructs() local
58 &visited); in checkSmallStructs()
DenumMaxAndAll.cpp34 std::unordered_set<const Type*> visited; in enumValueNames() local
68 &visited); in enumValueNames()
DnamingConventions.cpp34 std::unordered_set<const Type*> visited; in namingConventions() local
92 &visited); in namingConventions()
/system/tools/hidl/
DType.cpp164 std::unordered_set<const Type*>* visited) { in recursivePass() argument
168 if (visited->find(this) != visited->end()) return OK; in recursivePass()
169 visited->insert(this); in recursivePass()
175 err = nextType->recursivePass(stage, func, visited); in recursivePass()
180 err = nextRef->shallowGet()->recursivePass(stage, func, visited); in recursivePass()
188 std::unordered_set<const Type*>* visited) const { in recursivePass()
192 if (visited->find(this) != visited->end()) return OK; in recursivePass()
193 visited->insert(this); in recursivePass()
199 err = nextType->recursivePass(stage, func, visited); in recursivePass()
204 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.h98 std::unordered_set<const Type*>* visited);
100 std::unordered_set<const Type*>* visited) const;
141 bool canCheckEquality(std::unordered_set<const Type*>* visited) const;
142 virtual bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const;
304 bool isJavaCompatible(std::unordered_set<const Type*>* visited) const;
305 virtual bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const;
309 bool containsPointer(std::unordered_set<const Type*>* visited) const;
310 virtual bool deepContainsPointer(std::unordered_set<const Type*>* visited) const;
DConstantExpression.cpp553 std::unordered_set<const ConstantExpression*>* visited, in recursivePass() argument
557 if (visited->find(this) != visited->end()) return OK; in recursivePass()
558 visited->insert(this); in recursivePass()
566 status_t err = nextCE->recursivePass(func, visited, processBeforeDependencies); in recursivePass()
573 status_t err = nextCE->recursivePass(func, visited, processBeforeDependencies); in recursivePass()
587 std::unordered_set<const ConstantExpression*>* visited, bool processBeforeDependencies) const { in recursivePass() argument
590 if (visited->find(this) != visited->end()) return OK; in recursivePass()
591 visited->insert(this); in recursivePass()
599 status_t err = nextCE->recursivePass(func, visited, processBeforeDependencies); in recursivePass()
606 status_t err = nextCE->recursivePass(func, visited, processBeforeDependencies); in recursivePass()
[all …]
DAST.cpp191 std::unordered_set<const Type*> visited; in setParseStage() local
198 &visited); in setParseStage()
202 std::unordered_set<const Type*> visited; in lookupTypes() local
226 &visited); in lookupTypes()
230 std::unordered_set<const Type*> visited; in gatherReferencedTypes() local
244 &visited); in gatherReferencedTypes()
290 std::unordered_set<const Type*> visited; in validateDefinedTypesUniqueNames() local
300 &visited); in validateDefinedTypesUniqueNames()
304 std::unordered_set<const Type*> visited; in resolveInheritance() local
306 &visited); in resolveInheritance()
[all …]
DArrayType.cpp47 bool ArrayType::deepCanCheckEquality(std::unordered_set<const Type*>* visited) const { in deepCanCheckEquality()
48 return mElementType->canCheckEquality(visited); in deepCanCheckEquality()
517 bool ArrayType::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
518 if (!mElementType->isJavaCompatible(visited)) { in deepIsJavaCompatible()
521 return Type::deepIsJavaCompatible(visited); in deepIsJavaCompatible()
524 bool ArrayType::deepContainsPointer(std::unordered_set<const Type*>* visited) const { in deepContainsPointer()
525 if (mElementType->containsPointer(visited)) { in deepContainsPointer()
528 return Type::deepContainsPointer(visited); in deepContainsPointer()
DVectorType.cpp81 bool VectorType::deepCanCheckEquality(std::unordered_set<const Type*>* visited) const { in deepCanCheckEquality()
82 return mElementType->canCheckEquality(visited); in deepCanCheckEquality()
617 bool VectorType::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
618 if (!mElementType->isJavaCompatible(visited)) { in deepIsJavaCompatible()
638 return TemplatedType::deepIsJavaCompatible(visited); in deepIsJavaCompatible()
641 bool VectorType::deepContainsPointer(std::unordered_set<const Type*>* visited) const { in deepContainsPointer()
642 if (mElementType->containsPointer(visited)) { in deepContainsPointer()
645 return TemplatedType::deepContainsPointer(visited); in deepContainsPointer()
DPointerType.h64 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
65 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
DArrayType.h34 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
113 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
114 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
DVectorType.h39 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
106 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
107 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
DCompoundType.h46 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
122 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
123 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
DConstantExpression.h60 std::unordered_set<const ConstantExpression*>* visited,
63 std::unordered_set<const ConstantExpression*>* visited,
100 CheckAcyclicStatus checkAcyclic(std::unordered_set<const ConstantExpression*>* visited,
DScope.cpp228 bool Scope::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
233 if (type->isInterface() && !type->isJavaCompatible(visited)) { in deepIsJavaCompatible()
238 return Type::deepIsJavaCompatible(visited); in deepIsJavaCompatible()
DFmqType.h61 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
DStringType.h30 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
DHandleType.h80 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
DMethod.cpp300 bool Method::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
302 [&](const auto* arg) { return (*arg)->isJavaCompatible(visited); })) { in deepIsJavaCompatible()
307 [&](const auto* arg) { return (*arg)->isJavaCompatible(visited); })) { in deepIsJavaCompatible()
DMemoryType.h86 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
DScalarType.h47 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
DEnumType.h53 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
186 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
DScope.h83 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;

12