/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
D | gtest-filepath.cc | 137 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/ |
D | gtest-filepath.cc | 130 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/ |
D | gtest-filepath.cc | 137 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/ |
D | gtest-filepath.cc | 130 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/ |
D | gtest-filepath.cc | 128 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/ |
D | gtest-filepath.cc | 133 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/ |
D | gtest-filepath.cc | 137 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/ |
D | gtest-filepath.cc | 135 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/ |
D | gtest-all.cc | 8309 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()
|