/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
D | gtest-filepath.cc | 120 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/llvm/utils/unittest/googletest/ |
D | gtest-filepath.cc | 118 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/chromium/testing/gtest/src/ |
D | gtest-filepath.cc | 120 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/chromium_org/testing/gtest/src/ |
D | gtest-filepath.cc | 121 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/gtest/src/ |
D | gtest-filepath.cc | 120 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/mesa3d/src/gtest/src/ |
D | gtest-filepath.cc | 120 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/protobuf/gtest/src/ |
D | gtest-filepath.cc | 105 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { in RemoveExtension() 106 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); in RemoveExtension() 173 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists() 179 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 220 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory() 222 return pathname_ == kPathSeparatorString; in IsRootDirectory() 228 const char* const name = pathname_.c_str(); in IsAbsolutePath() 230 return pathname_.length() >= 3 && in IsAbsolutePath() 263 return pathname_.EndsWith(kPathSeparatorString); in IsDirectory() 274 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively() [all …]
|
/external/open-vcdiff/gtest/src/ |
D | gtest-filepath.cc | 105 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { in RemoveExtension() 106 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); in RemoveExtension() 173 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists() 179 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 220 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory() 222 return pathname_ == kPathSeparatorString; in IsRootDirectory() 228 const char* const name = pathname_.c_str(); in IsAbsolutePath() 230 return pathname_.length() >= 3 && in IsAbsolutePath() 263 return pathname_.EndsWith(kPathSeparatorString); in IsDirectory() 274 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively() [all …]
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
D | gtest-filepath.h | 61 FilePath() : pathname_("") { } in FilePath() 62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath() 63 explicit FilePath(const char* pathname) : pathname_(pathname) { } in FilePath() 64 explicit FilePath(const String& pathname) : pathname_(pathname) { } in FilePath() 67 pathname_ = rhs.pathname_; in Set() 70 String ToString() const { return pathname_; } in ToString() 71 const char* c_str() const { return pathname_.c_str(); } in c_str() 147 String pathname_;
|
/external/chromium_org/testing/gtest/include/gtest/internal/ |
D | gtest-filepath.h | 61 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/chromium/sdch/open-vcdiff/src/gtest/ |
D | gtest-filepath.cc | 63 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { in RemoveExtension() 64 return FilePath(String(pathname_.c_str(), pathname_.GetLength() - 4)); in RemoveExtension() 116 return _stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 119 return stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 136 result = stat(pathname_.c_str(), &file_stat) == 0 && in DirectoryExists() 165 return pathname_.EndsWith(kPathSeparatorString); in IsDirectory() 176 if (pathname_.GetLength() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively() 190 int result = _mkdir(pathname_.c_str()); in CreateFolder() 192 int result = mkdir(pathname_.c_str(), 0777); in CreateFolder() 204 return pathname_.EndsWith(kPathSeparatorString) in RemoveTrailingPathSeparator() [all …]
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-filepath.h | 61 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() 195 String pathname_; variable
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-filepath.h | 61 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/gtest/include/gtest/internal/ |
D | gtest-filepath.h | 61 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/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/ |
D | gtest-filepath.h | 61 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/ |
D | gtest-filepath.h | 61 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/chromium/testing/gtest/include/gtest/internal/ |
D | gtest-filepath.h | 61 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/open-vcdiff/gtest/include/gtest/internal/ |
D | gtest-filepath.h | 61 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() 195 String pathname_; variable
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-all.cc | 7955 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 …]
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
D | gtest.h | 3548 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_;
|