• Home
  • Raw
  • Download

Lines Matching refs:testItemPtr

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()
126testItemPtr->locale, testItemPtr->skeleton, (unsigned)testItemPtr->context, myErrorName(status) ); in TestDateIntervalFormat()
131testItemPtr->locale, testItemPtr->skeleton, (unsigned)testItemPtr->context, myErrorName(status) ); in TestDateIntervalFormat()
132 } else if (getContext != testItemPtr->context) { in TestDateIntervalFormat()
134testItemPtr->locale, testItemPtr->skeleton, (unsigned)testItemPtr->context, (unsigned)getContext ); in TestDateIntervalFormat()
138 …int32_t fmtLen = udtitvfmt_format(udtitvfmt, testItemPtr->from, testItemPtr->to, result, kFormatBu… in TestDateIntervalFormat()
143 u_unescape(testItemPtr->resultExpected, resultExpected, kFormatBufLen); in TestDateIntervalFormat()
147testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, in TestDateIntervalFormat()
148 testItemPtr->resultExpected, u_austrcpy(bcharBuf,result) ); in TestDateIntervalFormat()
152testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, myErro… in TestDateIntervalFormat()
157 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, myErrorName(status) ); in TestDateIntervalFormat()