Searched refs:enum_def (Results 1 – 8 of 8) sorted by relevance
/system/bt/gd/packet/parser/fields/ |
D | fixed_enum_field.cc | 22 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()
|
D | enum_field.cc | 23 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()
|
D | fixed_enum_field.h | 28 FixedEnumField(EnumDef* enum_def, std::string value, ParseLocation loc);
|
D | enum_field.h | 26 EnumField(std::string name, EnumDef enum_def, std::string value, ParseLocation loc);
|
/system/bt/gd/packet/parser/ |
D | main.cc | 182 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()
|
D | language_y.yy | 494 …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);
|
D | Android.bp | 27 "enum_def.cc",
|
D | parent_def.cc | 43 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()
|