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.c412 const DTPtnGenOptionsData * testDataPtr = testData; in TestOptions() local
414 for (; count-- > 0; ++testDataPtr) { in TestOptions()
416 UDateTimePatternGenerator * dtpgen = udatpg_open(testDataPtr->locale, &status); in TestOptions()
419 int32_t patLen = udatpg_getBestPatternWithOptions(dtpgen, testDataPtr->skel, -1, in TestOptions()
420 testDataPtr->options, pattern, in TestOptions()
422 … if ( U_FAILURE(status) || u_strncmp(pattern, testDataPtr->expectedPattern, patLen+1) != 0 ) { in TestOptions()
427testDataPtr->locale, u_austrncpy(skelBytes,testDataPtr->skel,kTestOptionsPatLenMax), testDataPtr->… in TestOptions()
428 … u_austrncpy(expectedPatternBytes,testDataPtr->expectedPattern,kTestOptionsPatLenMax), in TestOptions()
433 …OR udatpg_open failed for locale %s : %s - (Are you missing data?)\n", testDataPtr->locale, myErro… in TestOptions()
Duregiontest.c509 const char *** testDataPtr = expectPrefRegionsTestData; in TestGetPreferredValues() local
511 while ( (regionListPtr = *testDataPtr++) != NULL ) { in TestGetPreferredValues()
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp891 const DTPtnGenOptionsData * testDataPtr = testData; in testOptions() local
893 for (; count-- > 0; ++testDataPtr) { in testOptions()
896 Locale locale(testDataPtr->locale); in testOptions()
897 UnicodeString skel(testDataPtr->skel); in testOptions()
898 UnicodeString expectedPattern(UnicodeString(testDataPtr->expectedPattern).unescape()); in testOptions()
899 UDateTimePatternMatchOptions options = testDataPtr->options; in testOptions()
909 … errln( UnicodeString("ERROR in getBestPattern, locale ") + UnicodeString(testDataPtr->locale) + in testOptions()
1004 const AllFieldsTestItem * testDataPtr = testData; in testAllFieldPatterns() local
1006 for (; itemCount-- > 0; ++testDataPtr) { in testAllFieldPatterns()
1010 skelBuf[chrIndx] = testDataPtr->patternChar; in testAllFieldPatterns()
[all …]