Home
last modified time | relevance | path

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

/system/bt/gd/packet/parser/
Dstruct_def.cc27 if (fields_.HasBody()) { in GetNewField()
53 if (fields_.size() > 0) { in GenToString()
56 for (const auto& field : fields_) { in GenToString()
82 if (fields_.HasBody()) { in GenParse()
100 if (parent_->fields_.HasBody()) { in GenParse()
102 if (fields_.HasBody()) { in GenParse()
113 if (!fields_.HasBody()) { in GenParse()
120 for (const auto& field : fields_) { in GenParse()
130 if (!fields_.HasBody()) { in GenParse()
136 for (const auto& field : fields_) { in GenParse()
[all …]
Dparent_def.cc24 : TypeDef(name), fields_(fields), parent_(parent) {} in ParentDef()
68 for (const auto& field : fields_) { in AssignSizeFields()
77 const auto& var_len_field = fields_.GetField(size_field->GetSizedFieldName()); in AssignSizeFields()
84 for (auto it = fields_.begin(); *it != size_field; it++) { in AssignSizeFields()
123 for (const auto& field : fields_) { in GetSize()
171 if (fields_.GetField(field_name) == nullptr) { in GetOffsetForField()
178 for (const auto field : fields_) { in GetOffsetForField()
210 size = size_lambda(fields_.rbegin(), fields_.rend()); in GetOffsetForField()
212 size = size_lambda(fields_.begin(), fields_.end()); in GetOffsetForField()
217 if (parent_->fields_.HasPayload()) { in GetOffsetForField()
[all …]
Dpacket_def.cc59 const auto& public_fields = fields_.GetFieldsWithoutTypes(fixed_types); in GenParserDefinition()
60 bool has_fixed_fields = public_fields.size() != fields_.size(); in GenParserDefinition()
84 const auto& private_fields = fields_.GetFieldsWithTypes(fixed_types); in GenParserDefinition()
141 const auto& public_fields = fields_.GetFieldsWithoutTypes(protected_field_types); in GenParserDefinitionPybind11()
173 for (const auto& field : fields_) { in GenValidator()
210 for (const auto& field : fields_) { in GenValidator()
224 const auto& started_field = fields_.GetField(field_name); in GenValidator()
308 for (const auto& field : fields_) { in GenValidator()
325 if (fields_.size() > 0) { in GenParserToString()
328 for (const auto& field : fields_) { in GenParserToString()
[all …]
Dparent_def.h81 FieldList fields_; variable
Dstruct_parser_generator.cc50 if (child->struct_def_->fields_.HasBody()) { in explore_children()
/system/bt/gd/packet/parser/fields/
Dgroup_field.cc20 : PacketField("Groups have no name", loc), fields_(fields) {} in GroupField()
23 delete fields_; in ~GroupField()
83 return fields_; in GetFields()
Dgroup_field.h65 std::list<PacketField*>* fields_;
/system/tools/aidl/
Dast_cpp.h95 bool HasValues() const { return !fields_.empty(); } in HasValues()
113 std::vector<EnumField> fields_; variable
Dast_cpp.cpp122 for (const auto& field : fields_) { in Write()
137 fields_.emplace_back(key, value, attribute); in AddValue()