Home
last modified time | relevance | path

Searched refs:TF_Filesystem (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/c/experimental/filesystem/
Dfilesystem_interface.h77 typedef struct TF_Filesystem { struct
79 } TF_Filesystem; argument
83 TF_Filesystem* owner;
314 void (*init)(TF_Filesystem* filesystem, TF_Status* status);
330 void (*cleanup)(TF_Filesystem* filesystem);
347 void (*new_random_access_file)(const TF_Filesystem* filesystem,
366 void (*new_writable_file)(const TF_Filesystem* filesystem, const char* path,
384 void (*new_appendable_file)(const TF_Filesystem* filesystem, const char* path,
403 void (*new_read_only_memory_region_from_file)(const TF_Filesystem* filesystem,
417 void (*create_dir)(const TF_Filesystem* filesystem, const char* path,
[all …]
Dmodular_filesystem.h44 std::unique_ptr<TF_Filesystem> filesystem, in ModularFileSystem()
106 std::unique_ptr<TF_Filesystem> filesystem_;
Dmodular_filesystem_registration.cc253 auto filesystem = tensorflow::MakeUnique<TF_Filesystem>(); in RegisterFileSystem()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/hadoop/
Dhadoop_filesystem.h57 void Init(TF_Filesystem* filesystem, TF_Status* status);
58 void Cleanup(TF_Filesystem* filesystem);
59 void NewRandomAccessFile(const TF_Filesystem* filesystem, const char* path,
61 void NewWritableFile(const TF_Filesystem* filesystem, const char* path,
63 void NewAppendableFile(const TF_Filesystem* filesystem, const char* path,
65 void NewReadOnlyMemoryRegionFromFile(const TF_Filesystem* filesystem,
69 void PathExists(const TF_Filesystem* filesystem, const char* path,
71 void Stat(const TF_Filesystem* filesystem, const char* path,
73 int64_t GetFileSize(const TF_Filesystem* filesystem, const char* path,
75 void DeleteFile(const TF_Filesystem* filesystem, const char* path,
[all …]
Dhadoop_filesystem.cc441 void Init(TF_Filesystem* filesystem, TF_Status* status) { in Init()
447 void Cleanup(TF_Filesystem* filesystem) { in Cleanup()
454 void NewRandomAccessFile(const TF_Filesystem* filesystem, const char* path, in NewRandomAccessFile()
472 void NewWritableFile(const TF_Filesystem* filesystem, const char* path, in NewWritableFile()
490 void NewAppendableFile(const TF_Filesystem* filesystem, const char* path, in NewAppendableFile()
509 void NewReadOnlyMemoryRegionFromFile(const TF_Filesystem* filesystem, in NewReadOnlyMemoryRegionFromFile()
523 void PathExists(const TF_Filesystem* filesystem, const char* path, in PathExists()
540 void Stat(const TF_Filesystem* filesystem, const char* path, in Stat()
560 int64_t GetFileSize(const TF_Filesystem* filesystem, const char* path, in GetFileSize()
582 void DeleteFile(const TF_Filesystem* filesystem, const char* path, in DeleteFile()
[all …]
Dhadoop_filesystem_test.cc32 filesystem_ = new TF_Filesystem; in SetUp()
117 TF_Filesystem* filesystem_;
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/s3/
Ds3_filesystem.h69 void Init(TF_Filesystem* filesystem, TF_Status* status);
70 void Cleanup(TF_Filesystem* filesystem);
71 void NewRandomAccessFile(const TF_Filesystem* filesystem, const char* path,
73 void NewWritableFile(const TF_Filesystem* filesystem, const char* path,
75 void NewAppendableFile(const TF_Filesystem* filesystem, const char* path,
77 int64_t GetFileSize(const TF_Filesystem* filesystem, const char* path,
79 void NewReadOnlyMemoryRegionFromFile(const TF_Filesystem* filesystem,
83 void PathExists(const TF_Filesystem* filesystem, const char* path,
85 void CreateDir(const TF_Filesystem* filesystem, const char* path,
87 int GetChildren(const TF_Filesystem* filesystem, const char* path,
[all …]
Ds3_filesystem.cc528 void Init(TF_Filesystem* filesystem, TF_Status* status) { in Init()
533 void Cleanup(TF_Filesystem* filesystem) { in Cleanup()
538 void NewRandomAccessFile(const TF_Filesystem* filesystem, const char* path, in NewRandomAccessFile()
554 void NewWritableFile(const TF_Filesystem* filesystem, const char* path, in NewWritableFile()
569 void NewAppendableFile(const TF_Filesystem* filesystem, const char* path, in NewAppendableFile()
634 void Stat(const TF_Filesystem* filesystem, const char* path, in Stat()
703 void PathExists(const TF_Filesystem* filesystem, const char* path, in PathExists()
709 int64_t GetFileSize(const TF_Filesystem* filesystem, const char* path, in GetFileSize()
716 void NewReadOnlyMemoryRegionFromFile(const TF_Filesystem* filesystem, in NewReadOnlyMemoryRegionFromFile()
959 void CopyFile(const TF_Filesystem* filesystem, const char* src, const char* dst, in CopyFile()
[all …]
Ds3_filesystem_test.cc104 filesystem_ = new TF_Filesystem; in SetUp()
244 TF_Filesystem* filesystem_;
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dgcs_filesystem.h73 void InitTest(TF_Filesystem* filesystem, bool compose, uint64_t block_size,
78 void Init(TF_Filesystem* filesystem, TF_Status* status);
79 void Cleanup(TF_Filesystem* filesystem);
80 void NewRandomAccessFile(const TF_Filesystem* filesystem, const char* path,
82 void NewWritableFile(const TF_Filesystem* filesystem, const char* path,
84 void NewAppendableFile(const TF_Filesystem* filesystem, const char* path,
86 void NewReadOnlyMemoryRegionFromFile(const TF_Filesystem* filesystem,
90 int64_t GetFileSize(const TF_Filesystem* filesystem, const char* path,
92 void PathExists(const TF_Filesystem* filesystem, const char* path,
94 void CreateDir(const TF_Filesystem* filesystem, const char* path,
[all …]
Dgcs_filesystem.cc490 void InitTest(TF_Filesystem* filesystem, bool compose, uint64_t block_size, in InitTest()
507 void Init(TF_Filesystem* filesystem, TF_Status* status) { in Init()
519 void Cleanup(TF_Filesystem* filesystem) { in Cleanup()
543 void NewRandomAccessFile(const TF_Filesystem* filesystem, const char* path, in NewRandomAccessFile()
594 void NewWritableFile(const TF_Filesystem* filesystem, const char* path, in NewWritableFile()
612 void NewAppendableFile(const TF_Filesystem* filesystem, const char* path, in NewAppendableFile()
662 void NewReadOnlyMemoryRegionFromFile(const TF_Filesystem* filesystem, in NewReadOnlyMemoryRegionFromFile()
820 void PathExists(const TF_Filesystem* filesystem, const char* path, in PathExists()
844 void CreateDir(const TF_Filesystem* filesystem, const char* path, in CreateDir()
888 void DeleteFile(const TF_Filesystem* filesystem, const char* path, in DeleteFile()
[all …]
Dgcs_filesystem_test.cc80 filesystem_ = new TF_Filesystem; in SetUp()
163 TF_Filesystem* filesystem_;
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/posix/
Dposix_filesystem.cc191 static void Init(TF_Filesystem* filesystem, TF_Status* status) { in Init()
195 static void Cleanup(TF_Filesystem* filesystem) {} in Cleanup()
197 static void NewRandomAccessFile(const TF_Filesystem* filesystem, in NewRandomAccessFile()
218 static void NewWritableFile(const TF_Filesystem* filesystem, const char* path, in NewWritableFile()
230 static void NewAppendableFile(const TF_Filesystem* filesystem, const char* path, in NewAppendableFile()
242 static void NewReadOnlyMemoryRegionFromFile(const TF_Filesystem* filesystem, in NewReadOnlyMemoryRegionFromFile()
272 static void CreateDir(const TF_Filesystem* filesystem, const char* path, in CreateDir()
282 static void DeleteFile(const TF_Filesystem* filesystem, const char* path, in DeleteFile()
290 static void DeleteDir(const TF_Filesystem* filesystem, const char* path, in DeleteDir()
298 static void RenameFile(const TF_Filesystem* filesystem, const char* src, in RenameFile()
[all …]