Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/io/
Dinputbuffer.cc26 file_pos_(0), in InputBuffer()
36 Status s = file_->Read(file_pos_, size_, &data, buf_); in FillBuffer()
42 file_pos_ += data.size(); in FillBuffer()
187 const int64 bufpos = file_pos_ - static_cast<int64>(limit_ - buf_); in Seek()
188 if (position >= bufpos && position < file_pos_) { in Seek()
195 file_pos_ = position; in Seek()
226 Status s = file_->Read(file_pos_, bytes_to_read, &data, limit_); in Hint()
231 file_pos_ += data.size(); in Hint()
Dinputbuffer.h82 int64 Tell() const { return file_pos_ - (limit_ - pos_); } in Tell()
103 int64 file_pos_; // Next position to read from in "file_" variable
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_inputbuffer.cc62 file_pos_ = 0; in Reset()
170 Status s = file_->Read(file_pos_, bytes_to_read, &data, read_location); in ReadFromFile()
181 file_pos_ += data.size(); in ReadFromFile()
Dsnappy_inputbuffer.h96 int64 file_pos_ = 0; // Next position to read from in `file_` variable
/external/webrtc/modules/audio_device/android/
Daudio_device_unittest.cc110 : file_size_in_bytes_(0), sample_rate_(sample_rate), file_pos_(0) { in FileAudioStream()
132 memcpy(destination, static_cast<int16_t*>(&file_[file_pos_]), in Read()
134 file_pos_ += num_frames; in Read()
149 size_t file_pos_; member in webrtc::FileAudioStream
/external/webrtc/sdk/android/native_unittests/audio_device/
Daudio_device_unittest.cc107 : file_size_in_bytes_(0), sample_rate_(sample_rate), file_pos_(0) { in FileAudioStream()
129 memcpy(destination, static_cast<int16_t*>(&file_[file_pos_]), in Read()
131 file_pos_ += num_frames; in Read()
146 size_t file_pos_; member in webrtc::jni::FileAudioStream