Home
last modified time | relevance | path

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

/external/chromium_org/media/base/
Daudio_fifo.cc45 read_pos_(0), in AudioFifo()
104 GetSizes(read_pos_, max_frames(), frames_to_consume, in Consume()
114 memcpy(&dest[start_frame], &src[read_pos_], consume_size * sizeof(src[0])); in Consume()
123 read_pos_ = UpdatePos(read_pos_, frames_to_consume, max_frames()); in Consume()
129 read_pos_ = 0; in Clear()
Daudio_fifo.h56 int read_pos_; variable
/external/chromium_org/third_party/webrtc/modules/audio_device/android/
Dsingle_rw_fifo.cc56 read_pos_(0), in SingleRwFifo()
92 ret_val = queue_[read_pos_]; in Pop()
96 read_pos_ = UpdatePos(read_pos_, capacity()); in Pop()
Dsingle_rw_fifo.h43 int read_pos_; variable
/external/chromium_org/third_party/libjingle/source/talk/base/
Dstream.cc1192 : str_(str), read_pos_(0), read_only_(false) { in StringStream()
1196 : str_(const_cast<std::string&>(str)), read_pos_(0), read_only_(true) { in StringStream()
1205 size_t available = _min(buffer_len, str_.size() - read_pos_); in Read()
1208 memcpy(buffer, str_.data() + read_pos_, available); in Read()
1209 read_pos_ += available; in Read()
1236 read_pos_ = position; in SetPosition()
1242 *position = read_pos_; in GetPosition()
1254 *size = str_.size() - read_pos_; in GetAvailable()
Dstream.h754 size_t read_pos_; variable
/external/chromium_org/third_party/webrtc/base/
Dstream.cc1175 : str_(str), read_pos_(0), read_only_(false) { in StringStream()
1179 : str_(const_cast<std::string&>(str)), read_pos_(0), read_only_(true) { in StringStream()
1188 size_t available = _min(buffer_len, str_.size() - read_pos_); in Read()
1191 memcpy(buffer, str_.data() + read_pos_, available); in Read()
1192 read_pos_ += available; in Read()
1219 read_pos_ = position; in SetPosition()
1225 *position = read_pos_; in GetPosition()
1237 *size = str_.size() - read_pos_; in GetAvailable()
Dstream.h737 size_t read_pos_; variable