Lines Matching refs:codepageData
44 UnicodeString::UnicodeString(const char *codepageData) { in UnicodeString() argument
46 if(codepageData != 0) { in UnicodeString()
47 doCodepageCreate(codepageData, (int32_t)uprv_strlen(codepageData), 0); in UnicodeString()
51 UnicodeString::UnicodeString(const char *codepageData, in UnicodeString() argument
54 if(codepageData != 0) { in UnicodeString()
55 doCodepageCreate(codepageData, dataLength, 0); in UnicodeString()
62 UnicodeString::UnicodeString(const char *codepageData, in UnicodeString() argument
65 if(codepageData != 0) { in UnicodeString()
66 doCodepageCreate(codepageData, (int32_t)uprv_strlen(codepageData), codepage); in UnicodeString()
70 UnicodeString::UnicodeString(const char *codepageData, in UnicodeString() argument
74 if(codepageData != 0) { in UnicodeString()
75 doCodepageCreate(codepageData, dataLength, codepage); in UnicodeString()
298 UnicodeString::doCodepageCreate(const char *codepageData, in doCodepageCreate() argument
303 if(codepageData == 0 || dataLength == 0 || dataLength < -1) { in doCodepageCreate()
307 dataLength = (int32_t)uprv_strlen(codepageData); in doCodepageCreate()
319 setToUTF8(StringPiece(codepageData, dataLength)); in doCodepageCreate()
326 u_charsToUChars(codepageData, getArrayStart(), dataLength); in doCodepageCreate()
343 doCodepageCreate(codepageData, dataLength, converter, status); in doCodepageCreate()
357 UnicodeString::doCodepageCreate(const char *codepageData, in doCodepageCreate() argument
367 const char *mySource = codepageData; in doCodepageCreate()