Searched refs:EnumDef (Results 1 – 11 of 11) sorted by relevance
/system/bt/gd/packet/parser/ |
D | enum_def.cc | 25 EnumDef::EnumDef(std::string name, int size) : TypeDef(name, size) {} in EnumDef() function in EnumDef 27 void EnumDef::AddEntry(std::string name, uint32_t value) { in AddEntry() 40 PacketField* EnumDef::GetNewField(const std::string& name, ParseLocation loc) const { in GetNewField() 44 bool EnumDef::HasEntry(std::string name) const { in HasEntry() 48 TypeDef::Type EnumDef::GetDefinitionType() const { in GetDefinitionType()
|
D | enum_def.h | 27 class EnumDef : public TypeDef { 29 EnumDef(std::string name, int size); 43 EnumDef* try_from_enum_ = nullptr;
|
D | enum_gen.h | 26 EnumGen(EnumDef e); 36 EnumDef e_;
|
D | gen_rust.cc | 125 EnumDef* opcode = nullptr; in generate_rust_source_one_file() 126 EnumDef* opcode_index = nullptr; in generate_rust_source_one_file() 129 auto* enum_def = static_cast<EnumDef*>(e.second); in generate_rust_source_one_file() 146 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_rust_source_one_file()
|
D | enum_gen.cc | 23 EnumGen::EnumGen(EnumDef e) : e_(std::move(e)) {} in EnumGen()
|
D | gen_cpp.cc | 150 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file() 158 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file() 347 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_pybind11_sources_one_file()
|
D | language_y.yy | 39 EnumDef* enum_definition; 163 $$ = new EnumDef(std::move(*$2), $4); 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/bt/gd/packet/parser/fields/ |
D | enum_field.h | 26 EnumField(std::string name, EnumDef enum_def, std::string value, ParseLocation loc); 28 EnumDef GetEnumDef(); 49 EnumDef enum_def_;
|
D | fixed_enum_field.h | 28 FixedEnumField(EnumDef* enum_def, std::string value, ParseLocation loc); 41 EnumDef* enum_;
|
D | enum_field.cc | 23 EnumField::EnumField(std::string name, EnumDef enum_def, std::string value, ParseLocation loc) in EnumField() 30 EnumDef EnumField::GetEnumDef() { in GetEnumDef()
|
D | fixed_enum_field.cc | 22 FixedEnumField::FixedEnumField(EnumDef* enum_def, std::string value, ParseLocation loc) in FixedEnumField()
|