Lines Matching defs:testStruct
1636 } testStruct[] = {
1653 for(i = 0; i<(int32_t)UPRV_LENGTHOF(testStruct); i++) {
1655 coll = Collator::createInstance(testStruct[i].requestedLocale, status);
1657 errln("Failed to open collator for %s with %s", testStruct[i].requestedLocale, u_errorName(status));
1665 locale != testStruct[i].requestedLocale && locale != testStruct[i].validLocale) {
1667 testStruct[i].requestedLocale,
1668 testStruct[i].requestedLocale, testStruct[i].validLocale, locale.getName());
1672 if(locale != testStruct[i].validLocale) {
1674 testStruct[i].requestedLocale, testStruct[i].validLocale, locale.getName());
1677 if(locale != testStruct[i].actualLocale) {
1679 testStruct[i].requestedLocale, testStruct[i].actualLocale, locale.getName());
1738 struct teststruct {
1748 return(strcmp((const char *)((struct teststruct *)string1)->key, (const char *)((struct teststruct *)string2)->key));
1777 struct teststruct tests[] = {
1851 qsort(tests, arraySize, sizeof(struct teststruct), compare_teststruct);