Home
last modified time | relevance | path

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

/system/bt/gd/packet/parser/
Dparent_def.cc24 : TypeDef(name), fields_(fields), parent_(parent) {} in ParentDef()
64 for (const auto& field : fields_) { in AssignSizeFields()
73 const auto& var_len_field = fields_.GetField(size_field->GetSizedFieldName()); in AssignSizeFields()
80 for (auto it = fields_.begin(); *it != size_field; it++) { in AssignSizeFields()
119 for (const auto& field : fields_) { in GetSize()
167 if (fields_.GetField(field_name) == nullptr) { in GetOffsetForField()
193 size = size_lambda(fields_.rbegin(), fields_.rend()); in GetOffsetForField()
195 size = size_lambda(fields_.begin(), fields_.end()); in GetOffsetForField()
200 if (parent_->fields_.HasPayload()) { in GetOffsetForField()
243 return params.Merge(fields_.GetFieldsWithTypes(param_types)); in GetParamList()
[all …]
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 …]
Dpacket_def.cc58 const auto& public_fields = fields_.GetFieldsWithoutTypes(fixed_types); in GenParserDefinition()
59 bool has_fixed_fields = public_fields.size() != fields_.size(); in GenParserDefinition()
83 const auto& private_fields = fields_.GetFieldsWithTypes(fixed_types); in GenParserDefinition()
140 const auto& public_fields = fields_.GetFieldsWithoutTypes(protected_field_types); in GenParserDefinitionPybind11()
172 for (const auto& field : fields_) { in GenValidator()
205 for (const auto& field : fields_) { in GenValidator()
219 const auto& started_field = fields_.GetField(field_name); in GenValidator()
303 for (const auto& field : fields_) { in GenValidator()
320 if (fields_.size() > 0) { in GenParserToString()
323 for (const auto& field : fields_) { in GenParserToString()
[all …]
Dparent_def.h64 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.h59 std::list<PacketField*>* fields_;
/system/tools/aidl/
Dast_cpp.h91 bool HasValues() const { return !fields_.empty(); } in HasValues()
106 std::vector<EnumField> fields_; variable
Dast_cpp.cpp109 for (const auto& field : fields_) { in Write()
121 fields_.emplace_back(key, value); in AddValue()