Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/tsl/platform/default/
Dposix_file_system.cc227 string translated_fname = TranslateName(fname); in NewRandomAccessFile()
241 string translated_fname = TranslateName(fname); in NewWritableFile()
255 string translated_fname = TranslateName(fname); in NewAppendableFile()
269 string translated_fname = TranslateName(fname); in NewReadOnlyMemoryRegionFromFile()
293 if (access(TranslateName(fname).c_str(), F_OK) == 0) { in FileExists()
301 string translated_dir = TranslateName(dir); in GetChildren()
329 if (unlink(TranslateName(fname).c_str()) != 0) { in DeleteFile()
336 string translated = TranslateName(name); in CreateDir()
348 if (rmdir(TranslateName(name).c_str()) != 0) { in DeleteDir()
358 if (stat(TranslateName(fname).c_str(), &sbuf) != 0) { in GetFileSize()
[all …]
Dposix_file_system.h75 string TranslateName(const string& name) const override { in TranslateName() function
/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.cc37 #undef TranslateName
192 EXPECT_EQ(fs->TranslateName(""), ""); in TEST_P()
193 EXPECT_EQ(fs->TranslateName("/"), "/"); in TEST_P()
194 EXPECT_EQ(fs->TranslateName("//"), "/"); in TEST_P()
196 EXPECT_EQ(fs->TranslateName("a_file"), "a_file"); in TEST_P()
197 EXPECT_EQ(fs->TranslateName("a_dir/.."), "."); in TEST_P()
199 EXPECT_EQ(fs->TranslateName(tensorflow::strings::StrCat(GetParam(), "://")), in TEST_P()
202 fs->TranslateName(tensorflow::strings::StrCat(GetParam(), ":///")), in TEST_P()
205 fs->TranslateName(tensorflow::strings::StrCat(GetParam(), ":////")), in TEST_P()
210 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/tsl/platform/windows/
Dwindows_file_system.cc314 string translated_fname = TranslateName(fname); in NewRandomAccessFile()
342 string translated_fname = TranslateName(fname); in NewWritableFile()
363 string translated_fname = TranslateName(fname); in NewAppendableFile()
394 string translated_fname = TranslateName(fname); in NewReadOnlyMemoryRegionFromFile()
472 std::wstring ws_translated_fname = Utf8ToWideChar(TranslateName(fname)); in FileExists()
482 string translated_dir = TranslateName(dir); in GetChildren()
551 string translated_fname = TranslateName(fname); in GetFileSize()
571 std::wstring ws_translated_fname = Utf8ToWideChar(TranslateName(fname)); in IsDirectory()
582 std::wstring ws_translated_src = Utf8ToWideChar(TranslateName(src)); in RenameFile()
583 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/perfetto/src/trace_processor/importers/common/
Dslice_translation_table_unittest.cc28 EXPECT_EQ(raw_name, table.TranslateName(raw_name)); in TEST()
37 EXPECT_EQ(mapped_name, table.TranslateName(raw_name)); in TEST()
Dslice_tracker.h66 row.name = context_->slice_translation_table->TranslateName(*row.name);
88 row.name = context_->slice_translation_table->TranslateName(*row.name);
Dslice_tracker.cc47 context_->slice_translation_table->TranslateName(raw_name); in Begin()
58 row.name = context_->slice_translation_table->TranslateName(*row.name); in BeginLegacyUnnestable()
89 context_->slice_translation_table->TranslateName(raw_name); in Scoped()
102 context_->slice_translation_table->TranslateName(raw_name); in End()
Dslice_translation_table.h37 StringId TranslateName(StringId raw_name) const { in TranslateName() function
/external/tensorflow/tensorflow/core/platform/
Dfile_system.h38 #undef TranslateName
360 virtual std::string TranslateName(const std::string& name) const;
684 std::string TranslateName(const std::string& name) const override { in TranslateName() function
685 return fs_->TranslateName(name); in TranslateName()
Dfile_system.cc58 string FileSystem::TranslateName(const string& name) const { in TranslateName() function in tensorflow::FileSystem
Dram_file_system.h40 #undef TranslateName
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dgcs_filesystem.cc1133 static char* TranslateName(const TF_Filesystem* filesystem, const char* uri) { in TranslateName() function
1188 ops->filesystem_ops->translate_name = tf_gcs_filesystem::TranslateName; in ProvideFilesystemSupportFor()
/external/google-breakpad/src/processor/testdata/symbols/test_app.pdb/5A9832E5287241C1838ED98914E9B7FF1/
Dtest_app.sym18704 FUNC 1d496 60 c TranslateName
/external/google-breakpad/src/processor/testdata/
Dmodule0.out18704 FUNC 1d496 60 c TranslateName