Lines Matching refs:errorCode
885 UErrorCode errorCode;
895 errorCode=U_ZERO_ERROR;
896 bocu1ICULength=ucnv_fromUChars(bocu1, bocu1ICU, DEFAULT_BUFFER_SIZE, text, length, &errorCode);
897 if(U_FAILURE(errorCode)) {
898 log_err("ucnv_fromUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode));
913 roundtripICULength=ucnv_toUChars(bocu1, roundtripICU, DEFAULT_BUFFER_SIZE, bocu1ICU, bocu1ICULength, &errorCode);
914 if(U_FAILURE(errorCode)) {
915 log_err("ucnv_toUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode));
983 UErrorCode errorCode;
985 errorCode=U_ZERO_ERROR;
986 bocu1=ucnv_open("BOCU-1", &errorCode);
987 if(U_FAILURE(errorCode)) {
988 log_data_err("error: unable to open BOCU-1 converter: %s\n", u_errorName(errorCode));