Home
last modified time | relevance | path

Searched refs:EnumField (Results 1 – 9 of 9) sorted by relevance

/system/bt/gd/packet/parser/fields/
Denum_field.cc21 const std::string EnumField::kFieldType = "EnumField";
23 EnumField::EnumField(std::string name, EnumDef enum_def, std::string value, ParseLocation loc) in EnumField() function in EnumField
26 const std::string& EnumField::GetFieldType() const { in GetFieldType()
27 return EnumField::kFieldType; in GetFieldType()
30 EnumDef EnumField::GetEnumDef() { in GetEnumDef()
34 std::string EnumField::GetDataType() const { in GetDataType()
38 bool EnumField::HasParameterValidator() const { in HasParameterValidator()
42 void EnumField::GenParameterValidator(std::ostream&) const { in GenParameterValidator()
46 void EnumField::GenInserter(std::ostream& s) const { in GenInserter()
51 void EnumField::GenValidator(std::ostream&) const { in GenValidator()
[all …]
Denum_field.h24 class EnumField : public ScalarField {
26 EnumField(std::string name, EnumDef enum_def, std::string value, ParseLocation loc);
/system/bt/gd/packet/parser/
Denum_def.cc41 return new EnumField(name, *this, "What is this for", loc); in GetNewField()
Dparent_def.cc39 } else if (constrained_field->GetFieldType() == EnumField::kFieldType) { in AddParentConstraint()
43 const auto& enum_def = static_cast<EnumField*>(constrained_field)->GetEnumDef(); in AddParentConstraint()
240 EnumField::kFieldType, in GetParamList()
512 } else if (field->GetFieldType() == EnumField::kFieldType) { in GenInstanceOf()
Dpacket_def.cc711 } else if (field->GetFieldType() == EnumField::kFieldType) { in GenBuilderConstructor()
955 if (constraint_type == EnumField::kFieldType) { in GenRustStructImpls()
1209 } else if (field->GetFieldType() == EnumField::kFieldType) { in GenRustBuilderStructImpls()
Dstruct_def.cc276 } else if (field->GetFieldType() == EnumField::kFieldType) { in GenConstructor()
Dlanguage_y.yy540 } else if (field->GetFieldType() == EnumField::kFieldType) {
/system/tools/aidl/
Dast_cpp.h102 struct EnumField { struct
103 EnumField(const std::string& k, const std::string& v, const std::string& a);
113 std::vector<EnumField> fields_; argument
Dast_cpp.cpp101 Enum::EnumField::EnumField(const string& k, const string& v, const string& a) in EnumField() function in android::aidl::cpp::Enum::EnumField