Searched defs:cchTarget (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Runtime/testcase/
H A DtstRTSymlink.cpp49 size_t cchTarget = strlen(pszTarget); local
83 RTTESTI_CHECK_RC(RTSymlinkRead(szPath1, szPath2, cchTarget + 1, 0), VINF_SUCCESS);
88 RTTESTI_CHECK_RC(RTSymlinkRead(szPath1, szPath2, cchTarget, 0), VERR_BUFFER_OVERFLOW);
89 RTTESTI_CHECK_MSG( strncmp(szPath2, szPath3, cchTarget - 1) == 0
90 && szPath2[cchTarget - 1] == '\0',
91 ("got=\"%s\" expected=\"%.*s\"", szPath2, cchTarget - 1, szPath3));
/vbox/src/VBox/Runtime/r3/win/
H A Dsymlink-win.cpp173 size_t cchTarget = strlen(pszTarget); local
176 if ( cchTarget > RT_MIN(cchVolSpecTarget, 1)
177 && RTPATH_IS_SLASH(pszTarget[cchTarget - 1]))
181 while ( offFromEnd < cchTarget
182 && cchTarget - offFromEnd >= cchVolSpecTarget
183 && RTPATH_IS_SLASH(pszTarget[cchTarget - offFromEnd]))
194 if ( cchTarget > cchVolSpecTarget
195 && RTPATH_IS_SLASH(pszTarget[cchTarget - 1]))

Completed in 44 milliseconds