Home
last modified time | relevance | path

Searched refs:str_utf8 (Results 1 – 25 of 116) sorted by relevance

12345

/dports/audio/lewton/lewton-0.10.2/cargo-crates/curl-sys-0.4.25/curl/lib/
H A Dcurl_multibyte.c40 wchar_t *Curl_convert_UTF8_to_wchar(const char *str_utf8) in Curl_convert_UTF8_to_wchar() argument
44 if(str_utf8) { in Curl_convert_UTF8_to_wchar()
46 str_utf8, -1, NULL, 0); in Curl_convert_UTF8_to_wchar()
50 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in Curl_convert_UTF8_to_wchar()
64 char *str_utf8 = NULL; in Curl_convert_wchar_to_UTF8() local
70 str_utf8 = malloc(bytes); in Curl_convert_wchar_to_UTF8()
71 if(str_utf8) { in Curl_convert_wchar_to_UTF8()
72 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in Curl_convert_wchar_to_UTF8()
74 free(str_utf8); in Curl_convert_wchar_to_UTF8()
81 return str_utf8; in Curl_convert_wchar_to_UTF8()
/dports/emulators/dolphin-emu/dolphin-3152428/Externals/curl/lib/
H A Dcurl_multibyte.c40 wchar_t *Curl_convert_UTF8_to_wchar(const char *str_utf8) in Curl_convert_UTF8_to_wchar() argument
44 if(str_utf8) { in Curl_convert_UTF8_to_wchar()
46 str_utf8, -1, NULL, 0); in Curl_convert_UTF8_to_wchar()
50 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in Curl_convert_UTF8_to_wchar()
64 char *str_utf8 = NULL; in Curl_convert_wchar_to_UTF8() local
70 str_utf8 = malloc(str_utf8_len * sizeof(wchar_t)); in Curl_convert_wchar_to_UTF8()
71 if(str_utf8) { in Curl_convert_wchar_to_UTF8()
72 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, str_utf8_len, in Curl_convert_wchar_to_UTF8()
74 free(str_utf8); in Curl_convert_wchar_to_UTF8()
81 return str_utf8; in Curl_convert_wchar_to_UTF8()
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/curl/lib/
H A Dcurl_multibyte.c40 wchar_t *Curl_convert_UTF8_to_wchar(const char *str_utf8) in Curl_convert_UTF8_to_wchar() argument
44 if(str_utf8) { in Curl_convert_UTF8_to_wchar()
46 str_utf8, -1, NULL, 0); in Curl_convert_UTF8_to_wchar()
50 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in Curl_convert_UTF8_to_wchar()
64 char *str_utf8 = NULL; in Curl_convert_wchar_to_UTF8() local
70 str_utf8 = malloc(bytes); in Curl_convert_wchar_to_UTF8()
71 if(str_utf8) { in Curl_convert_wchar_to_UTF8()
72 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in Curl_convert_wchar_to_UTF8()
74 free(str_utf8); in Curl_convert_wchar_to_UTF8()
81 return str_utf8; in Curl_convert_wchar_to_UTF8()
/dports/games/0ad/0ad-0.0.23b-alpha/build/premake/premake5/contrib/curl/lib/
H A Dcurl_multibyte.c40 wchar_t *Curl_convert_UTF8_to_wchar(const char *str_utf8) in Curl_convert_UTF8_to_wchar() argument
44 if(str_utf8) { in Curl_convert_UTF8_to_wchar()
46 str_utf8, -1, NULL, 0); in Curl_convert_UTF8_to_wchar()
50 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in Curl_convert_UTF8_to_wchar()
64 char *str_utf8 = NULL; in Curl_convert_wchar_to_UTF8() local
70 str_utf8 = malloc(str_utf8_len * sizeof(wchar_t)); in Curl_convert_wchar_to_UTF8()
71 if(str_utf8) { in Curl_convert_wchar_to_UTF8()
72 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, str_utf8_len, in Curl_convert_wchar_to_UTF8()
74 free(str_utf8); in Curl_convert_wchar_to_UTF8()
81 return str_utf8; in Curl_convert_wchar_to_UTF8()
/dports/devel/premake5/premake-5.0.0-alpha16-src/contrib/curl/lib/
H A Dcurl_multibyte.c40 wchar_t *Curl_convert_UTF8_to_wchar(const char *str_utf8) in Curl_convert_UTF8_to_wchar() argument
44 if(str_utf8) { in Curl_convert_UTF8_to_wchar()
46 str_utf8, -1, NULL, 0); in Curl_convert_UTF8_to_wchar()
50 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in Curl_convert_UTF8_to_wchar()
64 char *str_utf8 = NULL; in Curl_convert_wchar_to_UTF8() local
70 str_utf8 = malloc(str_utf8_len * sizeof(wchar_t)); in Curl_convert_wchar_to_UTF8()
71 if(str_utf8) { in Curl_convert_wchar_to_UTF8()
72 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, str_utf8_len, in Curl_convert_wchar_to_UTF8()
74 free(str_utf8); in Curl_convert_wchar_to_UTF8()
81 return str_utf8; in Curl_convert_wchar_to_UTF8()
/dports/x11-wm/fvwm2/fvwm-2.6.9/libs/
H A DCombineChars.c1789 if (str_utf8[in_pos] <= 0x7f) in convert_to_ucs2()
1804 str_utf8[in_pos + 1] <= 0xbf && in convert_to_ucs2()
1805 str_utf8[in_pos + 1] >= 0x80) in convert_to_ucs2()
1809 (str_utf8[in_pos+1] & 0x3f); in convert_to_ucs2()
1820 str_utf8[in_pos + 2] >= 0x80) in convert_to_ucs2()
1825 (str_utf8[in_pos+2] & 0x3f); in convert_to_ucs2()
1860 str_utf8[out_pos] = in convert_to_utf8()
1862 str_utf8[out_pos+1] = in convert_to_utf8()
1868 str_utf8[out_pos] = in convert_to_utf8()
1870 str_utf8[out_pos+1] = in convert_to_utf8()
[all …]
/dports/x11-wm/fvwm3/fvwm3-1.0.4/libs/
H A DCombineChars.c1789 if (str_utf8[in_pos] <= 0x7f) in convert_to_ucs2()
1804 str_utf8[in_pos + 1] <= 0xbf && in convert_to_ucs2()
1805 str_utf8[in_pos + 1] >= 0x80) in convert_to_ucs2()
1809 (str_utf8[in_pos+1] & 0x3f); in convert_to_ucs2()
1820 str_utf8[in_pos + 2] >= 0x80) in convert_to_ucs2()
1825 (str_utf8[in_pos+2] & 0x3f); in convert_to_ucs2()
1860 str_utf8[out_pos] = in convert_to_utf8()
1862 str_utf8[out_pos+1] = in convert_to_utf8()
1868 str_utf8[out_pos] = in convert_to_utf8()
1870 str_utf8[out_pos+1] = in convert_to_utf8()
[all …]
/dports/graphics/aseprite/aseprite-1.2.9/third_party/curl/lib/
H A Didn_win32.c38 static wchar_t *_curl_win32_UTF8_to_wchar(const char *str_utf8) in _curl_win32_UTF8_to_wchar() argument
42 if (str_utf8) { in _curl_win32_UTF8_to_wchar()
44 str_utf8, -1, NULL, 0); in _curl_win32_UTF8_to_wchar()
48 if (MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in _curl_win32_UTF8_to_wchar()
62 char *str_utf8 = NULL; in _curl_win32_wchar_to_UTF8() local
68 str_utf8 = (char *) malloc(str_utf8_len * sizeof(wchar_t)); in _curl_win32_wchar_to_UTF8()
69 if (str_utf8) { in _curl_win32_wchar_to_UTF8()
70 if (WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, str_utf8_len, in _curl_win32_wchar_to_UTF8()
73 free((void *)str_utf8); in _curl_win32_wchar_to_UTF8()
74 str_utf8 = NULL; in _curl_win32_wchar_to_UTF8()
[all …]
/dports/ftp/R-cran-curl/curl/src/
H A Dwinidn.c9 wchar_t * jeroen_convert_UTF8_to_wchar(const char *str_utf8){ in jeroen_convert_UTF8_to_wchar() argument
12 if(str_utf8) { in jeroen_convert_UTF8_to_wchar()
14 str_utf8, -1, NULL, 0); in jeroen_convert_UTF8_to_wchar()
18 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in jeroen_convert_UTF8_to_wchar()
31 char *str_utf8 = NULL; in jeroen_convert_wchar_to_UTF8() local
37 str_utf8 = malloc(str_utf8_len * sizeof(wchar_t)); in jeroen_convert_wchar_to_UTF8()
38 if(str_utf8) { in jeroen_convert_wchar_to_UTF8()
39 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, str_utf8_len, in jeroen_convert_wchar_to_UTF8()
41 free(str_utf8); in jeroen_convert_wchar_to_UTF8()
48 return str_utf8; in jeroen_convert_wchar_to_UTF8()
/dports/audio/mous/mous-2.0.1/deps/MAC_SDK/Source/Shared/
H A DCharacterHelper.cpp7 str_ansi * CAPECharacterHelper::GetANSIFromUTF8(const str_utf8 * pUTF8) in GetANSIFromUTF8()
25 str_utf8 * pANSI = new str_utf8 [nCharacters + 1]; in GetANSIFromUTF16()
27 pANSI[z] = (pUTF16[z] >= 256) ? '?' : (str_utf8) pUTF16[z]; in GetANSIFromUTF16()
45 pUTF16[z] = (str_utfn) ((str_utf8) pANSI[z]); in GetUTF16FromANSI()
52 str_utfn * CAPECharacterHelper::GetUTF16FromUTF8(const str_utf8 * pUTF8) in GetUTF16FromUTF8()
96 str_utf8 * CAPECharacterHelper::GetUTF8FromANSI(const str_ansi * pANSI) in GetUTF8FromANSI()
99 str_utf8 * pUTF8 = GetUTF8FromUTF16(pUTF16); in GetUTF8FromANSI()
104 str_utf8 * CAPECharacterHelper::GetUTF8FromUTF16(const str_utfn * pUTF16) in GetUTF8FromUTF16()
120 str_utf8 * pUTF8 = new str_utf8 [nUTF8Bytes + 1]; in GetUTF8FromUTF16()
128 pUTF8[nUTF8Index++] = (str_utf8) pUTF16[z]; in GetUTF8FromUTF16()
H A DCharacterHelper.h12 static str_ansi * GetANSIFromUTF8(const str_utf8 * pUTF8);
15 static str_utfn * GetUTF16FromUTF8(const str_utf8 * pUTF8);
16 static str_utf8 * GetUTF8FromANSI(const str_ansi * pANSI);
17 static str_utf8 * GetUTF8FromUTF16(const str_utfn * pUTF16);
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/curl-sys-0.4.41+curl-7.75.0/curl/lib/
H A Dcurl_multibyte.c37 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8) in curlx_convert_UTF8_to_wchar() argument
41 if(str_utf8) { in curlx_convert_UTF8_to_wchar()
43 str_utf8, -1, NULL, 0); in curlx_convert_UTF8_to_wchar()
47 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in curlx_convert_UTF8_to_wchar()
61 char *str_utf8 = NULL; in curlx_convert_wchar_to_UTF8() local
67 str_utf8 = malloc(bytes); in curlx_convert_wchar_to_UTF8()
68 if(str_utf8) { in curlx_convert_wchar_to_UTF8()
69 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in curlx_convert_wchar_to_UTF8()
71 free(str_utf8); in curlx_convert_wchar_to_UTF8()
78 return str_utf8; in curlx_convert_wchar_to_UTF8()
/dports/net/proby/proby-1.0.2/cargo-crates/curl-sys-0.4.34+curl-7.71.1/curl/lib/
H A Dcurl_multibyte.c37 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8) in curlx_convert_UTF8_to_wchar() argument
41 if(str_utf8) { in curlx_convert_UTF8_to_wchar()
43 str_utf8, -1, NULL, 0); in curlx_convert_UTF8_to_wchar()
47 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in curlx_convert_UTF8_to_wchar()
61 char *str_utf8 = NULL; in curlx_convert_wchar_to_UTF8() local
67 str_utf8 = malloc(bytes); in curlx_convert_wchar_to_UTF8()
68 if(str_utf8) { in curlx_convert_wchar_to_UTF8()
69 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in curlx_convert_wchar_to_UTF8()
71 free(str_utf8); in curlx_convert_wchar_to_UTF8()
78 return str_utf8; in curlx_convert_wchar_to_UTF8()
/dports/www/newsboat/newsboat-2.22.1/cargo-crates/curl-sys-0.4.39+curl-7.74.0/curl/lib/
H A Dcurl_multibyte.c37 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8) in curlx_convert_UTF8_to_wchar() argument
41 if(str_utf8) { in curlx_convert_UTF8_to_wchar()
43 str_utf8, -1, NULL, 0); in curlx_convert_UTF8_to_wchar()
47 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in curlx_convert_UTF8_to_wchar()
61 char *str_utf8 = NULL; in curlx_convert_wchar_to_UTF8() local
67 str_utf8 = malloc(bytes); in curlx_convert_wchar_to_UTF8()
68 if(str_utf8) { in curlx_convert_wchar_to_UTF8()
69 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in curlx_convert_wchar_to_UTF8()
71 free(str_utf8); in curlx_convert_wchar_to_UTF8()
78 return str_utf8; in curlx_convert_wchar_to_UTF8()
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/curl-sys-0.4.51+curl-7.80.0/curl/lib/
H A Dcurl_multibyte.c41 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8) in curlx_convert_UTF8_to_wchar() argument
45 if(str_utf8) { in curlx_convert_UTF8_to_wchar()
47 str_utf8, -1, NULL, 0); in curlx_convert_UTF8_to_wchar()
51 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in curlx_convert_UTF8_to_wchar()
65 char *str_utf8 = NULL; in curlx_convert_wchar_to_UTF8() local
71 str_utf8 = malloc(bytes); in curlx_convert_wchar_to_UTF8()
72 if(str_utf8) { in curlx_convert_wchar_to_UTF8()
73 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in curlx_convert_wchar_to_UTF8()
75 free(str_utf8); in curlx_convert_wchar_to_UTF8()
82 return str_utf8; in curlx_convert_wchar_to_UTF8()
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/curl-sys-0.4.48+curl-7.79.1/curl/lib/
H A Dcurl_multibyte.c41 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8) in curlx_convert_UTF8_to_wchar() argument
45 if(str_utf8) { in curlx_convert_UTF8_to_wchar()
47 str_utf8, -1, NULL, 0); in curlx_convert_UTF8_to_wchar()
51 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in curlx_convert_UTF8_to_wchar()
65 char *str_utf8 = NULL; in curlx_convert_wchar_to_UTF8() local
71 str_utf8 = malloc(bytes); in curlx_convert_wchar_to_UTF8()
72 if(str_utf8) { in curlx_convert_wchar_to_UTF8()
73 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in curlx_convert_wchar_to_UTF8()
75 free(str_utf8); in curlx_convert_wchar_to_UTF8()
82 return str_utf8; in curlx_convert_wchar_to_UTF8()
/dports/devel/cmake-doc/cmake-3.22.1/Utilities/cmcurl/lib/
H A Dcurl_multibyte.c41 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8) in curlx_convert_UTF8_to_wchar() argument
45 if(str_utf8) { in curlx_convert_UTF8_to_wchar()
47 str_utf8, -1, NULL, 0); in curlx_convert_UTF8_to_wchar()
51 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in curlx_convert_UTF8_to_wchar()
65 char *str_utf8 = NULL; in curlx_convert_wchar_to_UTF8() local
71 str_utf8 = malloc(bytes); in curlx_convert_wchar_to_UTF8()
72 if(str_utf8) { in curlx_convert_wchar_to_UTF8()
73 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in curlx_convert_wchar_to_UTF8()
75 free(str_utf8); in curlx_convert_wchar_to_UTF8()
82 return str_utf8; in curlx_convert_wchar_to_UTF8()
/dports/devel/cmake-gui/cmake-3.22.1/Utilities/cmcurl/lib/
H A Dcurl_multibyte.c41 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8) in curlx_convert_UTF8_to_wchar() argument
45 if(str_utf8) { in curlx_convert_UTF8_to_wchar()
47 str_utf8, -1, NULL, 0); in curlx_convert_UTF8_to_wchar()
51 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in curlx_convert_UTF8_to_wchar()
65 char *str_utf8 = NULL; in curlx_convert_wchar_to_UTF8() local
71 str_utf8 = malloc(bytes); in curlx_convert_wchar_to_UTF8()
72 if(str_utf8) { in curlx_convert_wchar_to_UTF8()
73 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in curlx_convert_wchar_to_UTF8()
75 free(str_utf8); in curlx_convert_wchar_to_UTF8()
82 return str_utf8; in curlx_convert_wchar_to_UTF8()
/dports/devel/cmake/cmake-3.22.1/Utilities/cmcurl/lib/
H A Dcurl_multibyte.c41 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8) in curlx_convert_UTF8_to_wchar() argument
45 if(str_utf8) { in curlx_convert_UTF8_to_wchar()
47 str_utf8, -1, NULL, 0); in curlx_convert_UTF8_to_wchar()
51 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in curlx_convert_UTF8_to_wchar()
65 char *str_utf8 = NULL; in curlx_convert_wchar_to_UTF8() local
71 str_utf8 = malloc(bytes); in curlx_convert_wchar_to_UTF8()
72 if(str_utf8) { in curlx_convert_wchar_to_UTF8()
73 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in curlx_convert_wchar_to_UTF8()
75 free(str_utf8); in curlx_convert_wchar_to_UTF8()
82 return str_utf8; in curlx_convert_wchar_to_UTF8()
/dports/lang/rust/rustc-1.58.1-src/vendor/curl-sys/curl/lib/
H A Dcurl_multibyte.c41 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8) in curlx_convert_UTF8_to_wchar() argument
45 if(str_utf8) { in curlx_convert_UTF8_to_wchar()
47 str_utf8, -1, NULL, 0); in curlx_convert_UTF8_to_wchar()
51 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in curlx_convert_UTF8_to_wchar()
65 char *str_utf8 = NULL; in curlx_convert_wchar_to_UTF8() local
71 str_utf8 = malloc(bytes); in curlx_convert_wchar_to_UTF8()
72 if(str_utf8) { in curlx_convert_wchar_to_UTF8()
73 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in curlx_convert_wchar_to_UTF8()
75 free(str_utf8); in curlx_convert_wchar_to_UTF8()
82 return str_utf8; in curlx_convert_wchar_to_UTF8()
/dports/games/0ad/0ad-0.0.23b-alpha/source/lib/tests/
H A Dtest_wchar.h57 const std::string str_utf8 = utf8_from_wstring(str_utf16); in test_utf8_utf16_conversion() local
58 TS_ASSERT_EQUALS(str_utf8.length(), ARRAY_SIZE(chr_utf8)); in test_utf8_utf16_conversion()
59 TS_ASSERT_SAME_DATA(str_utf8.data(), chr_utf8, ARRAY_SIZE(chr_utf8)*sizeof(char)); in test_utf8_utf16_conversion()
61 const std::wstring str_utf16b = wstring_from_utf8(str_utf8); in test_utf8_utf16_conversion()
75 const std::string str_utf8(tests[i].utf8); in test_invalid_utf8()
79 const std::wstring str_utf8to16 = wstring_from_utf8(str_utf8, &err); in test_invalid_utf8()
/dports/audio/mac/mac-3.99-u4-b5-s7/src/Shared/
H A DCharacterHelper.cpp4 str_ansi * GetANSIFromUTF8(const str_utf8 * pUTF8) in GetANSIFromUTF8()
54 str_utf16 * GetUTF16FromUTF8(const str_utf8 * pUTF8) in GetUTF16FromUTF8()
98 str_utf8 * GetUTF8FromANSI(const str_ansi * pANSI) in GetUTF8FromANSI()
101 str_utf8 * pUTF8 = GetUTF8FromUTF16(pUTF16); in GetUTF8FromANSI()
106 str_utf8 * GetUTF8FromUTF16(const str_utf16 * pUTF16) in GetUTF8FromUTF16()
122 str_utf8 * pUTF8 = new str_utf8 [nUTF8Bytes + 1]; in GetUTF8FromUTF16()
130 pUTF8[nUTF8Index++] = (str_utf8) pUTF16[z]; in GetUTF8FromUTF16()
H A DCharacterHelper.h8 str_ansi * GetANSIFromUTF8(const str_utf8 * pUTF8);
11 str_utf16 * GetUTF16FromUTF8(const str_utf8 * pUTF8);
12 str_utf8 * GetUTF8FromANSI(const str_ansi * pANSI);
13 str_utf8 * GetUTF8FromUTF16(const str_utf16 * pUTF16);
/dports/databases/p5-Cache-Memcached-Fast/Cache-Memcached-Fast-0.27/t/
H A Dutf8-downgrade.t29 my $str_utf8 = $str_bytes;
30 utf8::upgrade($str_utf8);
31 is($str_bytes, $str_utf8);
33 $memd_bytes->set('utf8-downgrade', $str_utf8);
35 is($str, $str_utf8);
38 is($str2, $str_utf8);
/dports/games/0ad/0ad-0.0.23b-alpha/source/ps/tests/
H A Dtest_CStr.h51 CStr8 str_utf8 = str_utf16.ToUTF8(); in test_utf8_utf16_conversion() local
52 TS_ASSERT_EQUALS(str_utf8.length(), sizeof(chr_utf8)); in test_utf8_utf16_conversion()
53 TS_ASSERT_SAME_DATA(str_utf8.data(), chr_utf8, sizeof(chr_utf8)); in test_utf8_utf16_conversion()
55 CStrW str_utf16b = str_utf8.FromUTF8(); in test_utf8_utf16_conversion()
69 CStr8 str_utf8 (tests[i].utf8); in test_invalid_utf8()
72 CStrW str_utf8to16 = str_utf8.FromUTF8(); in test_invalid_utf8()

12345