Home
last modified time | relevance | path

Searched refs:lastPathSepLoc (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/common/
DSystemUtils.cpp137 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/
Dsystem_utils_linux.cpp39 size_t lastPathSepLoc = executablePath.find_last_of("/"); in GetExecutableDirectory() local
40 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; in GetExecutableDirectory()
Dsystem_utils_mac.cpp44 size_t lastPathSepLoc = executablePath.find_last_of("/"); in GetExecutableDirectory() local
45 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; in GetExecutableDirectory()
Dsystem_utils_win.cpp79 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/
Dsystem_utils_linux.cpp39 size_t lastPathSepLoc = executablePath.find_last_of("/"); in GetExecutableDirectory() local
40 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; in GetExecutableDirectory()
Dsystem_utils_apple.cpp47 size_t lastPathSepLoc = executablePath.find_last_of("/"); in GetExecutableDirectory() local
48 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; in GetExecutableDirectory()
Dsystem_utils_ios.mm36 size_t lastPathSepLoc = executablePath.find_last_of("/");
37 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : "";
Dsystem_utils.cpp27 size_t lastPathSepLoc = executableName.find_last_of(GetPathSeparator()); in GetExecutableName()
28 return (lastPathSepLoc > 0 ? executableName.substr(lastPathSepLoc + 1, executableName.length()) in GetExecutableName()
Dsystem_utils_win.cpp33 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/
Dgles_conformance_tests.cpp38 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/
Dgles_conformance_tests.cpp38 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/
Dcrash_handler_posix.cpp528 size_t lastPathSepLoc = resolvedModule.find_last_of(GetPathSeparator());
529 std::string relativePath = resolvedModule.substr(0, lastPathSepLoc);