Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/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, uint64_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.h28 class EnumDef : public TypeDef {
30 EnumDef(std::string name, int size);
44 EnumDef* try_from_enum_ = nullptr;
Denum_gen.h26 EnumGen(EnumDef e);
34 EnumDef e_;
Dgen_cpp.cc174 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file()
182 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file()
279 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file()
Dlanguage_y.yy40 EnumDef* enum_definition;
164 $$ = new EnumDef(std::move(*$2), $4);
545EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n…
695EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n…
Denum_gen.cc23 EnumGen::EnumGen(EnumDef e) : e_(std::move(e)) {} in EnumGen()
/packages/modules/Bluetooth/system/gd/packet/parser/fields/
Denum_field.h26 EnumField(std::string name, EnumDef enum_def, std::string value, ParseLocation loc);
28 EnumDef GetEnumDef();
47 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()