Searched refs:size_field (Results 1 – 8 of 8) sorted by relevance
23 void BodyField::SetSizeField(const SizeField* size_field) { in SetSizeField() argument25 … 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()
25 void PayloadField::SetSizeField(const SizeField* size_field) { in SetSizeField() argument27 …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()
213 void VectorField::SetSizeField(const SizeField* size_field) { in SetSizeField() argument214 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()
31 void SetSizeField(const SizeField* size_field);
62 void SetSizeField(const SizeField* size_field);
71 const SizeField* size_field = static_cast<SizeField*>(field); in AssignSizeFields() local73 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()
22 "fields/size_field.cc",