/system/tools/hidl/ |
D | Type.cpp | 158 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 …]
|
D | generateDependencies.cpp | 30 std::unordered_set<const Type*> visited; in generateDependencies() local 39 &visited); in generateDependencies()
|
D | Type.h | 97 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;
|
D | RefType.h | 74 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;
|
D | ConstantExpression.cpp | 551 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 …]
|
D | ArrayType.cpp | 44 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 …]
|
D | VectorType.cpp | 81 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 …]
|
D | AST.cpp | 178 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 …]
|
D | ArrayType.h | 34 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;
|
D | VectorType.h | 39 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;
|
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 | CompoundType.h | 44 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;
|
D | ConstantExpression.h | 57 std::unordered_set<const ConstantExpression*>* visited, 60 std::unordered_set<const ConstantExpression*>* visited, 97 CheckAcyclicStatus checkAcyclic(std::unordered_set<const ConstantExpression*>* visited,
|
D | Scope.cpp | 219 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()
|
D | MemoryType.h | 62 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
|
D | FmqType.h | 57 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
|
D | Method.cpp | 257 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()
|
D | HandleType.h | 80 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 | CompoundType.cpp | 130 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 …]
|
D | ScalarType.h | 47 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
|
D | EnumType.h | 52 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override; 180 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
|
D | Scope.h | 80 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
|
D | Method.h | 109 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const;
|
D | Interface.cpp | 978 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()
|