Searched refs:vector_name (Results 1 – 1 of 1) sorted by relevance
416 const auto& vector_name = field_name + "_"; in GenSerialize() local418 s << "size_t " << vector_name + "bytes = 0;"; in GenSerialize()420 s << "for (auto elem : " << vector_name << ") {"; in GenSerialize()421 s << vector_name + "bytes += elem.size(); }"; in GenSerialize()423 s << vector_name + "bytes = "; in GenSerialize()424 s << vector_name << ".size() * ((" << vector->element_size_ << ") / 8);"; in GenSerialize()428 s << vector_name << "bytes = "; in GenSerialize()429 s << vector_name << "bytes + " << modifier.substr(1) << ";"; in GenSerialize()431 s << "ASSERT(" << vector_name + "bytes < (1 << " << field->GetSize().bits() << "));"; in GenSerialize()432 s << "insert(" << vector_name << "bytes, i, "; in GenSerialize()[all …]