Searched refs:whichSpansCount (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetStringSpanTest.java | 784 … static int addAlternative(int whichSpans[], int whichSpansCount, int mask, int a, int b, int c) { in addAlternative() argument 788 for (i = 0; i < whichSpansCount; ++i) { in addAlternative() 792 whichSpans[whichSpansCount + i] = s | b; in addAlternative() 794 whichSpans[2 * whichSpansCount + i] = s | c; in addAlternative() 798 return b == 0 ? whichSpansCount : c == 0 ? 2 * whichSpansCount : 3 * whichSpansCount; in addAlternative() 987 int whichSpansCount = 1; in TestSpan() local 1027 whichSpansCount = 1; in TestSpan() 1030 whichSpansCount = 1; in TestSpan() 1035 … whichSpansCount = addAlternative(whichSpans, whichSpansCount, ~SPAN_POLARITY, SPAN_SET, in TestSpan() 1039 … whichSpansCount = addAlternative(whichSpans, whichSpansCount, ~SPAN_DIRS, SPAN_FWD, SPAN_BACK, in TestSpan() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UnicodeSetStringSpanTest.java | 787 … static int addAlternative(int whichSpans[], int whichSpansCount, int mask, int a, int b, int c) { in addAlternative() argument 791 for (i = 0; i < whichSpansCount; ++i) { in addAlternative() 795 whichSpans[whichSpansCount + i] = s | b; in addAlternative() 797 whichSpans[2 * whichSpansCount + i] = s | c; in addAlternative() 801 return b == 0 ? whichSpansCount : c == 0 ? 2 * whichSpansCount : 3 * whichSpansCount; in addAlternative() 990 int whichSpansCount = 1; in TestSpan() local 1030 whichSpansCount = 1; in TestSpan() 1033 whichSpansCount = 1; in TestSpan() 1038 … whichSpansCount = addAlternative(whichSpans, whichSpansCount, ~SPAN_POLARITY, SPAN_SET, in TestSpan() 1042 … whichSpansCount = addAlternative(whichSpans, whichSpansCount, ~SPAN_DIRS, SPAN_FWD, SPAN_BACK, in TestSpan() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | usettest.cpp | 3476 addAlternative(uint32_t whichSpans[], int32_t whichSpansCount, in addAlternative() argument 3481 for(i=0; i<whichSpansCount; ++i) { in addAlternative() 3485 whichSpans[whichSpansCount+i]=s|b; in addAlternative() 3487 whichSpans[2*whichSpansCount+i]=s|c; in addAlternative() 3491 return b==0 ? whichSpansCount : c==0 ? 2*whichSpansCount : 3*whichSpansCount; in addAlternative() 3661 int32_t whichSpansCount=1; in TestSpan() local 3706 whichSpansCount=1; in TestSpan() 3709 whichSpansCount=1; in TestSpan() 3714 whichSpansCount=addAlternative(whichSpans, whichSpansCount, in TestSpan() 3721 whichSpansCount=addAlternative(whichSpans, whichSpansCount, in TestSpan() [all …]
|