Home
last modified time | relevance | path

Searched refs:bytes_left_ (Results 1 – 3 of 3) sorted by relevance

/packages/modules/adb/daemon/
Dservices.cpp194 bytes_left_ = byte_count; in SinkSocket()
200 if (bytes_left_ <= data.size()) { in Enqueue()
206 bytes_left_ -= data.size(); in Enqueue()
210 size_t bytes_left_; member
216 bytes_left_ = byte_count; in SourceSocket()
222 size_t len = std::min(bytes_left_, get_max_payload()); in Ready()
231 bytes_left_ -= len; in Ready()
236 size_t bytes_left_; member
/packages/modules/adb/
Dshell_service_protocol.cpp34 if (!bytes_left_) { in Read()
41 bytes_left_ = packet_length; in Read()
45 size_t read_length = std::min(bytes_left_, data_capacity()); in Read()
50 bytes_left_ -= read_length; in Read()
Dshell_protocol.h109 size_t data_length_ = 0, bytes_left_ = 0; variable