Searched refs:whichSpansCount (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UnicodeSetStringSpanTest.java | 782 … static int addAlternative(int whichSpans[], int whichSpansCount, int mask, int a, int b, int c) { in addAlternative() argument 786 for (i = 0; i < whichSpansCount; ++i) { in addAlternative() 790 whichSpans[whichSpansCount + i] = s | b; in addAlternative() 792 whichSpans[2 * whichSpansCount + i] = s | c; in addAlternative() 796 return b == 0 ? whichSpansCount : c == 0 ? 2 * whichSpansCount : 3 * whichSpansCount; in addAlternative() 985 int whichSpansCount = 1; in TestSpan() local 1025 whichSpansCount = 1; in TestSpan() 1028 whichSpansCount = 1; in TestSpan() 1033 … whichSpansCount = addAlternative(whichSpans, whichSpansCount, ~SPAN_POLARITY, SPAN_SET, in TestSpan() 1037 … whichSpansCount = addAlternative(whichSpans, whichSpansCount, ~SPAN_DIRS, SPAN_FWD, SPAN_BACK, in TestSpan() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetStringSpanTest.java | 781 … static int addAlternative(int whichSpans[], int whichSpansCount, int mask, int a, int b, int c) { in addAlternative() argument 785 for (i = 0; i < whichSpansCount; ++i) { in addAlternative() 789 whichSpans[whichSpansCount + i] = s | b; in addAlternative() 791 whichSpans[2 * whichSpansCount + i] = s | c; in addAlternative() 795 return b == 0 ? whichSpansCount : c == 0 ? 2 * whichSpansCount : 3 * whichSpansCount; in addAlternative() 984 int whichSpansCount = 1; in TestSpan() local 1024 whichSpansCount = 1; in TestSpan() 1027 whichSpansCount = 1; in TestSpan() 1032 … whichSpansCount = addAlternative(whichSpans, whichSpansCount, ~SPAN_POLARITY, SPAN_SET, in TestSpan() 1036 … whichSpansCount = addAlternative(whichSpans, whichSpansCount, ~SPAN_DIRS, SPAN_FWD, SPAN_BACK, in TestSpan() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | usettest.cpp | 3479 addAlternative(uint32_t whichSpans[], int32_t whichSpansCount, in addAlternative() argument 3484 for(i=0; i<whichSpansCount; ++i) { in addAlternative() 3488 whichSpans[whichSpansCount+i]=s|b; in addAlternative() 3490 whichSpans[2*whichSpansCount+i]=s|c; in addAlternative() 3494 return b==0 ? whichSpansCount : c==0 ? 2*whichSpansCount : 3*whichSpansCount; in addAlternative() 3664 int32_t whichSpansCount=1; in TestSpan() local 3709 whichSpansCount=1; in TestSpan() 3712 whichSpansCount=1; in TestSpan() 3717 whichSpansCount=addAlternative(whichSpans, whichSpansCount, in TestSpan() 3724 whichSpansCount=addAlternative(whichSpans, whichSpansCount, in TestSpan() [all …]
|