Searched refs:pSplit (Results 1 - 5 of 5) sorted by relevance
/vbox/src/VBox/Runtime/common/path/ |
H A D | RTPathSplitA.cpp | 53 PRTPATHSPLIT pSplit = (PRTPATHSPLIT)RTMemAllocTag(cbSplit, pszTag); local 54 if (pSplit == NULL) 60 int rc = RTPathSplit(pszPath, pSplit, cbSplit, fFlags); 63 cbSplit = RT_ALIGN(pSplit->cbNeeded, 64); 64 RTMemFree(pSplit); 66 pSplit = (PRTPATHSPLIT)RTMemAllocTag(cbSplit, pszTag); 67 if (pSplit == NULL) 69 rc = RTPathSplit(pszPath, pSplit, cbSplit, fFlags); 76 *ppSplit = pSplit; 78 RTMemFree(pSplit); 83 RTPathSplitFree(PRTPATHSPLIT pSplit) argument [all...] |
H A D | RTPathSplitReassemble.cpp | 39 RTDECL(int) RTPathSplitReassemble(PRTPATHSPLIT pSplit, uint32_t fFlags, char *pszDstPath, size_t cbDstPath) argument 44 AssertPtrReturn(pSplit, VERR_INVALID_POINTER); 45 AssertReturn(pSplit->cComps > 0, VERR_INVALID_PARAMETER); 48 AssertReturn(cbDstPath > pSplit->cchPath, VERR_BUFFER_OVERFLOW); 75 uint32_t const cchOrgPath = pSplit->cchPath; 77 uint32_t const cComps = pSplit->cComps; 82 if (RTPATH_PROP_HAS_ROOT_SPEC(pSplit->fProps)) 84 cchComp = strlen(pSplit->apszComps[0]); 87 memcpy(pszDst, pSplit->apszComps[0], cchComp); 102 cchComp = strlen(pSplit [all...] |
H A D | RTPathSplit.cpp | 40 RTDECL(int) RTPathSplit(const char *pszPath, PRTPATHSPLIT pSplit, size_t cbSplit, uint32_t fFlags) argument 46 AssertPtrReturn(pSplit, VERR_INVALID_POINTER); 58 RTPATHPARSED volatile *pParsedVolatile = (RTPATHPARSED volatile *)pSplit; 59 RTPATHSPLIT volatile *pSplitVolatile = (RTPATHSPLIT volatile *)pSplit; 90 char *psz = (char *)pSplit + cbNeeded;
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTPath.cpp | 165 PRTPATHSPLIT pSplit = NULL; local 166 RTTESTI_CHECK_RC(rc = RTPathSplitA(s_aTests[i].pszPath, &pSplit, s_aTests[i].fFlags), VINF_SUCCESS); 169 RTTESTI_CHECK(pSplit); 170 RTTESTI_CHECK(pSplit->cComps == u.Split.cComps); 171 RTTESTI_CHECK(pSplit->fProps == u.Split.fProps); 172 RTTESTI_CHECK(pSplit->cchPath == u.Split.cchPath); 173 RTTESTI_CHECK(pSplit->cbNeeded == u.Split.cbNeeded); 174 RTTESTI_CHECK(!strcmp(pSplit->pszSuffix, u.Split.pszSuffix)); 176 RTTESTI_CHECK(!strcmp(pSplit->apszComps[idxComp], pSplit [all...] |
/vbox/include/iprt/ |
H A D | path.h | 728 * @param pSplit Where to store the details of the parsed path. 729 * @param cbSplit The size of the buffer pointed to by @a pSplit 737 RTDECL(int) RTPathSplit(const char *pszPath, PRTPATHSPLIT pSplit, size_t cbSplit, uint32_t fFlags); 779 * @param pSplit What RTPathSplitA returned. 782 RTDECL(void) RTPathSplitFree(PRTPATHSPLIT pSplit); variable 801 RTDECL(int) RTPathSplitReassemble(PRTPATHSPLIT pSplit, uint32_t fFlags, char *pszDstPath, size_t cbDstPath);
|
Completed in 56 milliseconds