Home
last modified time | relevance | path

Searched refs:Scope (Results 1 – 25 of 62) sorted by relevance

123

/system/tools/hidl/
DScope.cpp33 Scope::Scope(const std::string& localName, const FQName& fullName, const Location& location, in Scope() function in android::Scope
34 Scope* parent) in Scope()
36 Scope::~Scope(){} in ~Scope()
38 void Scope::addType(NamedType* type) { in addType()
44 status_t Scope::validate() const { in validate()
51 status_t Scope::validateUniqueNames() const { in validateUniqueNames()
62 status_t Scope::validateAnnotations() const { in validateAnnotations()
71 NamedType *Scope::lookupType(const FQName &fqName) const { in lookupType()
93 Scope *outerScope = static_cast<Scope *>(outerType); in lookupType()
101 LocalIdentifier *Scope::lookupIdentifier(const std::string & /*name*/) const { in lookupIdentifier()
[all …]
DScope.h36 struct Scope : public NamedType { struct
37 Scope(const std::string& localName, const FQName& fullName, const Location& location,
38 Scope* parent);
39 virtual ~Scope();
98 DISALLOW_COPY_AND_ASSIGN(Scope); argument
101 struct RootScope : public Scope {
103 Scope* parent);
DAST.h66 FQName makeFullName(const char* localName, Scope* scope) const;
68 void addScopedType(NamedType* type, Scope* scope);
78 const Scope* scope);
81 EnumValue* lookupEnumValue(const FQName& fqName, std::string* errorMsg, const Scope* scope);
86 Type* lookupType(const FQName& fqName, const Scope* scope);
205 Scope* getMutableRootScope();
206 const Scope& getRootScope() const;
283 Type* lookupTypeLocally(const FQName& fqName, const Scope* scope);
DType.h38 struct Scope;
41 Type(Scope* parent, const std::string& definedName);
148 Scope* parent();
149 const Scope* parent() const;
356 Scope* const mParent;
380 TemplatedType(Scope* parent, const std::string& definedName);
DAST.cpp49 Scope* AST::getMutableRootScope() { in getMutableRootScope()
53 const Scope& AST::getRootScope() const { in getRootScope()
206 Scope* scope = type->isScope() ? static_cast<Scope*>(type) : type->parent(); in lookupTypes()
254 Scope* scope = type->isScope() ? static_cast<Scope*>(type) : type->parent(); in lookupConstantExpressions()
296 return static_cast<const Scope*>(type)->validateUniqueNames(); in validateDefinedTypesUniqueNames()
339 static_cast<Scope*>(type)->topologicalReorder(reversedOrder); in topologicalReorder()
506 FQName AST::makeFullName(const char* localName, Scope* scope) const { in makeFullName()
518 void AST::addScopedType(NamedType* type, Scope* scope) { in addScopedType()
524 const Scope* scope) { in lookupLocalIdentifier()
546 EnumValue* AST::lookupEnumValue(const FQName& fqName, std::string* errorMsg, const Scope* scope) { in lookupEnumValue()
[all …]
DNamedType.h32 Scope* parent);
DInterface.cpp51 Scope* parent, const Reference<Type>& superType, const Hash* fileHash) in Interface()
52 : Scope(localName, fullName, location, parent), mSuperType(superType), mFileHash(fileHash) {} in Interface()
482 return Scope::resolveInheritance(); in resolveInheritance()
499 return Scope::validate(); in validate()
843 Scope::emitPackageTypeDeclarations(out); in emitPackageTypeDeclarations()
849 Scope::emitPackageTypeHeaderDefinitions(out); in emitPackageTypeHeaderDefinitions()
865 Scope::emitTypeDefinitions(out, space + definedName()); in emitTypeDefinitions()
980 return Scope::deepIsJavaCompatible(visited); in deepIsJavaCompatible()
DDeathRecipientType.h26 DeathRecipientType(Scope* parent);
DNamedType.cpp24 Scope* parent) in NamedType()
DEnumType.h33 struct EnumType : public Scope {
35 const Reference<Type>& storageType, Scope* parent);
176 BitFieldType(Scope* parent);
DTypeDef.h29 Scope* parent, const Reference<Type>& type);
DDeathRecipientType.cpp24 DeathRecipientType::DeathRecipientType(Scope* parent) : Type(parent, "death_recipient") {} in DeathRecipientType()
/system/tools/hidl/c2hal/
DScope.h32 struct Scope { struct
33 Scope() {} in Scope() function
34 ~Scope() {} in ~Scope() argument
44 DISALLOW_COPY_AND_ASSIGN(Scope);
48 void Scope<T>::enter(std::string name, T item) { in enter()
60 void Scope<T>::leave(std::string name) { in leave()
72 T Scope<T>::lookup(std::string name) const { in lookup()
DAST.h61 const Scope<Define *> &getDefinesScope() const;
62 Scope<Define *> &getDefinesScope();
78 Scope<Define *> mDefinesScope;
/system/tools/sysprop/
DJavaMain.cpp37 sysprop::Scope scope;
64 args->scope = sysprop::Scope::Public; in ParseArgs()
66 args->scope = sysprop::Scope::Internal; in ParseArgs()
DRustMain.cpp36 sysprop::Scope scope;
63 args->scope = sysprop::Scope::Public; in ParseArgs()
65 args->scope = sysprop::Scope::Internal; in ParseArgs()
Dsysprop.proto33 enum Scope { enum
63 Scope scope = 4;
/system/tools/sysprop/tests/
DJavaGenTest.cpp629 std::pair<sysprop::Scope, const char*> tests[] = { in TEST()
630 {sysprop::Scope::Internal, kExpectedInternalOutput}, in TEST()
631 {sysprop::Scope::Public, kExpectedPublicOutput}, in TEST()
DRustGenTest.cpp478 std::pair<sysprop::Scope, const char*> tests[] = { in TEST()
479 {sysprop::Scope::Internal, kExpectedInternalOutput}, in TEST()
480 {sysprop::Scope::Public, kExpectedPublicOutput}, in TEST()
/system/tools/hidl/lint/lints/
Dsafeunion.cpp34 static void lintUnionRecursively(const Scope* scope, std::unordered_set<const Type*>* visited, in lintUnionRecursively()
48 lintUnionRecursively(static_cast<const Scope*>(nextType), visited, errors); in lintUnionRecursively()
/system/tools/sysprop/include/
DJavaGen.h25 const std::string& input_file_path, sysprop::Scope scope,
DRustGen.h26 const std::string& input_file_path, sysprop::Scope scope,
/system/libufdt/utils/tests/data/
Dssdt2.asl3 Scope (\)
Dssdt1.asl3 Scope (\)
Dssdt3.asl3 Scope (\)

123