Lines Matching refs:pszString
397 RTDECL(int) RTStrToUni(const char *pszString, PRTUNICP *ppaCps)
402 Assert(VALID_PTR(pszString));
410 int rc = rtUtf8Length(pszString, RTSTR_MAX, &cCps, NULL);
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)
443 Assert(VALID_PTR(pszString));
451 int rc = rtUtf8Length(pszString, cchString, &cCpsResult, NULL);
481 rc = rtUtf8Decode(pszString, cchString, paCpsResult, cCps - 1);
718 RTDECL(int) RTStrToUtf16Tag(const char *pszString, PRTUTF16 *ppwszString, const char *pszTag)
724 Assert(VALID_PTR(pszString));
731 int rc = rtUtf8CalcUtf16Length(pszString, RTSTR_MAX, &cwc);
743 rc = rtUtf8RecodeAsUtf16(pszString, RTSTR_MAX, pwsz, cwc);
759 RTDECL(int) RTStrToUtf16ExTag(const char *pszString, size_t cchString,
765 Assert(VALID_PTR(pszString));
773 int rc = rtUtf8CalcUtf16Length(pszString, cchString, &cwcResult);
803 rc = rtUtf8RecodeAsUtf16(pszString, cchString, pwszResult, cwc - 1);
908 RTDECL(int) RTLatin1ToUtf8Tag(const char *pszString, char **ppszString, const char *pszTag)
914 Assert(VALID_PTR(pszString));
921 int rc = rtLatin1CalcUtf8Length(pszString, RTSTR_MAX, &cch);
930 rc = rtLatin1RecodeAsUtf8(pszString, RTSTR_MAX, pszResult, cch);
947 RTDECL(int) RTLatin1ToUtf8ExTag(const char *pszString, size_t cchString, char **ppsz, size_t cch, size_t *pcch, const char *pszTag)
952 Assert(VALID_PTR(pszString));
960 int rc = rtLatin1CalcUtf8Length(pszString, cchString, &cchResult);
987 rc = rtLatin1RecodeAsUtf8(pszString, cchString, pszResult, cch - 1);
1101 RTDECL(int) RTStrToLatin1Tag(const char *pszString, char **ppszString, const char *pszTag)
1107 Assert(VALID_PTR(pszString));
1114 int rc = rtUtf8CalcLatin1Length(pszString, RTSTR_MAX, &cch);
1126 rc = rtUtf8RecodeAsLatin1(pszString, RTSTR_MAX, psz, cch);
1142 RTDECL(int) RTStrToLatin1ExTag(const char *pszString, size_t cchString,
1148 Assert(VALID_PTR(pszString));
1156 int rc = rtUtf8CalcLatin1Length(pszString, cchString, &cchResult);
1186 rc = rtUtf8RecodeAsLatin1(pszString, cchString, pszResult, cch - 1);