Lines Matching refs:textLength
215 int32_t textLength) { in UnicodeString() argument
217 doAppend(text, 0, textLength); in UnicodeString()
222 int32_t textLength) { in UnicodeString() argument
227 } else if(textLength < -1 || in UnicodeString()
228 (textLength == -1 && !isTerminated) || in UnicodeString()
229 (textLength >= 0 && isTerminated && text[textLength] != 0) in UnicodeString()
233 if(textLength == -1) { in UnicodeString()
235 textLength = u_strlen(text); in UnicodeString()
237 setArray((UChar *)text, textLength, isTerminated ? textLength + 1 : textLength); in UnicodeString()
1231 int32_t textLength) in setTo() argument
1245 if( textLength < -1 || in setTo()
1246 (textLength == -1 && !isTerminated) || in setTo()
1247 (textLength >= 0 && isTerminated && text[textLength] != 0) in setTo()
1255 if(textLength == -1) { in setTo()
1257 textLength = u_strlen(text); in setTo()
1260 setArray((UChar *)text, textLength, isTerminated ? textLength + 1 : textLength); in setTo()