Home
last modified time | relevance | path

Searched refs:input_stream_ (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/core/lib/io/
Drecord_reader.cc60 input_stream_(new RandomAccessInputStream(file)), in RecordReader()
63 input_stream_.reset(new BufferedInputStream(input_stream_.release(), in RecordReader()
71 input_stream_.reset(new ZlibInputStream( in RecordReader()
72 input_stream_.release(), options.zlib_options.input_buffer_size, in RecordReader()
93 TF_RETURN_IF_ERROR(input_stream_->ReadNBytes(expected, result)); in ReadChecksummed()
119 TF_RETURN_IF_ERROR(input_stream_->Reset()); in GetMetadata()
145 TF_RETURN_IF_ERROR(input_stream_->SkipNBytes(length + kFooterSize)); in GetMetadata()
166 int64 curr_pos = input_stream_->Tell(); in ReadRecord()
171 TF_RETURN_IF_ERROR(input_stream_->Reset()); in ReadRecord()
172 TF_RETURN_IF_ERROR(input_stream_->SkipNBytes(desired_pos)); in ReadRecord()
[all …]
Dbuffered_inputstream.cc26 : input_stream_(input_stream), in BufferedInputStream()
39 delete input_stream_; in ~BufferedInputStream()
49 Status s = input_stream_->ReadNBytes(size_, &buf_); in FillBuffer()
138 Status s = input_stream_->SkipNBytes(bytes_to_skip - (limit_ - pos_)); in SkipNBytes()
150 return input_stream_->Tell() - (limit_ - pos_); in Tell()
190 TF_RETURN_IF_ERROR(input_stream_->Reset()); in Reset()
Dzlib_inputstream.cc61 input_stream_(input_stream), in ZlibInputStream()
83 delete input_stream_; in ~ZlibInputStream()
88 TF_RETURN_IF_ERROR(input_stream_->Reset()); in Reset()
139 Status s = input_stream_->ReadNBytes(bytes_to_read, &data); in ReadFromStream()
Dzlib_inputstream.h79 InputStreamInterface* input_stream_; variable
Dbuffered_inputstream.h90 InputStreamInterface* input_stream_; // not owned. variable
Drecord_reader.h109 std::unique_ptr<InputStreamInterface> input_stream_; variable
/external/tensorflow/tensorflow/contrib/hadoop/kernels/
Dhadoop_dataset_ops.cc30 : input_stream_( in SequenceFileReader()
35 TF_RETURN_IF_ERROR(input_stream_->ReadNBytes(4, &version)); in ReadHeader()
54 TF_RETURN_IF_ERROR(input_stream_->ReadNBytes(2, &buffer)); in ReadHeader()
82 input_stream_->ReadNBytes(kSyncMarkerSize, &sync_marker_)); in ReadHeader()
94 input_stream_->ReadNBytes(kSyncMarkerSize, &sync_marker)); in ReadRecord()
98 "\" at pos ", input_stream_->Tell() - kSyncMarkerSize, in ReadRecord()
121 return input_stream_->SkipNBytes(length); in ReadString()
123 return input_stream_->ReadNBytes(length, value); in ReadString()
128 TF_RETURN_IF_ERROR(input_stream_->ReadNBytes(4, &buffer)); in ReadUInt32()
138 TF_RETURN_IF_ERROR(input_stream_->ReadNBytes(1, &buffer)); in ReadVInt()
[all …]
/external/webrtc/webrtc/test/
Dfake_audio_device.cc35 input_stream_(FileWrapper::Create()) { in FakeAudioDevice()
39 EXPECT_EQ(0, input_stream_->OpenFile(filename.c_str(), true, true)) in FakeAudioDevice()
51 if (file_utility_->InitPCMReading(*input_stream_.get()) != 0) in Init()
92 *input_stream_.get(), captured_audio_, kBufferSizeBytes); in CaptureAudio()
Dfake_audio_device.h64 rtc::scoped_ptr<FileWrapper> input_stream_; variable
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dcsv_dataset_op.cc230 if (input_stream_) { in GetNextInternal()
276 if (input_stream_ && num_buffer_reads_ > 0) { in SaveInternal()
306 Status s = input_stream_->SkipNBytes( in RestoreInternal()
625 Status s = input_stream_->ReadNBytes( in FillBuffer()
795 input_stream_ = std::make_shared<io::ZlibInputStream>( in SetupStreamsLocked()
800 input_stream_ = random_access_input_stream_; in SetupStreamsLocked()
822 input_stream_.reset(); in ResetStreamsLocked()
833 std::shared_ptr<io::InputStreamInterface> input_stream_ GUARDED_BY(mu_);
/external/tensorflow/tensorflow/core/kernels/data/
Dreader_dataset_ops.cc229 input_stream_ = in SetupStreamsLocked()
234 input_stream_.get(), dataset()->options_.input_buffer_size, in SetupStreamsLocked()
241 input_stream_.get(), dataset()->options_.input_buffer_size, in SetupStreamsLocked()
249 input_stream_.reset(); in ResetStreamsLocked()
256 std::unique_ptr<io::RandomAccessInputStream> input_stream_