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.cc417 const auto& vector_name = field_name + "_"; in GenSerialize() local
419 s << "size_t " << vector_name + "bytes = 0;"; in GenSerialize()
421 s << "for (auto elem : " << vector_name << ") {"; in GenSerialize()
422 s << vector_name + "bytes += elem.size(); }"; in GenSerialize()
424 s << vector_name + "bytes = "; in GenSerialize()
425 s << vector_name << ".size() * ((" << vector->element_size_ << ") / 8);"; in GenSerialize()
430 s << vector_name << "bytes = "; in GenSerialize()
431 s << vector_name << "bytes + (" << modifier << ") / 8;"; in GenSerialize()
433 s << "ASSERT(" << vector_name + "bytes < (1 << " << field->GetSize().bits() << "));"; in GenSerialize()
434 s << "insert(" << vector_name << "bytes, i, "; in GenSerialize()
[all …]