Home
last modified time | relevance | path

Searched refs:EnumDef (Results 1 – 11 of 11) sorted by relevance

/system/bt/gd/packet/parser/
Denum_def.cc25 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()
Denum_def.h27 class EnumDef : public TypeDef {
29 EnumDef(std::string name, int size);
43 EnumDef* try_from_enum_ = nullptr;
Denum_gen.h26 EnumGen(EnumDef e);
36 EnumDef e_;
Dgen_rust.cc125 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()
Denum_gen.cc23 EnumGen::EnumGen(EnumDef e) : e_(std::move(e)) {} in EnumGen()
Dgen_cpp.cc150 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()
Dlanguage_y.yy39 EnumDef* enum_definition;
163 $$ = new EnumDef(std::move(*$2), $4);
544EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n…
694EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n…
/system/bt/gd/packet/parser/fields/
Denum_field.h26 EnumField(std::string name, EnumDef enum_def, std::string value, ParseLocation loc);
28 EnumDef GetEnumDef();
49 EnumDef enum_def_;
Dfixed_enum_field.h28 FixedEnumField(EnumDef* enum_def, std::string value, ParseLocation loc);
41 EnumDef* enum_;
Denum_field.cc23 EnumField::EnumField(std::string name, EnumDef enum_def, std::string value, ParseLocation loc) in EnumField()
30 EnumDef EnumField::GetEnumDef() { in GetEnumDef()
Dfixed_enum_field.cc22 FixedEnumField::FixedEnumField(EnumDef* enum_def, std::string value, ParseLocation loc) in FixedEnumField()