Searched defs:cwcDst (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/Runtime/common/string/
H A DRTUtf16Cat.cpp35 RTDECL(int) RTUtf16Cat(PRTUTF16 pwszDst, size_t cwcDst, PCRTUTF16 pwszSrc) argument
37 PRTUTF16 pwszDst2 = (PRTUTF16)RTUtf16End(pwszDst, cwcDst);
39 return RTUtf16Copy(pwszDst2, cwcDst - (pwszDst2 - pwszDst), pwszSrc);
H A DRTUtf16CatAscii.cpp35 RTDECL(int) RTUtf16CatAscii(PRTUTF16 pwszDst, size_t cwcDst, const char *pszSrc) argument
37 PRTUTF16 pwszDst2 = (PRTUTF16)RTUtf16End(pwszDst, cwcDst);
39 return RTUtf16CopyAscii(pwszDst2, cwcDst - (pwszDst2 - pwszDst), pszSrc);
H A DRTUtf16Copy.cpp35 RTDECL(int) RTUtf16Copy(PRTUTF16 pwszDst, size_t cwcDst, PCRTUTF16 pwszSrc) argument
38 if (RT_LIKELY(wcwSrc < cwcDst))
44 if (cwcDst != 0)
46 memcpy(pwszDst, pwszSrc, cwcDst - 1);
47 pwszDst[cwcDst - 1] = '\0';
H A DRTUtf16CopyAscii.cpp35 RTDECL(int) RTUtf16CopyAscii(PRTUTF16 pwszDst, size_t cwcDst, const char *pszSrc) argument
40 if (RT_LIKELY(cchSrc < cwcDst))
45 else if (cwcDst != 0)
48 cchCopy = cwcDst - 1;

Completed in 57 milliseconds