Home
last modified time | relevance | path

Searched refs:u16str (Results 1 – 25 of 54) sorted by relevance

123

/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libcxx/test/std/input.output/filesystems/class.path/path.member/
H A Dpath.charconv.pass.cpp272 p /= u16str; in test_append()
289 p = fs::path(u16str); in test_append()
305 p += u16str; in test_concat()
345 p = fs::path(u16str); in test_append_concat_narrow()
350 p = fs::path(u16str); in test_append_concat_narrow()
364 p = fs::path(u16str); in test_append_concat_narrow()
369 p = fs::path(u16str); in test_append_concat_narrow()
381 p = fs::path(u16str); in test_append_concat_narrow()
386 p = fs::path(u16str); in test_append_concat_narrow()
398 p = fs::path(u16str); in test_append_concat_narrow()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/libcxx/test/std/input.output/filesystems/class.path/path.member/
H A Dpath.charconv.pass.cpp272 p /= u16str; in test_append()
289 p = fs::path(u16str); in test_append()
305 p += u16str; in test_concat()
345 p = fs::path(u16str); in test_append_concat_narrow()
350 p = fs::path(u16str); in test_append_concat_narrow()
364 p = fs::path(u16str); in test_append_concat_narrow()
369 p = fs::path(u16str); in test_append_concat_narrow()
381 p = fs::path(u16str); in test_append_concat_narrow()
386 p = fs::path(u16str); in test_append_concat_narrow()
398 p = fs::path(u16str); in test_append_concat_narrow()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libcxx/test/std/input.output/filesystems/class.path/path.member/
H A Dpath.charconv.pass.cpp266 p /= u16str; in test_append()
282 p = fs::path(u16str); in test_append()
298 p += u16str; in test_concat()
337 p = fs::path(u16str); in test_append_concat_narrow()
342 p = fs::path(u16str); in test_append_concat_narrow()
356 p = fs::path(u16str); in test_append_concat_narrow()
361 p = fs::path(u16str); in test_append_concat_narrow()
373 p = fs::path(u16str); in test_append_concat_narrow()
378 p = fs::path(u16str); in test_append_concat_narrow()
390 p = fs::path(u16str); in test_append_concat_narrow()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libcxx/test/std/input.output/filesystems/class.path/path.member/
H A Dpath.charconv.pass.cpp272 p /= u16str; in test_append()
289 p = fs::path(u16str); in test_append()
305 p += u16str; in test_concat()
345 p = fs::path(u16str); in test_append_concat_narrow()
350 p = fs::path(u16str); in test_append_concat_narrow()
364 p = fs::path(u16str); in test_append_concat_narrow()
369 p = fs::path(u16str); in test_append_concat_narrow()
381 p = fs::path(u16str); in test_append_concat_narrow()
386 p = fs::path(u16str); in test_append_concat_narrow()
398 p = fs::path(u16str); in test_append_concat_narrow()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libcxx/test/std/input.output/filesystems/class.path/path.member/
H A Dpath.charconv.pass.cpp272 p /= u16str; in test_append()
289 p = fs::path(u16str); in test_append()
305 p += u16str; in test_concat()
345 p = fs::path(u16str); in test_append_concat_narrow()
350 p = fs::path(u16str); in test_append_concat_narrow()
364 p = fs::path(u16str); in test_append_concat_narrow()
369 p = fs::path(u16str); in test_append_concat_narrow()
381 p = fs::path(u16str); in test_append_concat_narrow()
386 p = fs::path(u16str); in test_append_concat_narrow()
398 p = fs::path(u16str); in test_append_concat_narrow()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/libcxx/test/std/input.output/filesystems/class.path/path.member/
H A Dpath.charconv.pass.cpp272 p /= u16str; in test_append()
289 p = fs::path(u16str); in test_append()
305 p += u16str; in test_concat()
345 p = fs::path(u16str); in test_append_concat_narrow()
350 p = fs::path(u16str); in test_append_concat_narrow()
364 p = fs::path(u16str); in test_append_concat_narrow()
369 p = fs::path(u16str); in test_append_concat_narrow()
381 p = fs::path(u16str); in test_append_concat_narrow()
386 p = fs::path(u16str); in test_append_concat_narrow()
398 p = fs::path(u16str); in test_append_concat_narrow()
[all …]
/dports/dns/wdns/wdns-0.10.0/wdns/
H A Drcode_to_str.c23 static struct u16str { struct
41 #define num_rcodes (sizeof(rcodes) / sizeof(struct u16str)) argument
45 struct u16str *u1 = (struct u16str *) a; in cmp_u16str()
46 struct u16str *u2 = (struct u16str *) b; in cmp_u16str()
52 struct u16str key, *res; in wdns_str_to_rcode()
54 res = bsearch(&key, rcodes, num_rcodes, sizeof(struct u16str), cmp_u16str); in wdns_str_to_rcode()
H A Drrclass_to_str.c16 static struct u16str { struct
27 #define num_rrclasses (sizeof(rrclasses) / sizeof(struct u16str)) argument
31 struct u16str *u1 = (struct u16str *) a; in cmp_u16str()
32 struct u16str *u2 = (struct u16str *) b; in cmp_u16str()
58 struct u16str key, *res; in wdns_str_to_rrclass()
60 res = bsearch(&key, rrclasses, num_rrclasses, sizeof(struct u16str), cmp_u16str); in wdns_str_to_rrclass()
H A Drrtype_to_str.c93 static struct u16str { struct
181 #define num_rrtypes (sizeof(rrtypes) / sizeof(struct u16str))
185 struct u16str *u1 = (struct u16str *) a; in cmp_u16str()
186 struct u16str *u2 = (struct u16str *) b; in cmp_u16str()
212 struct u16str key, *res; in wdns_str_to_rrtype()
214 res = bsearch(&key, rrtypes, num_rrtypes, sizeof(struct u16str), cmp_u16str); in wdns_str_to_rrtype()
/dports/sysutils/vchanger/vchanger/src/
H A Dwin32_util.c79 wchar_t* AnsiToUTF16(const char *str, wchar_t **u16str, size_t *u16size) in AnsiToUTF16() argument
89 if (*u16str) { in AnsiToUTF16()
97 *u16str = (wchar_t*)malloc(*u16size); in AnsiToUTF16()
100 MultiByteToWideChar(acp, 0, str, -1, *u16str, *u16size); in AnsiToUTF16()
101 return *u16str; in AnsiToUTF16()
119 char *UTF16ToAnsi(const wchar_t *u16str, char **str, size_t *str_size) in UTF16ToAnsi() argument
124 if (!u16str) { in UTF16ToAnsi()
128 needed = WideCharToMultiByte(acp, 0, u16str, -1, NULL, 0, NULL, NULL); in UTF16ToAnsi()
140 WideCharToMultiByte(acp, 0, u16str, -1, *str, *str_size, NULL, NULL); in UTF16ToAnsi()
H A Dwin32_util.h39 wchar_t* AnsiToUTF16(const char *str, wchar_t **u16str, size_t *u16size);
40 char *UTF16ToAnsi(const wchar_t *u16str, char **str, size_t *str_size);
/dports/emulators/citra/citra-ac98458e0/src/core/file_sys/
H A Darchive_backend.cpp29 u16str.resize(data.size() / 2 - 1); // Data is always null-terminated. in Path()
30 std::memcpy(u16str.data(), data.data(), u16str.size() * sizeof(char16_t)); in Path()
66 return Common::UTF16ToUTF8(u16str); in AsString()
83 return u16str; in AsU16Str()
104 std::vector<u8> to_return(u16str.size() * 2); in AsBinary()
105 for (std::size_t i = 0; i < u16str.size(); ++i) { in AsBinary()
106 u16 tmp_char = u16str.at(i); in AsBinary()
H A Darchive_backend.h68 std::u16string u16str; variable
83 std::copy(u16str.begin(), u16str.end(), std::back_inserter(data)); in serialize()
87 u16str = std::u16string(data.data(), data.size()); in serialize()
/dports/emulators/citra-qt5/citra-ac98458e0/src/core/file_sys/
H A Darchive_backend.cpp29 u16str.resize(data.size() / 2 - 1); // Data is always null-terminated. in Path()
30 std::memcpy(u16str.data(), data.data(), u16str.size() * sizeof(char16_t)); in Path()
66 return Common::UTF16ToUTF8(u16str); in AsString()
83 return u16str; in AsU16Str()
104 std::vector<u8> to_return(u16str.size() * 2); in AsBinary()
105 for (std::size_t i = 0; i < u16str.size(); ++i) { in AsBinary()
106 u16 tmp_char = u16str.at(i); in AsBinary()
H A Darchive_backend.h68 std::u16string u16str; variable
83 std::copy(u16str.begin(), u16str.end(), std::back_inserter(data)); in serialize()
87 u16str = std::u16string(data.data(), data.size()); in serialize()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/deps/Dependencies/ghc_filesystem/test/
H A Dmulti2.cpp35 std::u16string u16str = u"/usr/local/bin"; variable
38 CHECK(str == fs::path(u16str.begin(), u16str.end()));
H A Dmulti1.cpp37 std::u16string u16str = u"/usr/local/bin"; variable
40 CHECK(str == fs::path(u16str.begin(), u16str.end()));
/dports/finance/chiapos/chiapos-1.0.3/src-ext/gulrak/test/
H A Dmulti2.cpp35 std::u16string u16str = u"/usr/local/bin"; variable
38 CHECK(str == fs::path(u16str.begin(), u16str.end()));
H A Dmulti1.cpp37 std::u16string u16str = u"/usr/local/bin"; variable
40 CHECK(str == fs::path(u16str.begin(), u16str.end()));
/dports/games/openlierox/OpenLieroX/src/common/
H A DUnicode.cpp1088 const Utf16String& u16str = Utf8ToUtf16(utf8str); in Utf8ToSystemNative() local
1089 char *buf = new char[u16str.size() + 128]; // 128 - just in case... in Utf8ToSystemNative()
1090 …harToMultiByte(CP_ACP, WC_NO_BEST_FIT_CHARS, (LPCWSTR) u16str.c_str(), u16str.size(), buf, u16str.… in Utf8ToSystemNative()
1092 …len = WideCharToMultiByte(CP_ACP, 0, (LPCWSTR) u16str.c_str(), u16str.size(), buf, u16str.size() +… in Utf8ToSystemNative()
1096 buf[MIN(len, u16str.size() + 127)] = '\0'; in Utf8ToSystemNative()
/dports/emulators/mess/mame-mame0226/3rdparty/sol2/sol/
H A Dstack_push.hpp500 static int push(lua_State* L, const char16_t* u16str) { in push()
501 return push(L, u16str, std::char_traits<char16_t>::length(u16str)); in push()
504 static int push(lua_State* L, const char16_t* u16str, std::size_t sz) { in push()
505 return push(L, u16str, u16str + sz); in push()
612 static int push(lua_State* L, const std::u16string& u16str) { in push()
613 return push(L, u16str, u16str.size()); in push()
616 static int push(lua_State* L, const std::u16string& u16str, std::size_t sz) { in push()
617 return stack::push(L, u16str.data(), u16str.data() + sz); in push()
/dports/emulators/mame/mame-mame0226/3rdparty/sol2/sol/
H A Dstack_push.hpp500 static int push(lua_State* L, const char16_t* u16str) { in push()
501 return push(L, u16str, std::char_traits<char16_t>::length(u16str)); in push()
504 static int push(lua_State* L, const char16_t* u16str, std::size_t sz) { in push()
505 return push(L, u16str, u16str + sz); in push()
612 static int push(lua_State* L, const std::u16string& u16str) { in push()
613 return push(L, u16str, u16str.size()); in push()
616 static int push(lua_State* L, const std::u16string& u16str, std::size_t sz) { in push()
617 return stack::push(L, u16str.data(), u16str.data() + sz); in push()
/dports/games/simutrans/simutrans-121.0/
H A Dsimsys.cc70 LPWSTR const u16str = new WCHAR[size]; in U16View() local
71 MultiByteToWideChar(CP_UTF8, 0, u8str, -1, u16str, size); in U16View()
73 cu16str = u16str; in U16View()
82 LPWSTR const u16str = new WCHAR[wcslen(from.cu16str) + 1]; in U16View() local
83 wcscpy(u16str, from.cu16str); in U16View()
84 cu16str = u16str; in U16View()
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/pqc/crypto/lms/
H A DLMS.java109 LmsUtils.u16str(D_LEAF, H); in verifySignature()
122 LmsUtils.u16str(D_INTR, H); in verifySignature()
131 LmsUtils.u16str(D_INTR, H); in verifySignature()
/dports/dns/wdns/wdns-0.10.0/t/
H A Dtest-str_to_rcode.c14 static struct u16str { struct
32 #define num_rcodes (sizeof(rcodes) / sizeof(struct u16str)) argument

123