Home
last modified time | relevance | path

Searched refs:testDataPtr (Results 1 – 2 of 2) sorted by relevance

/external/icu4c/test/cintltst/
Dudatpg_test.c390 const DTPtnGenOptionsData * testDataPtr = testData; in TestOptions() local
392 for (; count-- > 0; ++testDataPtr) { in TestOptions()
394 UDateTimePatternGenerator * dtpgen = udatpg_open(testDataPtr->locale, &status); in TestOptions()
397 int32_t patLen = udatpg_getBestPatternWithOptions(dtpgen, testDataPtr->skel, -1, in TestOptions()
398 testDataPtr->options, pattern, in TestOptions()
400 … if ( U_FAILURE(status) || u_strncmp(pattern, testDataPtr->expectedPattern, patLen+1) != 0 ) { in TestOptions()
405testDataPtr->locale, u_austrncpy(skelBytes,testDataPtr->skel,kTestOptionsPatLenMax), testDataPtr->… in TestOptions()
406 … u_austrncpy(expectedPatternBytes,testDataPtr->expectedPattern,kTestOptionsPatLenMax), in TestOptions()
411 …OR udatpg_open failed for locale %s : %s - (Are you missing data?)\n", testDataPtr->locale, myErro… in TestOptions()
/external/icu4c/test/intltest/
Ddtptngts.cpp806 const DTPtnGenOptionsData * testDataPtr = testData; in testOptions() local
808 for (; count-- > 0; ++testDataPtr) { in testOptions()
811 Locale locale(testDataPtr->locale); in testOptions()
812 UnicodeString skel(testDataPtr->skel); in testOptions()
813 UnicodeString expectedPattern(testDataPtr->expectedPattern); in testOptions()
814 UDateTimePatternMatchOptions options = testDataPtr->options; in testOptions()
824 … errln( UnicodeString("ERROR in getBestPattern, locale ") + UnicodeString(testDataPtr->locale) + in testOptions()