Home
last modified time | relevance | path

Searched refs:last_sep (Results 1 – 8 of 8) sorted by relevance

/external/llvm/utils/unittest/googletest/
Dgtest-filepath.cc128 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator() local
133 (last_sep == NULL || last_alt_sep > last_sep)) { in FindLastPathSeparator()
137 return last_sep; in FindLastPathSeparator()
147 const char* const last_sep = FindLastPathSeparator(); in RemoveDirectoryName() local
148 return last_sep ? FilePath(String(last_sep + 1)) : *this; in RemoveDirectoryName()
158 const char* const last_sep = FindLastPathSeparator(); in RemoveFileName() local
160 if (last_sep) { in RemoveFileName()
161 dir = String(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
/external/chromium/testing/gtest/src/
Dgtest-filepath.cc130 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator() local
135 (last_sep == NULL || last_alt_sep > last_sep)) { in FindLastPathSeparator()
139 return last_sep; in FindLastPathSeparator()
149 const char* const last_sep = FindLastPathSeparator(); in RemoveDirectoryName() local
150 return last_sep ? FilePath(String(last_sep + 1)) : *this; in RemoveDirectoryName()
160 const char* const last_sep = FindLastPathSeparator(); in RemoveFileName() local
162 if (last_sep) { in RemoveFileName()
163 dir = String(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
/external/gtest/src/
Dgtest-filepath.cc130 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator() local
135 (last_sep == NULL || last_alt_sep > last_sep)) { in FindLastPathSeparator()
139 return last_sep; in FindLastPathSeparator()
149 const char* const last_sep = FindLastPathSeparator(); in RemoveDirectoryName() local
150 return last_sep ? FilePath(String(last_sep + 1)) : *this; in RemoveDirectoryName()
160 const char* const last_sep = FindLastPathSeparator(); in RemoveFileName() local
162 if (last_sep) { in RemoveFileName()
163 dir = String(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-filepath.cc130 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator() local
135 (last_sep == NULL || last_alt_sep > last_sep)) { in FindLastPathSeparator()
139 return last_sep; in FindLastPathSeparator()
149 const char* const last_sep = FindLastPathSeparator(); in RemoveDirectoryName() local
150 return last_sep ? FilePath(String(last_sep + 1)) : *this; in RemoveDirectoryName()
160 const char* const last_sep = FindLastPathSeparator(); in RemoveFileName() local
162 if (last_sep) { in RemoveFileName()
163 dir = String(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-filepath.cc76 const char* const last_sep = strrchr(c_str(), kPathSeparator); in RemoveDirectoryName() local
77 return last_sep ? FilePath(String(last_sep + 1)) : *this; in RemoveDirectoryName()
87 const char* const last_sep = strrchr(c_str(), kPathSeparator); in RemoveFileName() local
88 return FilePath(last_sep ? String(c_str(), last_sep + 1 - c_str()) in RemoveFileName()
/external/protobuf/gtest/src/
Dgtest-filepath.cc118 const char* const last_sep = strrchr(c_str(), kPathSeparator); in RemoveDirectoryName() local
119 return last_sep ? FilePath(String(last_sep + 1)) : *this; in RemoveDirectoryName()
129 const char* const last_sep = strrchr(c_str(), kPathSeparator); in RemoveFileName() local
131 if (last_sep) { in RemoveFileName()
132 dir = String(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
/external/open-vcdiff/gtest/src/
Dgtest-filepath.cc118 const char* const last_sep = strrchr(c_str(), kPathSeparator); in RemoveDirectoryName() local
119 return last_sep ? FilePath(String(last_sep + 1)) : *this; in RemoveDirectoryName()
129 const char* const last_sep = strrchr(c_str(), kPathSeparator); in RemoveFileName() local
131 if (last_sep) { in RemoveFileName()
132 dir = String(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
/external/ceres-solver/internal/ceres/
Dgmock_gtest_all.cc7558 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator() local
7563 (last_sep == NULL || last_alt_sep > last_sep)) { in FindLastPathSeparator()
7567 return last_sep; in FindLastPathSeparator()
7577 const char* const last_sep = FindLastPathSeparator(); in RemoveDirectoryName() local
7578 return last_sep ? FilePath(String(last_sep + 1)) : *this; in RemoveDirectoryName()
7588 const char* const last_sep = FindLastPathSeparator(); in RemoveFileName() local
7590 if (last_sep) { in RemoveFileName()
7591 dir = String(c_str(), last_sep + 1 - c_str()); in RemoveFileName()