Home
last modified time | relevance | path

Searched refs:fullName (Results 1 – 19 of 19) sorted by relevance

/system/tools/hidl/
DNamedType.cpp23 NamedType::NamedType(const std::string& localName, const FQName& fullName, const Location& loc, in NamedType() argument
25 : Type(parent, localName), mFullName(fullName), mLocation(loc) {} in NamedType()
35 std::string NamedType::fullName() const { in fullName() function in android::NamedType
DCompoundType.cpp34 CompoundType::CompoundType(Style style, const std::string& localName, const FQName& fullName, in CompoundType() argument
36 : Scope(localName, fullName, location, parent), mStyle(style) {} in CompoundType()
167 const std::string base = fullName(); in getCppType()
261 << fullName() in emitSafeUnionReaderWriterForInterfaces()
266 out << "case " << fullName() << "::hidl_discriminator::" << field->name() in emitSafeUnionReaderWriterForInterfaces()
415 fullName(), in emitReaderWriterEmbedded()
480 << fullName() in emitLayoutAsserts()
487 << fullName() in emitLayoutAsserts()
567 out << "return offsetof(" << fullName() << ", hidl_u);\n"; in emitSafeUnionTypeDeclarations()
735 << fullName() in emitTypeDeclarations()
[all …]
DNamedType.h31 NamedType(const std::string& localName, const FQName& fullName, const Location& loc,
39 std::string fullName() const;
DFmqType.cpp39 std::string FmqType::fullName() const { in fullName() function in android::FmqType
49 const std::string base = fullName(); in getCppType()
141 fullName(), in emitReaderWriterEmbedded()
DTypeDef.cpp25 TypeDef::TypeDef(const std::string& localName, const FQName& fullName, const Location& location, in TypeDef() argument
27 : NamedType(localName, fullName, location, parent), mReferencedType(type) {} in TypeDef()
DEnumType.cpp31 EnumType::EnumType(const std::string& localName, const FQName& fullName, const Location& location, in EnumType() argument
33 : Scope(localName, fullName, location, parent), mValues(), mStorageType(storageType) {} in EnumType()
135 << "' defined in enum '" << definedInType->fullName() << "'"; in validateUniqueNames()
169 return fullName(); in getCppType()
190 return space + "hidl_bitfield<" + (specifyNamespaces ? fullName() : definedName()) + ">"; in getBitfieldCppType()
335 out << fullName() << "::" << enumValue->name() << ",\n"; in emitIteratorDeclaration()
358 << (lhsIsEnum ? fullName() : storageType) in emitEnumBitwiseOperator()
360 << (rhsIsEnum ? fullName() : storageType) in emitEnumBitwiseOperator()
398 << storageType << "& v, const " << fullName() << " e) {\n"; in emitBitFieldBitwiseAssignmentOperator()
454 std::string valueName = fullName() + "::" + value->name(); in emitPackageTypeHeaderDefinitions()
[all …]
DScope.cpp33 Scope::Scope(const std::string& localName, const FQName& fullName, const Location& location, in Scope() argument
35 : NamedType(localName, fullName, location, parent) {} in Scope()
250 RootScope::RootScope(const char* localName, const FQName& fullName, const Location& location, in RootScope() argument
252 : Scope(localName, fullName, location, parent) {} in RootScope()
DScope.h37 Scope(const std::string& localName, const FQName& fullName, const Location& location,
99 RootScope(const char* localName, const FQName& fullName, const Location& location,
DInterface.cpp46 Interface::Interface(const std::string& localName, const FQName& fullName, const Location& location, in Interface() argument
48 : Scope(localName, fullName, location, parent), mSuperType(superType), mFileHash(fileHash) {} in Interface()
244 out << iface->fullName() << "::descriptor,\n"; in fillDescriptorChainMethod()
329 << fullName() in fillGetDescriptorMethod()
522 << "' defined in interface '" << definedInType->fullName() << "'"; in validateUniqueNames()
694 + fullName() in getCppType()
828 << "os += " << fullName() << "::descriptor;\n" in emitPackageTypeHeaderDefinitions()
934 << fullName() in emitVtsAttributeType()
DTypeDef.h28 TypeDef(const std::string& localName, const FQName& fullName, const Location& location,
DFmqType.h33 std::string fullName() const;
DInterface.h41 Interface(const std::string& localName, const FQName& fullName, const Location& location,
DCompoundType.h36 CompoundType(Style style, const std::string& localName, const FQName& fullName,
DEnumType.h34 EnumType(const std::string& localName, const FQName& fullName, const Location& location,
DgenerateJava.cpp321 << superInterface->fullName() in generateJava()
DgenerateCpp.cpp267 << superType->fullName(); in generateInterfaceHeader()
616 << superInterface->fullName() in generateMethods()
1751 out << klassName << "::" << klassName << "(const ::android::sp<" << iface->fullName() in generatePassthroughSource()
/system/tools/xsdc/src/com/android/xsdc/java/
DJavaSimpleType.java24 final private String fullName; field in JavaSimpleType
32 fullName = list ? String.format("java.util.List<%s>", nullableName) : name; in JavaSimpleType()
51 return fullName; in getName()
56 return !fullName.equals(nullableName); in isPrimitiveType()
/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppSimpleType.java21 final private String fullName; field in CppSimpleType
30 this.fullName = list ? String.format("std::vector<%s>", name) : name; in CppSimpleType()
53 return fullName; in getName()
DCppCodeGenerator.java354 String fullName = nameScope + name; in printParser() local
355 headerFile.printf("static %s read(xmlNode *root);\n", fullName, Utils.lowerize(name)); in printParser()
356 cppFile.printf("\n%s %s::read(xmlNode *root) {\n", fullName, fullName); in printParser()
429 cppFile.printf("%s instance%s;\n", fullName, args.length() > 0 ? "(" + args + ")" : ""); in printParser()
454 String fullName = nameScope + name; in printWriter() local
457 fullName); in printWriter()
576 String fullName = nameScope + name; in printConstructor() local
636 cppFile.printf("\n%s::%s(%s) : ", fullName, name, constructorArgsString); in printConstructor()