Lines Matching refs:errCode
618 PluralRules::getRuleFromResource(const Locale& locale, UPluralType type, UErrorCode& errCode) { in getRuleFromResource() argument
621 if (U_FAILURE(errCode)) { in getRuleFromResource()
624 LocalUResourceBundlePointer rb(ures_openDirect(NULL, "plurals", &errCode)); in getRuleFromResource()
625 if(U_FAILURE(errCode)) { in getRuleFromResource()
638 errCode = U_ILLEGAL_ARGUMENT_ERROR; in getRuleFromResource()
641 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), typeKey, NULL, &errCode)); in getRuleFromResource()
642 if(U_FAILURE(errCode)) { in getRuleFromResource()
647 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource()
661 errCode = U_ZERO_ERROR; in getRuleFromResource()
675 LocalUResourceBundlePointer ruleRes(ures_getByKey(rb.getAlias(), "rules", NULL, &errCode)); in getRuleFromResource()
676 if(U_FAILURE(errCode)) { in getRuleFromResource()
679 LocalUResourceBundlePointer setRes(ures_getByKey(ruleRes.getAlias(), setKey, NULL, &errCode)); in getRuleFromResource()
680 if (U_FAILURE(errCode)) { in getRuleFromResource()
688 UnicodeString rules = ures_getNextUnicodeString(setRes.getAlias(), &key, &errCode); in getRuleFromResource()