Searched refs:data_len_ (Results 1 – 2 of 2) sorted by relevance
45 data_len_(0), buffering_(false) { in BufferedReadAdapter()70 if (data_len_) { in Recv()71 read = std::min(cb, data_len_); in Recv()73 data_len_ -= read; in Recv()74 if (data_len_ > 0) { in Recv()75 memmove(buffer_, buffer_ + read, data_len_); in Recv()110 if (data_len_ >= buffer_size_) { in OnReadEvent()113 data_len_ = 0; in OnReadEvent()116 int len = socket_->Recv(buffer_ + data_len_, buffer_size_ - data_len_); in OnReadEvent()123 data_len_ += len; in OnReadEvent()[all …]
51 size_t buffer_size_, data_len_; variable