Lines Matching refs:errCode
667 PluralRules::getRuleFromResource(const Locale& locale, UPluralType type, UErrorCode& errCode) { in getRuleFromResource() argument
670 if (U_FAILURE(errCode)) { in getRuleFromResource()
673 LocalUResourceBundlePointer rb(ures_openDirect(NULL, "plurals", &errCode)); in getRuleFromResource()
674 if(U_FAILURE(errCode)) { in getRuleFromResource()
687 errCode = U_ILLEGAL_ARGUMENT_ERROR; in getRuleFromResource()
690 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), typeKey, NULL, &errCode)); in getRuleFromResource()
691 if(U_FAILURE(errCode)) { in getRuleFromResource()
696 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource()
710 errCode = U_ZERO_ERROR; in getRuleFromResource()
726 LocalUResourceBundlePointer ruleRes(ures_getByKey(rb.getAlias(), "rules", NULL, &errCode)); in getRuleFromResource()
727 if(U_FAILURE(errCode)) { in getRuleFromResource()
731 LocalUResourceBundlePointer setRes(ures_getByKey(ruleRes.getAlias(), setKey, NULL, &errCode)); in getRuleFromResource()
732 if (U_FAILURE(errCode)) { in getRuleFromResource()
742 s=ures_getNextString(setRes.getAlias(), &resLen, (const char**)&key, &errCode); in getRuleFromResource()