/dports/audio/libid3tag/libid3tag-0.15.1b/ |
H A D | utf16.c | 43 if (utf16[0] < 0xd800 || utf16[0] > 0xdfff) in id3_utf16_length() 45 else if (utf16[0] >= 0xd800 && utf16[0] <= 0xdbff && in id3_utf16_length() 46 utf16[1] >= 0xdc00 && utf16[1] <= 0xdfff) { in id3_utf16_length() 51 ++utf16; in id3_utf16_length() 95 if (utf16[0] < 0xd800 || utf16[0] > 0xdfff) { in id3_utf16_decodechar() 100 utf16[1] >= 0xdc00 && utf16[1] <= 0xdfff) { in id3_utf16_decodechar() 106 ++utf16; in id3_utf16_decodechar() 142 utf16 += id3_utf16_decodechar(utf16, ucs4); in id3_utf16_decode() 153 utf16 += id3_utf16_encodechar(utf16, *ucs4); in id3_utf16_encode() 196 utf16 = in id3_utf16_get() [all …]
|
/dports/java/bouncycastle15/crypto-169/core/src/test/java/org/bouncycastle/util/encoders/test/ |
H A D | UTF8Test.java | 62 utf16[0] = (char)0; in testBadPrefix2() 81 utf16[0] = (char)0; in testBadPrefix4() 82 utf16[1] = (char)0; in testBadPrefix4() 99 utf16[0] = (char)0; in testBadSuffix_E0() 116 utf16[0] = (char)0; in testBadSuffix_ED() 134 utf16[0] = (char)0; in testBadSuffix_F0() 135 utf16[1] = (char)0; in testBadSuffix_F0() 153 utf16[0] = (char)0; in testBadSuffix_F4() 154 utf16[1] = (char)0; in testBadSuffix_F4() 208 utf16[0] = (char)0; in testIncomplete3_2() [all …]
|
/dports/converters/libticonv/libticonv-1.1.5/src/ |
H A D | charset.c | 42 unsigned short *q = utf16; in ticonv_nonusb_to_utf16() 44 if (ti == NULL || utf16 == NULL) in ticonv_nonusb_to_utf16() 64 return utf16; in ticonv_nonusb_to_utf16() 71 if (ti == NULL || utf16 == NULL) in ticonv_usb_to_utf16() 82 if (utf16 != NULL) in ticonv_usb_to_utf16() 88 return utf16; in ticonv_usb_to_utf16() 93 const unsigned short *p = utf16; in ticonv_utf16_to_nonusb() 96 if (utf16 == NULL || ti == NULL) in ticonv_utf16_to_nonusb() 159 if (utf16 == NULL || ti == NULL) in ticonv_utf16_to_usb() 164 tmp = ticonv_utf16_to_utf8(utf16); in ticonv_utf16_to_usb() [all …]
|
H A D | charset.h | 29 TIEXPORT4 unsigned short* TICALL ticonv_ti73_to_utf16(const char *ti, unsigned short *utf16); 46 TIEXPORT4 char* TICALL ticonv_utf16_to_ti73(const unsigned short *utf16, char *ti); 48 TIEXPORT4 char* TICALL ticonv_utf16_to_ti80(const unsigned short *utf16, char *ti); 50 TIEXPORT4 char* TICALL ticonv_utf16_to_ti82(const unsigned short *utf16, char *ti); 52 TIEXPORT4 char* TICALL ticonv_utf16_to_ti83(const unsigned short *utf16, char *ti); 54 TIEXPORT4 char* TICALL ticonv_utf16_to_ti83p(const unsigned short *utf16, char *ti); 56 TIEXPORT4 char* TICALL ticonv_utf16_to_ti85(const unsigned short *utf16, char *ti); 58 TIEXPORT4 char* TICALL ticonv_utf16_to_ti86(const unsigned short *utf16, char *ti); 60 TIEXPORT4 char* TICALL ticonv_utf16_to_ti9x(const unsigned short *utf16, char *ti); 68 TIEXPORT4 char* TICALL ticonv_utf16_to_ti84pusb(const unsigned short *utf16, char *ti); [all …]
|
H A D | ticonv.c | 233 if (utf16 != NULL) in ticonv_charset_utf16_to_ti() 305 return utf16; in ticonv_charset_ti_to_utf16_s() 308 default: utf16[0] = 0; return utf16; in ticonv_charset_ti_to_utf16_s() 336 ticonv_utf16_free(utf16); in ticonv_charset_ti_to_utf16() 368 return utf16; in ticonv_varname_to_utf16_s() 398 return utf16; in ticonv_varname_to_utf16() 505 ticonv_utf16_free(utf16); in ticonv_varname_to_utf8() 620 ticonv_utf16_free(utf16); in ticonv_varname_to_filename() 722 unsigned short *utf16; in ticonv_varname_to_tifile() local 738 ticonv_utf16_free(utf16); in ticonv_varname_to_tifile() [all …]
|
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/base/ |
H A D | utf8.cpp | 89 return WideToUTF8(utf16, wcslen(utf16), utf8); in WideToUTF8() 95 return WideToUTF8(utf16.c_str(), utf16.length(), utf8); in WideToUTF8() 101 utf16->clear(); in UTF8ToWideWithFlags() 117 utf16->resize(chars_required); in UTF8ToWideWithFlags() 125 utf16->clear(); in UTF8ToWideWithFlags() 163 if (!UTF8ToWide(utf8, utf16)) { in UTF8PathToWindowsLongPath() 168 if (utf16->length() >= 248) { in UTF8PathToWindowsLongPath() 170 if (isDriveLetter((*utf16)[0]) && (*utf16)[1] == L':' && in UTF8PathToWindowsLongPath() 171 ((*utf16)[2] == L'\\' || (*utf16)[2] == L'/')) { in UTF8PathToWindowsLongPath() 174 utf16->insert(0, LR"(\\?\)"); in UTF8PathToWindowsLongPath() [all …]
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/base/ |
H A D | utf8.cpp | 89 return WideToUTF8(utf16, wcslen(utf16), utf8); in WideToUTF8() 95 return WideToUTF8(utf16.c_str(), utf16.length(), utf8); in WideToUTF8() 101 utf16->clear(); in UTF8ToWideWithFlags() 117 utf16->resize(chars_required); in UTF8ToWideWithFlags() 125 utf16->clear(); in UTF8ToWideWithFlags() 163 if (!UTF8ToWide(utf8, utf16)) { in UTF8PathToWindowsLongPath() 168 if (utf16->length() >= 248) { in UTF8PathToWindowsLongPath() 170 if (isDriveLetter((*utf16)[0]) && (*utf16)[1] == L':' && in UTF8PathToWindowsLongPath() 171 ((*utf16)[2] == L'\\' || (*utf16)[2] == L'/')) { in UTF8PathToWindowsLongPath() 174 utf16->insert(0, LR"(\\?\)"); in UTF8PathToWindowsLongPath() [all …]
|
/dports/games/onscripter/onscripter-20200722/ |
H A D | sjis2utf16.cpp | 11405 sjis_2_utf16[sjis - 0x8140] = utf16; in initSJIS2UTF16() 11407 if (utf16 < 0x1000) // 0x0000-0x04ff in initSJIS2UTF16() 11408 utf16_2_sjis_00[utf16] = sjis; in initSJIS2UTF16() 11409 else if (utf16 < 0x2000) // 0x1e00-0x1fff in initSJIS2UTF16() 11410 utf16_2_sjis_1e[utf16-0x1e00] = sjis; in initSJIS2UTF16() 11411 else if (utf16 < 0xa000) // 0x2000-0x9fff in initSJIS2UTF16() 11413 else if (utf16 < 0xfb00) // 0xf900-0xfaff in initSJIS2UTF16() 11414 utf16_2_sjis_f9[utf16-0xf900] = sjis; in initSJIS2UTF16() 11471 unsigned short utf16 = 0; in convUTF8ToUTF16() local 11485 utf16 |= (unsigned short)(*(*src)++); in convUTF8ToUTF16() [all …]
|
/dports/games/onscripter-1byte/onscripter-20200722/ |
H A D | sjis2utf16.cpp | 11405 sjis_2_utf16[sjis - 0x8140] = utf16; in initSJIS2UTF16() 11407 if (utf16 < 0x1000) // 0x0000-0x04ff in initSJIS2UTF16() 11408 utf16_2_sjis_00[utf16] = sjis; in initSJIS2UTF16() 11409 else if (utf16 < 0x2000) // 0x1e00-0x1fff in initSJIS2UTF16() 11410 utf16_2_sjis_1e[utf16-0x1e00] = sjis; in initSJIS2UTF16() 11411 else if (utf16 < 0xa000) // 0x2000-0x9fff in initSJIS2UTF16() 11413 else if (utf16 < 0xfb00) // 0xf900-0xfaff in initSJIS2UTF16() 11414 utf16_2_sjis_f9[utf16-0xf900] = sjis; in initSJIS2UTF16() 11471 unsigned short utf16 = 0; in convUTF8ToUTF16() local 11485 utf16 |= (unsigned short)(*(*src)++); in convUTF8ToUTF16() [all …]
|
/dports/graphics/silgraphite/silgraphite-2.3.1/engine/include/graphite/ |
H A D | GrPlatform.h | 139 inline bool GrIsBadStringPtrW(const utf16 *const pszw, const long) in GrIsBadStringPtrW() 166 utf16 *utf16cpy(utf16 *dest, const utf16 *src); 167 utf16 *utf16cpy(utf16 *dest, const char *src); 168 utf16 *utf16cpy(utf16 *dest, const utf32 *src); 170 utf16 *utf16ncpy(utf16 *dest, const utf16 *src, size_t n); 171 utf16 *utf16ncpy(utf16 *dest, const char *src, size_t n); 174 void utf16Output(const utf16 *input); 177 size_t utf16len(const utf16 *s); 179 int utf16cmp(const utf16 *s1, const utf16 *s2); 180 int utf16ncmp(const utf16 *s1, const utf16 *s2, size_t n); [all …]
|
/dports/graphics/silgraphite/silgraphite-2.3.1/engine/src/segment/ |
H A D | Platform.cpp | 20 utf16 * prgchwDst, int cchwDst) in Platform_8bitToUnicode() 30 utf16 *utf16cpy(utf16 *dest, const utf16 *src) in utf16cpy() 32 return (utf16*)wcscpy((wchar_t*)dest, (const wchar_t*)src); in utf16cpy() 35 utf16 *utf16ncpy(utf16 *dest, const utf16 *src, size_t n) in utf16ncpy() 40 utf16 *utf16ncpy(utf16 *dest, const char *src, size_t n) in utf16ncpy() 50 size_t utf16len(const utf16 *s) in utf16len() 55 int utf16cmp(const utf16 *s1, const utf16 *s2) in utf16cmp() 60 int utf16ncmp(const utf16 *s1, const utf16 *s2, size_t n) in utf16ncmp() 65 int utf16cmp(const utf16 *s1, const char *s2) in utf16cmp() 102 size_t utf16len(const utf16 *s) in utf16len() [all …]
|
/dports/devel/re2c/re2c-2.2/src/encoding/utf16/ |
H A D | utf16_regexp.cc | 13 static RE *UTF16Symbol(RESpec &spec, utf16::rune); 17 static void UTF16splitByRuneLength(RangeSuffix *&, utf16::rune, utf16::rune); 41 RE *UTF16Symbol(RESpec &spec, utf16::rune r) in UTF16Symbol() 45 if (r <= utf16::MAX_1WORD_RUNE) { in UTF16Symbol() 50 re_sym(spec, rm.sym(utf16::lead_surr(r))), in UTF16Symbol() 62 void UTF16splitByRuneLength(RangeSuffix * & root, utf16::rune l, utf16::rune h) in UTF16splitByRuneLength() 64 if (l <= utf16::MAX_1WORD_RUNE) in UTF16splitByRuneLength() 66 if (h <= utf16::MAX_1WORD_RUNE) in UTF16splitByRuneLength() 75 UTF16splitByContinuity(root, utf16::MIN_LEAD_SURR, h_ld, utf16::MIN_TRAIL_SURR, h_tr); in UTF16splitByRuneLength() 118 if (l_tr > utf16::MIN_TRAIL_SURR) in UTF16splitByContinuity() [all …]
|
/dports/audio/musescore/MuseScore-3.6.1/thirdparty/poppler/poppler/ |
H A D | UTF.cc | 46 if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00 && i + 1 < utf16Len && in UTF16toUCS4() 47 utf16[i+1] >= 0xdc00 && utf16[i+1] < 0xe000) { in UTF16toUCS4() 59 if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00) { /* surrogate pair */ in UTF16toUCS4() 60 if (i + 1 < utf16Len && utf16[i+1] >= 0xdc00 && utf16[i+1] < 0xe000) { in UTF16toUCS4() 62 u[n] = (((utf16[i] & 0x3ff) << 10) | (utf16[i+1] & 0x3ff)) + 0x10000; in UTF16toUCS4() 69 } else if (utf16[i] >= 0xdc00 && utf16[i] < 0xe000) { in UTF16toUCS4() 74 u[n] = utf16[i]; in UTF16toUCS4() 99 Unicode *utf16; in TextStringToUCS4() local 102 utf16 = new Unicode[len]; in TextStringToUCS4() 106 len = UTF16toUCS4(utf16, len, &u); in TextStringToUCS4() [all …]
|
/dports/print/tex-luatex/texlive-20150521-source/libs/poppler/poppler-0.32.0/poppler/ |
H A D | UTF.cc | 45 if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00 && i + 1 < utf16Len && in UTF16toUCS4() 46 utf16[i+1] >= 0xdc00 && utf16[i+1] < 0xe000) { in UTF16toUCS4() 58 if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00) { /* surrogate pair */ in UTF16toUCS4() 59 if (i + 1 < utf16Len && utf16[i+1] >= 0xdc00 && utf16[i+1] < 0xe000) { in UTF16toUCS4() 61 u[n] = (((utf16[i] & 0x3ff) << 10) | (utf16[i+1] & 0x3ff)) + 0x10000; in UTF16toUCS4() 68 } else if (utf16[i] >= 0xdc00 && utf16[i] < 0xe000) { in UTF16toUCS4() 73 u[n] = utf16[i]; in UTF16toUCS4() 96 Unicode *utf16; in TextStringToUCS4() local 99 utf16 = new Unicode[len]; in TextStringToUCS4() 103 len = UTF16toUCS4(utf16, len, &u); in TextStringToUCS4() [all …]
|
/dports/print/tex-xetex/texlive-20150521-source/libs/poppler/poppler-0.32.0/poppler/ |
H A D | UTF.cc | 45 if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00 && i + 1 < utf16Len && in UTF16toUCS4() 46 utf16[i+1] >= 0xdc00 && utf16[i+1] < 0xe000) { in UTF16toUCS4() 58 if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00) { /* surrogate pair */ in UTF16toUCS4() 59 if (i + 1 < utf16Len && utf16[i+1] >= 0xdc00 && utf16[i+1] < 0xe000) { in UTF16toUCS4() 61 u[n] = (((utf16[i] & 0x3ff) << 10) | (utf16[i+1] & 0x3ff)) + 0x10000; in UTF16toUCS4() 68 } else if (utf16[i] >= 0xdc00 && utf16[i] < 0xe000) { in UTF16toUCS4() 73 u[n] = utf16[i]; in UTF16toUCS4() 96 Unicode *utf16; in TextStringToUCS4() local 99 utf16 = new Unicode[len]; in TextStringToUCS4() 103 len = UTF16toUCS4(utf16, len, &u); in TextStringToUCS4() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ppapi/tests/ |
H A D | test_char_set.cc | 40 utf16.push_back(0); in TestUTF16ToCharSetDeprecated() 90 utf16.clear(); in TestUTF16ToCharSetDeprecated() 128 &utf16[0], static_cast<uint32_t>(utf16.size()), "latin1", in TestUTF16ToCharSet() 139 &utf16[0], static_cast<uint32_t>(utf16.size()), "latin1", in TestUTF16ToCharSet() 153 &utf16[0], static_cast<uint32_t>(utf16.size()), in TestUTF16ToCharSet() 167 &utf16[0], static_cast<uint32_t>(utf16.size()), in TestUTF16ToCharSet() 177 &utf16[0], static_cast<uint32_t>(utf16.size()), in TestUTF16ToCharSet() 188 &utf16[0], static_cast<uint32_t>(utf16.size()), in TestUTF16ToCharSet() 199 utf16.clear(); in TestUTF16ToCharSet() 203 &utf16[0], static_cast<uint32_t>(utf16.size()), in TestUTF16ToCharSet() [all …]
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/ui/ |
H A D | filter_icons.cpp | 21 "\xF0\x9F\x92\xAC"_cs.utf16() 26 "\xE2\x9C\x85"_cs.utf16() 31 "\xF0\x9F\x94\x94"_cs.utf16() 36 "\xF0\x9F\xA4\x96"_cs.utf16() 41 "\xF0\x9F\x93\xA2"_cs.utf16() 46 "\xF0\x9F\x91\xA5"_cs.utf16() 51 "\xF0\x9F\x91\xA4"_cs.utf16() 56 "\xF0\x9F\x93\x81"_cs.utf16() 61 "\xF0\x9F\x93\x8B"_cs.utf16() 66 "\xF0\x9F\x90\xB1"_cs.utf16() [all …]
|
/dports/graphics/poppler-glib/poppler-21.12.0/poppler/ |
H A D | UTF.cc | 53 …if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00 && i + 1 < utf16Len && utf16[i + 1] >= 0xdc00 && utf16… in UTF16toUCS4() 65 if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00) { /* surrogate pair */ in UTF16toUCS4() 66 if (i + 1 < utf16Len && utf16[i + 1] >= 0xdc00 && utf16[i + 1] < 0xe000) { in UTF16toUCS4() 75 } else if (utf16[i] >= 0xdc00 && utf16[i] < 0xe000) { in UTF16toUCS4() 117 Unicode *utf16; in TextStringToUCS4() local 311 uint16_t *p = utf16; in utf8ToUtf16() 345 utf16[nOut] = 0; in utf8ToUtf16() 357 return utf16; in utf8ToUtf16() 419 while (*utf16) { in utf16CountUtf8Bytes() 436 utf16++; in utf16CountUtf8Bytes() [all …]
|
/dports/graphics/poppler/poppler-21.12.0/poppler/ |
H A D | UTF.cc | 53 …if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00 && i + 1 < utf16Len && utf16[i + 1] >= 0xdc00 && utf16… in UTF16toUCS4() 65 if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00) { /* surrogate pair */ in UTF16toUCS4() 66 if (i + 1 < utf16Len && utf16[i + 1] >= 0xdc00 && utf16[i + 1] < 0xe000) { in UTF16toUCS4() 75 } else if (utf16[i] >= 0xdc00 && utf16[i] < 0xe000) { in UTF16toUCS4() 117 Unicode *utf16; in TextStringToUCS4() local 311 uint16_t *p = utf16; in utf8ToUtf16() 345 utf16[nOut] = 0; in utf8ToUtf16() 357 return utf16; in utf8ToUtf16() 419 while (*utf16) { in utf16CountUtf8Bytes() 436 utf16++; in utf16CountUtf8Bytes() [all …]
|
/dports/graphics/poppler-utils/poppler-21.12.0/poppler/ |
H A D | UTF.cc | 53 …if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00 && i + 1 < utf16Len && utf16[i + 1] >= 0xdc00 && utf16… in UTF16toUCS4() 65 if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00) { /* surrogate pair */ in UTF16toUCS4() 66 if (i + 1 < utf16Len && utf16[i + 1] >= 0xdc00 && utf16[i + 1] < 0xe000) { in UTF16toUCS4() 75 } else if (utf16[i] >= 0xdc00 && utf16[i] < 0xe000) { in UTF16toUCS4() 117 Unicode *utf16; in TextStringToUCS4() local 311 uint16_t *p = utf16; in utf8ToUtf16() 345 utf16[nOut] = 0; in utf8ToUtf16() 357 return utf16; in utf8ToUtf16() 419 while (*utf16) { in utf16CountUtf8Bytes() 436 utf16++; in utf16CountUtf8Bytes() [all …]
|
/dports/graphics/poppler-qt5/poppler-21.12.0/poppler/ |
H A D | UTF.cc | 53 …if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00 && i + 1 < utf16Len && utf16[i + 1] >= 0xdc00 && utf16… in UTF16toUCS4() 65 if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00) { /* surrogate pair */ in UTF16toUCS4() 66 if (i + 1 < utf16Len && utf16[i + 1] >= 0xdc00 && utf16[i + 1] < 0xe000) { in UTF16toUCS4() 75 } else if (utf16[i] >= 0xdc00 && utf16[i] < 0xe000) { in UTF16toUCS4() 117 Unicode *utf16; in TextStringToUCS4() local 311 uint16_t *p = utf16; in utf8ToUtf16() 345 utf16[nOut] = 0; in utf8ToUtf16() 357 return utf16; in utf8ToUtf16() 419 while (*utf16) { in utf16CountUtf8Bytes() 436 utf16++; in utf16CountUtf8Bytes() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/security/sandbox/chromium/base/strings/ |
H A D | utf_string_conversions.cc | 110 return utf16; in UTF16ToWide() 139 UTF16ToWide(utf16.data(), utf16.length(), &ret); in UTF16ToWide() 183 if (IsStringASCII(utf16)) { in UTF16ToUTF8() 184 return std::string(utf16.begin(), utf16.end()); in UTF16ToUTF8() 190 UTF16ToUTF8(utf16.data(), utf16.length(), &ret); in UTF16ToUTF8() 210 if (IsStringASCII(utf16)) in UTF16ToUTF8() 211 return std::string(utf16.data(), utf16.data() + utf16.length()); in UTF16ToUTF8() 214 PrepareForUTF8Output(utf16.data(), utf16.length(), &ret); in UTF16ToUTF8() 215 ConvertUnicode(utf16.data(), utf16.length(), &ret); in UTF16ToUTF8() 227 DCHECK(IsStringASCII(utf16)) << UTF16ToUTF8(utf16); in UTF16ToASCII() [all …]
|
/dports/lang/gcc8/gcc-8.5.0/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/ |
H A D | 66855.cc | 27 char16_t utf16[] = u"\ub098\ub294\ud0dc\uc624"; in test01() local 32 auto res = cvt.out(st, utf16, utf16+4, nf16, utf8, utf8+16, nt8); in test01() 42 VERIFY( buf[0] == utf16[0] ); in test01() 43 VERIFY( buf[1] == utf16[1] ); in test01() 44 VERIFY( buf[2] == utf16[2] ); in test01() 45 VERIFY( buf[3] == utf16[3] ); in test01() 58 auto res = cvt.out(st, utf16, utf16+4, nf16, utf8, utf8+16, nt8); in test02() 68 VERIFY( buf[0] == utf16[0] ); in test02() 69 VERIFY( buf[1] == utf16[1] ); in test02() 70 VERIFY( buf[2] == utf16[2] ); in test02() [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/ |
H A D | 66855.cc | 27 char16_t utf16[] = u"\ub098\ub294\ud0dc\uc624"; in test01() local 32 auto res = cvt.out(st, utf16, utf16+4, nf16, utf8, utf8+16, nt8); in test01() 42 VERIFY( buf[0] == utf16[0] ); in test01() 43 VERIFY( buf[1] == utf16[1] ); in test01() 44 VERIFY( buf[2] == utf16[2] ); in test01() 45 VERIFY( buf[3] == utf16[3] ); in test01() 58 auto res = cvt.out(st, utf16, utf16+4, nf16, utf8, utf8+16, nt8); in test02() 68 VERIFY( buf[0] == utf16[0] ); in test02() 69 VERIFY( buf[1] == utf16[1] ); in test02() 70 VERIFY( buf[2] == utf16[2] ); in test02() [all …]
|
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/ |
H A D | 66855.cc | 27 char16_t utf16[] = u"\ub098\ub294\ud0dc\uc624"; in test01() local 32 auto res = cvt.out(st, utf16, utf16+4, nf16, utf8, utf8+16, nt8); in test01() 42 VERIFY( buf[0] == utf16[0] ); in test01() 43 VERIFY( buf[1] == utf16[1] ); in test01() 44 VERIFY( buf[2] == utf16[2] ); in test01() 45 VERIFY( buf[3] == utf16[3] ); in test01() 58 auto res = cvt.out(st, utf16, utf16+4, nf16, utf8, utf8+16, nt8); in test02() 68 VERIFY( buf[0] == utf16[0] ); in test02() 69 VERIFY( buf[1] == utf16[1] ); in test02() 70 VERIFY( buf[2] == utf16[2] ); in test02() [all …]
|