Searched refs:CommonPathPrefix (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/core/lib/io/ |
D | path_test.cc | 144 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/ |
D | path.h | 74 std::string CommonPathPrefix(absl::Span<std::string const> paths);
|
D | path.cc | 277 string CommonPathPrefix(absl::Span<const string> paths) { in CommonPathPrefix() function
|
/external/tensorflow/tensorflow/python/util/ |
D | tf_stack.cc | 193 ? io::CommonPathPrefix(files_to_find_prefix).size() in ToString()
|