Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/data/
Dtf_record_dataset_op.cc141 ++current_file_index_; in GetNextInternal()
148 ++current_file_index_; in GetNextInternal()
152 if (current_file_index_ == dataset()->filenames_.size()) { in GetNextInternal()
182 ++current_file_index_; in SkipInternal()
189 ++current_file_index_; in SkipInternal()
193 if (current_file_index_ == dataset()->filenames_.size()) { in SkipInternal()
212 current_file_index_)); in SaveInternal()
228 current_file_index_ = size_t(current_file_index); in RestoreInternal()
241 if (current_file_index_ >= dataset()->filenames_.size()) { in SetupStreamsLocked()
243 "current_file_index_:", current_file_index_, in SetupStreamsLocked()
[all …]
Dfixed_length_record_dataset_op.cc161 ++current_file_index_; in GetNextInternal()
165 if (current_file_index_ == dataset()->filenames_.size()) { in GetNextInternal()
173 dataset()->filenames_[current_file_index_], &file_size)); in GetNextInternal()
184 dataset()->filenames_[current_file_index_], "\" has body length ", in GetNextInternal()
190 dataset()->filenames_[current_file_index_], &file_)); in GetNextInternal()
202 current_file_index_)); in SaveInternal()
219 current_file_index_ = size_t(current_file_index); in RestoreInternal()
230 dataset()->filenames_[current_file_index_], &file_size)); in RestoreInternal()
233 dataset()->filenames_[current_file_index_], &file_)); in RestoreInternal()
244 size_t current_file_index_ TF_GUARDED_BY(mu_) = 0;
[all …]
Dtext_line_dataset_op.cc127 ++current_file_index_; in GetNextInternal()
131 if (current_file_index_ == dataset()->filenames_.size()) { in GetNextInternal()
150 current_file_index_)); in SaveInternal()
168 current_file_index_ = size_t(current_file_index); in RestoreInternal()
185 if (current_file_index_ >= dataset()->filenames_.size()) { in SetupStreamsLocked()
187 "current_file_index_:", current_file_index_, in SetupStreamsLocked()
193 dataset()->filenames_[current_file_index_], &file_)); in SetupStreamsLocked()
225 size_t current_file_index_ TF_GUARDED_BY(mu_) = 0;
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dlmdb_dataset_op.cc109 ++current_file_index_; in GetNextInternal()
114 if (current_file_index_ == dataset()->filenames_.size()) { in GetNextInternal()
144 if (current_file_index_ >= dataset()->filenames_.size()) { in SetupStreamsLocked()
146 "current_file_index_:", current_file_index_, in SetupStreamsLocked()
149 const string& filename = dataset()->filenames_[current_file_index_]; in SetupStreamsLocked()
202 size_t current_file_index_ TF_GUARDED_BY(mu_) = 0;
Dcsv_dataset_op.cc306 ++current_file_index_; in GetNextInternal()
309 if (current_file_index_ == dataset()->filenames_.size()) { in GetNextInternal()
327 current_file_index_)); in SaveInternal()
347 current_file_index_ = size_t(current_file_index); in RestoreInternal()
845 if (current_file_index_ >= dataset()->filenames_.size()) { in SetupStreamsLocked()
847 "current_file_index_:", current_file_index_, in SetupStreamsLocked()
853 dataset()->filenames_[current_file_index_], &file_)); in SetupStreamsLocked()
898 size_t current_file_index_ TF_GUARDED_BY(mu_) = 0;
/external/webrtc/rtc_base/
Dfile_rotating_stream.cc180 current_file_index_(0), in FileRotatingStream()
278 RTC_DCHECK_LT(current_file_index_, file_names_.size()); in OpenCurrentFile()
279 std::string file_path = file_names_[current_file_index_]; in OpenCurrentFile()
282 RTC_DCHECK_EQ(current_file_index_, 0); in OpenCurrentFile()
Dfile_rotating_stream.h108 size_t current_file_index_; variable