Home | History | Annotate | Download | only in common

Lines Matching refs:errorCode

74                         IDNAInfo &info, UErrorCode &errorCode) const {
75 if(U_SUCCESS(errorCode)) {
78 info, errorCode).toUTF8(dest);
84 IDNAInfo &info, UErrorCode &errorCode) const {
85 if(U_SUCCESS(errorCode)) {
88 info, errorCode).toUTF8(dest);
94 IDNAInfo &info, UErrorCode &errorCode) const {
95 if(U_SUCCESS(errorCode)) {
98 info, errorCode).toUTF8(dest);
104 IDNAInfo &info, UErrorCode &errorCode) const {
105 if(U_SUCCESS(errorCode)) {
108 info, errorCode).toUTF8(dest);
116 UTS46(uint32_t options, UErrorCode &errorCode);
121 IDNAInfo &info, UErrorCode &errorCode) const;
125 IDNAInfo &info, UErrorCode &errorCode) const;
129 IDNAInfo &info, UErrorCode &errorCode) const;
133 IDNAInfo &info, UErrorCode &errorCode) const;
137 IDNAInfo &info, UErrorCode &errorCode) const;
141 IDNAInfo &info, UErrorCode &errorCode) const;
145 IDNAInfo &info, UErrorCode &errorCode) const;
149 IDNAInfo &info, UErrorCode &errorCode) const;
156 IDNAInfo &info, UErrorCode &errorCode) const;
162 IDNAInfo &info, UErrorCode &errorCode) const;
169 IDNAInfo &info, UErrorCode &errorCode) const;
174 UErrorCode &errorCode) const;
181 IDNAInfo &info, UErrorCode &errorCode) const;
201 IDNA::createUTS46Instance(uint32_t options, UErrorCode &errorCode) {
202 if(U_SUCCESS(errorCode)) {
203 IDNA *idna=new UTS46(options, errorCode);
205 errorCode=U_MEMORY_ALLOCATION_ERROR;
206 } else if(U_FAILURE(errorCode)) {
218 UTS46::UTS46(uint32_t opt, UErrorCode &errorCode)
219 : uts46Norm2(*Normalizer2::getInstance(NULL, "uts46", UNORM2_COMPOSE, errorCode)),
226 IDNAInfo &info, UErrorCode &errorCode) const {
227 return process(label, TRUE, TRUE, dest, info, errorCode);
232 IDNAInfo &info, UErrorCode &errorCode) const {
233 return process(label, TRUE, FALSE, dest, info, errorCode);
238 IDNAInfo &info, UErrorCode &errorCode) const {
239 process(name, FALSE, TRUE, dest, info, errorCode);
251 IDNAInfo &info, UErrorCode &errorCode) const {
252 return process(name, FALSE, FALSE, dest, info, errorCode);
257 IDNAInfo &info, UErrorCode &errorCode) const {
258 processUTF8(label, TRUE, TRUE, dest, info, errorCode);
263 IDNAInfo &info, UErrorCode &errorCode) const {
264 processUTF8(label, TRUE, FALSE, dest, info, errorCode);
269 IDNAInfo &info, UErrorCode &errorCode) const {
270 processUTF8(name, FALSE, TRUE, dest, info, errorCode);
275 IDNAInfo &info, UErrorCode &errorCode) const {
276 processUTF8(name, FALSE, FALSE, dest, info, errorCode);
305 IDNAInfo &info, UErrorCode &errorCode) const {
309 if(U_FAILURE(errorCode)) {
315 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
331 errorCode=U_MEMORY_ALLOCATION_ERROR;
400 processUnicode(src, labelStart, i, isLabel, toASCII, dest, info, errorCode);
401 if( info.isBiDi && U_SUCCESS(errorCode) && (info.errors&severeErrors)==0 &&
413 IDNAInfo &info, UErrorCode &errorCode) const {
414 if(U_FAILURE(errorCode)) {
420 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
508 destString, info, errorCode);
513 destString, info, errorCode);
527 if( info.isBiDi && U_SUCCESS(errorCode) && (info.errors&severeErrors)==0 &&
539 IDNAInfo &info, UErrorCode &errorCode) const {
541 uts46Norm2.normalize(src, dest, errorCode);
543 uts46Norm2.normalizeSecondAndAppend(dest, src.tempSubString(mappingStart), errorCode);
545 if(U_FAILURE(errorCode)) {
559 toASCII, info, errorCode);
562 if(U_FAILURE(errorCode)) {
571 destLength=mapDevChars(dest, labelStart, labelLimit, errorCode);
572 if(U_FAILURE(errorCode)) {
591 toASCII, info, errorCode);
599 UErrorCode &errorCode) const {
603 errorCode=U_MEMORY_ALLOCATION_ERROR;
622 errorCode=U_MEMORY_ALLOCATION_ERROR;
654 uts46Norm2.normalize(dest.tempSubString(labelStart), normalized, errorCode);
655 if(U_SUCCESS(errorCode)) {
689 IDNAInfo &info, UErrorCode &errorCode) const {
702 errorCode=U_MEMORY_ALLOCATION_ERROR;
713 errorCode=U_MEMORY_ALLOCATION_ERROR;
733 UBool isValid=uts46Norm2.isNormalized(fromPunycode, errorCode);
734 if(U_FAILURE(errorCode)) {
845 errorCode=U_MEMORY_ALLOCATION_ERROR;
854 NULL, &errorCode);
855 if(errorCode==U_BUFFER_OVERFLOW_ERROR) {
856 errorCode
860 errorCode=U_MEMORY_ALLOCATION_ERROR;
865 NULL, &errorCode);
869 if(U_FAILURE(errorCode)) {
1208 UErrorCode errorCode=U_ZERO_ERROR;
1211 script=uscript_getScript(c, &errorCode);
1228 UErrorCode errorCode=U_ZERO_ERROR;
1231 script=uscript_getScript(c, &errorCode);
1269 UErrorCode errorCode=U_ZERO_ERROR;
1276 UScriptCode script=uscript_getScript(c, &errorCode);