Searched refs:bytes_left_ (Results 1 – 5 of 5) sorted by relevance
33 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()
55 size_t bytes_left_{0};
34 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()
109 size_t data_length_ = 0, bytes_left_ = 0; variable
194 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_; member216 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