Lines Matching refs:testItemPtr
73 const PluralRulesTestItem * testItemPtr; in TestPluralRules() local
75 for ( testItemPtr = testItems; testItemPtr->locale != NULL; ++testItemPtr ) { in TestPluralRules()
77 UPluralRules* uplrules = uplrules_open(testItemPtr->locale, &status); in TestPluralRules()
82 …int32_t keywdLen = uplrules_select(uplrules, testItemPtr->number, keyword, kKeywordBufLen, &status… in TestPluralRules()
87 u_unescape(testItemPtr->keywordExpected, keywordExpected, kKeywordBufLen); in TestPluralRules()
91 …testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keywor… in TestPluralRules()
95 testItemPtr->locale, testItemPtr->number, myErrorName(status) ); in TestPluralRules()
99 … unumfmt = unum_open(UNUM_PATTERN_DECIMAL, twoDecimalPat, -1, testItemPtr->locale, NULL, &status); in TestPluralRules()
101 …keywdLen = uplrules_selectWithFormat(uplrules, testItemPtr->number, unumfmt, keyword, kKeywordBufL… in TestPluralRules()
106 … u_unescape(testItemPtr->keywordExpectedForDecimals, keywordExpected, kKeywordBufLen); in TestPluralRules()
110 …testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpectedForDecimals, u_austrcpy(bcha… in TestPluralRules()
114 testItemPtr->locale, testItemPtr->number, myErrorName(status) ); in TestPluralRules()
118 … log_err("FAIL: unum_open for locale %s: %s\n", testItemPtr->locale, myErrorName(status) ); in TestPluralRules()
123 … log_err("FAIL: uplrules_open for locale %s: %s\n", testItemPtr->locale, myErrorName(status) ); in TestPluralRules()