Home
last modified time | relevance | path

Searched refs:TypeDef (Results 1 – 25 of 33) sorted by relevance

12

/system/tools/hidl/
DTypeDef.cpp25 TypeDef::TypeDef(const std::string& localName, const FQName& fullName, const Location& location, in TypeDef() function in android::TypeDef
29 const ScalarType *TypeDef::resolveToScalarType() const { in resolveToScalarType()
34 Type* TypeDef::referencedType() { in referencedType()
38 const Type* TypeDef::referencedType() const { in referencedType()
42 bool TypeDef::isInterface() const { in isInterface()
46 bool TypeDef::isEnum() const { in isEnum()
50 std::string TypeDef::typeName() const { in typeName()
54 bool TypeDef::isTypeDef() const { in isTypeDef()
58 const Type* TypeDef::resolve() const { in resolve()
62 std::vector<const Reference<Type>*> TypeDef::getReferences() const { in getReferences()
[all …]
DTypeDef.h27 struct TypeDef : public NamedType { struct
28 TypeDef(const std::string& localName, const FQName& fullName, const Location& location,
54 DISALLOW_COPY_AND_ASSIGN(TypeDef);
/system/tools/hidl/c2hal/
DTypeDef.cpp21 TypeDef::TypeDef(const std::string &name, Declaration* declaration) in TypeDef() function in android::TypeDef
27 TypeDef::~TypeDef() {} in ~TypeDef()
29 void TypeDef::generateSource(Formatter &out) const { in generateSource()
37 void TypeDef::processContents(AST &ast) { in processContents()
DTypeDef.h28 struct TypeDef : Declaration { struct
29 TypeDef(const std::string &name, Declaration* declaration);
30 ~TypeDef();
41 DISALLOW_COPY_AND_ASSIGN(TypeDef); argument
DAndroid.bp38 "TypeDef.cpp",
/system/bt/gd/packet/parser/
Dtype_def.h23 class TypeDef {
25 TypeDef(std::string name) : name_(name) {} in TypeDef() function
27 TypeDef(std::string name, int size) : name_(name), size_(size) {} in TypeDef() function
29 virtual ~TypeDef() = default;
Dgen_cpp.cc109 if (c.second->GetDefinitionType() == TypeDef::Type::CUSTOM || in generate_cpp_headers_one_file()
110 c.second->GetDefinitionType() == TypeDef::Type::CHECKSUM) { in generate_cpp_headers_one_file()
122 if (c.second->GetDefinitionType() == TypeDef::Type::CUSTOM || in generate_cpp_headers_one_file()
123 c.second->GetDefinitionType() == TypeDef::Type::CHECKSUM) { in generate_cpp_headers_one_file()
149 if (e.second->GetDefinitionType() == TypeDef::Type::ENUM) { in generate_cpp_headers_one_file()
157 if (e.second->GetDefinitionType() == TypeDef::Type::ENUM) { in generate_cpp_headers_one_file()
165 if (ch.second->GetDefinitionType() == TypeDef::Type::CHECKSUM) { in generate_cpp_headers_one_file()
173 if (c.second->GetDefinitionType() == TypeDef::Type::CUSTOM) { in generate_cpp_headers_one_file()
186 if (s.second->GetDefinitionType() == TypeDef::Type::STRUCT) { in generate_cpp_headers_one_file()
295 if (c.second->GetDefinitionType() == TypeDef::Type::CUSTOM) { in generate_pybind11_sources_one_file()
[all …]
Dcustom_field_def.cc21 CustomFieldDef::CustomFieldDef(std::string name, std::string include) : TypeDef(name), include_(inc… in CustomFieldDef()
24 : TypeDef(name, size), include_(include) { in CustomFieldDef()
38 TypeDef::Type CustomFieldDef::GetDefinitionType() const { in GetDefinitionType()
39 return TypeDef::Type::CUSTOM; in GetDefinitionType()
Denum_def.cc25 EnumDef::EnumDef(std::string name, int size) : TypeDef(name, size) {} in EnumDef()
48 TypeDef::Type EnumDef::GetDefinitionType() const { in GetDefinitionType()
49 return TypeDef::Type::ENUM; in GetDefinitionType()
Ddeclarations.h32 void AddTypeDef(std::string name, TypeDef* def) { in AddTypeDef()
41 TypeDef* GetTypeDef(const std::string& name) { in GetTypeDef()
86 std::map<std::string, TypeDef*> type_defs_;
87 std::deque<std::pair<std::string, TypeDef*>> type_defs_queue_;
Dchecksum_def.cc28 TypeDef::Type ChecksumDef::GetDefinitionType() const { in GetDefinitionType()
29 return TypeDef::Type::CHECKSUM; in GetDefinitionType()
Dgen_rust.cc128 if (e.second->GetDefinitionType() == TypeDef::Type::ENUM) { in generate_rust_source_one_file()
145 if (e.second->GetDefinitionType() == TypeDef::Type::ENUM) { in generate_rust_source_one_file()
154 if (s.second->GetDefinitionType() == TypeDef::Type::STRUCT) { in generate_rust_source_one_file()
Dchecksum_def.h32 virtual TypeDef::Type GetDefinitionType() const override;
Denum_def.h27 class EnumDef : public TypeDef {
Dcustom_field_def.h26 class CustomFieldDef : public TypeDef {
Dstruct_def.h35 TypeDef::Type GetDefinitionType() const;
Dpacket_def.h46 TypeDef::Type GetDefinitionType() const;
Dparent_def.h30 class ParentDef : public TypeDef {
Dstruct_parser_generator.cc22 if (s.second->GetDefinitionType() == TypeDef::Type::STRUCT) { in StructParserGenerator()
Dstruct_def.cc34 TypeDef::Type StructDef::GetDefinitionType() const { in GetDefinitionType()
35 return TypeDef::Type::STRUCT; in GetDefinitionType()
Dlanguage_y.yy294 if (parent_struct->GetDefinitionType() != TypeDef::Type::STRUCT) {
318 if (parent_struct->GetDefinitionType() != TypeDef::Type::STRUCT) {
544 …EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n…
694 …EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n…
/system/tools/hidl/hidl2aidl/
DAidlNamedType.cpp35 static void emitTypeDefAidlDefinition(Formatter& out, const TypeDef& typeDef) { in emitTypeDefAidlDefinition()
113 const TypeDef& typeDef = static_cast<const TypeDef&>(namedType); in emitAidl()
/system/bt/gd/packet/parser/fields/
Darray_field.h27 ArrayField(std::string name, TypeDef* type_def, int fixed_size, ParseLocation loc);
Dvector_field.h28 VectorField(std::string name, TypeDef* type_def, std::string size_modifier, ParseLocation loc);
Darray_field.cc35 ArrayField::ArrayField(std::string name, TypeDef* type_def, int array_size, ParseLocation loc) in ArrayField()

12