Home
last modified time | relevance | path

Searched refs:open_function (Results 1 – 7 of 7) sorted by relevance

/external/libgav1/libgav1/examples/
Dfile_reader_factory.cc32 bool FileReaderFactory::RegisterReader(OpenFunction open_function) { in RegisterReader() argument
33 if (open_function == nullptr) return false; in RegisterReader()
36 open_functions->push_back(open_function); in RegisterReader()
42 for (auto* open_function : *GetFileReaderOpenFunctions()) { in OpenReader()
43 auto reader = open_function(file_name, error_tolerant); in OpenReader()
Dfile_reader_factory.h39 static bool RegisterReader(OpenFunction open_function);
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_reader_cache.cc34 TensorSliceReader::OpenTableFunction open_function, in GetReader() argument
40 return cache_->GetReader(filepattern, std::move(open_function), in GetReader()
54 TensorSliceReader::OpenTableFunction open_function, int preferred_shard) { in GetReader() argument
60 open_function.target<TensorSliceReaderCache::OpenFuncType>(); in GetReader()
88 new TensorSliceReader(filepattern, open_function, preferred_shard)); in GetReader()
Dtensor_slice_reader_test.cc57 TensorSliceReader::OpenTableFunction open_function) { in SimpleFloatHelper() argument
116 TensorSliceReader reader(filepattern, std::move(open_function)); in SimpleFloatHelper()
181 TensorSliceReader::OpenTableFunction open_function, in SimpleIntXHelper() argument
241 TensorSliceReader reader(filepattern, std::move(open_function)); in SimpleIntXHelper()
314 const TensorSliceReader::OpenTableFunction& open_function) { in TEST_SIMPLE_INT()
375 filepattern, open_function, TensorSliceReader::kLoadAllShards); in TEST_SIMPLE_INT()
391 filepattern, open_function, TensorSliceReader::kLoadAllShards); in TEST_SIMPLE_INT()
394 reader = cache.GetReader("file_does_not_exist", open_function, in TEST_SIMPLE_INT()
Dtensor_slice_reader_cache.h44 TensorSliceReader::OpenTableFunction open_function,
63 TensorSliceReader::OpenTableFunction open_function, int preferred_shard);
Dtensor_slice_reader.cc104 OpenTableFunction open_function) in TensorSliceReader() argument
105 : TensorSliceReader(filepattern, std::move(open_function), kLoadAllShards) { in TensorSliceReader()
109 OpenTableFunction open_function, in TensorSliceReader() argument
111 : filepattern_(filepattern), open_function_(std::move(open_function)) { in TensorSliceReader()
Dtensor_slice_reader.h66 TensorSliceReader(const string& filepattern, OpenTableFunction open_function);
67 TensorSliceReader(const string& filepattern, OpenTableFunction open_function,