Home
last modified time | relevance | path

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

/system/bt/gd/packet/parser/
Dpacket_def.cc224 const auto& started_field = fields_.GetField(field_name); in GenValidator() local
225 if (started_field == nullptr) { in GenValidator()
229 auto end_offset = GetOffsetForField(started_field->GetName(), false); in GenValidator()
233 end_offset = GetOffsetForField(started_field->GetName(), true); in GenValidator()
235 ERROR(started_field) << "Checksum Field end_offset can not be determined."; in GenValidator()
237 …s << "size_t end_sum_index = size() - (" << started_field->GetSize() << " - " << end_offset << ") … in GenValidator()
244 s << started_field->GetDataType() << " checksum;"; in GenValidator()
249 << util::GetTypeForSize(started_field->GetSize().bits()) << ">()) { return false; }"; in GenValidator()
Dparent_def.cc439 const auto& started_field = fields_.GetField(field_name); in GenSerialize() local
440 if (started_field == nullptr) { in GenSerialize()
444 s << "auto shared_checksum_ptr = std::make_shared<" << started_field->GetDataType() << ">();"; in GenSerialize()