Lines Matching defs:cchRoot
471 uint32_t cchRoot = (uint32_t)strlen(pszRoot);
478 * buffer pointed to by pszFullPath. cchRoot may be adjusted in the process.
499 cchFullPath = cchRoot + cchSrc;
503 memcpy(pszFullPath, pszRoot, cchRoot);
506 pszFullPath[cchRoot++] = RTPATH_DELIMITER;
511 memcpy(&pszFullPath[cchRoot], pszSrc, cchSrc);
514 pszFullPath[cchRoot + cchSrc] = '\0';
582 cchFullPath = cchRoot + cchPathAsUtf8;
588 memcpy(pszFullPath, pszRoot, cchRoot);
589 if (!RTPATH_IS_SLASH(pszFullPath[cchRoot - 1]))
591 pszFullPath[cchRoot++] = RTPATH_DELIMITER;
599 char *pszDst = &pszFullPath[cchRoot];
600 rc = RTUtf16ToUtf8Ex(pwszSrc, cwcSrc, &pszDst, cchFullPath - cchRoot + 1, &cchActual);
609 pszFullPath[cchRoot + cchPathAsUtf8] = '\0';
625 Assert(RTPATH_IS_SLASH(pszFullPath[cchRoot - 1])); /* includes delimiter. */
628 *pcbFullPathRoot = cchRoot - 1; /* Must index the path delimiter. */
639 char *pszTmp = &pszFullPath[cchRoot];
648 rc = vbsfPathCheck(&pszFullPath[cchRoot]);
672 Log(("vbsfBuildPath: Caught escape attempt: (%.*s) '%s'\n", cchRoot, pszFullPath, &pszFullPath[cchRoot]));