Lines Matching refs:isUTF16
2894 static inline int32_t slen(const void *s, UBool isUTF16) { in slen() argument
2895 return isUTF16 ? u_strlen((const UChar *)s) : strlen((const char *)s); in slen()
2907 const void *s, int32_t length, UBool isUTF16, in getSpans() argument
2936 typeName= isUTF16 ? typeNames16[type] : typeNames8[type]; in getSpans()
2992 length=slen(s, isUTF16); in getSpans()
2995 … start+= isUTF16 ? containsSpanUTF16(set, (const UChar *)s+start, length-start, spanCondition) : in getSpans()
3011 …start+= isUTF16 ? realSet.span((const UChar *)s+start, length>=0 ? length-start : length, spanCond… in getSpans()
3018 isUTF16 ? ((const UChar *)s)[start]==0 : in getSpans()
3029 length=slen(s, isUTF16); in getSpans()
3036 length= isUTF16 ? containsSpanBackUTF16(set, (const UChar *)s, length, spanCondition) : in getSpans()
3052 limits[limitsCapacity-count]= length >=0 ? length : slen(s, isUTF16); in getSpans()
3057 length= isUTF16 ? realSet.spanBack((const UChar *)s, length, spanCondition) : in getSpans()
3103 const void *s, int32_t length, UBool isUTF16, in testSpan() argument
3128 s, length, isUTF16, in testSpan()
3164 if(isUTF16 && (whichSpans&SPAN_SET)!=0) { in testSpan()
3204 const void *s, int32_t length, UBool isUTF16, in testSpan() argument
3209 testSpan(sets, s, length, isUTF16, whichSpans, expectLimits, expectCount, testName, index); in testSpan()