Searched refs:pszAppend (Results 1 - 10 of 10) sorted by relevance

/vbox/src/VBox/Runtime/common/path/
H A DRTPathAppend.cpp37 RTDECL(int) RTPathAppend(char *pszPath, size_t cbPathDst, const char *pszAppend) argument
39 return RTPathAppendEx(pszPath, cbPathDst, pszAppend, RTSTR_MAX);
H A DRTPathJoin.cpp41 const char *pszAppend)
45 AssertPtr(pszAppend);
55 return RTPathAppend(pszPathDst, cbPathDst, pszAppend);
40 RTPathJoin(char *pszPathDst, size_t cbPathDst, const char *pszPathSrc, const char *pszAppend) argument
H A DRTPathJoinA.cpp40 RTDECL(char *) RTPathJoinA(const char *pszPathSrc, const char *pszAppend) argument
42 AssertPtr(pszAppend);
49 size_t cchAppend = strlen(pszAppend);
55 int rc = RTPathAppend(pszPathDst, cbPathDst, pszAppend);
63 rc = RTPathAppend(pszPathDst, cbPathDst, pszAppend);
H A DRTPathAppendEx.cpp107 RTDECL(int) RTPathAppendEx(char *pszPath, size_t cbPathDst, const char *pszAppend, size_t cchAppendMax) argument
115 if (!pszAppend)
117 size_t cchAppend = RTStrNLen(pszAppend, cchAppendMax);
124 memcpy(pszPath, pszAppend, cchAppend);
134 if (!RTPATH_IS_SLASH(pszAppend[0]))
155 while (cchAppend > 1 && RTPATH_IS_SLASH(pszAppend[1]))
156 pszAppend++, cchAppend--;
165 while (cchAppend && RTPATH_IS_SLASH(*pszAppend))
166 pszAppend++, cchAppend--;
182 memcpy(pszPathEnd, pszAppend, cchAppen
[all...]
H A DRTPathJoinEx.cpp42 const char *pszAppend, size_t cchAppendMax)
46 AssertPtr(pszAppend);
57 return RTPathAppendEx(pszPathDst, cbPathDst, pszAppend, cchAppendMax);
40 RTPathJoinEx(char *pszPathDst, size_t cbPathDst, const char *pszPathSrc, size_t cchPathSrcMax, const char *pszAppend, size_t cchAppendMax) argument
/vbox/src/VBox/Runtime/common/string/
H A Dstringalloc.cpp156 RTDECL(int) RTStrAAppendTag(char **ppsz, const char *pszAppend, const char *pszTag) argument
158 if (!pszAppend)
160 return RTStrAAppendNTag(ppsz, pszAppend, RTSTR_MAX, pszTag);
164 RTDECL(int) RTStrAAppendNTag(char **ppsz, const char *pszAppend, size_t cchAppend, const char *pszTag) argument
172 cchAppend = strlen(pszAppend);
174 Assert(cchAppend == RTStrNLen(pszAppend, cchAppend));
181 memcpy(&pszNew[cchOrg], pszAppend, cchAppend);
/vbox/include/iprt/
H A Dpath.h879 * @param pszPath The path to append pszAppend to. This serves as both
881 * pszAppend is just copied over.
884 * @param pszAppend The partial path to append to pszPath. This can be
889 RTDECL(int) RTPathAppend(char *pszPath, size_t cbPathDst, const char *pszAppend);
903 * @param pszPath The path to append pszAppend to. This serves as both
905 * pszAppend is just copied over.
908 * @param pszAppend The partial path to append to pszPath. This can be
911 * pszAppend. RTSTR_MAX is fine.
924 RTDECL(int) RTPathAppendEx(char *pszPath, size_t cbPathDst, const char *pszAppend, size_t cchAppendMax);
940 * appending @a pszAppend
[all...]
H A Dstring.h308 * @param pszAppend The string to append. NULL and empty strings
311 #define RTStrAAppend(ppsz, pszAppend) RTStrAAppendTag((ppsz), (pszAppend), RTSTR_TAG)
323 * @param pszAppend The string to append. NULL and empty strings
327 RTDECL(int) RTStrAAppendTag(char **ppsz, const char *pszAppend, const char *pszTag);
340 * @param pszAppend The string to append. Can be NULL if cchAppend
343 * from pszAppend. Must not be more than
344 * @a pszAppend contains, except for the special
346 * of @a pszAppend without having to strlen it.
348 #define RTStrAAppendN(ppsz, pszAppend, cchAppen
[all...]
/vbox/src/VBox/Runtime/testcase/
H A DtstRTPath.cpp478 const char *pszAppend = s_apszAppendTests[i + 1]; local
481 RTTESTI_CHECK_RC(rc = RTPathAppend(szPath, sizeof(szPath), pszAppend), VINF_SUCCESS);
491 pszInput, pszAppend, szPath, pszExpect);
498 RTTESTI_CHECK_RC(rc = RTPathAppend(szPath, cchResult + 2, pszAppend), VINF_SUCCESS);
502 RTTESTI_CHECK_RC(rc = RTPathAppend(szPath, cchResult + 1, pszAppend), VINF_SUCCESS);
508 RTTESTI_CHECK_RC(RTPathAppend(szPath, cchResult, pszAppend), VERR_BUFFER_OVERFLOW);
520 const char *pszAppend = s_apszAppendTests[i + 1]; local
525 RTTESTI_CHECK_RC(rc = RTPathJoin(szPath, sizeof(szPath), pszInput, pszAppend), VINF_SUCCESS);
535 pszInput, pszAppend, szPath, pszExpect);
542 RTTESTI_CHECK_RC(rc = RTPathJoin(szPath, cchResult + 2, pszInput, pszAppend), VINF_SUCCES
560 const char *pszAppend = s_apszAppendTests[i + 1]; local
[all...]
/vbox/src/VBox/HostDrivers/Support/testcase/
H A DtstNtQueryStuff.cpp55 static char *stringifyAppend(char *pszBuf, size_t *pcbBuf, const char *pszAppend, bool fWithSpace) argument
57 size_t cchAppend = strlen(pszAppend);
65 memcpy(pszBuf, pszAppend, cchAppend + 1);

Completed in 63 milliseconds