Searched refs:utf16_result (Results 1 – 2 of 2) sorted by relevance
/external/unicode/ |
D | harness.c | 152 UTF16 utf16_buf[3], utf16_result[3]; in test02() local 164 utf16_result[0] = utf16_result[1] = utf16_result[2] = 0; in test02() 240 utf16TargetStart = utf16SourceStart = utf16_result; in test02() 246 …(utf8_buf[trailingBytesForUTF8[utf8_buf[0]]+1]), &utf16TargetStart, &(utf16_result[2]), strictConv… in test02() 260 if (utf16_buf[n] != utf16_result[n]) { in test02() 262 utf32_buf[0], utf16_buf[0], utf16_buf[1], utf16_result[0], utf16_result[1]); in test02() 272 if (utf16_result[0] >= UNI_SUR_HIGH_START && utf16_result[0] <= UNI_SUR_HIGH_END) { in test02() 273 …result = ConvertUTF16toUTF32((const UTF16 **) &utf16SourceStart, &(utf16_result[2]), &utf32TargetS… in test02() 275 …result = ConvertUTF16toUTF32((const UTF16 **) &utf16SourceStart, &(utf16_result[1]), &utf32TargetS… in test02()
|
/external/icing/icing/util/ |
D | i18n-utils.cc | 70 std::u16string utf16_result; in Utf8ToUtf16() local 75 utf16_result.resize(utf8_string.length()); in Utf8ToUtf16() 79 u_strFromUTF8(&utf16_result[0], utf16_result.length(), &result_length, in Utf8ToUtf16() 82 utf16_result.resize(result_length); in Utf8ToUtf16() 88 return utf16_result; in Utf8ToUtf16()
|