Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest-filepath.cc137 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator() local
142 (last_sep == NULL || last_alt_sep > last_sep)) { in FindLastPathSeparator()
146 return last_sep; in FindLastPathSeparator()
156 const char* const last_sep = FindLastPathSeparator(); in RemoveDirectoryName() local
157 return last_sep ? FilePath(last_sep + 1) : *this; in RemoveDirectoryName()
167 const char* const last_sep = FindLastPathSeparator(); in RemoveFileName() local
169 if (last_sep) { in RemoveFileName()
170 dir = std::string(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
/external/google-breakpad/src/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/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-filepath.cc137 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator() local
142 (last_sep == NULL || last_alt_sep > last_sep)) { in FindLastPathSeparator()
146 return last_sep; in FindLastPathSeparator()
156 const char* const last_sep = FindLastPathSeparator(); in RemoveDirectoryName() local
157 return last_sep ? FilePath(last_sep + 1) : *this; in RemoveDirectoryName()
167 const char* const last_sep = FindLastPathSeparator(); in RemoveFileName() local
169 if (last_sep) { in RemoveFileName()
170 dir = std::string(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
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/llvm/utils/unittest/googletest/src/
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/googletest/googletest/src/
Dgtest-filepath.cc133 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator() local
138 (last_sep == nullptr || last_alt_sep > last_sep)) { in FindLastPathSeparator()
142 return last_sep; in FindLastPathSeparator()
152 const char* const last_sep = FindLastPathSeparator(); in RemoveDirectoryName() local
153 return last_sep ? FilePath(last_sep + 1) : *this; in RemoveDirectoryName()
163 const char* const last_sep = FindLastPathSeparator(); in RemoveFileName() local
165 if (last_sep) { in RemoveFileName()
166 dir = std::string(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
/external/mesa3d/src/gtest/src/
Dgtest-filepath.cc137 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator() local
142 (last_sep == NULL || last_alt_sep > last_sep)) { in FindLastPathSeparator()
146 return last_sep; in FindLastPathSeparator()
156 const char* const last_sep = FindLastPathSeparator(); in RemoveDirectoryName() local
157 return last_sep ? FilePath(last_sep + 1) : *this; in RemoveDirectoryName()
167 const char* const last_sep = FindLastPathSeparator(); in RemoveFileName() local
169 if (last_sep) { in RemoveFileName()
170 dir = std::string(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-filepath.cc135 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator() local
140 (last_sep == NULL || last_alt_sep > last_sep)) { in FindLastPathSeparator()
144 return last_sep; in FindLastPathSeparator()
154 const char* const last_sep = FindLastPathSeparator(); in RemoveDirectoryName() local
155 return last_sep ? FilePath(last_sep + 1) : *this; in RemoveDirectoryName()
165 const char* const last_sep = FindLastPathSeparator(); in RemoveFileName() local
167 if (last_sep) { in RemoveFileName()
168 dir = std::string(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
/external/epid-sdk/ext/gtest/
Dgtest-all.cc8309 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator() local
8314 (last_sep == NULL || last_alt_sep > last_sep)) { in FindLastPathSeparator()
8318 return last_sep; in FindLastPathSeparator()
8328 const char* const last_sep = FindLastPathSeparator(); in RemoveDirectoryName() local
8329 return last_sep ? FilePath(last_sep + 1) : *this; in RemoveDirectoryName()
8339 const char* const last_sep = FindLastPathSeparator(); in RemoveFileName() local
8341 if (last_sep) { in RemoveFileName()
8342 dir = std::string(c_str(), last_sep + 1 - c_str()); in RemoveFileName()