Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dudatpg_test.c421 const DTPtnGenOptionsData * testDataPtr = testData; in TestOptions() local
423 for (; count-- > 0; ++testDataPtr) { in TestOptions()
425 UDateTimePatternGenerator * dtpgen = udatpg_open(testDataPtr->locale, &status); in TestOptions()
428 int32_t patLen = udatpg_getBestPatternWithOptions(dtpgen, testDataPtr->skel, -1, in TestOptions()
429 testDataPtr->options, pattern, in TestOptions()
431 … if ( U_FAILURE(status) || u_strncmp(pattern, testDataPtr->expectedPattern, patLen+1) != 0 ) { in TestOptions()
436testDataPtr->locale, u_austrncpy(skelBytes,testDataPtr->skel,kTestOptionsPatLenMax), testDataPtr->… in TestOptions()
437 … u_austrncpy(expectedPatternBytes,testDataPtr->expectedPattern,kTestOptionsPatLenMax), in TestOptions()
442 …OR udatpg_open failed for locale %s : %s - (Are you missing data?)\n", testDataPtr->locale, myErro… in TestOptions()
473 const FieldDisplayNameData * testDataPtr = testData; in TestGetFieldDisplayNames() local
[all …]
Duregiontest.c511 const char *** testDataPtr = expectPrefRegionsTestData; in TestGetPreferredValues() local
513 while ( (regionListPtr = *testDataPtr++) != NULL ) { in TestGetPreferredValues()
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp965 const DTPtnGenOptionsData * testDataPtr = testData; in testOptions() local
967 for (; count-- > 0; ++testDataPtr) { in testOptions()
970 Locale locale(testDataPtr->locale); in testOptions()
971 UnicodeString skel(testDataPtr->skel); in testOptions()
972 UnicodeString expectedPattern(UnicodeString(testDataPtr->expectedPattern).unescape()); in testOptions()
973 UDateTimePatternMatchOptions options = testDataPtr->options; in testOptions()
983 … errln( UnicodeString("ERROR in getBestPattern, locale ") + UnicodeString(testDataPtr->locale) + in testOptions()
1082 const AllFieldsTestItem * testDataPtr = testData; in testAllFieldPatterns() local
1084 for (; itemCount-- > 0; ++testDataPtr) { in testAllFieldPatterns()
1088 skelBuf[chrIndx] = testDataPtr->patternChar; in testAllFieldPatterns()
[all …]