Searched refs:cCps (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Runtime/common/string/
H A Dutf-8.cpp187 * @param cCps The number of RTUNICP items the paCps buffer can hold, excluding the terminator ('\\0').
189 static int rtUtf8Decode(const char *psz, size_t cch, PRTUNICP paCps, size_t cCps) argument
202 if (RT_UNLIKELY(cCps < 1))
207 cCps--;
409 size_t cCps; local
410 int rc = rtUtf8Length(pszString, RTSTR_MAX, &cCps, NULL);
416 PRTUNICP paCps = (PRTUNICP)RTMemAlloc((cCps + 1) * sizeof(RTUNICP));
422 rc = rtUtf8Decode(pszString, RTSTR_MAX, paCps, cCps);
438 RTDECL(int) RTStrToUniEx(const char *pszString, size_t cchString, PRTUNICP *ppaCps, size_t cCps, size_t *pcCps) argument
462 if (cCps >
[all...]
/vbox/src/VBox/Runtime/testcase/
H A DtstUtf8.cpp483 size_t cCps; local
484 rc = RTStrToUniEx(g_szAll, RTSTR_MAX, &paCps, RT_ELEMENTS(g_uszAll), &cCps);
487 if (cCps != RT_ELEMENTS(g_uszAll) - 1)
488 RTTestFailed(hTest, "wrong Code Point count %zu, expected %zu\n", cCps, RT_ELEMENTS(g_uszAll) - 1);
/vbox/include/iprt/
H A Dstring.h774 * @param ppaCps If cCps is non-zero, this must either be pointing to pointer to
776 * If *ppusz is NULL or cCps is zero a buffer of at least cCps items
779 * @param cCps The number of code points in the unicode string. This includes the terminator.
788 RTDECL(int) RTStrToUniEx(const char *pszString, size_t cchString, PRTUNICP *ppaCps, size_t cCps, size_t *pcCps);

Completed in 59 milliseconds