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()
223 EnumField::kFieldType, in GetParamList()
474 } else if (field->GetFieldType() == EnumField::kFieldType) { in GenInstanceOf()
Dstruct_def.cc277 } else if (field->GetFieldType() == EnumField::kFieldType) { in GenConstructor()
Dpacket_def.cc686 } else if (field->GetFieldType() == EnumField::kFieldType) { in GenBuilderConstructor()
Dlanguage_y.yy490 } else if (field->GetFieldType() == EnumField::kFieldType) {
/system/tools/aidl/
Dast_cpp.h97 struct EnumField { struct
98 EnumField(const std::string& k, const std::string& v);
106 std::vector<EnumField> fields_; argument
Dast_cpp.cpp91 Enum::EnumField::EnumField(const string& k, const string& v) in EnumField() function in android::aidl::cpp::Enum::EnumField