Searched defs:cCps (Results 1 - 2 of 2) 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);

Completed in 47 milliseconds