Home
last modified time | relevance | path

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

/system/bt/gd/packet/parser/fields/
Dbody_field.cc23 void BodyField::SetSizeField(const SizeField* size_field) { in SetSizeField() argument
25 … ERROR(this, size_field_, size_field) << "The size field for the body has already been assigned."; in SetSizeField()
27 size_field_ = size_field; in SetSizeField()
Dpayload_field.cc25 void PayloadField::SetSizeField(const SizeField* size_field) { in SetSizeField() argument
27 …ERROR(this, size_field_, size_field) << "The size field for the payload has already been assigned.… in SetSizeField()
30 size_field_ = size_field; in SetSizeField()
Dvector_field.cc213 void VectorField::SetSizeField(const SizeField* size_field) { in SetSizeField() argument
214 if (size_field->GetFieldType() == CountField::kFieldType && !size_modifier_.empty()) { in SetSizeField()
215 ERROR(this, size_field) << "Can not use count field to describe array with a size modifier." in SetSizeField()
219 size_field_ = size_field; in SetSizeField()
Dbody_field.h31 void SetSizeField(const SizeField* size_field);
Dpayload_field.h31 void SetSizeField(const SizeField* size_field);
Dvector_field.h62 void SetSizeField(const SizeField* size_field);
/system/bt/gd/packet/parser/
Dparent_def.cc75 const SizeField* size_field = static_cast<SizeField*>(field); in AssignSizeFields() local
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()
87 …ERROR(var_len_field, size_field) << "Size/count field must come before the variable length field i… in AssignSizeFields()
93 payload_field->SetSizeField(size_field); in AssignSizeFields()
99 body_field->SetSizeField(size_field); in AssignSizeFields()
105 vector_field->SetSizeField(size_field); in AssignSizeFields()
111 ERROR(field, size_field) << "Can not use size/count in reference to a fixed size field.\n"; in AssignSizeFields()
DAndroid.bp31 "fields/size_field.cc",
DBUILD.gn57 "fields/size_field.cc",