Home
last modified time | relevance | path

Searched refs:TransactionToken (Results 1 – 25 of 25) sorted by relevance

/external/tensorflow/tensorflow/core/platform/
Dfile_system.h48 struct TransactionToken { struct
76 const std::string& fname, TransactionToken* token, in NewRandomAccessFile()
101 const std::string& fname, TransactionToken* token, in NewWritableFile()
123 const std::string& fname, TransactionToken* token, in NewAppendableFile()
144 const std::string& fname, TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()
155 TransactionToken* token) { in FileExists()
168 TransactionToken* token, std::vector<Status>* status);
179 TransactionToken* token, in GetChildren()
212 TransactionToken* token, in GetMatchingPaths()
231 TransactionToken* token, in Stat()
[all …]
Dnull_file_system.h42 const string& fname, TransactionToken* token, in NewRandomAccessFile()
47 Status NewWritableFile(const string& fname, TransactionToken* token, in NewWritableFile()
52 Status NewAppendableFile(const string& fname, TransactionToken* token, in NewAppendableFile()
58 const string& fname, TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()
64 Status FileExists(const string& fname, TransactionToken* token) override { in FileExists()
68 Status GetChildren(const string& dir, TransactionToken* token, in GetChildren()
73 Status GetMatchingPaths(const string& pattern, TransactionToken* token, in GetMatchingPaths()
78 Status DeleteFile(const string& fname, TransactionToken* token) override { in DeleteFile()
82 Status CreateDir(const string& dirname, TransactionToken* token) override { in CreateDir()
86 Status DeleteDir(const string& dirname, TransactionToken* token) override { in DeleteDir()
[all …]
Dretrying_file_system.h44 const string& filename, TransactionToken* token,
47 Status NewWritableFile(const string& filename, TransactionToken* token,
50 Status NewAppendableFile(const string& filename, TransactionToken* token,
54 const string& filename, TransactionToken* token,
57 Status FileExists(const string& fname, TransactionToken* token) override { in FileExists()
65 Status GetChildren(const string& dir, TransactionToken* token, in GetChildren()
74 Status GetMatchingPaths(const string& pattern, TransactionToken* token, in GetMatchingPaths()
83 Status Stat(const string& fname, TransactionToken* token, in Stat()
92 Status DeleteFile(const string& fname, TransactionToken* token) override { in DeleteFile()
100 Status CreateDir(const string& dirname, TransactionToken* token) override { in CreateDir()
[all …]
Denv.h127 Status NewRandomAccessFile(const std::string& fname, TransactionToken* token, in NewRandomAccessFile()
150 Status NewWritableFile(const std::string& fname, TransactionToken* token, in NewWritableFile()
170 Status NewAppendableFile(const std::string& fname, TransactionToken* token, in NewAppendableFile()
189 const std::string& fname, TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()
197 Status FileExists(const std::string& fname, TransactionToken* token) { in FileExists()
207 bool FilesExist(const std::vector<string>& files, TransactionToken* token, in FilesExist()
218 Status GetChildren(const std::string& dir, TransactionToken* token, in GetChildren()
235 Status GetMatchingPaths(const std::string& pattern, TransactionToken* token, in GetMatchingPaths()
243 Status DeleteFile(const std::string& fname, TransactionToken* token) { in DeleteFile()
274 Status DeleteRecursively(const std::string& dirname, TransactionToken* token, in DeleteRecursively()
[all …]
Dram_file_system.h109 const std::string& fname_, TransactionToken* token, in NewRandomAccessFile()
125 Status NewWritableFile(const std::string& fname_, TransactionToken* token, in NewWritableFile()
141 Status NewAppendableFile(const std::string& fname_, TransactionToken* token, in NewAppendableFile()
158 const std::string& fname, TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()
164 TransactionToken* token) override { in FileExists()
171 Status GetChildren(const std::string& dir_, TransactionToken* token, in GetChildren()
189 Status GetMatchingPaths(const std::string& pattern_, TransactionToken* token, in GetMatchingPaths()
203 Status Stat(const std::string& fname_, TransactionToken* token, in Stat()
227 TransactionToken* token) override { in DeleteFile()
240 TransactionToken* token) override { in CreateDir()
[all …]
Dretrying_file_system_test.cc105 const string& fname, TransactionToken* token, in NewRandomAccessFile()
111 Status NewWritableFile(const string& fname, TransactionToken* token, in NewWritableFile()
117 Status NewAppendableFile(const string& fname, TransactionToken* token, in NewAppendableFile()
124 const string& fname, TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()
129 Status FileExists(const string& fname, TransactionToken* token) override { in FileExists()
133 Status GetChildren(const string& dir, TransactionToken* token, in GetChildren()
138 Status GetMatchingPaths(const string& dir, TransactionToken* token, in GetMatchingPaths()
143 Status Stat(const string& fname, TransactionToken* token, in Stat()
148 Status DeleteFile(const string& fname, TransactionToken* token) override { in DeleteFile()
152 Status CreateDir(const string& dirname, TransactionToken* token) override { in CreateDir()
[all …]
Dfile_system.cc73 Status FileSystem::IsDirectory(const string& name, TransactionToken* token) { in IsDirectory()
90 void FileSystem::FlushCaches(TransactionToken* token) {} in FlushCaches()
93 TransactionToken* token, in FilesExist()
110 TransactionToken* token, in DeleteRecursively()
183 TransactionToken* token) { in RecursivelyCreateDir()
229 TransactionToken* token) { in CopyFile()
481 std::string FileSystem::DecodeTransaction(const TransactionToken* token) { in DecodeTransaction()
Dfile_system_test.cc37 Status FileExists(const string& fname, TransactionToken* token) override { in FileExists()
47 Status CreateDir(const string& dirname, TransactionToken* token) override { in CreateDir()
93 Status IsDirectory(const string& dirname, TransactionToken* token) override { in IsDirectory()
110 Status GetChildren(const string& dir, TransactionToken* token, in GetChildren()
280 Status IsDirectory(const string& dirname, TransactionToken* token) override { in IsDirectory()
288 Status GetChildren(const string& dir, TransactionToken* token, in GetChildren()
Denv_test.cc300 Status FileExists(const string& dir, TransactionToken* token) override { in FileExists()
316 Status CreateDir(const string& dir, TransactionToken* token) override { in CreateDir()
333 Status IsDirectory(const string& dir, TransactionToken* token) override { in IsDirectory()
341 void FlushCaches(TransactionToken* token) override { flushed_ = true; } in FlushCaches()
/external/tensorflow/tensorflow/tsl/platform/default/
Dposix_file_system.h33 const string& filename, TransactionToken* token,
36 Status NewWritableFile(const string& fname, TransactionToken* token,
39 Status NewAppendableFile(const string& fname, TransactionToken* token,
43 const string& filename, TransactionToken* token,
46 Status FileExists(const string& fname, TransactionToken* token) override;
48 Status GetChildren(const string& dir, TransactionToken* token,
51 Status Stat(const string& fname, TransactionToken* token,
54 Status GetMatchingPaths(const string& pattern, TransactionToken* token,
57 Status DeleteFile(const string& fname, TransactionToken* token) override;
59 Status CreateDir(const string& name, TransactionToken* token) override;
[all …]
Dposix_file_system.cc225 const string& fname, TransactionToken* token, in NewRandomAccessFile()
239 TransactionToken* token, in NewWritableFile()
253 const string& fname, TransactionToken* token, in NewAppendableFile()
267 const string& fname, TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()
292 TransactionToken* token) { in FileExists()
299 Status PosixFileSystem::GetChildren(const string& dir, TransactionToken* token, in GetChildren()
321 TransactionToken* token, in GetMatchingPaths()
327 TransactionToken* token) { in DeleteFile()
335 Status PosixFileSystem::CreateDir(const string& name, TransactionToken* token) { in CreateDir()
346 Status PosixFileSystem::DeleteDir(const string& name, TransactionToken* token) { in DeleteDir()
[all …]
/external/tensorflow/tensorflow/tsl/platform/windows/
Dwindows_file_system.h38 const string& fname, TransactionToken* token,
41 Status NewWritableFile(const string& fname, TransactionToken* token,
44 Status NewAppendableFile(const string& fname, TransactionToken* token,
48 const string& fname, TransactionToken* token,
51 Status FileExists(const string& fname, TransactionToken* token) override;
53 Status GetChildren(const string& dir, TransactionToken* token,
56 Status GetMatchingPaths(const string& pattern, TransactionToken* token,
61 Status Stat(const string& fname, TransactionToken* token,
64 Status DeleteFile(const string& fname, TransactionToken* token) override;
66 Status CreateDir(const string& name, TransactionToken* token) override;
[all …]
Dwindows_file_system.cc312 const string& fname, TransactionToken* token, in NewRandomAccessFile()
340 const string& fname, TransactionToken* token, in NewWritableFile()
361 const string& fname, TransactionToken* token, in NewAppendableFile()
392 const string& fname, TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()
470 TransactionToken* token) { in FileExists()
480 TransactionToken* token, in GetChildren()
517 TransactionToken* token) { in DeleteFile()
527 TransactionToken* token) { in CreateDir()
540 TransactionToken* token) { in DeleteDir()
550 TransactionToken* token, uint64* size) { in GetFileSize()
[all …]
/external/tensorflow/tensorflow/tools/android/inference_interface/
Dasset_manager_filesystem.h47 Status FileExists(const string& fname, TransactionToken* token) override;
49 const string& filename, TransactionToken* token,
52 const string& filename, TransactionToken* token,
55 Status GetFileSize(const string& f, TransactionToken* token,
58 Status Stat(const string& fname, TransactionToken* token,
60 Status GetChildren(const string& dir, TransactionToken* token,
65 Status NewWritableFile(const string& fname, TransactionToken* token,
67 Status NewAppendableFile(const string& fname, TransactionToken* token,
69 Status DeleteFile(const string& f, TransactionToken* token) override;
70 Status CreateDir(const string& d, TransactionToken* token) override;
[all …]
Dasset_manager_filesystem.cc128 TransactionToken* token) { in FileExists()
139 const string& fname, TransactionToken* token, in NewRandomAccessFile()
152 const string& fname, TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()
190 TransactionToken* token, in GetChildren()
207 TransactionToken* token, uint64* s) { in GetFileSize()
225 TransactionToken* token, in Stat()
254 TransactionToken* token, in GetMatchingPaths()
260 const string& fname, TransactionToken* token, in NewWritableFile()
265 const string& fname, TransactionToken* token, in NewAppendableFile()
270 TransactionToken* token) { in DeleteFile()
[all …]
/external/tensorflow/tensorflow/core/util/
Dmemmapped_file_system.h66 Status FileExists(const string& fname, TransactionToken* token) override;
68 const string& filename, TransactionToken* token,
71 const string& filename, TransactionToken* token,
76 Status NewWritableFile(const string& fname, TransactionToken* token,
78 Status NewAppendableFile(const string& fname, TransactionToken* token,
80 Status GetChildren(const string& dir, TransactionToken* token,
82 Status GetMatchingPaths(const string& pattern, TransactionToken* token,
84 Status DeleteFile(const string& f, TransactionToken* token) override;
85 Status CreateDir(const string& d, TransactionToken* token) override;
86 Status DeleteDir(const string& d, TransactionToken* token) override;
[all …]
Dmemmapped_file_system.cc90 TransactionToken* token) { in FileExists()
102 const string& filename, TransactionToken* token, in NewRandomAccessFile()
118 const string& filename, TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()
134 TransactionToken* token, uint64* size) { in GetFileSize()
146 Status MemmappedFileSystem::Stat(const string& fname, TransactionToken* token, in Stat()
157 TransactionToken* token, in NewWritableFile()
163 const string& filename, TransactionToken* token, in NewAppendableFile()
169 TransactionToken* token, in GetChildren()
175 TransactionToken* token, in GetMatchingPaths()
182 TransactionToken* token) { in DeleteFile()
[all …]
/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem.h65 const std::string& fname, TransactionToken* token,
67 Status NewWritableFile(const std::string& fname, TransactionToken* token,
69 Status NewAppendableFile(const std::string& fname, TransactionToken* token,
72 const std::string& fname, TransactionToken* token,
74 Status FileExists(const std::string& fname, TransactionToken* token) override;
76 TransactionToken* token,
78 Status GetChildren(const std::string& dir, TransactionToken* token,
80 Status GetMatchingPaths(const std::string& pattern, TransactionToken* token,
82 Status DeleteFile(const std::string& fname, TransactionToken* token) override;
83 Status DeleteRecursively(const std::string& dirname, TransactionToken* token,
[all …]
Dmodular_filesystem.cc38 const std::string& fname, TransactionToken* token, in NewRandomAccessFile()
58 const std::string& fname, TransactionToken* token, in NewWritableFile()
78 const std::string& fname, TransactionToken* token, in NewAppendableFile()
98 const std::string& fname, TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()
120 TransactionToken* token) { in FileExists()
133 TransactionToken* token, in FilesExist()
166 TransactionToken* token, in GetChildren()
192 TransactionToken* token, in GetMatchingPaths()
215 TransactionToken* token) { in DeleteFile()
228 TransactionToken* token, in DeleteRecursively()
[all …]
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.h148 const string& fname, TransactionToken* token,
151 Status NewWritableFile(const string& fname, TransactionToken* token,
154 Status NewAppendableFile(const string& fname, TransactionToken* token,
158 const string& fname, TransactionToken* token,
161 Status FileExists(const string& fname, TransactionToken* token) override;
163 Status Stat(const string& fname, TransactionToken* token,
166 Status GetChildren(const string& dir, TransactionToken* token,
169 Status GetMatchingPaths(const string& pattern, TransactionToken* token,
172 Status DeleteFile(const string& fname, TransactionToken* token) override;
174 Status CreateDir(const string& dirname, TransactionToken* token) override;
[all …]
Dgcs_file_system.cc962 const string& fname, TransactionToken* token, in NewRandomAccessFile()
1264 TransactionToken* token, in NewWritableFile()
1313 TransactionToken* token, in NewAppendableFile()
1391 const string& fname, TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()
1407 Status GcsFileSystem::FileExists(const string& fname, TransactionToken* token) { in FileExists()
1622 TransactionToken* token, in GetChildren()
1630 TransactionToken* token, in GetMatchingPaths()
1791 Status GcsFileSystem::Stat(const string& fname, TransactionToken* token, in Stat()
1826 Status GcsFileSystem::DeleteFile(const string& fname, TransactionToken* token) { in DeleteFile()
1843 TransactionToken* token) { in CreateDir()
[all …]
/external/tensorflow/tensorflow/python/framework/
Dtest_file_system.cc42 const string& fname, TransactionToken* token, in NewRandomAccessFile()
48 Status GetFileSize(const string& fname, TransactionToken* token, in GetFileSize()
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io_wrapper.cc37 TransactionToken* token_;
40 inline TransactionToken* TokenFromPyToken(PyTransactionToken* t) { in TokenFromPyToken()
50 using tensorflow::TransactionToken; in PYBIND11_MODULE()
/external/tensorflow/tensorflow/core/kernels/
Dimmutable_constant_op_test.cc68 const string& fname, TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()
/external/tensorflow/tensorflow/core/common_runtime/
Dconstant_folding_test.cc685 const string& fname, ::tensorflow::TransactionToken* token, in NewReadOnlyMemoryRegionFromFile()