Home
last modified time | relevance | path

Searched refs:size_field (Results 1 – 8 of 8) 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.cc71 const SizeField* size_field = static_cast<SizeField*>(field); in AssignSizeFields() local
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()
83 …ERROR(var_len_field, size_field) << "Size/count field must come before the variable length field i… in AssignSizeFields()
89 payload_field->SetSizeField(size_field); in AssignSizeFields()
95 body_field->SetSizeField(size_field); in AssignSizeFields()
101 vector_field->SetSizeField(size_field); in AssignSizeFields()
107 ERROR(field, size_field) << "Can not use size/count in reference to a fixed size field.\n"; in AssignSizeFields()
DAndroid.bp22 "fields/size_field.cc",