Searched refs:lastPathSepLoc (Results 1 – 12 of 12) sorted by relevance
/third_party/skia/third_party/externals/dawn/src/common/ |
D | SystemUtils.cpp | 137 size_t lastPathSepLoc = exePath.find_last_of(GetPathSeparator()); in GetExecutableDirectory() local 138 return lastPathSepLoc != std::string::npos ? exePath.substr(0, lastPathSepLoc + 1) : ""; in GetExecutableDirectory() 176 size_t lastPathSepLoc = modPath.find_last_of(GetPathSeparator()); in GetModuleDirectory() local 177 return lastPathSepLoc != std::string::npos ? modPath.substr(0, lastPathSepLoc + 1) : ""; in GetModuleDirectory()
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | system_utils_linux.cpp | 39 size_t lastPathSepLoc = executablePath.find_last_of("/"); in GetExecutableDirectory() local 40 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; in GetExecutableDirectory()
|
D | system_utils_mac.cpp | 44 size_t lastPathSepLoc = executablePath.find_last_of("/"); in GetExecutableDirectory() local 45 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; in GetExecutableDirectory()
|
D | system_utils_win.cpp | 79 size_t lastPathSepLoc = executablePath.find_last_of("\\/"); in GetExecutableDirectory() local 80 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; in GetExecutableDirectory()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | system_utils_linux.cpp | 39 size_t lastPathSepLoc = executablePath.find_last_of("/"); in GetExecutableDirectory() local 40 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; in GetExecutableDirectory()
|
D | system_utils_apple.cpp | 47 size_t lastPathSepLoc = executablePath.find_last_of("/"); in GetExecutableDirectory() local 48 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; in GetExecutableDirectory()
|
D | system_utils_ios.mm | 36 size_t lastPathSepLoc = executablePath.find_last_of("/"); 37 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : "";
|
D | system_utils.cpp | 27 size_t lastPathSepLoc = executableName.find_last_of(GetPathSeparator()); in GetExecutableName() 28 return (lastPathSepLoc > 0 ? executableName.substr(lastPathSepLoc + 1, executableName.length()) in GetExecutableName()
|
D | system_utils_win.cpp | 33 size_t lastPathSepLoc = executablePath.find_last_of("\\/"); in GetDirectory() local 34 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; in GetDirectory()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gles_conformance_tests/ |
D | gles_conformance_tests.cpp | 38 size_t lastPathSepLoc = executableLocation.find_last_of("\\/"); in GetExecutableDirectory() local 39 if (lastPathSepLoc != std::string::npos) in GetExecutableDirectory() 41 executableLocation = executableLocation.substr(0, lastPathSepLoc); in GetExecutableDirectory()
|
/third_party/skia/third_party/externals/angle2/src/tests/gles_conformance_tests/ |
D | gles_conformance_tests.cpp | 38 size_t lastPathSepLoc = executableLocation.find_last_of("\\/"); in GetExecutableDirectory() local 39 if (lastPathSepLoc != std::string::npos) in GetExecutableDirectory() 41 executableLocation = executableLocation.substr(0, lastPathSepLoc); in GetExecutableDirectory()
|
/third_party/skia/third_party/externals/angle2/util/posix/ |
D | crash_handler_posix.cpp | 528 size_t lastPathSepLoc = resolvedModule.find_last_of(GetPathSeparator()); 529 std::string relativePath = resolvedModule.substr(0, lastPathSepLoc);
|