Lines Matching refs:dataLength
52 int32_t dataLength) { in UnicodeString() argument
55 doCodepageCreate(codepageData, dataLength, 0); in UnicodeString()
71 int32_t dataLength, in UnicodeString() argument
75 doCodepageCreate(codepageData, dataLength, codepage); in UnicodeString()
299 int32_t dataLength, in doCodepageCreate() argument
303 if(codepageData == 0 || dataLength == 0 || dataLength < -1) { in doCodepageCreate()
306 if(dataLength == -1) { in doCodepageCreate()
307 dataLength = (int32_t)uprv_strlen(codepageData); in doCodepageCreate()
319 setToUTF8(StringPiece(codepageData, dataLength)); in doCodepageCreate()
325 if(cloneArrayIfNeeded(dataLength, dataLength, FALSE)) { in doCodepageCreate()
326 u_charsToUChars(codepageData, getArrayStart(), dataLength); in doCodepageCreate()
327 setLength(dataLength); in doCodepageCreate()
343 doCodepageCreate(codepageData, dataLength, converter, status); in doCodepageCreate()
358 int32_t dataLength, in doCodepageCreate() argument
368 const char *mySourceEnd = mySource + dataLength; in doCodepageCreate()
373 if(dataLength <= US_STACKBUF_SIZE) { in doCodepageCreate()
378 arraySize = dataLength + (dataLength >> 2); in doCodepageCreate()