/system/tools/hidl/lint/lints/ |
D | safeunion.cpp | 34 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()
|
D | emptyStructs.cpp | 30 std::unordered_set<const Type*> visited; in checkSmallStructs() local 58 &visited); in checkSmallStructs()
|
D | enumMaxAndAll.cpp | 34 std::unordered_set<const Type*> visited; in enumValueNames() local 68 &visited); in enumValueNames()
|
D | namingConventions.cpp | 34 std::unordered_set<const Type*> visited; in namingConventions() local 92 &visited); in namingConventions()
|
/system/tools/hidl/ |
D | Type.cpp | 164 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 …]
|
D | generateDependencies.cpp | 30 std::unordered_set<const Type*> visited; in generateDependencies() local 39 &visited); in generateDependencies()
|
D | Type.h | 98 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;
|
D | ConstantExpression.cpp | 553 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 …]
|
D | AST.cpp | 191 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 …]
|
D | ArrayType.cpp | 47 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()
|
D | VectorType.cpp | 81 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()
|
D | PointerType.h | 64 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override; 65 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
|
D | ArrayType.h | 34 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;
|
D | VectorType.h | 39 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;
|
D | CompoundType.h | 46 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;
|
D | ConstantExpression.h | 60 std::unordered_set<const ConstantExpression*>* visited, 63 std::unordered_set<const ConstantExpression*>* visited, 100 CheckAcyclicStatus checkAcyclic(std::unordered_set<const ConstantExpression*>* visited,
|
D | Scope.cpp | 228 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()
|
D | FmqType.h | 61 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
|
D | StringType.h | 30 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
|
D | HandleType.h | 80 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
|
D | Method.cpp | 300 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()
|
D | MemoryType.h | 86 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
|
D | ScalarType.h | 47 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
|
D | EnumType.h | 53 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override; 186 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
|
D | Scope.h | 83 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
|