Home
last modified time | relevance | path

Searched refs:IsAbsolutePath (Results 1 – 25 of 50) sorted by relevance

12

/external/tensorflow/tensorflow/core/lib/io/
Dpath_test.cc37 TEST(PathTest, IsAbsolutePath) { in TEST() argument
38 EXPECT_FALSE(IsAbsolutePath("")); in TEST()
39 EXPECT_FALSE(IsAbsolutePath("../foo")); in TEST()
40 EXPECT_FALSE(IsAbsolutePath("foo")); in TEST()
41 EXPECT_FALSE(IsAbsolutePath("./foo")); in TEST()
42 EXPECT_FALSE(IsAbsolutePath("foo/bar/baz/")); in TEST()
43 EXPECT_TRUE(IsAbsolutePath("/foo")); in TEST()
44 EXPECT_TRUE(IsAbsolutePath("/foo/bar/../baz")); in TEST()
/external/tensorflow/tensorflow/compiler/xla/stream_executor/lib/
Dpath.cc25 static bool IsAbsolutePath(absl::string_view path) { in IsAbsolutePath() function
43 if (IsAbsolutePath(path)) { in JoinPathImpl()
49 if (IsAbsolutePath(path)) { in JoinPathImpl()
/external/cronet/third_party/googletest/src/googletest/test/
Dgoogletest-filepath-test.cc613 TEST(FilePathTest, IsAbsolutePath) { in TEST() argument
614 EXPECT_FALSE(FilePath("is" GTEST_PATH_SEP_ "relative").IsAbsolutePath()); in TEST()
615 EXPECT_FALSE(FilePath("").IsAbsolutePath()); in TEST()
619 .IsAbsolutePath()); in TEST()
620 EXPECT_FALSE(FilePath("c:foo" GTEST_PATH_SEP_ "bar").IsAbsolutePath()); in TEST()
623 .IsAbsolutePath()); in TEST()
626 .IsAbsolutePath()); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-filepath-test.cc613 TEST(FilePathTest, IsAbsolutePath) { in TEST() argument
614 EXPECT_FALSE(FilePath("is" GTEST_PATH_SEP_ "relative").IsAbsolutePath()); in TEST()
615 EXPECT_FALSE(FilePath("").IsAbsolutePath()); in TEST()
618 GTEST_PATH_SEP_ "relative").IsAbsolutePath()); in TEST()
619 EXPECT_FALSE(FilePath("c:foo" GTEST_PATH_SEP_ "bar").IsAbsolutePath()); in TEST()
621 GTEST_PATH_SEP_ "relative").IsAbsolutePath()); in TEST()
624 .IsAbsolutePath()); in TEST()
/external/googletest/googletest/test/
Dgoogletest-filepath-test.cc613 TEST(FilePathTest, IsAbsolutePath) { in TEST() argument
614 EXPECT_FALSE(FilePath("is" GTEST_PATH_SEP_ "relative").IsAbsolutePath()); in TEST()
615 EXPECT_FALSE(FilePath("").IsAbsolutePath()); in TEST()
618 GTEST_PATH_SEP_ "relative").IsAbsolutePath()); in TEST()
619 EXPECT_FALSE(FilePath("c:foo" GTEST_PATH_SEP_ "bar").IsAbsolutePath()); in TEST()
621 GTEST_PATH_SEP_ "relative").IsAbsolutePath()); in TEST()
624 .IsAbsolutePath()); in TEST()
/external/cronet/third_party/boringssl/src/third_party/googletest/test/
Dgoogletest-filepath-test.cc613 TEST(FilePathTest, IsAbsolutePath) { in TEST() argument
614 EXPECT_FALSE(FilePath("is" GTEST_PATH_SEP_ "relative").IsAbsolutePath()); in TEST()
615 EXPECT_FALSE(FilePath("").IsAbsolutePath()); in TEST()
618 GTEST_PATH_SEP_ "relative").IsAbsolutePath()); in TEST()
619 EXPECT_FALSE(FilePath("c:foo" GTEST_PATH_SEP_ "bar").IsAbsolutePath()); in TEST()
621 GTEST_PATH_SEP_ "relative").IsAbsolutePath()); in TEST()
624 .IsAbsolutePath()); in TEST()
/external/tensorflow/tensorflow/core/platform/
Dfile_system.cc247 if (this->IsAbsolutePath(path)) { in JoinPathImpl()
253 if (this->IsAbsolutePath(path)) { in JoinPathImpl()
338 bool FileSystem::IsAbsolutePath(StringPiece path) const { in IsAbsolutePath() function in tensorflow::FileSystem
Dpath.h52 bool IsAbsolutePath(tensorflow::StringPiece path);
Dpath.cc78 if (IsAbsolutePath(path)) path = path.substr(1); in JoinPathImpl()
134 bool IsAbsolutePath(StringPiece path) { in IsAbsolutePath() function
/external/llvm/utils/unittest/googletest/src/
Dgtest-filepath.cc249 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
256 bool FilePath::IsAbsolutePath() const { in IsAbsolutePath() function in testing::internal::FilePath
/external/libaom/third_party/googletest/src/googletest/src/
Dgtest-filepath.cc252 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
259 bool FilePath::IsAbsolutePath() const { in IsAbsolutePath() function in testing::internal::FilePath
/external/cronet/third_party/boringssl/src/third_party/googletest/src/
Dgtest-filepath.cc251 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
258 bool FilePath::IsAbsolutePath() const { in IsAbsolutePath() function in testing::internal::FilePath
/external/mesa3d/src/gtest/src/
Dgtest-filepath.cc251 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
258 bool FilePath::IsAbsolutePath() const { in IsAbsolutePath() function in testing::internal::FilePath
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-filepath.cc251 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
258 bool FilePath::IsAbsolutePath() const { in IsAbsolutePath() function in testing::internal::FilePath
/external/googletest/googletest/src/
Dgtest-filepath.cc252 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
259 bool FilePath::IsAbsolutePath() const { in IsAbsolutePath() function in testing::internal::FilePath
/external/libvpx/third_party/googletest/src/src/
Dgtest-filepath.cc252 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
259 bool FilePath::IsAbsolutePath() const { in IsAbsolutePath() function in testing::internal::FilePath
/external/cronet/third_party/googletest/src/googletest/src/
Dgtest-filepath.cc252 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
259 bool FilePath::IsAbsolutePath() const { in IsAbsolutePath() function in testing::internal::FilePath
/external/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-filepath.h172 bool IsAbsolutePath() const;
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-filepath.h173 bool IsAbsolutePath() const;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-filepath.h174 bool IsAbsolutePath() const;
/external/cronet/third_party/boringssl/src/third_party/googletest/include/gtest/internal/
Dgtest-filepath.h173 bool IsAbsolutePath() const;
/external/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-filepath.h172 bool IsAbsolutePath() const;
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/internal/
Dgtest-filepath.h173 bool IsAbsolutePath() const;
/external/cronet/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-filepath.h172 bool IsAbsolutePath() const;
/external/googletest/googletest/include/gtest/internal/
Dgtest-filepath.h173 bool IsAbsolutePath() const;

12