Home
last modified time | relevance | path

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

123

/system/tools/hidl/
DScope.cpp32 Scope::Scope(const char* localName, const FQName& fullName, const Location& location, Scope* parent) in Scope() function in android::Scope
34 Scope::~Scope(){} in ~Scope()
36 void Scope::addType(NamedType* type) { in addType()
42 status_t Scope::validateUniqueNames() const { in validateUniqueNames()
53 NamedType *Scope::lookupType(const FQName &fqName) const { in lookupType()
75 Scope *outerScope = static_cast<Scope *>(outerType); in lookupType()
83 LocalIdentifier *Scope::lookupIdentifier(const std::string & /*name*/) const { in lookupIdentifier()
87 bool Scope::isScope() const { in isScope()
91 Interface *Scope::getInterface() const { in getInterface()
99 bool Scope::definesInterfaces() const { in definesInterfaces()
[all …]
DScope.h35 struct Scope : public NamedType { struct
36 Scope(const char* localName, const FQName& fullName, const Location& location, Scope* parent);
37 virtual ~Scope();
92 DISALLOW_COPY_AND_ASSIGN(Scope); argument
95 struct RootScope : public Scope {
97 Scope* parent);
DAST.h59 FQName makeFullName(const char* localName, Scope* scope) const;
61 void addScopedType(NamedType* type, Scope* scope);
68 LocalIdentifier* lookupLocalIdentifier(const Reference<LocalIdentifier>& ref, Scope* scope);
71 EnumValue* lookupEnumValue(const FQName& fqName, std::string* errorMsg, Scope* scope);
76 Type* lookupType(const FQName& fqName, Scope* scope);
193 Scope* getRootScope();
241 Type* lookupTypeLocally(const FQName& fqName, Scope* scope);
DAST.cpp44 Scope* AST::getRootScope() { in getRootScope()
193 Scope* scope = type->isScope() ? static_cast<Scope*>(type) : type->parent(); in lookupTypes()
240 Scope* scope = type->isScope() ? static_cast<Scope*>(type) : type->parent(); in lookupConstantExpressions()
282 return static_cast<const Scope*>(type)->validateUniqueNames(); in validateDefinedTypesUniqueNames()
325 static_cast<Scope*>(type)->topologicalReorder(reversedOrder); in topologicalReorder()
465 FQName AST::makeFullName(const char* localName, Scope* scope) const { in makeFullName()
477 void AST::addScopedType(NamedType* type, Scope* scope) { in addScopedType()
482 LocalIdentifier* AST::lookupLocalIdentifier(const Reference<LocalIdentifier>& ref, Scope* scope) { in lookupLocalIdentifier()
504 EnumValue* AST::lookupEnumValue(const FQName& fqName, std::string* errorMsg, Scope* scope) { in lookupEnumValue()
533 Type* AST::lookupType(const FQName& fqName, Scope* scope) { in lookupType()
[all …]
DType.h38 struct Scope;
41 Type(Scope* parent);
147 Scope* parent();
148 const Scope* parent() const;
377 Scope* const mParent;
402 TemplatedType(Scope* parent);
DInterface.cpp75 Scope* parent, const Reference<Type>& superType, const Hash* fileHash) in Interface()
76 : Scope(localName, fullName, location, parent), mSuperType(superType), mFileHash(fileHash) {} in Interface()
523 return Scope::resolveInheritance(); in resolveInheritance()
543 return Scope::validate(); in validate()
840 Scope::emitPackageTypeDeclarations(out); in emitPackageTypeDeclarations()
846 Scope::emitPackageTypeHeaderDefinitions(out); in emitPackageTypeHeaderDefinitions()
862 Scope::emitTypeDefinitions(out, space + localName()); in emitTypeDefinitions()
989 return Scope::deepIsJavaCompatible(visited); in deepIsJavaCompatible()
DNamedType.h31 NamedType(const char* localName, const FQName& fullName, const Location& loc, Scope* parent);
DDeathRecipientType.h26 DeathRecipientType(Scope* parent);
DTypeDef.h26 TypeDef(const char* localName, const FQName& fullName, const Location& location, Scope* parent,
DEnumType.h32 struct EnumType : public Scope {
34 const Reference<Type>& storageType, Scope* parent);
168 BitFieldType(Scope* parent);
DNamedType.cpp22 Scope* parent) in NamedType()
DDeathRecipientType.cpp24 DeathRecipientType::DeathRecipientType(Scope* parent) : Type(parent) {} in DeathRecipientType()
DTypeDef.cpp25 Scope* parent, const Reference<Type>& type) in TypeDef()
/system/tools/hidl/c2hal/
DScope.h32 struct Scope { struct
33 Scope() {} in Scope() argument
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/bt/packet/avrcp/
Dget_folder_items.h44 Scope scope_;
50 GetFolderItemsResponseBuilder(Scope scope, Status status, in GetFolderItemsResponseBuilder()
87 Scope GetScope() const;
105 Scope scope, uint32_t start_item, uint32_t end_item,
113 GetFolderItemsRequestBuilder(Scope scope, uint32_t start_item, in GetFolderItemsRequestBuilder()
122 Scope scope_;
Dget_folder_items.cc27 new GetFolderItemsResponseBuilder(Scope::MEDIA_PLAYER_LIST, status, in MakePlayerListBuilder()
38 new GetFolderItemsResponseBuilder(Scope::VFS, status, uid_counter, mtu)); in MakeVFSBuilder()
48 new GetFolderItemsResponseBuilder(Scope::NOW_PLAYING, status, uid_counter, in MakeNowPlayingBuilder()
97 CHECK(scope_ == Scope::MEDIA_PLAYER_LIST); in AddMediaPlayer()
106 CHECK(scope_ == Scope::VFS || scope_ == Scope::NOW_PLAYING); in AddSong()
115 CHECK(scope_ == Scope::VFS); in AddFolder()
232 Scope GetFolderItemsRequest::GetScope() const { in GetScope()
234 return static_cast<Scope>(*it); in GetScope()
306 Scope scope, uint32_t start_item, uint32_t end_item, in MakeBuilder()
Dget_total_number_of_items.cc57 Scope GetTotalNumberOfItemsRequest::GetScope() const { in GetScope()
59 return static_cast<Scope>(*it); in GetScope()
Dplay_item.cc49 Scope PlayItemRequest::GetScope() const { in GetScope()
51 return static_cast<Scope>(*it); in GetScope()
Dplay_item.h66 Scope GetScope() const;
/system/bt/include/hardware/avrcp/
Davrcp_logging_helper.h201 inline std::string ScopeText(const Scope& scope) { in ScopeText()
203 CASE_RETURN_TEXT(Scope::MEDIA_PLAYER_LIST); in ScopeText()
204 CASE_RETURN_TEXT(Scope::VFS); in ScopeText()
205 CASE_RETURN_TEXT(Scope::SEARCH); in ScopeText()
206 CASE_RETURN_TEXT(Scope::NOW_PLAYING); in ScopeText()
212 inline std::ostream& operator<<(std::ostream& os, const Scope& pdu) {
/system/tools/sysprop/
Dsysprop.proto33 enum Scope { enum
59 Scope scope = 4;
/system/libufdt/utils/tests/data/
Dssdt3.asl3 Scope (\)
Dssdt1.asl3 Scope (\)
Dssdt2.asl3 Scope (\)

123