Lines Matching refs:errCode
632 PluralRules::getRuleFromResource(const Locale& locale, UPluralType type, UErrorCode& errCode) {
635 if (U_FAILURE(errCode)) {
638 LocalUResourceBundlePointer rb(ures_openDirect(NULL, "plurals", &errCode));
639 if(U_FAILURE(errCode)) {
652 errCode = U_ILLEGAL_ARGUMENT_ERROR;
655 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), typeKey, NULL, &errCode));
656 if(U_FAILURE(errCode)) {
661 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode);
675 errCode = U_ZERO_ERROR;
689 LocalUResourceBundlePointer ruleRes(ures_getByKey(rb.getAlias(), "rules", NULL, &errCode));
690 if(U_FAILURE(errCode)) {
693 LocalUResourceBundlePointer setRes(ures_getByKey(ruleRes.getAlias(), setKey, NULL, &errCode));
694 if (U_FAILURE(errCode)) {
702 UnicodeString rules = ures_getNextUnicodeString(setRes.getAlias(), &key, &errCode);