Lines Matching defs:set
432 errln("error creating the map set for conversion/getUnicodeSet test case %d - %s\n"
442 errln("error creating the mapnot set for conversion/getUnicodeSet test case %d - %s\n"
517 // Compare ucnv_getUnicodeSet() with the set of characters that can be converted.
593 errln("failed to set the callback on converter %s - %s", cnvNames[i], u_errorName(errorCode));
617 UnicodeSet set;
618 ucnv_getUnicodeSet(cnv.getAlias(), set.toUSet(), which, &errorCode);
620 set.remove(cpLimit, 0x10ffff);
629 set.remove(0xe000, 0xf8ff);
630 set.remove(0xf0000, 0xffffd);
631 set.remove(0x100000, 0x10fffd);
633 if(set!=expected) {
636 // Remove strings from the set and compare again.
637 // Unfortunately, there are no good, direct set methods for finding out whether there are strings
638 // in the set, nor for enumerating or removing just them.
639 // Intersect all code points with the set. The intersection will not contain strings.
641 temp.retainAll(set);
642 set=temp;
644 if(set!=expected) {
648 // are there items that must be in the set but are not?
649 (diffSet=expected).removeAll(set);
655 errln("error: ucnv_getUnicodeSet(\"%s\") is missing items - which set: %d",
660 // are there items that must not be in the set but are?
661 (diffSet=set).removeAll(expected);
667 errln("error: ucnv_getUnicodeSet(\"%s\") contains unexpected items - which set: %d",
687 /* loadTestData(): set the data directory */
837 // buffer overflow must only be set when the target is filled
845 // the partial target is filled, set a new limit, reset the error and continue
863 // the partial conversion succeeded, set a new limit and continue
943 // buffer overflow must only be set when the target is filled
951 // the partial target is filled, set a new limit and continue
986 // set the callback
1243 // buffer overflow must only be set when the target is filled
1251 // the partial target is filled, set a new limit, reset the error and continue
1282 // the partial conversion succeeded, set a new limit and continue
1343 // buffer overflow must only be set when the target is filled
1351 // the partial target is filled, set a new limit, reset the error and continue
1369 // the partial conversion succeeded, set a new limit and continue
1393 // set the callback
1404 // set the fallbacks flag
1408 // set the subchar