Lines Matching refs:RTPATH_SLASH

46     if (pszCur[0] && RTPATH_IS_VOLSEP(pszCur[1]) && pszCur[2] == RTPATH_SLASH)
49 else if (pszCur[0] == RTPATH_SLASH && pszCur[1] == RTPATH_SLASH)
52 while (*pszCur == RTPATH_SLASH)
56 while (*pszCur != RTPATH_SLASH && *pszCur)
58 if (*pszCur == RTPATH_SLASH)
61 while (*pszCur != RTPATH_SLASH && *pszCur)
63 if (*pszCur == RTPATH_SLASH)
70 if (pszCur[0] == RTPATH_SLASH)
81 * trailing slashes. Also, replaces all slash characters with RTPATH_SLASH.
94 * Just change slashes to RTPATH_SLASH and skip them.
102 pszTrg[0] = RTPATH_SLASH;
103 pszTrg[1] = RTPATH_SLASH;
111 *pszTrg++ = RTPATH_SLASH;
117 * Change slashes to RTPATH_SLASH and remove duplicates.
124 *pszTrg++ = RTPATH_SLASH;
179 || (cchTmpPath == 2 && szTmpPath[1] == RTPATH_SLASH))
187 if ((uintptr_t)&pszAbsPath[cch] > (uintptr_t)pszTop && pszAbsPath[cch - 1] == RTPATH_SLASH)
191 && (uintptr_t)&pszAbsPath[cch - 1] > (uintptr_t)pszTop && pszAbsPath[cch - 1] != RTPATH_SLASH)
195 pszAbsPath[cch++] = RTPATH_SLASH;
211 if ( !(szTmpPath[0] && RTPATH_IS_VOLSEP(szTmpPath[1]) && szTmpPath[2] == RTPATH_SLASH)
213 && !(szTmpPath[0] == RTPATH_SLASH && szTmpPath[1] == RTPATH_SLASH)
217 if (szTmpPath[0] != RTPATH_SLASH)
225 if (szTmpPath[0] && RTPATH_IS_VOLSEP(szTmpPath[1]) && szTmpPath[2] != RTPATH_SLASH)
235 else if (szTmpPath[0] == RTPATH_SLASH && szTmpPath[1] != RTPATH_SLASH)
237 else if (szTmpPath[0] == RTPATH_SLASH)
261 if (fNeedSlash && cchCurDir > 0 && szCurDir[cchCurDir - 1] == RTPATH_SLASH)
269 szTmpPath[cchCurDir] = RTPATH_SLASH;
295 && (!pszCur[2] || pszCur[2] == RTPATH_SLASH))
303 && pszPrev[-1] != RTPATH_SLASH)
314 Assert(pszPrev[-1] == RTPATH_SLASH);
321 while (*pszCur && *pszCur != RTPATH_SLASH)
339 if ((uintptr_t)&szTmpPath[cchTmpPath] > (uintptr_t)pszTop && szTmpPath[cchTmpPath - 1] == RTPATH_SLASH)