Searched refs:enum_def (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | gen_cpp.cc | 174 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file() local 175 EnumGen gen(*enum_def); in generate_cpp_headers_one_file() 182 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file() local 183 EnumGen gen(*enum_def); in generate_cpp_headers_one_file() 279 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file() local 281 << "struct formatter<" << namespace_prefix << enum_def->name_ << ">" in generate_cpp_headers_one_file() 282 << " : enum_formatter<" << namespace_prefix << enum_def->name_ << "> {};" in generate_cpp_headers_one_file()
|
D | language_y.yy | 545 …EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n… 546 if (enum_def == nullptr) { 549 if (!enum_def->HasEntry(std::get<std::string>(constraint->second))) { 553 …expanded_fields->push_back(new FixedEnumField(enum_def, std::get<std::string>(constraint->second),… 695 …EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n… 696 if (!enum_def->HasEntry(*$3)) { 697 …ERRORLOC(LOC) << "Previously defined enum " << enum_def->GetTypeName() << " has no entry for " << … 700 $$ = new FixedEnumField(enum_def, *$3, LOC);
|
D | Android.bp | 15 "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()
|
D | BUILD.gn | 38 "enum_def.cc",
|
/packages/modules/Bluetooth/system/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);
|