Home
last modified time | relevance | path

Searched refs:pathname_ (Results 1 – 20 of 20) sorted by relevance

/external/google-breakpad/src/testing/gtest/src/
Dgtest-filepath.cc120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { in RemoveExtension()
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); in RemoveExtension()
204 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
210 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
251 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
253 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
259 const char* const name = pathname_.c_str(); in IsAbsolutePath()
261 return pathname_.length() >= 3 && in IsAbsolutePath()
294 return !pathname_.empty() && in IsDirectory()
295 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory()
[all …]
/external/gtest/src/
Dgtest-filepath.cc121 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
122 return FilePath(pathname_.substr( in RemoveExtension()
123 0, pathname_.length() - dot_extension.length())); in RemoveExtension()
206 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
212 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
253 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
255 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
261 const char* const name = pathname_.c_str(); in IsAbsolutePath()
263 return pathname_.length() >= 3 && in IsAbsolutePath()
296 return !pathname_.empty() && in IsDirectory()
[all …]
/external/llvm/utils/unittest/googletest/src/
Dgtest-filepath.cc118 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { in RemoveExtension()
119 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); in RemoveExtension()
202 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
208 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
249 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
251 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
257 const char* const name = pathname_.c_str(); in IsAbsolutePath()
259 return pathname_.length() >= 3 && in IsAbsolutePath()
292 return !pathname_.empty() && in IsDirectory()
293 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory()
[all …]
/external/protobuf/gtest/src/
Dgtest-filepath.cc120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { in RemoveExtension()
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); in RemoveExtension()
204 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
210 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
251 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
253 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
259 const char* const name = pathname_.c_str(); in IsAbsolutePath()
261 return pathname_.length() >= 3 && in IsAbsolutePath()
294 return !pathname_.empty() && in IsDirectory()
295 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest-filepath.cc121 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
122 return FilePath(pathname_.substr( in RemoveExtension()
123 0, pathname_.length() - dot_extension.length())); in RemoveExtension()
206 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
212 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
253 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
255 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
261 const char* const name = pathname_.c_str(); in IsAbsolutePath()
263 return pathname_.length() >= 3 && in IsAbsolutePath()
296 return !pathname_.empty() && in IsDirectory()
[all …]
/external/mesa3d/src/gtest/src/
Dgtest-filepath.cc120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { in RemoveExtension()
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); in RemoveExtension()
204 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
210 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
251 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
253 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
259 const char* const name = pathname_.c_str(); in IsAbsolutePath()
261 return pathname_.length() >= 3 && in IsAbsolutePath()
294 return !pathname_.empty() && in IsDirectory()
295 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory()
[all …]
/external/gtest/include/gtest/internal/
Dgtest-filepath.h61 FilePath() : pathname_("") { } in FilePath()
62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath()
64 explicit FilePath(const std::string& pathname) : pathname_(pathname) { in FilePath()
74 pathname_ = rhs.pathname_; in Set()
77 const std::string& string() const { return pathname_; } in string()
78 const char* c_str() const { return pathname_.c_str(); } in c_str()
111 bool IsEmpty() const { return pathname_.empty(); } in IsEmpty()
200 std::string pathname_; variable
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
Dgtest-filepath.h61 FilePath() : pathname_("") { } in FilePath()
62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath()
64 explicit FilePath(const std::string& pathname) : pathname_(pathname) { in FilePath()
74 pathname_ = rhs.pathname_; in Set()
77 const std::string& string() const { return pathname_; } in string()
78 const char* c_str() const { return pathname_.c_str(); } in c_str()
111 bool IsEmpty() const { return pathname_.empty(); } in IsEmpty()
200 std::string pathname_; variable
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-filepath.h61 FilePath() : pathname_("") { } in FilePath()
62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath()
64 explicit FilePath(const char* pathname) : pathname_(pathname) { in FilePath()
68 explicit FilePath(const String& pathname) : pathname_(pathname) { in FilePath()
78 pathname_ = rhs.pathname_; in Set()
81 String ToString() const { return pathname_; } in ToString()
82 const char* c_str() const { return pathname_.c_str(); } in c_str()
204 String pathname_; variable
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-filepath.h61 FilePath() : pathname_("") { } in FilePath()
62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath()
64 explicit FilePath(const char* pathname) : pathname_(pathname) { in FilePath()
68 explicit FilePath(const String& pathname) : pathname_(pathname) { in FilePath()
78 pathname_ = rhs.pathname_; in Set()
81 String ToString() const { return pathname_; } in ToString()
82 const char* c_str() const { return pathname_.c_str(); } in c_str()
204 String pathname_; variable
/external/protobuf/gtest/include/gtest/internal/
Dgtest-filepath.h61 FilePath() : pathname_("") { } in FilePath()
62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath()
64 explicit FilePath(const char* pathname) : pathname_(pathname) { in FilePath()
68 explicit FilePath(const String& pathname) : pathname_(pathname) { in FilePath()
78 pathname_ = rhs.pathname_; in Set()
81 String ToString() const { return pathname_; } in ToString()
82 const char* c_str() const { return pathname_.c_str(); } in c_str()
204 String pathname_; variable
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-filepath.h61 FilePath() : pathname_("") { } in FilePath()
62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath()
64 explicit FilePath(const char* pathname) : pathname_(pathname) { in FilePath()
68 explicit FilePath(const String& pathname) : pathname_(pathname) { in FilePath()
78 pathname_ = rhs.pathname_; in Set()
81 String ToString() const { return pathname_; } in ToString()
82 const char* c_str() const { return pathname_.c_str(); } in c_str()
204 String pathname_; variable
/external/protobuf/gtest/fused-src/gtest/
Dgtest-all.cc7328 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { in RemoveExtension()
7329 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); in RemoveExtension()
7412 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
7418 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
7459 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
7461 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
7467 const char* const name = pathname_.c_str(); in IsAbsolutePath()
7469 return pathname_.length() >= 3 && in IsAbsolutePath()
7502 return !pathname_.empty() && in IsDirectory()
7503 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory()
[all …]
Dgtest.h2982 FilePath() : pathname_("") { }
2983 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { }
2985 explicit FilePath(const char* pathname) : pathname_(pathname) {
2989 explicit FilePath(const String& pathname) : pathname_(pathname) {
2999 pathname_ = rhs.pathname_;
3002 String ToString() const { return pathname_; }
3003 const char* c_str() const { return pathname_.c_str(); }
3125 String pathname_;
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc7953 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
7954 return FilePath(pathname_.substr( in RemoveExtension()
7955 0, pathname_.length() - dot_extension.length())); in RemoveExtension()
8038 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
8044 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
8085 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
8087 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
8093 const char* const name = pathname_.c_str(); in IsAbsolutePath()
8095 return pathname_.length() >= 3 && in IsAbsolutePath()
8128 return !pathname_.empty() && in IsDirectory()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/
Dgtest-all.cc7955 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
7956 return FilePath(pathname_.substr( in RemoveExtension()
7957 0, pathname_.length() - dot_extension.length())); in RemoveExtension()
8040 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
8046 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
8087 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
8089 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
8095 const char* const name = pathname_.c_str(); in IsAbsolutePath()
8097 return pathname_.length() >= 3 && in IsAbsolutePath()
8130 return !pathname_.empty() && in IsDirectory()
[all …]
Dgtest.h3548 FilePath() : pathname_("") { }
3549 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { }
3551 explicit FilePath(const std::string& pathname) : pathname_(pathname) {
3561 pathname_ = rhs.pathname_;
3564 const std::string& string() const { return pathname_; }
3565 const char* c_str() const { return pathname_.c_str(); }
3598 bool IsEmpty() const { return pathname_.empty(); }
3687 std::string pathname_;
/external/opencv3/modules/ts/src/
Dts_gtest.cpp7996 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
7997 return FilePath(pathname_.substr( in RemoveExtension()
7998 0, pathname_.length() - dot_extension.length())); in RemoveExtension()
8081 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
8087 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
8128 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
8130 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
8136 const char* const name = pathname_.c_str(); in IsAbsolutePath()
8138 return pathname_.length() >= 3 && in IsAbsolutePath()
8171 return !pathname_.empty() && in IsDirectory()
[all …]
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h3548 FilePath() : pathname_("") { }
3549 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { }
3551 explicit FilePath(const std::string& pathname) : pathname_(pathname) {
3561 pathname_ = rhs.pathname_;
3564 const std::string& string() const { return pathname_; }
3565 const char* c_str() const { return pathname_.c_str(); }
3598 bool IsEmpty() const { return pathname_.empty(); }
3687 std::string pathname_;
/external/opencv3/modules/ts/include/opencv2/ts/
Dts_gtest.h3599 FilePath() : pathname_("") { }
3600 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { }
3602 explicit FilePath(const std::string& pathname) : pathname_(pathname) {
3612 pathname_ = rhs.pathname_;
3615 const std::string& string() const { return pathname_; }
3616 const char* c_str() const { return pathname_.c_str(); }
3649 bool IsEmpty() const { return pathname_.empty(); }
3738 std::string pathname_;