Home
last modified time | relevance | path

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

/system/bt/gd/packet/
Dfragmenting_inserter.cc26 …: BitInserter(to_construct_bit_inserter_), mtu_(mtu), curr_packet_(std::make_unique<RawBuilder>(mt… in FragmentingInserter()
30 ASSERT(curr_packet_ != nullptr); in insert_bits()
36 curr_packet_->AddOctets1(new_byte); in insert_bits()
37 if (curr_packet_->size() >= mtu_) { in insert_bits()
38 iterator_ = std::move(curr_packet_); in insert_bits()
39 curr_packet_ = std::make_unique<RawBuilder>(mtu_); in insert_bits()
50 if (curr_packet_->size() != 0) { in finalize()
51 iterator_ = std::move(curr_packet_); in finalize()
53 curr_packet_.reset(); in finalize()
Dfragmenting_inserter.h41 std::unique_ptr<RawBuilder> curr_packet_; variable