Home
last modified time | relevance | path

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

/system/bt/gd/packet/parser/
Dstruct_parser_generator.cc39 auto field = node.packet_field_; in explore_children()
47 …s << "std::unique_ptr<" << child->struct_def_->name_ << "> " << child->packet_field_->GetName() <<… in explore_children()
48 s << child->packet_field_->GetName() << "_value.reset(new "; in explore_children()
52 …s << child->struct_def_->name_ << "::Parse( " << child->packet_field_->GetName() << "_value.get(),… in explore_children()
57 …s << child->struct_def_->name_ << "::Parse( " << child->packet_field_->GetName() << "_value.get(),… in explore_children()
61 s << field->GetName() << "_value = std::move(" << child->packet_field_->GetName() << "_value);"; in explore_children()
72 auto field = node.packet_field_; in Generate()
Dstruct_parser_generator.h35 : struct_def_(s), packet_field_(s->GetNewField(s->name_ + "_parse", ParseLocation())) {} in TreeNode()
37 const PacketField* packet_field_; variable