Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/packet/parser/
Dpacket_def.cc252 const auto& started_field = fields_.GetField(field_name); in GenValidator() local
253 if (started_field == nullptr) { in GenValidator()
257 auto end_offset = GetOffsetForField(started_field->GetName(), false); in GenValidator()
261 end_offset = GetOffsetForField(started_field->GetName(), true); in GenValidator()
263 ERROR(started_field) << "Checksum Field end_offset can not be determined."; in GenValidator()
265 …s << "size_t end_sum_index = size() - (" << started_field->GetSize() << " - " << end_offset << ") … in GenValidator()
273 s << started_field->GetDataType() << " checksum;"; in GenValidator()
278 << util::GetTypeForSize(started_field->GetSize().bits()) << ">()) { return false; }"; in GenValidator()
Dparent_def.cc437 const auto& started_field = fields_.GetField(field_name); in GenSerialize() local
438 if (started_field == nullptr) { in GenSerialize()
442 s << "auto shared_checksum_ptr = std::make_shared<" << started_field->GetDataType() << ">();"; in GenSerialize()