Searched defs:localName (Results 1 - 7 of 7) sorted by relevance

/system/tools/hidl/
H A DNamedType.cpp21 NamedType::NamedType(const char* localName, const Location& loc, Scope* parent) argument
22 : mLocalName(localName), mLocation(loc), mParent(parent) {}
36 std::string NamedType::localName() const { function in class:android::NamedType
H A DTypeDef.cpp24 TypeDef::TypeDef(const char* localName, const Location& location, Scope* parent, Type* type) argument
25 : NamedType(localName, location, parent), mReferencedType(type) {}
46 return "typedef " + localName();
67 << localName()
H A DScope.cpp27 Scope::Scope(const char* localName, const Location& location, Scope* parent) argument
28 : NamedType(localName, location, parent) {}
32 const std::string &localName = type->localName(); local
34 auto it = mTypeIndexByName.find(localName);
38 (*errorMsg) += localName;
46 mTypeIndexByName[localName] = index;
188 RootScope::RootScope(const char* localName, const Location& location, Scope* parent)
189 : Scope(localName, location, parent) {}
H A DAST.cpp178 bool AST::addTypeDef(const char* localName, Type* type, const Location& location, argument
183 return addScopedTypeInternal(new TypeDef(localName, location, scope, type), errorMsg, scope);
196 std::vector<std::string> pathComponents{{type->localName()}};
198 pathComponents.push_back(scope->localName());
H A DCompoundType.cpp26 CompoundType::CompoundType(Style style, const char* localName, const Location& location, argument
28 : Scope(localName, location, parent), mStyle(style), mFields(NULL) {}
85 return "struct " + localName();
88 return "union " + localName();
353 << localName()
446 out << "// operator== and operator!= are not generated for " << localName() << "\n\n";
498 status_t err = Scope::emitTypeDefinitions(out, space + localName());
556 out << "// operator== and operator!= are not generated for " << localName() << "\n";
571 << localName()
627 out << "// equals() is not generated for " << localName() << "\
[all...]
H A DEnumType.cpp28 EnumType::EnumType(const char* localName, const Location& location, Type* storageType, argument
30 : Scope(localName, location, parent), mValues(), mStorageType(storageType) {
70 return "enum " + localName();
159 << localName()
355 << localName()
530 std::string name = localName();
573 out << "// Values declared in " << localName() << " follow.\n";
H A DInterface.cpp70 Interface::Interface(const char* localName, const Location& location, Scope* parent, argument
72 : Scope(localName, location, parent), mSuperType(super), mIsJavaCompatibleInProgress(false) {}
75 return "interface " + localName();
640 if (StringHelper::EndsWith(localName(), "Callback")) {
738 status_t err = Scope::emitTypeDefinitions(out, space + localName());

Completed in 232 milliseconds