Searched refs:enum_def (Results 1 – 10 of 10) sorted by relevance
/system/bt/gd/packet/parser/ |
D | gen_rust.cc | 129 auto* enum_def = static_cast<EnumDef*>(e.second); in generate_rust_source_one_file() local 130 if (enum_def->name_ == "OpCode") { in generate_rust_source_one_file() 131 opcode = enum_def; in generate_rust_source_one_file() 132 } else if (enum_def->name_ == "OpCodeIndex") { in generate_rust_source_one_file() 133 opcode_index = enum_def; in generate_rust_source_one_file() 146 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_rust_source_one_file() local 147 EnumGen gen(*enum_def); in generate_rust_source_one_file()
|
D | gen_cpp.cc | 150 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file() local 151 EnumGen gen(*enum_def); in generate_cpp_headers_one_file() 158 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file() local 159 EnumGen gen(*enum_def); in generate_cpp_headers_one_file() 347 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_pybind11_sources_one_file() local 348 EnumGen gen(*enum_def); in generate_pybind11_sources_one_file()
|
D | language_y.yy | 544 …EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n… 545 if (enum_def == nullptr) { 548 if (!enum_def->HasEntry(std::get<std::string>(constraint->second))) { 552 …expanded_fields->push_back(new FixedEnumField(enum_def, std::get<std::string>(constraint->second),… 694 …EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n… 695 if (!enum_def->HasEntry(*$3)) { 696 …ERRORLOC(LOC) << "Previously defined enum " << enum_def->GetTypeName() << " has no entry for " << … 699 $$ = new FixedEnumField(enum_def, *$3, LOC);
|
D | Android.bp | 36 "enum_def.cc",
|
D | BUILD.gn | 38 "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()
|
/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);
|