Home
last modified time | relevance | path

Searched refs:RandomAccessInputStream (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/lib/io/
Drandom_inputstream.cc22 RandomAccessInputStream::RandomAccessInputStream(RandomAccessFile* file, in RandomAccessInputStream() function in tensorflow::io::RandomAccessInputStream
26 RandomAccessInputStream::~RandomAccessInputStream() { in ~RandomAccessInputStream()
32 Status RandomAccessInputStream::ReadNBytes(int64 bytes_to_read, in ReadNBytes()
53 Status RandomAccessInputStream::ReadNBytes(int64 bytes_to_read, in ReadNBytes()
71 Status RandomAccessInputStream::SkipNBytes(int64 bytes_to_skip) { in SkipNBytes()
104 int64 RandomAccessInputStream::Tell() const { return pos_; } in Tell()
Dzlib_buffers_test.cc88 std::unique_ptr<RandomAccessInputStream> input_stream( in TestAllCombinations()
89 new RandomAccessInputStream(file_reader.get())); in TestAllCombinations()
143 std::unique_ptr<RandomAccessInputStream> input_stream( in TestMultipleWrites()
144 new RandomAccessInputStream(file_reader.get())); in TestMultipleWrites()
191 std::unique_ptr<RandomAccessInputStream> input_stream( in TEST()
192 new RandomAccessInputStream(file_reader.get())); in TEST()
233 std::unique_ptr<RandomAccessInputStream> input_stream( in TestTell()
234 new RandomAccessInputStream(file_reader.get())); in TestTell()
278 std::unique_ptr<RandomAccessInputStream> input_stream( in TestSkipNBytes()
279 new RandomAccessInputStream(file_reader.get())); in TestSkipNBytes()
[all …]
Dbuffered_inputstream_test.cc73 std::unique_ptr<RandomAccessInputStream> input_stream( in TEST()
74 new RandomAccessInputStream(file.get())); in TEST()
91 std::unique_ptr<RandomAccessInputStream> input_stream( in TEST()
92 new RandomAccessInputStream(file.get())); in TEST()
116 std::unique_ptr<RandomAccessInputStream> input_stream( in TEST()
117 new RandomAccessInputStream(file.get())); in TEST()
142 std::unique_ptr<RandomAccessInputStream> input_stream( in TEST()
143 new RandomAccessInputStream(file.get())); in TEST()
172 std::unique_ptr<RandomAccessInputStream> input_stream( in TEST()
173 new RandomAccessInputStream(file.get())); in TEST()
[all …]
Drandom_inputstream.h28 class RandomAccessInputStream : public InputStreamInterface {
32 RandomAccessInputStream(RandomAccessFile* file, bool owns_file = false);
34 ~RandomAccessInputStream();
Drandom_inputstream_test.cc34 RandomAccessInputStream in(file.get()); in TEST()
64 RandomAccessInputStream in(file.get()); in TEST()
96 RandomAccessInputStream in(file.get()); in TEST()
127 RandomAccessInputStream in(file.get()); in TEST()
Dbuffered_inputstream.cc34 : BufferedInputStream(new RandomAccessInputStream(file), buffer_bytes, in BufferedInputStream()
Drecord_reader.cc60 input_stream_(new RandomAccessInputStream(file)), in RecordReader()
/external/tensorflow/tensorflow/core/kernels/
Dfixed_length_record_reader_op.cc61 file_stream_.reset(new io::RandomAccessInputStream(file_.get())); in OnWorkStartedLocked()
158 std::unique_ptr<io::RandomAccessInputStream> file_stream_;
Dwhole_file_read_ops.cc41 io::RandomAccessInputStream input_stream(file.get()); in ReadEntireFile()
/external/tensorflow/tensorflow/compiler/jit/tests/
Dauto_clustering_test_helper.cc182 std::unique_ptr<io::RandomAccessInputStream> input_stream( in RunAutoClusteringTestWithGzippedPbtxt()
183 new io::RandomAccessInputStream(file_reader.get())); in RunAutoClusteringTestWithGzippedPbtxt()
/external/tensorflow/tensorflow/compiler/xla/tools/
Dhex_floats_to_packed_literal.cc61 tensorflow::io::RandomAccessInputStream stream(file.get()); in main()
/external/tensorflow/tensorflow/core/kernels/data/
Dtext_line_dataset_op.cc195 absl::make_unique<io::RandomAccessInputStream>(file_.get(), false); in SetupStreamsLocked()
220 std::unique_ptr<io::RandomAccessInputStream> input_stream_
Dfixed_length_record_dataset_op.cc359 absl::make_unique<io::RandomAccessInputStream>(file_.get()); in GetNextInternal()
421 absl::make_unique<io::RandomAccessInputStream>(file_.get()); in RestoreInternal()
440 std::unique_ptr<io::RandomAccessInputStream>
/external/tensorflow/tensorflow/compiler/xla/
Dtext_literal_reader.cc61 tensorflow::io::RandomAccessInputStream stream(file_.get()); in ReadAllLines()
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_test.cc178 io::RandomAccessInputStream random_input_stream(file_reader.get(), false); in TestMultipleWritesInputStream()
271 io::RandomAccessInputStream random_input_stream(file_reader.get(), false); in TestTellInputStream()
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io_wrapper.cc286 std::unique_ptr<tensorflow::io::RandomAccessInputStream> in PYBIND11_MODULE()
287 input_stream(new tensorflow::io::RandomAccessInputStream( in PYBIND11_MODULE()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dcsv_dataset_op.cc855 std::make_shared<io::RandomAccessInputStream>(file_.get(), false); in SetupStreamsLocked()
894 std::shared_ptr<io::RandomAccessInputStream> random_access_input_stream_
Dsnapshot_util.cc661 input_stream_ = std::make_unique<io::RandomAccessInputStream>(file_.get()); in Initialize()