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.c417 const DTPtnGenOptionsData * testDataPtr = testData; in TestOptions() local
419 for (; count-- > 0; ++testDataPtr) { in TestOptions()
421 UDateTimePatternGenerator * dtpgen = udatpg_open(testDataPtr->locale, &status); in TestOptions()
424 int32_t patLen = udatpg_getBestPatternWithOptions(dtpgen, testDataPtr->skel, -1, in TestOptions()
425 testDataPtr->options, pattern, in TestOptions()
427 … if ( U_FAILURE(status) || u_strncmp(pattern, testDataPtr->expectedPattern, patLen+1) != 0 ) { in TestOptions()
432testDataPtr->locale, u_austrncpy(skelBytes,testDataPtr->skel,kTestOptionsPatLenMax), testDataPtr->… in TestOptions()
433 … u_austrncpy(expectedPatternBytes,testDataPtr->expectedPattern,kTestOptionsPatLenMax), in TestOptions()
438 …OR udatpg_open failed for locale %s : %s - (Are you missing data?)\n", testDataPtr->locale, myErro… in TestOptions()
469 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.cpp899 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()
[all …]