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
228 } else if(textLength < -1 || in UnicodeString()
229 (textLength == -1 && !isTerminated) || in UnicodeString()
230 (textLength >= 0 && isTerminated && text[textLength] != 0) in UnicodeString()
234 if(textLength == -1) { in UnicodeString()
236 textLength = u_strlen(text); in UnicodeString()
238 setArray(const_cast<UChar *>(text), textLength, in UnicodeString()
239 isTerminated ? textLength + 1 : textLength); in UnicodeString()
1259 int32_t textLength) in setTo() argument
1274 if( textLength < -1 || in setTo()
1275 (textLength == -1 && !isTerminated) || in setTo()
1276 (textLength >= 0 && isTerminated && text[textLength] != 0) in setTo()
1284 if(textLength == -1) { in setTo()
1286 textLength = u_strlen(text); in setTo()
1289 setArray((UChar *)text, textLength, isTerminated ? textLength + 1 : textLength); in setTo()