/external/tensorflow/tensorflow/core/lib/io/ |
D | buffered_inputstream_test.cc | 193 TEST(BufferedInputStream, SkipNBytes) { in TEST() argument 206 TF_ASSERT_OK(in.SkipNBytes(3)); in TEST() 208 TF_ASSERT_OK(in.SkipNBytes(0)); in TEST() 213 TF_ASSERT_OK(in.SkipNBytes(0)); in TEST() 215 TF_ASSERT_OK(in.SkipNBytes(2)); in TEST() 220 EXPECT_TRUE(errors::IsOutOfRange(in.SkipNBytes(5))); in TEST() 222 EXPECT_TRUE(errors::IsOutOfRange(in.SkipNBytes(5))); in TEST() 276 TF_ASSERT_OK(in.SkipNBytes(3)); in TEST() 278 TF_ASSERT_OK(in.SkipNBytes(0)); in TEST() 283 TF_ASSERT_OK(in.SkipNBytes(0)); in TEST() [all …]
|
D | random_inputstream_test.cc | 55 TEST(RandomInputStream, SkipNBytes) { in TEST() argument 64 TF_ASSERT_OK(in.SkipNBytes(3)); in TEST() 72 TF_ASSERT_OK(in.SkipNBytes(0)); in TEST() 77 EXPECT_TRUE(errors::IsOutOfRange(in.SkipNBytes(20))); in TEST()
|
D | buffered_inputstream.cc | 126 Status BufferedInputStream::SkipNBytes(int64 bytes_to_skip) { in SkipNBytes() function in tensorflow::io::BufferedInputStream 138 Status s = input_stream_->SkipNBytes(bytes_to_skip - (limit_ - pos_)); in SkipNBytes() 164 return SkipNBytes(position); in Seek() 167 return SkipNBytes(position - bufpos); in Seek()
|
D | inputbuffer_test.cc | 224 TEST(InputBuffer, SkipNBytes) { in TEST() argument 235 TF_CHECK_OK(in.SkipNBytes(3)); in TEST() 237 TF_CHECK_OK(in.SkipNBytes(0)); in TEST() 242 TF_CHECK_OK(in.SkipNBytes(0)); in TEST() 244 TF_CHECK_OK(in.SkipNBytes(2)); in TEST() 249 EXPECT_TRUE(errors::IsOutOfRange(in.SkipNBytes(5))); in TEST() 251 EXPECT_TRUE(errors::IsOutOfRange(in.SkipNBytes(5))); in TEST()
|
D | inputstream_interface_test.cc | 57 TF_ASSERT_OK(ss.SkipNBytes(6)); in TEST() 61 EXPECT_TRUE(errors::IsOutOfRange(ss.SkipNBytes(1))); in TEST()
|
D | record_reader.cc | 145 TF_RETURN_IF_ERROR(input_stream_->SkipNBytes(length + kFooterSize)); in GetMetadata() 172 TF_RETURN_IF_ERROR(input_stream_->SkipNBytes(desired_pos)); in ReadRecord() 174 TF_RETURN_IF_ERROR(input_stream_->SkipNBytes(desired_pos - curr_pos)); in ReadRecord()
|
D | inputstream_interface.h | 41 virtual Status SkipNBytes(int64 bytes_to_skip);
|
D | inputstream_interface.cc | 27 Status InputStreamInterface::SkipNBytes(int64 bytes_to_skip) { in SkipNBytes() function in tensorflow::io::InputStreamInterface
|
D | random_inputstream.h | 37 Status SkipNBytes(int64 bytes_to_skip) override;
|
D | buffered_inputstream.h | 46 Status SkipNBytes(int64 bytes_to_skip) override;
|
D | inputbuffer.h | 67 Status SkipNBytes(int64 bytes_to_skip);
|
D | random_inputstream.cc | 56 Status RandomAccessInputStream::SkipNBytes(int64 bytes_to_skip) { in SkipNBytes() function in tensorflow::io::RandomAccessInputStream
|
D | inputbuffer.cc | 150 Status InputBuffer::SkipNBytes(int64 bytes_to_skip) { in SkipNBytes() function in tensorflow::io::InputBuffer
|
D | zlib_buffers_test.cc | 281 TF_ASSERT_OK(in.SkipNBytes(data_half_size)); in TestSkipNBytes()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | fixed_length_record_reader_op.cc | 70 TF_RETURN_IF_ERROR(buffered_inputstream_->SkipNBytes(header_bytes_)); in OnWorkStartedLocked() 95 Status s = buffered_inputstream_->SkipNBytes(hop_bytes_ - cache_size); in ReadLocked()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | reader_dataset_ops.cc | 472 input_buffer_->SkipNBytes(dataset()->header_bytes_)); in GetNextInternal() 644 buffered_input_stream_->SkipNBytes(dataset()->header_bytes_)); in GetNextInternal() 701 TF_RETURN_IF_ERROR(buffered_input_stream_->SkipNBytes( in RestoreInternal()
|
/external/tensorflow/tensorflow/contrib/hadoop/kernels/ |
D | hadoop_dataset_ops.cc | 121 return input_stream_->SkipNBytes(length); in ReadString()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | csv_dataset_op.cc | 306 Status s = input_stream_->SkipNBytes( in RestoreInternal()
|