Lines Matching refs:testDataPtr
899 const DTPtnGenOptionsData * testDataPtr = testData; in testOptions() local
901 for (; count-- > 0; ++testDataPtr) { in testOptions()
904 Locale locale(testDataPtr->locale); in testOptions()
905 UnicodeString skel(testDataPtr->skel); in testOptions()
906 UnicodeString expectedPattern(UnicodeString(testDataPtr->expectedPattern).unescape()); in testOptions()
907 UDateTimePatternMatchOptions options = testDataPtr->options; in testOptions()
917 … errln( UnicodeString("ERROR in getBestPattern, locale ") + UnicodeString(testDataPtr->locale) + in testOptions()
1016 const AllFieldsTestItem * testDataPtr = testData; in testAllFieldPatterns() local
1018 for (; itemCount-- > 0; ++testDataPtr) { in testAllFieldPatterns()
1022 skelBuf[chrIndx] = testDataPtr->patternChar; in testAllFieldPatterns()
1025 int32_t skelLen = testDataPtr->fieldLengths[lenIndx]; in testAllFieldPatterns()
1036 … locale.getName(), testDataPtr->patternChar, skelLen, u_errorName(status)); in testAllFieldPatterns()
1039 locale.getName(), testDataPtr->patternChar, skelLen); in testAllFieldPatterns()
1042 UnicodeString mustIncludeOneOf(testDataPtr->mustIncludeOneOf, -1, US_INV); in testAllFieldPatterns()
1241 const FieldDisplayNameData * testDataPtr = testData; in testGetFieldDisplayNames() local
1242 for (; count-- > 0; ++testDataPtr) { in testGetFieldDisplayNames()
1244 Locale locale(testDataPtr->locale); in testGetFieldDisplayNames()
1247 …aerrln("FAIL: DateTimePatternGenerator::createInstance failed for locale %s", testDataPtr->locale); in testGetFieldDisplayNames()
1250 u_unescape(testDataPtr->expected, expName, kFieldDisplayNameMax); in testGetFieldDisplayNames()
1252 … UnicodeString getName = dtpg->getFieldDisplayName(testDataPtr->field, testDataPtr->width); in testGetFieldDisplayNames()
1255 … testDataPtr->locale, testDataPtr->field, testDataPtr->width, testDataPtr->expected); in testGetFieldDisplayNames()