Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/io/
Dpath_test.cc82 TEST(PathTest, CleanPath) { in TEST() argument
83 EXPECT_EQ(".", CleanPath("")); in TEST()
84 EXPECT_EQ("x", CleanPath("x")); in TEST()
85 EXPECT_EQ("/a/b/c/d", CleanPath("/a/b/c/d")); in TEST()
86 EXPECT_EQ("/a/b/c/d/*", CleanPath("/a/b/c/d/*")); in TEST()
87 EXPECT_EQ("/a/b/c/d", CleanPath("/a/b/c/d/")); in TEST()
88 EXPECT_EQ("/a/b", CleanPath("/a//b")); in TEST()
89 EXPECT_EQ("/a/b", CleanPath("//a//b/")); in TEST()
90 EXPECT_EQ("/", CleanPath("/..")); in TEST()
91 EXPECT_EQ("/", CleanPath("/././././")); in TEST()
[all …]
/external/tensorflow/tensorflow/security/fuzzing/
Dcleanpath_fuzz.cc30 std::string clean_path = tensorflow::io::CleanPath(input_path); in LLVMFuzzerTestOneInput()
/external/tensorflow/tensorflow/core/platform/
Dpath.h83 std::string CleanPath(tensorflow::StringPiece path);
Dfile_system.cc70 return this->CleanPath(path); in TranslateName()
324 string FileSystem::CleanPath(StringPiece unclean_path) const { in CleanPath() function in tensorflow::FileSystem
Dpath.cc150 string CleanPath(StringPiece unclean_path) { in CleanPath() function
Dfile_system.h430 std::string CleanPath(StringPiece path) const;
/external/llvm-project/clang-tools-extra/clang-move/
DMove.cpp63 std::string CleanPath(StringRef PathRef) { in CleanPath() function
79 return CleanPath(std::move(AbsolutePath)); in MakeAbsolutePath()
104 return CleanPath(AbsoluteFilename); in MakeAbsolutePath()
107 return CleanPath(AbsolutePath); in MakeAbsolutePath()