Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/io/
Dzlib_buffers_test.cc86 std::unique_ptr<RandomAccessFile> file_reader; in TestAllCombinations() local
87 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TestAllCombinations()
89 new RandomAccessInputStream(file_reader.get())); in TestAllCombinations()
141 std::unique_ptr<RandomAccessFile> file_reader; in TestMultipleWrites() local
142 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TestMultipleWrites()
144 new RandomAccessInputStream(file_reader.get())); in TestMultipleWrites()
189 std::unique_ptr<RandomAccessFile> file_reader; in TEST() local
190 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TEST()
192 new RandomAccessInputStream(file_reader.get())); in TEST()
231 std::unique_ptr<RandomAccessFile> file_reader; in TestTell() local
[all …]
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_test.cc91 std::unique_ptr<RandomAccessFile> file_reader; in TestMultipleWritesWriteFile() local
92 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(fname, &file_reader)); in TestMultipleWritesWriteFile()
101 while ((file_reader->Read(file_pos, bytes_to_read, &data, scratch)).ok()) { in TestMultipleWritesWriteFile()
138 std::unique_ptr<RandomAccessFile> file_reader; in TestMultipleWrites() local
139 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(fname, &file_reader)); in TestMultipleWrites()
140 io::SnappyInputBuffer in(file_reader.get(), uncompress_input_buf_size, in TestMultipleWrites()
176 std::unique_ptr<RandomAccessFile> file_reader; in TestMultipleWritesInputStream() local
177 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(fname, &file_reader)); in TestMultipleWritesInputStream()
178 io::RandomAccessInputStream random_input_stream(file_reader.get(), false); in TestMultipleWritesInputStream()
232 std::unique_ptr<RandomAccessFile> file_reader; in TestTell() local
[all …]
/external/libgav1/libgav1/tests/fuzzer/
Ddecoder_fuzzer_frame_parallel.cc84 auto file_reader = in LLVMFuzzerTestOneInput() local
86 if (file_reader == nullptr) return 0; in LLVMFuzzerTestOneInput()
92 if (input_buffer == nullptr && !file_reader->IsEndOfFile()) { in LLVMFuzzerTestOneInput()
102 if (!file_reader->ReadTemporalUnit(input_buffer, nullptr)) { in LLVMFuzzerTestOneInput()
131 } while (input_buffer != nullptr || !file_reader->IsEndOfFile() || in LLVMFuzzerTestOneInput()
Ddecoder_fuzzer.cc74 auto file_reader = in LLVMFuzzerTestOneInput() local
76 if (file_reader == nullptr) return 0; in LLVMFuzzerTestOneInput()
81 if (!file_reader->ReadTemporalUnit(&buffer, nullptr)) break; in LLVMFuzzerTestOneInput()
84 } while (!file_reader->IsEndOfFile()); in LLVMFuzzerTestOneInput()
Dobu_parser_fuzzer.cc76 auto file_reader = in LLVMFuzzerTestOneInput() local
78 if (file_reader == nullptr) return 0; in LLVMFuzzerTestOneInput()
83 if (!file_reader->ReadTemporalUnit(&buffer, nullptr)) break; in LLVMFuzzerTestOneInput()
86 } while (!file_reader->IsEndOfFile()); in LLVMFuzzerTestOneInput()
/external/tensorflow/tensorflow/examples/label_image/
Dlabel_image.py45 file_reader = tf.read_file(file_name, input_name)
47 image_reader = tf.io.decode_png(file_reader, channels=3, name="png_reader")
49 image_reader = tf.squeeze(tf.io.decode_gif(file_reader, name="gif_reader"))
51 image_reader = tf.io.decode_bmp(file_reader, name="bmp_reader")
54 file_reader, channels=3, name="jpeg_reader")
Dmain.cc132 auto file_reader = in ReadTensorFromImageFile() local
143 image_reader = DecodePng(root.WithOpName("png_reader"), file_reader, in ReadTensorFromImageFile()
149 DecodeGif(root.WithOpName("gif_reader"), file_reader)); in ReadTensorFromImageFile()
151 image_reader = DecodeBmp(root.WithOpName("bmp_reader"), file_reader); in ReadTensorFromImageFile()
154 image_reader = DecodeJpeg(root.WithOpName("jpeg_reader"), file_reader, in ReadTensorFromImageFile()
/external/webrtc/sdk/android/src/jni/pc/
Dcall_session_file_rotating_log_sink.cc53 rtc::CallSessionFileRotatingStreamReader file_reader(dir_path); in JNI_CallSessionFileRotatingLogSink_GetLogData() local
54 size_t log_size = file_reader.GetSize(); in JNI_CallSessionFileRotatingLogSink_GetLogData()
63 size_t read = file_reader.ReadAll(buffer.get(), log_size); in JNI_CallSessionFileRotatingLogSink_GetLogData()
/external/libgav1/libgav1/examples/
Dgav1_decode.cc247 auto file_reader = in main() local
249 if (file_reader == nullptr) { in main()
321 if (input_buffer == nullptr && !file_reader->IsEndOfFile() && in main()
326 if (!file_reader->ReadTemporalUnit(input_buffer, in main()
398 y4m_parameters.frame_rate_numerator = file_reader->frame_rate(); in main()
399 y4m_parameters.frame_rate_denominator = file_reader->time_scale(); in main()
427 (!file_reader->IsEndOfFile() && !limit_reached) || in main()
Dlibgav1_examples.cmake20 set(libgav1_file_reader_sources "${libgav1_examples}/file_reader.cc"
21 "${libgav1_examples}/file_reader.h"
/external/webrtc/test/testsupport/
Dyuv_frame_reader_unittest.cc82 YuvFrameReaderImpl file_reader(temp_filename_, kFrameWidth, kFrameHeight); in TEST_F() local
83 EXPECT_FALSE(file_reader.ReadFrame()); in TEST_F()
Dy4m_frame_reader_unittest.cc89 Y4mFrameReaderImpl file_reader(temp_filename_, kFrameWidth, kFrameHeight); in TEST_F() local
90 EXPECT_FALSE(file_reader.ReadFrame()); 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/compiler/jit/tests/
Dauto_clustering_test_helper.cc179 std::unique_ptr<RandomAccessFile> file_reader; in RunAutoClusteringTestWithGzippedPbtxt() local
181 env->NewRandomAccessFile(string(gzipped_pbtxt_file_path), &file_reader)); in RunAutoClusteringTestWithGzippedPbtxt()
183 new io::RandomAccessInputStream(file_reader.get())); in RunAutoClusteringTestWithGzippedPbtxt()
/external/tensorflow/tensorflow/examples/multibox_detector/
Dmain.cc88 auto file_reader = in ReadTensorFromImageFile() local
94 image_reader = DecodePng(root.WithOpName("png_reader"), file_reader, in ReadTensorFromImageFile()
97 image_reader = DecodeGif(root.WithOpName("gif_reader"), file_reader); in ReadTensorFromImageFile()
100 image_reader = DecodeJpeg(root.WithOpName("jpeg_reader"), file_reader, in ReadTensorFromImageFile()
/external/libwebm/
DCMakeLists.txt128 "${LIBWEBM_SRC_DIR}/webm_parser/include/webm/file_reader.h"
170 "${LIBWEBM_SRC_DIR}/webm_parser/src/file_reader.cc"
/external/libgav1/
DAndroid.bp203 "libgav1/examples/file_reader.cc",
/external/libwebm/webm_parser/
DREADME.md204 #include <webm/file_reader.h>
224 #include <webm/file_reader.h>
/external/libabigail/tests/data/test-read-dwarf/
DPR22122-libftdc.so.abi4934 …ngled-name='_ZN5mongo14FTDCFileReaderC2Ev' filepath='src/mongo/db/ftdc/file_reader.h' line='55' co…
4961 …<abi-instr address-size='64' path='src/mongo/db/ftdc/file_reader.cpp' comp-dir-path='/home/andrew/…
5185 …ngled-name='_ZN5mongo14FTDCFileReaderD2Ev' filepath='src/mongo/db/ftdc/file_reader.h' line='56' co…
5191 …name='_ZN5mongo14FTDCFileReader7hasNextEv' filepath='src/mongo/db/ftdc/file_reader.cpp' line='51' …
5197 …_ZN5mongo14FTDCFileReader12readDocumentEv' filepath='src/mongo/db/ftdc/file_reader.cpp' line='147'…
5203 …ed-name='_ZN5mongo14FTDCFileReader4nextEv' filepath='src/mongo/db/ftdc/file_reader.cpp' line='131'…
5209 …leReader4openERKN5boost10filesystem4pathE' filepath='src/mongo/db/ftdc/file_reader.cpp' line='212'…