Lines Matching refs:errorCode
92 UErrorCode errorCode = U_ZERO_ERROR;
116 u_init(&errorCode);
117 if (U_FAILURE(errorCode)) {
119 "#### Note: ICU Init without build-specific setDataDirectory() failed. %s\n", u_errorName(errorCode));
133 errorCode = U_ZERO_ERROR;
139 u_init(&errorCode);
140 if (U_FAILURE(errorCode)) {
144 "*** check that the data files are present.\n", argv[0], u_errorName(errorCode));
155 cnv = ucnv_open(TRY_CNV_2, &errorCode);
171 rb = ures_open(NULL, "en", &errorCode);
172 if(U_SUCCESS(errorCode)) {
187 errorCode = U_ZERO_ERROR;
188 rb = ures_open(NULL, NULL, &errorCode);
189 if(U_SUCCESS(errorCode)) {
191 if (errorCode == U_USING_DEFAULT_WARNING || errorCode == U_USING_FALLBACK_WARNING) {
512 UErrorCode errorCode = U_ZERO_ERROR;
522 UConverter* conv = ucnv_open(convName, &errorCode);
529 ucnv_setFromUCallBack(conv, UCNV_FROM_U_CALLBACK_ESCAPE, UCNV_ESCAPE_C, &cb, &p, &errorCode);
530 ucnv_fromUnicode(conv,&target,targetLimit, &unichars, (UChar*)(unichars+length),NULL,TRUE,&errorCode);