Home
last modified time | relevance | path

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

/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dlink_layer_socket_device.cc33 if (bytes_left_ == 0) { in TimerTick()
43 bytes_left_ = size.begin().extract<uint32_t>(); in TimerTick()
44 received_ = std::make_shared<std::vector<uint8_t>>(bytes_left_); in TimerTick()
47 size_t bytes_received = socket_.TryReceive(bytes_left_, received_->data() + offset_); in TimerTick()
51 bytes_left_ -= bytes_received; in TimerTick()
53 if (bytes_left_ == 0) { in TimerTick()
Dlink_layer_socket_device.h55 size_t bytes_left_{0};
/system/core/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
/system/core/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