Lines Matching refs:pPath

459 static int vbsfBuildFullPath(SHFLCLIENTDATA *pClient, SHFLROOT root, PSHFLSTRING pPath,
486 uint32_t cchSrc = pPath->u16Length;
487 const char *pszSrc = (char *)&pPath->String.utf8[0];
529 SHFLSTRING *pPathParameter = pPath;
537 pPath = (SHFLSTRING *)RTMemAllocZ(cbPathLength);
538 if (!pPath)
552 ::CFStringGetCharacters(inStr, rangeCharacters, pPath->String.ucs2);
553 pPath->String.ucs2[ucs2Length] = 0x0000; // NULL terminated
554 pPath->u16Length = ucs2Length * sizeof(pPath->String.ucs2[0]);
555 pPath->u16Size = pPath->u16Length + sizeof(pPath->String.ucs2[0]);
561 size_t cwcSrc = pPath->u16Length / sizeof(RTUTF16);
562 PRTUTF16 pwszSrc = &pPath->String.ucs2[0];
575 AssertReturnStmt(cchPathAsUtf8 >= cwcSrc, RTMemFree(pPath), VERR_INTERNAL_ERROR_3);
581 * the pPath converted to UTF-8. */
618 RTMemFree(pPath);
619 pPath = pPathParameter;
1305 * @param pPath The path of the file or folder relative to the host path
1307 * @param cbPath Presumably the length of the path in pPath. Actually
1308 * ignored, as pPath contains a length parameter.
1319 int vbsfCreate(SHFLCLIENTDATA *pClient, SHFLROOT root, SHFLSTRING *pPath, uint32_t cbPath, SHFLCREATEPARMS *pParms)
1323 LogFlow(("vbsfCreate: pClient = %p, pPath = %p, cbPath = %d, pParms = %p CreateFlags=%x\n",
1324 pClient, pPath, cbPath, pParms, pParms->CreateFlags));
1336 rc = vbsfBuildFullPath(pClient, root, pPath, cbPath, &pszFullPath, &cbFullPathRoot);
1607 int vbsfDirList(SHFLCLIENTDATA *pClient, SHFLROOT root, SHFLHANDLE Handle, SHFLSTRING *pPath, uint32_t flags,
1644 if (pPath)
1655 rc = vbsfBuildFullPath(pClient, root, pPath, pPath->u16Size, &pszFullPath, NULL, true);
1821 int vbsfReadLink(SHFLCLIENTDATA *pClient, SHFLROOT root, SHFLSTRING *pPath, uint32_t cbPath, uint8_t *pBuffer, uint32_t cbBuffer)
1825 if (pPath == 0 || pBuffer == 0)
1838 rc = vbsfBuildFullPath(pClient, root, pPath, cbPath, &pszFullPath, &cbFullPathRoot);
2260 int vbsfRemove(SHFLCLIENTDATA *pClient, SHFLROOT root, SHFLSTRING *pPath, uint32_t cbPath, uint32_t flags)
2267 || pPath == 0)
2278 rc = vbsfBuildFullPath(pClient, root, pPath, cbPath, &pszFullPath, NULL);