Searched refs:testItemPtr (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | cdateintervalformattest.c | 71 const DateIntervalFormatTestItem * testItemPtr; in TestDateIntervalFormat() local 75 for ( testItemPtr = testItems; testItemPtr->locale != NULL; ++testItemPtr ) { in TestDateIntervalFormat() 80 const char * tzidForLog = (testItemPtr->tzid)? testItemPtr->tzid: "NULL"; in TestDateIntervalFormat() 83 u_unescape(testItemPtr->skeleton, skelBuf, kSkelBufLen); in TestDateIntervalFormat() 84 if ( testItemPtr->tzid ) { in TestDateIntervalFormat() 85 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen); in TestDateIntervalFormat() 90 udtitvfmt = udtitvfmt_open(testItemPtr->locale, skelBuf, -1, tzidBuf, tzidLen, &status); in TestDateIntervalFormat() 94 …int32_t fmtLen = udtitvfmt_format(udtitvfmt, testItemPtr->from, testItemPtr->to, result, kFormatBu… in TestDateIntervalFormat() 99 u_unescape(testItemPtr->resultExpected, resultExpected, kFormatBufLen); in TestDateIntervalFormat() 103 … testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, in TestDateIntervalFormat() [all …]
|
D | cpluralrulestest.c | 66 const PluralRulesTestItem * testItemPtr; in TestPluralRules() local 68 for ( testItemPtr = testItems; testItemPtr->locale != NULL; ++testItemPtr ) { in TestPluralRules() 70 UPluralRules* uplrules = uplrules_open(testItemPtr->locale, &status); in TestPluralRules() 74 …int32_t keywdLen = uplrules_select(uplrules, testItemPtr->number, keyword, kKeywordBufLen, &status… in TestPluralRules() 79 u_unescape(testItemPtr->keywordExpected, keywordExpected, kKeywordBufLen); in TestPluralRules() 83 …testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keywor… in TestPluralRules() 87 testItemPtr->locale, testItemPtr->number, myErrorName(status) ); in TestPluralRules() 91 … log_err("FAIL: uplrules_open for locale %s: %s\n", testItemPtr->locale, myErrorName(status) ); in TestPluralRules()
|
/external/icu/icu4c/source/test/intltest/ |
D | calregts.cpp | 2449 const CoptEthCalTestItem * testItemPtr; in TestT6745() local 2450 for (testItemPtr = coptEthCalTestItems; testItemPtr->fieldDelta != 0; ++testItemPtr) { in TestT6745() 2452 …cal->set( testItemPtr->startYear + testLocalePtr->yearOffset, testItemPtr->startMonth, testItemPtr… in TestT6745() 2453 cal->add( testItemPtr->fieldToChange, testItemPtr->fieldDelta, status ); in TestT6745() 2456 … testItemPtr->fieldToChange + "/" + testItemPtr->fieldDelta + ", status " + u_errorName(status)); in TestT6745() 2459 int32_t endYear = testItemPtr->endYear + testLocalePtr->yearOffset; in TestT6745() 2463 …if ( U_FAILURE(status) || year != endYear || month != testItemPtr->endMonth || day != testItemPtr-… in TestT6745() 2465 … testItemPtr->fieldToChange + "/" + testItemPtr->fieldDelta + ", status " + u_errorName(status) + in TestT6745() 2466 … ", expected " + endYear + "/" + testItemPtr->endMonth + "/" + testItemPtr->endDay + in TestT6745()
|