Searched refs:slashpos (Results 1 – 3 of 3) sorted by relevance
28 int slashpos = strlen(prefix); in main() local29 if (slashpos > 0) { in main()30 --slashpos; in main()31 if (prefix[slashpos] != '/' && prefix[slashpos] != '\\') in main()35 if (strncmp(prefix, expected, slashpos)) in main()
136 string::size_type slashpos = path.find_last_of('/'); in RecursivelyCreateDir() local137 if (slashpos == string::npos) { in RecursivelyCreateDir()142 return RecursivelyCreateDir(path.substr(0, slashpos), mode) && in RecursivelyCreateDir()
31 size_t slashpos = filename.find_last_of("/\\"); in GetFileNameParts() local33 if (slashpos == npos) { in GetFileNameParts()37 *dir = filename.substr(0, slashpos + 1); in GetFileNameParts()38 nodir = filename.substr(slashpos + 1); in GetFileNameParts()