Home
last modified time | relevance | path

Searched refs:CommonPathPrefix (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/lib/io/
Dpath_test.cc144 TEST(PathTest, CommonPathPrefix) { in TEST() argument
145 EXPECT_EQ(CommonPathPrefix({"/alpha/beta/c", "/alpha/beta/g"}), in TEST()
147 EXPECT_EQ(CommonPathPrefix({"/a/b/c", "/a/beta/gamma"}), "/a/"); in TEST()
148 EXPECT_EQ(CommonPathPrefix({}), ""); in TEST()
149 EXPECT_EQ(CommonPathPrefix({"/a/b/c", "", "/a/b/"}), ""); in TEST()
150 EXPECT_EQ(CommonPathPrefix({"alpha", "alphabeta"}), ""); in TEST()
/external/tensorflow/tensorflow/core/platform/
Dpath.h74 std::string CommonPathPrefix(absl::Span<std::string const> paths);
Dpath.cc277 string CommonPathPrefix(absl::Span<const string> paths) { in CommonPathPrefix() function
/external/tensorflow/tensorflow/python/util/
Dtf_stack.cc193 ? io::CommonPathPrefix(files_to_find_prefix).size() in ToString()