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