Home
last modified time | relevance | path

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

/system/bt/packet/base/
Diterator.cc30 CHECK_LE(index_, packet->packet_end_index_); in Iterator()
43 index_ = new_offset > packet_->packet_end_index_ ? packet_->packet_end_index_ in operator +=()
52 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; in operator ++()
60 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; in operator ++()
124 CHECK_NE(index_, packet_->packet_end_index_); in operator *()
Dpacket.h39 packet_end_index_(0), in Packet()
42 : packet_start_index_(start), packet_end_index_(end), data_(pkt->data_){}; in Packet()
46 packet_end_index_ = indices.second; in Packet()
79 new T(pkt, pkt->packet_start_index_, pkt->packet_end_index_)); in Specialize()
85 size_t packet_end_index_; variable
Dpacket.cc26 size_t Packet::size() const { return packet_end_index_ - packet_start_index_; } in size()
33 return Iterator(shared_from_this(), packet_end_index_); in end()
46 CHECK_LT(index, packet_end_index_); in get_at_index()
Dpacket_builder.cc36 pkt->packet_end_index_++; in AddPayloadOctets()
/system/bt/packet/tests/base/
Dpacket_test_common.h44 << " : End = " << packet_end_index_ << std::endl; in ToString()
55 return std::pair<size_t, size_t>(packet_start_index_, packet_end_index_); in GetPayloadIndecies()
/system/bt/profile/avrcp/
Davrcp_message_converter.h37 pkt->packet_end_index_ = payload.size(); in Make()
57 return std::pair<size_t, size_t>(packet_start_index_, packet_end_index_); in GetPayloadIndecies()
/system/bt/packet/tests/
Dpacket_test_helper.h54 pkt->packet_end_index_ = end; in Make()
/system/bt/packet/avrcp/
Davrcp_browse_packet.cc87 return std::pair<size_t, size_t>(packet_start_index_ + 3, packet_end_index_); in GetPayloadIndecies()
Davrcp_packet.cc113 return std::pair<size_t, size_t>(packet_start_index_ + 3, packet_end_index_); in GetPayloadIndecies()
/system/bt/profile/sdp/common/test/
Ddata_element_reader_test.cc36 pkt->packet_end_index_ = payload.size(); in Make()
44 return std::pair<size_t, size_t>(packet_start_index_, packet_end_index_); in GetPayloadIndecies()