Home
last modified time | relevance | path

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

/external/cronet/third_party/icu/source/test/cintltst/
Dudatpg_test.c430 const DTPtnGenOptionsData * testDataPtr = testData; in TestOptions() local
432 for (; count-- > 0; ++testDataPtr) { in TestOptions()
434 UDateTimePatternGenerator * dtpgen = udatpg_open(testDataPtr->locale, &status); in TestOptions()
437 int32_t patLen = udatpg_getBestPatternWithOptions(dtpgen, testDataPtr->skel, -1, in TestOptions()
438 testDataPtr->options, pattern, in TestOptions()
440 … if ( U_FAILURE(status) || u_strncmp(pattern, testDataPtr->expectedPattern, patLen+1) != 0 ) { in TestOptions()
445testDataPtr->locale, u_austrncpy(skelBytes,testDataPtr->skel,kTestOptionsPatLenMax), testDataPtr->… in TestOptions()
446 … u_austrncpy(expectedPatternBytes,testDataPtr->expectedPattern,kTestOptionsPatLenMax), in TestOptions()
451 …OR udatpg_open failed for locale %s : %s - (Are you missing data?)\n", testDataPtr->locale, myErro… in TestOptions()
482 const FieldDisplayNameData * testDataPtr = testData; in TestGetFieldDisplayNames() local
[all …]
Duregiontest.c567 const char *** testDataPtr = expectPrefRegionsTestData; in TestGetPreferredValues() local
569 while ( (regionListPtr = *testDataPtr++) != NULL ) { in TestGetPreferredValues()
/external/icu/icu4c/source/test/cintltst/
Dudatpg_test.c430 const DTPtnGenOptionsData * testDataPtr = testData; in TestOptions() local
432 for (; count-- > 0; ++testDataPtr) { in TestOptions()
434 UDateTimePatternGenerator * dtpgen = udatpg_open(testDataPtr->locale, &status); in TestOptions()
437 int32_t patLen = udatpg_getBestPatternWithOptions(dtpgen, testDataPtr->skel, -1, in TestOptions()
438 testDataPtr->options, pattern, in TestOptions()
440 … if ( U_FAILURE(status) || u_strncmp(pattern, testDataPtr->expectedPattern, patLen+1) != 0 ) { in TestOptions()
445testDataPtr->locale, u_austrncpy(skelBytes,testDataPtr->skel,kTestOptionsPatLenMax), testDataPtr->… in TestOptions()
446 … u_austrncpy(expectedPatternBytes,testDataPtr->expectedPattern,kTestOptionsPatLenMax), in TestOptions()
451 …OR udatpg_open failed for locale %s : %s - (Are you missing data?)\n", testDataPtr->locale, myErro… in TestOptions()
482 const FieldDisplayNameData * testDataPtr = testData; in TestGetFieldDisplayNames() local
[all …]
Duregiontest.c567 const char *** testDataPtr = expectPrefRegionsTestData; in TestGetPreferredValues() local
569 while ( (regionListPtr = *testDataPtr++) != NULL ) { in TestGetPreferredValues()
/external/cronet/third_party/icu/source/test/intltest/
Ddtptngts.cpp968 const DTPtnGenOptionsData * testDataPtr = testData; in testOptions() local
970 for (; count-- > 0; ++testDataPtr) { in testOptions()
973 Locale locale(testDataPtr->locale); in testOptions()
974 UnicodeString skel(testDataPtr->skel); in testOptions()
975 UnicodeString expectedPattern(testDataPtr->expectedPattern, -1); in testOptions()
976 UDateTimePatternMatchOptions options = testDataPtr->options; in testOptions()
986 … errln( UnicodeString("ERROR in getBestPattern, locale ") + UnicodeString(testDataPtr->locale) + in testOptions()
1085 const AllFieldsTestItem * testDataPtr = testData; in testAllFieldPatterns() local
1087 for (; itemCount-- > 0; ++testDataPtr) { in testAllFieldPatterns()
1091 skelBuf[chrIndx] = testDataPtr->patternChar; in testAllFieldPatterns()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp968 const DTPtnGenOptionsData * testDataPtr = testData; in testOptions() local
970 for (; count-- > 0; ++testDataPtr) { in testOptions()
973 Locale locale(testDataPtr->locale); in testOptions()
974 UnicodeString skel(testDataPtr->skel); in testOptions()
975 UnicodeString expectedPattern(testDataPtr->expectedPattern, -1); in testOptions()
976 UDateTimePatternMatchOptions options = testDataPtr->options; in testOptions()
986 … errln( UnicodeString("ERROR in getBestPattern, locale ") + UnicodeString(testDataPtr->locale) + in testOptions()
1085 const AllFieldsTestItem * testDataPtr = testData; in testAllFieldPatterns() local
1087 for (; itemCount-- > 0; ++testDataPtr) { in testAllFieldPatterns()
1091 skelBuf[chrIndx] = testDataPtr->patternChar; in testAllFieldPatterns()
[all …]