Home
last modified time | relevance | path

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

/system/bt/gd/packet/parser/
Dparent_def.cc77 const auto& var_len_field = fields_.GetField(size_field->GetSizedFieldName()); in AssignSizeFields() local
78 if (var_len_field == nullptr) { in AssignSizeFields()
86 if (*it == var_len_field) { in AssignSizeFields()
87 …ERROR(var_len_field, size_field) << "Size/count field must come before the variable length field i… in AssignSizeFields()
91 if (var_len_field->GetFieldType() == PayloadField::kFieldType) { in AssignSizeFields()
92 const auto& payload_field = static_cast<PayloadField*>(var_len_field); in AssignSizeFields()
97 if (var_len_field->GetFieldType() == BodyField::kFieldType) { in AssignSizeFields()
98 const auto& body_field = static_cast<BodyField*>(var_len_field); in AssignSizeFields()
103 if (var_len_field->GetFieldType() == VectorField::kFieldType) { in AssignSizeFields()
104 const auto& vector_field = static_cast<VectorField*>(var_len_field); in AssignSizeFields()