Lines Matching refs:whichSpans
2908 uint32_t whichSpans, in getSpans() argument
2941 if((whichSpans&SPAN_FWD)==0) { in getSpans()
2947 if((whichSpans&SPAN_BACK)==0) { in getSpans()
2954 if((whichSpans&SPAN_CONTAINED)==0) { in getSpans()
2960 if((whichSpans&SPAN_SIMPLE)==0) { in getSpans()
2982 if(!isForward && (whichSpans&SPAN_FWD)!=0 && (expectCount&1)==0) { in getSpans()
3104 uint32_t whichSpans, in testSpan() argument
3117 if((whichSpans&SPAN_SET)==0) { in testSpan()
3122 if((whichSpans&SPAN_COMPLEMENT)==0) { in testSpan()
3129 whichSpans, in testSpan()
3164 if(isUTF16 && (whichSpans&SPAN_SET)!=0) { in testSpan()
3205 uint32_t whichSpans, in testSpan() argument
3209 testSpan(sets, s, length, isUTF16, whichSpans, expectLimits, expectCount, testName, index); in testSpan()
3244 uint32_t whichSpans, in testSpanBothUTFs() argument
3251 if((whichSpans&SPAN_UTF16)!=0) { in testSpanBothUTFs()
3252 testSpan(sets, s16, length16, TRUE, whichSpans, expectLimits, expectCount, testName, index); in testSpanBothUTFs()
3254 if((whichSpans&SPAN_UTF8)==0) { in testSpanBothUTFs()
3292 testSpan(sets, s8, length8, FALSE, whichSpans, expectLimits, expectCount, testName, index); in testSpanBothUTFs()
3318 void UnicodeSetTest::testSpanContents(const UnicodeSetWithStrings *sets[4], uint32_t whichSpans, co… in testSpanContents() argument
3336 localWhichSpans=whichSpans; in testSpanContents()
3353 void UnicodeSetTest::testSpanUTF16String(const UnicodeSetWithStrings *sets[4], uint32_t whichSpans,… in testSpanUTF16String() argument
3367 if((whichSpans&SPAN_UTF16)==0) { in testSpanUTF16String()
3370 testSpan(sets, s, -1, TRUE, (whichSpans&~SPAN_UTF8), testName, 0); in testSpanUTF16String()
3371 testSpan(sets, s, UPRV_LENGTHOF(s)-1, TRUE, (whichSpans&~SPAN_UTF8), testName, 1); in testSpanUTF16String()
3374 void UnicodeSetTest::testSpanUTF8String(const UnicodeSetWithStrings *sets[4], uint32_t whichSpans, … in testSpanUTF8String() argument
3464 if((whichSpans&SPAN_UTF8)==0) { in testSpanUTF8String()
3467 testSpan(sets, s, -1, FALSE, (whichSpans&~SPAN_UTF16), testName, 0); in testSpanUTF8String()
3468 testSpan(sets, s, UPRV_LENGTHOF(s)-1, FALSE, (whichSpans&~SPAN_UTF16), testName, 1); in testSpanUTF8String()
3476 addAlternative(uint32_t whichSpans[], int32_t whichSpansCount, in addAlternative() argument
3482 s=whichSpans[i]&mask; in addAlternative()
3483 whichSpans[i]=s|a; in addAlternative()
3485 whichSpans[whichSpansCount+i]=s|b; in addAlternative()
3487 whichSpans[2*whichSpansCount+i]=s|c; in addAlternative()
3660 uint32_t whichSpans[96]={ SPAN_ALL }; in TestSpan() local
3705 whichSpans[0]=SPAN_ALL; in TestSpan()
3708 whichSpans[0]=SPAN_ALL; in TestSpan()
3714 whichSpansCount=addAlternative(whichSpans, whichSpansCount, in TestSpan()
3721 whichSpansCount=addAlternative(whichSpans, whichSpansCount, in TestSpan()
3731 whichSpansCount=addAlternative(whichSpans, whichSpansCount, in TestSpan()
3738 whichSpansCount=addAlternative(whichSpans, whichSpansCount, in TestSpan()
3755 whichSpans[j]); in TestSpan()
3757 testSpanUTF16String(sets_with_str, whichSpans[j], testName); in TestSpan()
3758 testSpanUTF8String(sets_with_str, whichSpans[j], testName); in TestSpan()
3766 whichSpans[j]); in TestSpan()
3768 testSpanContents(sets_with_str, whichSpans[j], testName); in TestSpan()
3777 whichSpans[j]); in TestSpan()
3779 … testSpanBothUTFs(sets_with_str, string.getBuffer(), string.length(), whichSpans[j], testName, i); in TestSpan()