Home
last modified time | relevance | path

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

123

/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/stream_executor/lib/
Dpath.cc24 static bool IsAbsolutePath(absl::string_view path) { in IsAbsolutePath() function
42 if (IsAbsolutePath(path)) { in JoinPathImpl()
48 if (IsAbsolutePath(path)) { in JoinPathImpl()
/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/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/tensorflow/tensorflow/core/platform/
Dfile_system.cc247 if (this->IsAbsolutePath(path)) { in JoinPathImpl()
253 if (this->IsAbsolutePath(path)) { in JoinPathImpl()
301 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-project/llvm/utils/unittest/googletest/src/
Dgtest-filepath.cc258 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
265 bool FilePath::IsAbsolutePath() const { in IsAbsolutePath() function in testing::internal::FilePath
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-filepath.cc256 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
263 bool FilePath::IsAbsolutePath() const { in IsAbsolutePath() function in testing::internal::FilePath
/external/libaom/libaom/third_party/googletest/src/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/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/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/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/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/llvm-project/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-filepath.h170 bool IsAbsolutePath() const;
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-filepath.h173 bool IsAbsolutePath() const;
/external/googletest/googletest/include/gtest/internal/
Dgtest-filepath.h173 bool IsAbsolutePath() const;
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-filepath.h170 bool IsAbsolutePath() const;
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-filepath.h173 bool IsAbsolutePath() const;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-filepath.h174 bool IsAbsolutePath() const;
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/internal/
Dgtest-filepath.h173 bool IsAbsolutePath() const;
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_file.h83 bool IsAbsolutePath(const char *path);
/external/lzma/CPP/Windows/
DFileName.h78 bool IsAbsolutePath(const wchar_t *s) throw();
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerUtilFuchsia.cpp453 bool IsAbsolutePath = Path.length() > 1 && Path[0] == '/'; in ExecuteCommand() local
454 if (!IsAbsolutePath && Cmd.hasFlag("artifact_prefix")) in ExecuteCommand()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerUtilFuchsia.cpp453 bool IsAbsolutePath = Path.length() > 1 && Path[0] == '/'; in ExecuteCommand() local
454 if (!IsAbsolutePath && Cmd.hasFlag("artifact_prefix")) in ExecuteCommand()

123