Home
last modified time | relevance | path

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

/external/chromium_org/media/base/
Daudio_fifo.cc48 read_pos_(0), in AudioFifo()
113 GetSizes(read_pos_, max_frames(), frames_to_consume, in Consume()
123 memcpy(&dest[start_frame], &src[read_pos_], consume_size * sizeof(src[0])); in Consume()
134 read_pos_ = UpdatePos(read_pos_, frames_to_consume, max_frames()); in Consume()
140 read_pos_ = 0; in Clear()
Daudio_fifo.h58 int read_pos_; variable
/external/chromium/third_party/libjingle/source/talk/base/
Dstream.cc932 : str_(str), read_pos_(0), read_only_(false) in StringStream()
937 : str_(const_cast<std::string&>(str)), read_pos_(0), read_only_(true) in StringStream()
947 size_t available = _min(buffer_len, str_.size() - read_pos_); in Read()
950 memcpy(buffer, str_.data() + read_pos_, available); in Read()
951 read_pos_ += available; in Read()
978 read_pos_ = position; in SetPosition()
984 *position = read_pos_; in GetPosition()
996 *size = str_.size() - read_pos_; in GetAvailable()
Dstream.h637 size_t 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.h753 size_t read_pos_; variable