Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dtestutils.h165 readable_data_.clear(); in Clear()
184 readable_data_.insert(readable_data_.end(), data, data + len); in QueueData()
185 if ((SS_OPEN == state_) && (readable_data_.size() == len)) { in QueueData()
202 if (!readable_data_.empty()) { in SetState()
225 if ((SS_OPENING == state_) || (readable_data_.size() <= read_block_)) { in Read()
228 size_t count = std::min(buffer_len, readable_data_.size() - read_block_); in Read()
229 memcpy(buffer, &readable_data_[0], count); in Read()
230 size_t new_size = readable_data_.size() - count; in Read()
233 if (count < readable_data_.size()) { in Read()
234 memmove(&readable_data_[0], &readable_data_[count], new_size); in Read()
[all …]