Home | History | Annotate | Download | only in native

Lines Matching refs:errorCode

20 #include "ErrorCode.h"
70 UErrorCode errorCode = U_ZERO_ERROR;
71 UConverter* cnv = ucnv_open(converterNameChars.c_str(), &errorCode);
72 icu4jni_error(env, errorCode);
108 UErrorCode errorCode = U_ZERO_ERROR;
109 ucnv_fromUnicode(cnv , &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, (UBool) flush, &errorCode);
121 if (errorCode == U_ILLEGAL_CHAR_FOUND || errorCode == U_INVALID_CHAR_FOUND) {
129 return errorCode;
160 UErrorCode errorCode = U_ZERO_ERROR;
161 ucnv_toUnicode(cnv, &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, flush, &errorCode);
171 if (errorCode == U_ILLEGAL_CHAR_FOUND || errorCode == U_INVALID_CHAR_FOUND) {
180 return errorCode;
232 UErrorCode errorCode = U_ZERO_ERROR;
233 ucnv_toUnicode(cnv, &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, TRUE, &errorCode);
235 return errorCode;
258 UErrorCode errorCode = U_ZERO_ERROR;
259 ucnv_fromUnicode(cnv, &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, TRUE, &errorCode);
261 return errorCode;
265 UErrorCode errorCode = U_ZERO_ERROR;
282 ucnv_fromUnicode(cnv, &dst, dstLimit, &src, srcLimit, NULL, TRUE, &errorCode);
283 return U_SUCCESS(errorCode);
483 UErrorCode errorCode = U_ZERO_ERROR;
485 &errorCode);
486 return errorCode;
574 UErrorCode errorCode = U_ZERO_ERROR;
576 &errorCode);
577 return errorCode;
614 UErrorCode errorCode = U_ZERO_ERROR;
615 UniqueUConverter converter1(ucnv_open(name1Chars.c_str(), &errorCode));
617 ucnv_getUnicodeSet(converter1.get(), set1.toUSet(), UCNV_ROUNDTRIP_SET, &errorCode);
619 UniqueUConverter converter2(ucnv_open(name2Chars.c_str(), &errorCode));
621 ucnv_getUnicodeSet(converter2.get(), set2.toUSet(), UCNV_ROUNDTRIP_SET, &errorCode);
623 return U_SUCCESS(errorCode) && set1.containsAll(set2);