Lines Matching refs:itemPtr
1627 const TestDateFormatLeniencyItem * itemPtr;
1628 for (itemPtr = items; itemPtr->locale != NULL; itemPtr++ ) {
1630 Locale locale = Locale::createFromName(itemPtr->locale);
1633 SimpleDateFormat * sdmft = new SimpleDateFormat(itemPtr->pattern, locale, status);
1638 logln("parsing " + itemPtr->parseString);
1639 sdmft->setLenient(itemPtr->leniency);
1640 sdmft->setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, itemPtr->leniency, status);
1641 sdmft->setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, itemPtr->leniency, status);
1642 sdmft->setBooleanAttribute(UDAT_PARSE_PARTIAL_LITERAL_MATCH, itemPtr->leniency, status);
1643 sdmft->parse(itemPtr->parseString, pos);
1647 if(itemPtr->expectedResult.length() != 0) {
1648 errln("error: unexpected error - " + itemPtr->parseString + " - error index " + pos.getErrorIndex() +
1649 " - leniency " + itemPtr->leniency);