Home
last modified time | relevance | path

Searched refs:TranslateName (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem.cc46 std::string translated_name = TranslateName(fname); in NewRandomAccessFile()
66 std::string translated_name = TranslateName(fname); in NewWritableFile()
86 std::string translated_name = TranslateName(fname); in NewAppendableFile()
107 std::string translated_name = TranslateName(fname); in NewReadOnlyMemoryRegionFromFile()
126 const std::string translated_name = TranslateName(fname); in FileExists()
141 translated_names.push_back(strdup(TranslateName(files[i]).c_str())); in FilesExist()
173 std::string translated_name = TranslateName(dir); in GetChildren()
221 std::string translated_name = TranslateName(fname); in DeleteFile()
241 std::string translated_name = TranslateName(dirname); in DeleteRecursively()
258 std::string translated_name = TranslateName(dirname); in DeleteDir()
[all …]
Dmodular_filesystem_test.cc38 #undef TranslateName
194 EXPECT_EQ(fs->TranslateName(""), ""); in TEST_P()
195 EXPECT_EQ(fs->TranslateName("/"), "/"); in TEST_P()
196 EXPECT_EQ(fs->TranslateName("//"), "/"); in TEST_P()
198 EXPECT_EQ(fs->TranslateName("a_file"), "a_file"); in TEST_P()
199 EXPECT_EQ(fs->TranslateName("a_dir/.."), "."); in TEST_P()
201 EXPECT_EQ(fs->TranslateName(tensorflow::strings::StrCat(GetParam(), "://")), in TEST_P()
204 fs->TranslateName(tensorflow::strings::StrCat(GetParam(), ":///")), in TEST_P()
207 fs->TranslateName(tensorflow::strings::StrCat(GetParam(), ":////")), in TEST_P()
212 EXPECT_EQ(GetRelativePath(fs->TranslateName(GetURIForPath("a_file"))), in TEST_P()
[all …]
Dmodular_filesystem.h102 std::string TranslateName(const std::string& name) const override;
/external/tensorflow/tensorflow/core/platform/default/
Dposix_file_system.cc226 string translated_fname = TranslateName(fname); in NewRandomAccessFile()
240 string translated_fname = TranslateName(fname); in NewWritableFile()
254 string translated_fname = TranslateName(fname); in NewAppendableFile()
268 string translated_fname = TranslateName(fname); in NewReadOnlyMemoryRegionFromFile()
292 if (access(TranslateName(fname).c_str(), F_OK) == 0) { in FileExists()
300 string translated_dir = TranslateName(dir); in GetChildren()
328 if (unlink(TranslateName(fname).c_str()) != 0) { in DeleteFile()
335 string translated = TranslateName(name); in CreateDir()
347 if (rmdir(TranslateName(name).c_str()) != 0) { in DeleteDir()
357 if (stat(TranslateName(fname).c_str(), &sbuf) != 0) { in GetFileSize()
[all …]
Dposix_file_system.h77 string TranslateName(const string& name) const override { in TranslateName() function
/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system.cc209 string HadoopFileSystem::TranslateName(const string& name) const { in TranslateName() function in tensorflow::HadoopFileSystem
310 hdfsFile file = libhdfs()->hdfsOpenFile(fs, TranslateName(fname).c_str(), in NewRandomAccessFile()
316 new HDFSRandomAccessFile(fname, TranslateName(fname), fs, file)); in NewRandomAccessFile()
403 hdfsFile file = libhdfs()->hdfsOpenFile(fs, TranslateName(fname).c_str(), in NewWritableFile()
418 hdfsFile file = libhdfs()->hdfsOpenFile(fs, TranslateName(fname).c_str(), in NewAppendableFile()
443 if (libhdfs()->hdfsExists(fs, TranslateName(fname).c_str()) == 0) { in FileExists()
462 libhdfs()->hdfsListDirectory(fs, TranslateName(dir).c_str(), &entries); in GetChildren()
488 if (libhdfs()->hdfsDelete(fs, TranslateName(fname).c_str(), in DeleteFile()
499 if (libhdfs()->hdfsCreateDirectory(fs, TranslateName(dir).c_str()) != 0) { in CreateDir()
515 libhdfs()->hdfsListDirectory(fs, TranslateName(dir).c_str(), &entries); in DeleteDir()
[all …]
Dhadoop_file_system.h77 string TranslateName(const string& name) const override;
/external/tensorflow/tensorflow/core/platform/windows/
Dwindows_file_system.cc312 string translated_fname = TranslateName(fname); in NewRandomAccessFile()
340 string translated_fname = TranslateName(fname); in NewWritableFile()
361 string translated_fname = TranslateName(fname); in NewAppendableFile()
392 string translated_fname = TranslateName(fname); in NewReadOnlyMemoryRegionFromFile()
470 std::wstring ws_translated_fname = Utf8ToWideChar(TranslateName(fname)); in FileExists()
480 string translated_dir = TranslateName(dir); in GetChildren()
549 string translated_fname = TranslateName(fname); in GetFileSize()
569 std::wstring ws_translated_fname = Utf8ToWideChar(TranslateName(fname)); in IsDirectory()
581 std::wstring ws_translated_src = Utf8ToWideChar(TranslateName(src)); in RenameFile()
582 std::wstring ws_translated_target = Utf8ToWideChar(TranslateName(target)); in RenameFile()
[all …]
Dwindows_file_system.h78 string TranslateName(const string& name) const override { return name; } in TranslateName() function
85 string TranslateName(const string& name) const override { in TranslateName() function
/external/tensorflow/tensorflow/core/platform/
Dfile_system.h38 #undef TranslateName
360 virtual std::string TranslateName(const std::string& name) const;
661 std::string TranslateName(const std::string& name) const override { in TranslateName() function
662 return fs_->TranslateName(name); in TranslateName()
Dram_file_system.h40 #undef TranslateName
Dfile_system.cc58 string FileSystem::TranslateName(const string& name) const { in TranslateName() function in tensorflow::FileSystem
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/hadoop/
Dhadoop_filesystem.cc713 static char* TranslateName(const TF_Filesystem* filesystem, const char* uri) { in TranslateName() function
758 ops->filesystem_ops->translate_name = tf_hadoop_filesystem::TranslateName; in ProvideFilesystemSupportFor()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dgcs_filesystem.cc1126 static char* TranslateName(const TF_Filesystem* filesystem, const char* uri) { in TranslateName() function
1181 ops->filesystem_ops->translate_name = tf_gcs_filesystem::TranslateName; in ProvideFilesystemSupportFor()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/s3/
Ds3_filesystem.cc1212 static char* TranslateName(const TF_Filesystem* filesystem, const char* uri) { in TranslateName() function
1264 ops->filesystem_ops->translate_name = tf_s3_filesystem::TranslateName; in ProvideFilesystemSupportFor()
/external/google-breakpad/src/processor/testdata/
Dmodule0.out18704 FUNC 1d496 60 c TranslateName
/external/google-breakpad/src/processor/testdata/symbols/test_app.pdb/5A9832E5287241C1838ED98914E9B7FF1/
Dtest_app.sym18704 FUNC 1d496 60 c TranslateName