Searched refs:testItemPtr (Results 1 – 4 of 4) sorted by relevance
/third_party/icu/icu4c/source/test/cintltst/ |
D | cdateintervalformattest.c | 99 const DateIntervalFormatTestItem * testItemPtr; in TestDateIntervalFormat() local 103 for ( testItemPtr = testItems; testItemPtr->locale != NULL; ++testItemPtr ) { in TestDateIntervalFormat() 108 const char * tzidForLog = (testItemPtr->tzid)? testItemPtr->tzid: "NULL"; in TestDateIntervalFormat() 111 u_unescape(testItemPtr->skeleton, skelBuf, kSkelBufLen); in TestDateIntervalFormat() 112 if ( testItemPtr->tzid ) { in TestDateIntervalFormat() 113 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen); in TestDateIntervalFormat() 118 udtitvfmt = udtitvfmt_open(testItemPtr->locale, skelBuf, -1, tzidBuf, tzidLen, &status); in TestDateIntervalFormat() 123 udtitvfmt_setContext(udtitvfmt, testItemPtr->context, &status); in TestDateIntervalFormat() 126 … testItemPtr->locale, testItemPtr->skeleton, (unsigned)testItemPtr->context, myErrorName(status) ); in TestDateIntervalFormat() 131 … testItemPtr->locale, testItemPtr->skeleton, (unsigned)testItemPtr->context, myErrorName(status) ); in TestDateIntervalFormat() [all …]
|
D | cpluralrulestest.c | 79 const PluralRulesTestItem * testItemPtr; in TestPluralRules() local 81 for ( testItemPtr = testItems; testItemPtr->locale != NULL; ++testItemPtr ) { in TestPluralRules() 83 UPluralRules* uplrules = uplrules_open(testItemPtr->locale, &status); in TestPluralRules() 88 …int32_t keywdLen = uplrules_select(uplrules, testItemPtr->number, keyword, kKeywordBufLen, &status… in TestPluralRules() 93 u_unescape(testItemPtr->keywordExpected, keywordExpected, kKeywordBufLen); in TestPluralRules() 97 …testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keywor… in TestPluralRules() 101 testItemPtr->locale, testItemPtr->number, myErrorName(status) ); in TestPluralRules() 105 … unumfmt = unum_open(UNUM_PATTERN_DECIMAL, twoDecimalPat, -1, testItemPtr->locale, NULL, &status); in TestPluralRules() 107 …keywdLen = uplrules_selectWithFormat(uplrules, testItemPtr->number, unumfmt, keyword, kKeywordBufL… in TestPluralRules() 112 … u_unescape(testItemPtr->keywordExpectedForDecimals, keywordExpected, kKeywordBufLen); in TestPluralRules() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | dtifmtts.cpp | 1325 const DateIntervalContextItem* testItemPtr; in testContext() local 1326 for ( testItemPtr = testItems; testItemPtr->locale != nullptr; ++testItemPtr ) { in testContext() 1328 Locale locale(testItemPtr->locale); in testContext() 1329 UnicodeString skeleton(testItemPtr->skeleton, -1, US_INV); in testContext() 1333 testItemPtr->locale, testItemPtr->skeleton, u_errorName(status)); in testContext() 1338 fmt->setContext(testItemPtr->context, status); in testContext() 1341 … testItemPtr->locale, testItemPtr->skeleton, (unsigned)testItemPtr->context, u_errorName(status)); in testContext() 1346 … testItemPtr->locale, testItemPtr->skeleton, (unsigned)testItemPtr->context, u_errorName(status)); in testContext() 1347 } else if (getContext != testItemPtr->context) { in testContext() 1349 … testItemPtr->locale, testItemPtr->skeleton, (unsigned)testItemPtr->context, (unsigned)getContext); in testContext() [all …]
|
D | calregts.cpp | 2487 const CoptEthCalTestItem * testItemPtr; in TestT6745() local 2488 for (testItemPtr = coptEthCalTestItems; testItemPtr->fieldDelta != 0; ++testItemPtr) { in TestT6745() 2490 …cal->set( testItemPtr->startYear + testLocalePtr->yearOffset, testItemPtr->startMonth, testItemPtr… in TestT6745() 2491 cal->add( testItemPtr->fieldToChange, testItemPtr->fieldDelta, status ); in TestT6745() 2494 … testItemPtr->fieldToChange + "/" + testItemPtr->fieldDelta + ", status " + u_errorName(status)); in TestT6745() 2497 int32_t endYear = testItemPtr->endYear + testLocalePtr->yearOffset; in TestT6745() 2501 …if ( U_FAILURE(status) || year != endYear || month != testItemPtr->endMonth || day != testItemPtr-… in TestT6745() 2503 … testItemPtr->fieldToChange + "/" + testItemPtr->fieldDelta + ", status " + u_errorName(status) + in TestT6745() 2504 … ", expected " + endYear + "/" + testItemPtr->endMonth + "/" + testItemPtr->endDay + in TestT6745()
|