Lines Matching defs:pszPathFrom
41 const char *pszPathFrom,
48 AssertPtrReturn(pszPathFrom, VERR_INVALID_POINTER);
50 AssertReturn(RTPathStartsWithRoot(pszPathFrom), VERR_INVALID_PARAMETER);
52 AssertReturn(RTStrCmp(pszPathFrom, pszPathTo), VERR_INVALID_PARAMETER);
58 size_t offRootFrom = rtPathRootSpecLen(pszPathFrom);
62 || RTStrNCmp(pszPathFrom, pszPathTo, offRootFrom))
66 while ( *pszPathFrom == *pszPathTo
67 && *pszPathFrom != '\0'
70 pszPathFrom++;
78 while (!RTPATH_IS_SEP(*pszPathFrom))
79 pszPathFrom--;
81 pszPathFrom++; /* Skip path separator. */
92 /* Create the part to go up from pszPathFrom. */
93 while (*pszPathFrom != '\0')
95 while ( !RTPATH_IS_SEP(*pszPathFrom)
96 && *pszPathFrom != '\0')
97 pszPathFrom++;
99 if (RTPATH_IS_SEP(*pszPathFrom))
106 pszPathFrom++;