• Home
  • Raw
  • Download

Lines Matching refs:sets

3070 void UnicodeSetTest::testSpan(const UnicodeSetWithStrings *sets[4],  in testSpan()
3095 limitsCount=getSpans(*sets[i], (UBool)(i&1), in testSpan()
3142 if(!sets[SLOW]->getSet().containsAll(string)) { in testSpan()
3147 if(!sets[FAST]->getSet().containsAll(string)) { in testSpan()
3153 if(!sets[SLOW]->getSet().containsNone(string)) { in testSpan()
3158 if(!sets[FAST]->getSet().containsNone(string)) { in testSpan()
3171 void UnicodeSetTest::testSpan(const UnicodeSetWithStrings *sets[4], in testSpan()
3177 testSpan(sets, s, length, isUTF16, whichSpans, expectLimits, expectCount, testName, index); in testSpan()
3210 void UnicodeSetTest::testSpanBothUTFs(const UnicodeSetWithStrings *sets[4], in testSpanBothUTFs()
3220 testSpan(sets, s16, length16, TRUE, whichSpans, expectLimits, expectCount, testName, index); in testSpanBothUTFs()
3260 testSpan(sets, s8, length8, FALSE, whichSpans, expectLimits, expectCount, testName, index); in testSpanBothUTFs()
3286 void UnicodeSetTest::testSpanContents(const UnicodeSetWithStrings *sets[4], uint32_t whichSpans, co… in testSpanContents()
3292 (!(sets[0]->getSet().contains(0xfffd) ? in testSpanContents()
3293 sets[0]->getSet().contains(0xd800, 0xdfff) : in testSpanContents()
3294 sets[0]->getSet().containsNone(0xd800, 0xdfff)) || in testSpanContents()
3295 sets[0]->hasStringsWithSurrogates()); in testSpanContents()
3308 testSpanBothUTFs(sets, s, length, localWhichSpans, testName, first); in testSpanContents()
3321 void UnicodeSetTest::testSpanUTF16String(const UnicodeSetWithStrings *sets[4], uint32_t whichSpans,… in testSpanUTF16String()
3338 testSpan(sets, s, -1, TRUE, (whichSpans&~SPAN_UTF8), testName, 0); in testSpanUTF16String()
3339 testSpan(sets, s, LENGTHOF(s)-1, TRUE, (whichSpans&~SPAN_UTF8), testName, 1); in testSpanUTF16String()
3342 void UnicodeSetTest::testSpanUTF8String(const UnicodeSetWithStrings *sets[4], uint32_t whichSpans, … in testSpanUTF8String()
3435 testSpan(sets, s, -1, FALSE, (whichSpans&~SPAN_UTF16), testName, 0); in testSpanUTF8String()
3436 testSpan(sets, s, LENGTHOF(s)-1, FALSE, (whichSpans&~SPAN_UTF16), testName, 1); in testSpanUTF8String()
3631 UnicodeSet *sets[SET_COUNT]={ NULL }; in TestSpan() local
3644 delete sets[j]; in TestSpan()
3647 sets[SLOW]=new UnicodeSet(UnicodeString(s, -1, US_INV).unescape(), errorCode); in TestSpan()
3652 sets[SLOW_NOT]=new UnicodeSet(*sets[SLOW]); in TestSpan()
3653 sets[SLOW_NOT]->complement(); in TestSpan()
3655 UnicodeSet *fast=new UnicodeSet(*sets[SLOW]); in TestSpan()
3657 sets[FAST]=(UnicodeSet *)fast->clone(); in TestSpan()
3659 UnicodeSet *fastNot=new UnicodeSet(*sets[SLOW_NOT]); in TestSpan()
3661 sets[FAST_NOT]=(UnicodeSet *)fastNot->clone(); in TestSpan()
3665 sets_with_str[j]=new UnicodeSetWithStrings(*sets[j]); in TestSpan()
3753 delete sets[j]; in TestSpan()