Lines Matching refs:errCode
631 PluralRules::getRuleFromResource(const Locale& locale, UPluralType type, UErrorCode& errCode) { in getRuleFromResource() argument
634 if (U_FAILURE(errCode)) { in getRuleFromResource()
637 LocalUResourceBundlePointer rb(ures_openDirect(NULL, "plurals", &errCode)); in getRuleFromResource()
638 if(U_FAILURE(errCode)) { in getRuleFromResource()
651 errCode = U_ILLEGAL_ARGUMENT_ERROR; in getRuleFromResource()
654 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), typeKey, NULL, &errCode)); in getRuleFromResource()
655 if(U_FAILURE(errCode)) { in getRuleFromResource()
660 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource()
674 errCode = U_ZERO_ERROR; in getRuleFromResource()
688 LocalUResourceBundlePointer ruleRes(ures_getByKey(rb.getAlias(), "rules", NULL, &errCode)); in getRuleFromResource()
689 if(U_FAILURE(errCode)) { in getRuleFromResource()
692 LocalUResourceBundlePointer setRes(ures_getByKey(ruleRes.getAlias(), setKey, NULL, &errCode)); in getRuleFromResource()
693 if (U_FAILURE(errCode)) { in getRuleFromResource()
701 UnicodeString rules = ures_getNextUnicodeString(setRes.getAlias(), &key, &errCode); in getRuleFromResource()