/external/tensorflow/tensorflow/core/lib/io/ |
D | buffered_inputstream_test.cc | 256 TEST(BufferedInputStream, SkipNBytes) { in TEST() argument 270 TF_ASSERT_OK(in.SkipNBytes(3)); in TEST() 272 TF_ASSERT_OK(in.SkipNBytes(0)); in TEST() 277 TF_ASSERT_OK(in.SkipNBytes(0)); in TEST() 279 TF_ASSERT_OK(in.SkipNBytes(2)); in TEST() 284 EXPECT_TRUE(errors::IsOutOfRange(in.SkipNBytes(5))); in TEST() 286 EXPECT_TRUE(errors::IsOutOfRange(in.SkipNBytes(5))); in TEST() 342 TF_ASSERT_OK(in.SkipNBytes(3)); in TEST() 344 TF_ASSERT_OK(in.SkipNBytes(0)); in TEST() 349 TF_ASSERT_OK(in.SkipNBytes(0)); in TEST() [all …]
|
D | buffered_inputstream.cc | 127 Status BufferedInputStream::SkipNBytes(int64 bytes_to_skip) { in SkipNBytes() function in tensorflow::io::BufferedInputStream 139 Status s = input_stream_->SkipNBytes(bytes_to_skip - (limit_ - pos_)); in SkipNBytes() 165 return SkipNBytes(position); in Seek() 175 return SkipNBytes(position - Tell()); in Seek()
|
D | random_inputstream_test.cc | 88 TEST(RandomInputStream, SkipNBytes) { in TEST() argument 97 TF_ASSERT_OK(in.SkipNBytes(3)); in TEST() 105 TF_ASSERT_OK(in.SkipNBytes(0)); in TEST() 110 EXPECT_TRUE(errors::IsOutOfRange(in.SkipNBytes(20))); 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 | 151 TF_RETURN_IF_ERROR(input_stream_->SkipNBytes(length + kFooterSize)); in GetMetadata() 177 TF_RETURN_IF_ERROR(input_stream_->SkipNBytes(desired_pos)); in PositionInputStream() 179 TF_RETURN_IF_ERROR(input_stream_->SkipNBytes(desired_pos - curr_pos)); in PositionInputStream() 228 s = input_stream_->SkipNBytes(length + kFooterSize); in SkipRecords()
|
D | inputbuffer_test.cc | 230 TEST(InputBuffer, SkipNBytes) { in TEST() argument 242 TF_CHECK_OK(in.SkipNBytes(3)); in TEST() 244 TF_CHECK_OK(in.SkipNBytes(0)); in TEST() 249 TF_CHECK_OK(in.SkipNBytes(0)); in TEST() 251 TF_CHECK_OK(in.SkipNBytes(2)); in TEST() 256 EXPECT_TRUE(errors::IsOutOfRange(in.SkipNBytes(5))); in TEST() 258 EXPECT_TRUE(errors::IsOutOfRange(in.SkipNBytes(5))); in TEST()
|
D | inputstream_interface.cc | 27 Status InputStreamInterface::SkipNBytes(int64 bytes_to_skip) { in SkipNBytes() function in tensorflow::io::InputStreamInterface
|
D | inputstream_interface.h | 54 virtual Status SkipNBytes(int64 bytes_to_skip);
|
D | random_inputstream.h | 42 Status SkipNBytes(int64 bytes_to_skip) override;
|
D | buffered_inputstream.h | 46 tensorflow::Status SkipNBytes(int64 bytes_to_skip) override;
|
D | inputbuffer.h | 69 Status SkipNBytes(int64 bytes_to_skip);
|
D | random_inputstream.cc | 71 Status RandomAccessInputStream::SkipNBytes(int64 bytes_to_skip) { in SkipNBytes() function in tensorflow::io::RandomAccessInputStream
|
D | zlib_buffers_test.cc | 288 TF_ASSERT_OK(in.SkipNBytes(data_half_size)); in TestSkipNBytes() 335 EXPECT_TRUE(errors::IsDataLoss(in.SkipNBytes(5))); in TestSoftErrorOnDecompress()
|
D | inputbuffer.cc | 155 Status InputBuffer::SkipNBytes(int64 bytes_to_skip) { in SkipNBytes() function in tensorflow::io::InputBuffer
|
/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 | fixed_length_record_dataset_op.cc | 193 TF_RETURN_IF_ERROR(input_buffer_->SkipNBytes(dataset()->header_bytes_)); in GetNextInternal() 368 buffered_input_stream_->SkipNBytes(dataset()->header_bytes_)); in GetNextInternal() 426 TF_RETURN_IF_ERROR(buffered_input_stream_->SkipNBytes( in RestoreInternal()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | csv_dataset_op.cc | 361 Status s = input_stream_->SkipNBytes( in RestoreInternal()
|