Searched refs:cchNew (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/Runtime/common/string/
H A Dstringalloc.cpp256 RTDECL(int) RTStrATruncateTag(char **ppsz, size_t cchNew, const char *pszTag) argument
260 if (!cchNew)
274 AssertReturn(cchNew < ~(size_t)64, VERR_OUT_OF_RANGE);
275 pszZero = RTStrEnd(pszOld, cchNew + 63);
276 AssertReturn(!pszZero || (size_t)(pszZero - pszOld) >= cchNew, VERR_OUT_OF_RANGE);
277 pszOld[cchNew] = '\0';
280 pszNew = (char *)RTMemReallocTag(pszOld, cchNew + 1, pszTag);
/vbox/include/iprt/cpp/
H A Dministring.h430 size_t cchNew = strlen(m_psz); local
431 Assert(cchNew <= m_cch);
432 m_cch = cchNew;
449 size_t cchNew = strlen(m_psz); local
450 Assert(cchNew <= m_cch);
451 m_cch = cchNew;
/vbox/include/iprt/
H A Dstring.h480 * @retval VERR_OUT_OF_RANGE if cchNew is too long. Nothing is done.
483 * pointer can be NULL if @a cchNew is 0, no change
487 * @param cchNew The new string length (excluding the
492 #define RTStrATruncate(ppsz, cchNew) RTStrATruncateTag((ppsz), (cchNew), RTSTR_TAG)
498 * @retval VERR_OUT_OF_RANGE if cchNew is too long. Nothing is done.
501 * pointer can be NULL if @a cchNew is 0, no change
505 * @param cchNew The new string length (excluding the
511 RTDECL(int) RTStrATruncateTag(char **ppsz, size_t cchNew, const char *pszTag);
/vbox/src/VBox/ValidationKit/utils/TestExecServ/
H A DTestExecService.cpp544 size_t cchNew = strlen(pszSrc); local
559 rc = txsReplaceStringVariable(&pszNew, &cchNew, offDollar, \

Completed in 83 milliseconds