Searched refs:cchAppend (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Runtime/common/path/
H A DRTPathAppendEx.cpp117 size_t cchAppend = RTStrNLen(pszAppend, cchAppendMax);
118 if (!cchAppend)
122 if (cchAppend >= cbPathDst)
124 memcpy(pszPath, pszAppend, cchAppend);
125 pszPath[cchAppend] = '\0';
141 if ((size_t)(pszPathEnd - pszPath) + cchAppend >= cbPathDst)
147 if ((size_t)(pszPathEnd - pszPath) + 1 + cchAppend >= cbPathDst)
155 while (cchAppend > 1 && RTPATH_IS_SLASH(pszAppend[1]))
156 pszAppend++, cchAppend--;
158 if ((size_t)(pszPathEnd - pszPath) + cchAppend >
[all...]
H A DRTPathJoinA.cpp49 size_t cchAppend = strlen(pszAppend); local
50 size_t cbPathDst = cchPathSrc + cchAppend + 4;
/vbox/src/VBox/Runtime/common/string/
H A Dstringalloc.cpp164 RTDECL(int) RTStrAAppendNTag(char **ppsz, const char *pszAppend, size_t cchAppend, const char *pszTag) argument
169 if (!cchAppend)
171 if (cchAppend == RTSTR_MAX)
172 cchAppend = strlen(pszAppend);
174 Assert(cchAppend == RTStrNLen(pszAppend, cchAppend));
177 pszNew = (char *)RTMemReallocTag(*ppsz, cchOrg + cchAppend + 1, pszTag);
181 memcpy(&pszNew[cchOrg], pszAppend, cchAppend);
182 pszNew[cchOrg + cchAppend] = '\0';
/vbox/src/VBox/HostDrivers/Support/testcase/
H A DtstNtQueryStuff.cpp57 size_t cchAppend = strlen(pszAppend); local
58 if (cchAppend + 1 + fWithSpace <= *pcbBuf)
65 memcpy(pszBuf, pszAppend, cchAppend + 1);
66 *pcbBuf -= cchAppend;
67 pszBuf += cchAppend;
/vbox/include/iprt/
H A Dstring.h340 * @param pszAppend The string to append. Can be NULL if cchAppend
342 * @param cchAppend The number of chars (not code points) to append
348 #define RTStrAAppendN(ppsz, pszAppend, cchAppend) RTStrAAppendNTag((ppsz), (pszAppend), (cchAppend), RTSTR_TAG)
361 * @param pszAppend The string to append. Can be NULL if cchAppend
363 * @param cchAppend The number of chars (not code points) to append
370 RTDECL(int) RTStrAAppendNTag(char **ppsz, const char *pszAppend, size_t cchAppend, const char *pszTag);

Completed in 62 milliseconds