Lines Matching refs:pszPath
39 * Figures out the length of the root (or drive) specifier in @a pszPath.
46 * @param pszPath The path to examine.
48 DECLHIDDEN(size_t) rtPathRootSpecLen(const char *pszPath)
55 if (RTPATH_IS_SLASH(pszPath[0]))
58 if ( RTPATH_IS_SLASH(pszPath[1])
59 && !RTPATH_IS_SLASH(pszPath[2])
60 && pszPath[2])
64 while (!RTPATH_IS_SLASH(pszPath[off]) && pszPath[off])
66 while (RTPATH_IS_SLASH(pszPath[off]))
70 while (!RTPATH_IS_SLASH(pszPath[off]) && pszPath[off])
78 while (RTPATH_IS_SLASH(pszPath[off]))
82 else if (RT_C_IS_ALPHA(pszPath[0]) && pszPath[1] == ':')
85 while (RTPATH_IS_SLASH(pszPath[off]))
89 Assert(!RTPATH_IS_SLASH(pszPath[off]));