Home
last modified time | relevance | path

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

/external/llvm-project/llvm/utils/unittest/googletest/src/
Dgtest-filepath.cc126 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
127 return FilePath(pathname_.substr( in RemoveExtension()
128 0, pathname_.length() - dot_extension.length())); in RemoveExtension()
211 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
217 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
258 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
260 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
266 const char* const name = pathname_.c_str(); in IsAbsolutePath()
268 return pathname_.length() >= 3 && in IsAbsolutePath()
301 return !pathname_.empty() && in IsDirectory()
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-filepath.cc124 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
125 return FilePath(pathname_.substr( in RemoveExtension()
126 0, pathname_.length() - dot_extension.length())); in RemoveExtension()
209 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
215 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
256 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
258 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
264 const char* const name = pathname_.c_str(); in IsAbsolutePath()
266 return pathname_.length() >= 3 && in IsAbsolutePath()
299 return !pathname_.empty() && in IsDirectory()
[all …]
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-filepath.cc122 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
124 pathname_.substr(0, pathname_.length() - dot_extension.length())); in RemoveExtension()
205 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
211 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()
291 return !pathname_.empty() && in IsDirectory()
292 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-filepath.cc122 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
123 return FilePath(pathname_.substr( in RemoveExtension()
124 0, pathname_.length() - dot_extension.length())); in RemoveExtension()
207 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
213 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()
[all …]
/external/mesa3d/src/gtest/src/
Dgtest-filepath.cc122 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
123 return FilePath(pathname_.substr( in RemoveExtension()
124 0, pathname_.length() - dot_extension.length())); in RemoveExtension()
207 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
213 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()
[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/googletest/googletest/src/
Dgtest-filepath.cc123 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
124 return FilePath(pathname_.substr( in RemoveExtension()
125 0, pathname_.length() - dot_extension.length())); in RemoveExtension()
208 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
214 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
252 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
254 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
260 const char* const name = pathname_.c_str(); in IsAbsolutePath()
262 return pathname_.length() >= 3 && in IsAbsolutePath()
295 return !pathname_.empty() && in IsDirectory()
[all …]
/external/llvm-project/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 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.h64 FilePath() : pathname_("") { } in FilePath()
65 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath()
67 explicit FilePath(const std::string& pathname) : pathname_(pathname) { in FilePath()
77 pathname_ = rhs.pathname_; in Set()
80 const std::string& string() const { return pathname_; } in string()
81 const char* c_str() const { return pathname_.c_str(); } in c_str()
114 bool IsEmpty() const { return pathname_.empty(); } in IsEmpty()
203 std::string pathname_; variable
/external/googletest/googletest/include/gtest/internal/
Dgtest-filepath.h64 FilePath() : pathname_("") { } in FilePath()
65 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath()
67 explicit FilePath(const std::string& pathname) : pathname_(pathname) { in FilePath()
77 pathname_ = rhs.pathname_; in Set()
80 const std::string& string() const { return pathname_; } in string()
81 const char* c_str() const { return pathname_.c_str(); } in c_str()
114 bool IsEmpty() const { return pathname_.empty(); } in IsEmpty()
203 std::string pathname_; variable
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-filepath.h64 FilePath() : pathname_("") {} in FilePath()
65 FilePath(const FilePath &rhs) : pathname_(rhs.pathname_) {} in FilePath()
67 explicit FilePath(const std::string &pathname) : pathname_(pathname) { in FilePath()
76 void Set(const FilePath &rhs) { pathname_ = rhs.pathname_; } in Set()
78 const std::string &string() const { return pathname_; } in string()
79 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/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-filepath.h64 FilePath() : pathname_("") { } in FilePath()
65 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath()
67 explicit FilePath(const std::string& pathname) : pathname_(pathname) { in FilePath()
77 pathname_ = rhs.pathname_; in Set()
80 const std::string& string() const { return pathname_; } in string()
81 const char* c_str() const { return pathname_.c_str(); } in c_str()
114 bool IsEmpty() const { return pathname_.empty(); } in IsEmpty()
203 std::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/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/internal/
Dgtest-filepath.h64 FilePath() : pathname_("") { } in FilePath()
65 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath()
67 explicit FilePath(const std::string& pathname) : pathname_(pathname) { in FilePath()
77 pathname_ = rhs.pathname_; in Set()
80 const std::string& string() const { return pathname_; } in string()
81 const char* c_str() const { return pathname_.c_str(); } in c_str()
114 bool IsEmpty() const { return pathname_.empty(); } in IsEmpty()
203 std::string pathname_; variable
/external/fmtlib/test/
Dgmock-gtest-all.cc7804 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
7806 pathname_.substr(0, pathname_.length() - dot_extension.length())); in RemoveExtension()
7886 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
7892 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
7933 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
7935 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
7941 const char* const name = pathname_.c_str(); in IsAbsolutePath()
7943 return pathname_.length() >= 3 && in IsAbsolutePath()
7975 return !pathname_.empty() && in IsDirectory()
7976 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/
Dgmock-gtest-all.cc8294 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
8295 return FilePath(pathname_.substr( in RemoveExtension()
8296 0, pathname_.length() - dot_extension.length())); in RemoveExtension()
8379 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
8385 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
8426 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
8428 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
8434 const char* const name = pathname_.c_str(); in IsAbsolutePath()
8436 return pathname_.length() >= 3 && in IsAbsolutePath()
8469 return !pathname_.empty() && in IsDirectory()
[all …]
/external/ImageMagick/Magick++/lib/Magick++/
DImage.h727 void clipPath(const std::string pathname_,const bool inside_);
/external/ImageMagick/Magick++/lib/
DImage.cpp2316 void Magick::Image::clipPath(const std::string pathname_,const bool inside_) in clipPath() argument
2320 ClipImagePath(image(),pathname_.c_str(),(MagickBooleanType) inside_, in clipPath()
/external/fmtlib/test/gtest/
Dgtest.h3552 FilePath() : pathname_("") { }
3553 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { }
3555 explicit FilePath(const std::string& pathname) : pathname_(pathname) {
3565 pathname_ = rhs.pathname_;
3568 const std::string& string() const { return pathname_; }
3569 const char* c_str() const { return pathname_.c_str(); }
3602 bool IsEmpty() const { return pathname_.empty(); }
3691 std::string pathname_;
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/gtest/
Dgtest.h4326 FilePath() : pathname_("") { }
4327 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { }
4329 explicit FilePath(const std::string& pathname) : pathname_(pathname) {
4339 pathname_ = rhs.pathname_;
4342 const std::string& string() const { return pathname_; }
4343 const char* c_str() const { return pathname_.c_str(); }
4376 bool IsEmpty() const { return pathname_.empty(); }
4465 std::string pathname_;