Home
last modified time | relevance | path

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

/system/bt/gd/packet/parser/
Dparent_def.cc381 const auto& vector_name = field_name + "_"; in GenSerialize() local
383 s << "size_t " << vector_name + "bytes = 0;"; in GenSerialize()
385 s << "for (auto elem : " << vector_name << ") {"; in GenSerialize()
386 s << vector_name + "bytes += elem.size(); }"; in GenSerialize()
388 s << vector_name + "bytes = "; in GenSerialize()
389 s << vector_name << ".size() * ((" << vector->element_size_ << ") / 8);"; in GenSerialize()
394 s << vector_name << "bytes = "; in GenSerialize()
395 s << vector_name << "bytes + (" << modifier << ") / 8;"; in GenSerialize()
397 s << "ASSERT(" << vector_name + "bytes < (1 << " << field->GetSize().bits() << "));"; in GenSerialize()
398 s << "insert(" << vector_name << "bytes, i, "; in GenSerialize()
[all …]