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.cc219 const auto& started_field = fields_.GetField(field_name); in GenValidator() local
220 if (started_field == nullptr) { in GenValidator()
224 auto end_offset = GetOffsetForField(started_field->GetName(), false); in GenValidator()
228 end_offset = GetOffsetForField(started_field->GetName(), true); in GenValidator()
230 ERROR(started_field) << "Checksum Field end_offset can not be determined."; in GenValidator()
232 …s << "size_t end_sum_index = size() - (" << started_field->GetSize() << " - " << end_offset << ") … in GenValidator()
239 s << started_field->GetDataType() << " checksum;"; in GenValidator()
244 << util::GetTypeForSize(started_field->GetSize().bits()) << ">()) { return false; }"; in GenValidator()
Dparent_def.cc403 const auto& started_field = fields_.GetField(field_name); in GenSerialize() local
404 if (started_field == nullptr) { in GenSerialize()
408 s << "auto shared_checksum_ptr = std::make_shared<" << started_field->GetDataType() << ">();"; in GenSerialize()