Home
last modified time | relevance | path

Searched refs:localName (Results 1 – 23 of 23) sorted by relevance

/system/tools/hidl/
DgenerateCppImpl.cpp83 generateCppPackageInclude(out, mPackage, iface->localName()); in generateCppImplHeader()
104 << iface->localName() in generateCppImplHeader()
125 << iface->localName() in generateCppImplHeader()
127 generateFetchSymbol(out, iface->localName()); in generateCppImplHeader()
154 out << iface->localName() in generateCppImplSource()
156 generateFetchSymbol(out, iface->localName()); in generateCppImplSource()
DTypeDef.cpp24 TypeDef::TypeDef(const char* localName, const FQName& fullName, const Location& location, in TypeDef() argument
26 : NamedType(localName, fullName, location, parent), mReferencedType(type) {} in TypeDef()
51 return "typedef " + localName(); in typeName()
80 << localName() in emitTypeDeclarations()
DNamedType.cpp21 NamedType::NamedType(const char* localName, const FQName& fullName, const Location& loc, in NamedType() argument
23 : Type(parent), mLocalName(localName), mFullName(fullName), mLocation(loc) {} in NamedType()
33 std::string NamedType::localName() const { in localName() function in android::NamedType
DCompoundType.cpp30 CompoundType::CompoundType(Style style, const char* localName, const FQName& fullName, in CompoundType() argument
32 : Scope(localName, fullName, location, parent), mStyle(style), mFields(nullptr) {} in CompoundType()
107 << "safe_union " << localName() << ". Consider renaming or " in emitInvalidSubTypeNamesError()
116 if (subType->localName() == "getDiscriminator") { in validateSubTypeNames()
117 emitInvalidSubTypeNamesError(subType->localName(), in validateSubTypeNames()
145 return "struct " + localName(); in typeName()
148 return "union " + localName(); in typeName()
151 return "safe_union " + localName(); in typeName()
581 << localName() in emitSafeUnionTypeDeclarations()
614 out << localName() << "();\n" // Constructor in emitSafeUnionTypeDeclarations()
[all …]
DScope.cpp32 Scope::Scope(const char* localName, const FQName& fullName, const Location& location, Scope* parent) in Scope() argument
33 : NamedType(localName, fullName, location, parent) {} in Scope()
39 mTypeIndexByName[type->localName()] = index; in addType()
44 if (mTypes[mTypeIndexByName.at(type->localName())] != type) { in validateUniqueNames()
45 std::cerr << "ERROR: A type named '" << type->localName() in validateUniqueNames()
145 mTypeIndexByName.at(mTypes[i]->localName()) = i; in topologicalReorder()
237 RootScope::RootScope(const char* localName, const FQName& fullName, const Location& location, in RootScope() argument
239 : Scope(localName, fullName, location, parent) {} in RootScope()
DNamedType.h31 NamedType(const char* localName, const FQName& fullName, const Location& loc, Scope* parent);
37 std::string localName() const;
DgenerateCpp.cpp226 std::string ifaceName = iface ? iface->localName() : "types"; in generateInterfaceHeader()
365 declareServiceManagerInteractions(out, iface->localName()); in generateInterfaceHeader()
405 generateCppPackageInclude(out, mPackage, iface ? iface->localName() : "types"); in generateHwBinderHeader()
636 out << "typedef " << mRootScope.getInterface()->localName() << " Pure;\n\n"; in generateTemplatizationLink()
674 << "(const ::android::sp<" << iface->localName() << "> &_hidl_impl);" in generateStubHeader()
678 << "(const ::android::sp<" << iface->localName() << "> &_hidl_impl," in generateStubHeader()
700 out << "::android::sp<" << iface->localName() << "> getImpl() { return _hidl_mImpl; }\n"; in generateStubHeader()
742 out << "::android::sp<" << iface->localName() << "> _hidl_mImpl;\n"; in generateStubHeader()
779 << iface->localName() in generateProxyHeader()
877 generateTypeSource(out, iface ? iface->localName() : ""); in generateCppSource()
[all …]
DScope.h36 Scope(const char* localName, const FQName& fullName, const Location& location, Scope* parent);
96 RootScope(const char* localName, const FQName& fullName, const Location& location,
DTypeDef.h26 TypeDef(const char* localName, const FQName& fullName, const Location& location, Scope* parent,
DEnumType.cpp30 EnumType::EnumType(const char* localName, const FQName& fullName, const Location& location, in EnumType() argument
32 : Scope(localName, fullName, location, parent), mValues(), mStorageType(storageType) {} in EnumType()
155 return "enum " + localName(); in typeName()
189 return space + "hidl_bitfield<" + (specifyNamespaces ? fullName() : localName()) + ">"; in getBitfieldCppType()
252 << localName() in emitTypeDeclarations()
283 out << "enum class " << localName() << " : " << storageType << ";\n"; in emitTypeForwardDeclaration()
460 << localName() in emitJavaTypeDeclarations()
630 std::string name = localName(); in emitExportedHeader()
673 out << "// Values declared in " << localName() << " follow.\n"; in emitExportedHeader()
DgenerateCppAdapter.cpp45 generateCppPackageInclude(out, mPackage, getInterface()->localName()); in generateCppAdapterHeader()
88 generateCppPackageInclude(out, mPackage, getInterface()->localName()); in generateCppAdapterSource()
DgenerateVts.cpp57 << (iface ? iface->localName() : "types") in generateVts()
DInterface.cpp74 Interface::Interface(const char* localName, const FQName& fullName, const Location& location, in Interface() argument
76 : Scope(localName, fullName, location, parent), mSuperType(superType), mFileHash(fileHash) {} in Interface()
79 return "interface " + localName(); in typeName()
763 if (StringHelper::EndsWith(localName(), "Callback")) { in getVtsType()
862 Scope::emitTypeDefinitions(out, space + localName()); in emitTypeDefinitions()
DInterface.h37 Interface(const char* localName, const FQName& fullName, const Location& location,
DgenerateJava.cpp51 std::string typeName = type->localName(); in generateJavaTypes()
139 const std::string ifaceName = iface->localName(); in generateJava()
DAST.cpp465 FQName AST::makeFullName(const char* localName, Scope* scope) const { in makeFullName() argument
466 std::vector<std::string> pathComponents{{localName}}; in makeFullName()
468 pathComponents.push_back(scope->localName()); in makeFullName()
DCompoundType.h35 CompoundType(Style style, const char* localName, const FQName& fullName,
DEnumType.h33 EnumType(const char* localName, const FQName& fullName, const Location& location,
DAST.h59 FQName makeFullName(const char* localName, Scope* scope) const;
DCoordinator.cpp303 path.c_str(), (*ast)->getInterface()->localName().c_str()); in parseOptional()
306 } else if ((*ast)->getInterface()->localName() != fqName.name()) { in parseOptional()
Dhidl-gen_y.yy593 !isValidInterfaceField(static_cast<NamedType*>($2)->localName().c_str(),
976 $1)->localName().c_str(), &errorMsg)) {
Dmain.cpp170 FQName rootTypeName(fqName.package(), fqName.version(), "types." + rootType->localName()); in appendPerTypeTargets()
/system/tools/xsdc/src/com/android/xsdc/
DXsdHandler.java108 String uri, String localName, String qName, Attributes attributes) { in startElement() argument
115 stateStack.push(new State(localName, attributeMap)); in startElement()
117 if (localName == "documentation") { in startElement()
123 public void endElement(String uri, String localName, String qName) throws SAXException { in endElement() argument
124 if (documentationFlag && localName != "documentation") { in endElement()