Home
last modified time | relevance | path

Searched refs:enum_def (Results 1 – 8 of 8) sorted by relevance

/system/bt/gd/packet/parser/fields/
Dfixed_enum_field.cc22 FixedEnumField::FixedEnumField(EnumDef* enum_def, std::string value, ParseLocation loc) in FixedEnumField() argument
23 : FixedField("fixed_enum", enum_def->size_, loc), enum_(enum_def), value_(value) {} in FixedEnumField()
Denum_field.cc23 EnumField::EnumField(std::string name, EnumDef enum_def, std::string value, ParseLocation loc) in EnumField() argument
24 : ScalarField(name, enum_def.size_, loc), enum_def_(enum_def), value_(value) {} in EnumField()
Dfixed_enum_field.h28 FixedEnumField(EnumDef* enum_def, std::string value, ParseLocation loc);
Denum_field.h26 EnumField(std::string name, EnumDef enum_def, std::string value, ParseLocation loc);
/system/bt/gd/packet/parser/
Dmain.cc182 const auto* enum_def = dynamic_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file() local
183 EnumGen gen(*enum_def); in generate_cpp_headers_one_file()
190 const auto* enum_def = dynamic_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file() local
191 EnumGen gen(*enum_def); in generate_cpp_headers_one_file()
340 const auto* enum_def = dynamic_cast<const EnumDef*>(e.second); in generate_pybind11_sources_one_file() local
341 EnumGen gen(*enum_def); in generate_pybind11_sources_one_file()
Dlanguage_y.yy494 …EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n…
495 if (enum_def == nullptr) {
498 if (!enum_def->HasEntry(std::get<std::string>(constraint->second))) {
502 …expanded_fields->push_back(new FixedEnumField(enum_def, std::get<std::string>(constraint->second),…
644 …EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n…
645 if (!enum_def->HasEntry(*$3)) {
646 …ERRORLOC(LOC) << "Previously defined enum " << enum_def->GetTypeName() << " has no entry for " << …
649 $$ = new FixedEnumField(enum_def, *$3, LOC);
DAndroid.bp27 "enum_def.cc",
Dparent_def.cc43 const auto& enum_def = static_cast<EnumField*>(constrained_field)->GetEnumDef(); in AddParentConstraint() local
44 if (!enum_def.HasEntry(std::get<std::string>(value))) { in AddParentConstraint()
50 value = enum_def.GetTypeName() + "::" + std::get<std::string>(value); in AddParentConstraint()