Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/data/
Dreader_dataset_ops.cc162 ++current_file_index_; in GetNextInternal()
166 if (current_file_index_ == dataset()->filenames_.size()) { in GetNextInternal()
184 current_file_index_)); in SaveInternal()
203 current_file_index_ = size_t(current_file_index); in RestoreInternal()
220 if (current_file_index_ >= dataset()->filenames_.size()) { in SetupStreamsLocked()
222 "current_file_index_:", current_file_index_, in SetupStreamsLocked()
228 dataset()->filenames_[current_file_index_], &file_)); in SetupStreamsLocked()
261 size_t current_file_index_ GUARDED_BY(mu_) = 0;
439 ++current_file_index_; in GetNextInternal()
443 if (current_file_index_ == dataset()->filenames_.size()) { in GetNextInternal()
[all …]
/external/webrtc/webrtc/base/
Dfilerotatingstream.cc54 current_file_index_(0), in FileRotatingStream()
73 current_file_index_ = file_names_.size() - 1; in FileRotatingStream()
84 if (mode_ == kRead && current_file_index_ < file_names_.size()) { in GetState()
101 if (current_file_index_ >= file_names_.size()) { in Read()
119 << file_names_[current_file_index_] << "Error: " << error; in Read()
124 if (current_file_index_ == 0) { in Read()
126 current_file_index_ = file_names_.size(); in Read()
128 --current_file_index_; in Read()
243 RTC_DCHECK_LT(current_file_index_, file_names_.size()); in OpenCurrentFile()
244 std::string file_path = file_names_[current_file_index_]; in OpenCurrentFile()
[all …]
Dfilerotatingstream.h117 size_t current_file_index_; variable
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dlmdb_dataset_op.cc114 ++current_file_index_; in GetNextInternal()
119 if (current_file_index_ == dataset()->filenames_.size()) { in GetNextInternal()
147 if (current_file_index_ >= dataset()->filenames_.size()) { in SetupStreamsLocked()
149 "current_file_index_:", current_file_index_, in SetupStreamsLocked()
152 const string& filename = dataset()->filenames_[current_file_index_]; in SetupStreamsLocked()
205 size_t current_file_index_ GUARDED_BY(mu_) = 0;
Dcsv_dataset_op.cc252 ++current_file_index_; in GetNextInternal()
255 if (current_file_index_ == dataset()->filenames_.size()) { in GetNextInternal()
272 current_file_index_)); in SaveInternal()
292 current_file_index_ = size_t(current_file_index); in RestoreInternal()
782 if (current_file_index_ >= dataset()->filenames_.size()) { in SetupStreamsLocked()
784 "current_file_index_:", current_file_index_, in SetupStreamsLocked()
790 dataset()->filenames_[current_file_index_], &file_)); in SetupStreamsLocked()
834 size_t current_file_index_ GUARDED_BY(mu_) = 0;
/external/tensorflow/tensorflow/contrib/hadoop/kernels/
Dhadoop_dataset_ops.cc278 ++current_file_index_; in GetNextInternal()
282 if (current_file_index_ == dataset()->filenames_.size()) { in GetNextInternal()
306 if (current_file_index_ >= dataset()->filenames_.size()) { in SetupStreamsLocked()
308 "current_file_index_:", current_file_index_, in SetupStreamsLocked()
313 const string& filename = dataset()->filenames_[current_file_index_]; in SetupStreamsLocked()
326 size_t current_file_index_ GUARDED_BY(mu_) = 0;