Searched refs:dirIndex (Results 1 – 2 of 2) sorted by relevance
132 auto dirIndex = tempPath.find_last_of("/"); in UpdateShaderPath() local133 tempPath = (dirIndex != std::string::npos) ? tempPath.substr(0, dirIndex) : tempPath; in UpdateShaderPath()
975 size_t dirIndex = rootDir.find_first_of('/', 1); in GetRootDirFromRelativePath() local976 if (dirIndex == string::npos) { in GetRootDirFromRelativePath()979 rootDir = rootDir.substr(1, dirIndex); in GetRootDirFromRelativePath()981 size_t dirIndex = rootDir.find_first_of('/'); in GetRootDirFromRelativePath() local982 if (dirIndex == string::npos) { in GetRootDirFromRelativePath()985 rootDir = rootDir.substr(0, dirIndex + 1); in GetRootDirFromRelativePath()