Lines Matching refs:spanCondition
2472 USetSpanCondition spanCondition) {
2475 if(spanCondition!=USET_SPAN_NOT_CONTAINED) {
2476 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values.
2483 if(realSet.contains(c)!=spanCondition) {
2488 } else if(spanCondition==USET_SPAN_NOT_CONTAINED) {
2526 if(spanCondition==USET_SPAN_CONTAINED) {
2548 } else /* spanCondition==USET_SPAN_SIMPLE */ {
2570 USetSpanCondition spanCondition) {
2576 if(spanCondition!=USET_SPAN_NOT_CONTAINED) {
2577 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values.
2584 if(realSet.contains(c)!=spanCondition) {
2589 } else if(spanCondition==USET_SPAN_NOT_CONTAINED) {
2626 if(spanCondition==USET_SPAN_CONTAINED) {
2648 } else /* spanCondition==USET_SPAN_SIMPLE */ {
2669 USetSpanCondition spanCondition) {
2672 if(spanCondition!=USET_SPAN_NOT_CONTAINED) {
2673 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values.
2680 if(realSet.contains(c)!=spanCondition) {
2685 } else if(spanCondition==USET_SPAN_NOT_CONTAINED) {
2725 if(spanCondition==USET_SPAN_CONTAINED) {
2747 } else /* spanCondition==USET_SPAN_SIMPLE */ {
2769 USetSpanCondition spanCondition) {
2775 if(spanCondition!=USET_SPAN_NOT_CONTAINED) {
2776 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values.
2783 if(realSet.contains(c)!=spanCondition) {
2788 } else if(spanCondition==USET_SPAN_NOT_CONTAINED) {
2827 if(spanCondition==USET_SPAN_CONTAINED) {
2849 } else /* spanCondition==USET_SPAN_SIMPLE */ {
2890 static inline USetSpanCondition invertSpanCondition(USetSpanCondition spanCondition, USetSpanCondition contained) {
2891 return spanCondition == USET_SPAN_NOT_CONTAINED ? contained : USET_SPAN_NOT_CONTAINED;
2914 USetSpanCondition spanCondition, firstSpanCondition, contained;
2967 spanCondition=USET_SPAN_NOT_CONTAINED;
2969 spanCondition=invertSpanCondition(spanCondition, contained);
2973 firstSpanCondition=spanCondition;
2978 // (The loop inverts spanCondition (expectCount-1) times
2983 spanCondition=invertSpanCondition(spanCondition, contained);
2995 start+= isUTF16 ? containsSpanUTF16(set, (const UChar *)s+start, length-start, spanCondition) :
2996 containsSpanUTF8(set, (const char *)s+start, length-start, spanCondition);
3004 spanCondition=invertSpanCondition(spanCondition, contained);
3011 start+= isUTF16 ? realSet.span((const UChar *)s+start, length>=0 ? length-start : length, spanCondition) :
3012 realSet.spanUTF8((const char *)s+start, length>=0 ? length-start : length, spanCondition);
3023 spanCondition=invertSpanCondition(spanCondition, contained);
3036 length= isUTF16 ? containsSpanBackUTF16(set, (const UChar *)s, length, spanCondition) :
3037 containsSpanBackUTF8(set, (const char *)s, length, spanCondition);
3038 if(length==0 && spanCondition==firstSpanCondition) {
3041 spanCondition=invertSpanCondition(spanCondition, contained);
3057 length= isUTF16 ? realSet.spanBack((const UChar *)s, length, spanCondition) :
3058 realSet.spanBackUTF8((const char *)s, length, spanCondition);
3059 if(length==0 && spanCondition==firstSpanCondition) {
3062 spanCondition=invertSpanCondition(spanCondition, contained);
3097 * set.span(spanCondition) == set.complement().span(!spanCondition).