Home
last modified time | relevance | path

Searched refs:file_reader (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/lib/io/
Dzlib_buffers_test.cc83 std::unique_ptr<RandomAccessFile> file_reader; in TestAllCombinations() local
84 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TestAllCombinations()
86 new RandomAccessInputStream(file_reader.get())); in TestAllCombinations()
137 std::unique_ptr<RandomAccessFile> file_reader; in TestMultipleWrites() local
138 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TestMultipleWrites()
140 new RandomAccessInputStream(file_reader.get())); in TestMultipleWrites()
184 std::unique_ptr<RandomAccessFile> file_reader; in TEST() local
185 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TEST()
187 new RandomAccessInputStream(file_reader.get())); in TEST()
225 std::unique_ptr<RandomAccessFile> file_reader; in TestTell() local
[all …]
/external/libxcam/xcore/
Dcalibration_parser.cpp194 FileHandle file_reader; in parse_intrinsic_file() local
200 WARNING, xcam_ret_is_ok (ret = file_reader.open (file_path, "r")), ret, in parse_intrinsic_file()
203 WARNING, xcam_ret_is_ok (ret = file_reader.get_file_size (file_size)), ret, in parse_intrinsic_file()
207 WARNING, xcam_ret_is_ok (ret = file_reader.read_file (&context[0], file_size)), ret, in parse_intrinsic_file()
209 file_reader.close (); in parse_intrinsic_file()
220 FileHandle file_reader; in parse_extrinsic_file() local
226 WARNING, xcam_ret_is_ok (ret = file_reader.open (file_path, "r")), ret, in parse_extrinsic_file()
229 WARNING, xcam_ret_is_ok (ret = file_reader.get_file_size (file_size)), ret, in parse_extrinsic_file()
233 WARNING, xcam_ret_is_ok (ret = file_reader.read_file (&context[0], file_size)), ret, in parse_extrinsic_file()
235 file_reader.close (); in parse_extrinsic_file()
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_buffers_test.cc87 std::unique_ptr<RandomAccessFile> file_reader; in TestMultipleWrites() local
88 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(fname, &file_reader)); in TestMultipleWrites()
97 while ((file_reader->Read(file_pos, bytes_to_read, &data, scratch)).ok()) { in TestMultipleWrites()
115 std::unique_ptr<RandomAccessFile> file_reader; in TestMultipleWrites() local
116 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(fname, &file_reader)); in TestMultipleWrites()
117 io::SnappyInputBuffer in(file_reader.get(), uncompress_input_buf_size, in TestMultipleWrites()
/external/tensorflow/tensorflow/examples/label_image/
Dlabel_image.py45 file_reader = tf.read_file(file_name, input_name)
48 file_reader, channels=3, name="png_reader")
51 tf.image.decode_gif(file_reader, name="gif_reader"))
53 image_reader = tf.image.decode_bmp(file_reader, name="bmp_reader")
56 file_reader, channels=3, name="jpeg_reader")
Dmain.cc131 auto file_reader = in ReadTensorFromImageFile() local
142 image_reader = DecodePng(root.WithOpName("png_reader"), file_reader, in ReadTensorFromImageFile()
148 DecodeGif(root.WithOpName("gif_reader"), file_reader)); in ReadTensorFromImageFile()
150 image_reader = DecodeBmp(root.WithOpName("bmp_reader"), file_reader); in ReadTensorFromImageFile()
153 image_reader = DecodeJpeg(root.WithOpName("jpeg_reader"), file_reader, in ReadTensorFromImageFile()
/external/webrtc/webrtc/test/testsupport/
Dframe_reader_unittest.cc66 FrameReaderImpl file_reader(temp_filename_, kFrameLength); in TEST_F() local
67 ASSERT_FALSE(file_reader.ReadFrame(buffer)); in TEST_F()
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/
Dwav_to_spectrogram.cc55 Output file_reader = in WavToSpectrogram() local
58 DecodeWav(root.WithOpName("wav_decoder"), file_reader); in WavToSpectrogram()
/external/tensorflow/tensorflow/examples/multibox_detector/
Dmain.cc84 auto file_reader = in ReadTensorFromImageFile() local
90 image_reader = DecodePng(root.WithOpName("png_reader"), file_reader, in ReadTensorFromImageFile()
93 image_reader = DecodeGif(root.WithOpName("gif_reader"), file_reader); in ReadTensorFromImageFile()
96 image_reader = DecodeJpeg(root.WithOpName("jpeg_reader"), file_reader, in ReadTensorFromImageFile()
/external/perf_data_converter/src/quipper/
Dquipper.gyp28 'file_reader.cc',
DAndroid.bp50 "file_reader.cc",
DMakefile.external30 data_writer.cc dso.cc file_reader.cc file_utils.cc \
/external/perf_data_converter/src/
DMakefile55 data_writer.cc dso.cc file_reader.cc file_utils.cc \