| /llvm-project-15.0.7/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ |
| H A D | from_bytes.pass.cpp | 46 assert(ws == L"a"); in test() 48 assert(ws == L"\u1005"); in test() 49 ws = myconv.from_bytes(bs); in test() 50 assert(ws == L"\u1005"); in test() 52 assert(ws == L"\u1005"); in test() 53 ws = myconv.from_bytes(""); in test() 54 assert(ws.size() == 0); in test() 65 assert(ws == L"a"); in test() 68 ws = myconv.from_bytes(bs); in test() 72 ws = myconv.from_bytes(""); in test() [all …]
|
| H A D | to_bytes.pass.cpp | 44 std::wstring ws(1, L'\u1005'); in test() local 45 std::string bs = myconv.to_bytes(ws[0]); in test() 47 bs = myconv.to_bytes(ws.c_str()); in test() 49 bs = myconv.to_bytes(ws); in test() 51 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in test() 63 std::wstring ws(1, *L"\U00040003"); in test() local 64 std::string bs = myconv.to_bytes(ws[0]); in test() 66 bs = myconv.to_bytes(ws.c_str()); in test() 68 bs = myconv.to_bytes(ws); in test() 70 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in test()
|
| H A D | ctor_err_string.pass.cpp | 74 std::wstring ws = myconv.from_bytes('\xA5'); in main() local 75 assert(ws == L"wide error"); in main()
|
| H A D | converted.pass.cpp | 48 std::wstring ws = myconv.from_bytes("\xE1\x80\x85"); in test() local 65 std::wstring ws = myconv.from_bytes("\xF1\x80\x80\x83"); in test() local
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | wchar_h.pass.cpp | 49 wchar_t* ws = 0; in main() local 59 ((void)ws); // Prevent unused warning in main() 64 ASSERT_SAME_TYPE(int, decltype(swprintf(ws, s, L""))); in main() 71 ASSERT_SAME_TYPE(wchar_t*, decltype(fgetws(ws, 0, fp))); in main() 85 ASSERT_SAME_TYPE(wchar_t*, decltype(wcscpy(ws, L""))); in main() 86 ASSERT_SAME_TYPE(wchar_t*, decltype(wcsncpy(ws, L"", s))); in main() 87 ASSERT_SAME_TYPE(wchar_t*, decltype(wcscat(ws, L""))); in main() 93 ASSERT_SAME_TYPE(wchar_t*, decltype(wcschr(ws, L' '))); in main() 97 ASSERT_SAME_TYPE(wchar_t*, decltype(wcspbrk(ws, L""))); in main() 99 ASSERT_SAME_TYPE(wchar_t*, decltype(wcsrchr(ws, L' '))); in main() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsMSAInstrFormats.td | 31 bits<5> ws; 44 bits<5> ws; 57 bits<5> ws; 70 bits<5> ws; 105 bits<5> ws; 116 bits<5> ws; 128 bits<5> ws; 141 bits<5> ws; 154 bits<5> ws; 166 bits<5> ws; [all …]
|
| H A D | MipsMSAInstrInfo.td | 3595 (ins ROWS:$ws), 3758 (ins RCWS:$ws), 3967 (SPLAT_B v16i8:$ws, 3977 (SPLAT_H v8i16:$ws, 3987 (SPLAT_W v4i32:$ws, 3996 (SPLAT_D v2i64:$ws, 4015 (SPLAT_H v8i16:$ws, 4025 (SPLAT_W v4i32:$ws, 4033 (SPLAT_D v2i64:$ws, 4042 (SPLAT_W v4f32:$ws, [all …]
|
| H A D | MSA.txt | 72 bmz.v wd, ws, wt/i8 -> (vselect wt/i8, wd, ws) 73 bmnz.v wd, ws, wt/i8 -> (vselect wt/i8, ws, wd) 74 bsel.v wd, ws, wt/i8 -> (vselect wd, wt/i8, ws)
|
| /llvm-project-15.0.7/libcxx/test/std/strings/c.strings/ |
| H A D | cwchar.pass.cpp | 47 wchar_t* ws = 0; in main() local 58 ((void)ws); // Prevent unused warning in main() 64 ASSERT_SAME_TYPE(int, decltype(std::swprintf(ws, s, L""))); in main() 71 ASSERT_SAME_TYPE(wchar_t*, decltype(std::fgetws(ws, 0, fp))); in main() 85 ASSERT_SAME_TYPE(wchar_t*, decltype(std::wcscpy(ws, L""))); in main() 86 ASSERT_SAME_TYPE(wchar_t*, decltype(std::wcsncpy(ws, L"", s))); in main() 87 ASSERT_SAME_TYPE(wchar_t*, decltype(std::wcscat(ws, L""))); in main() 93 ASSERT_SAME_TYPE(wchar_t*, decltype(std::wcschr(ws, L' '))); in main() 97 ASSERT_SAME_TYPE(wchar_t*, decltype(std::wcspbrk(ws, L""))); in main() 99 ASSERT_SAME_TYPE(wchar_t*, decltype(std::wcsrchr(ws, L' '))); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/input.streams/istream.manip/ |
| H A D | ws.pass.cpp | 48 std::ws(is); in main() 56 std::ws(is); in main() 64 std::ws(is); in main() 67 std::ws(is); in main() 75 std::ws(is); in main() 78 std::ws(is); in main() 91 std::ws(is); in main() 109 std::ws(is); in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | string-integer-assignment.cpp | 30 std::wstring ws; in main() local 47 ws += 6; in main() 50 ws += 66; in main() 53 ws += x; in main() 56 ws += L'c'; in main() 57 ws += (wchar_t)6; in main()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | HashingTest.cpp | 124 std::wstring ws = L"Hello Wide World!"; in TEST() local 125 EXPECT_EQ(hash_combine_range(ws.c_str(), ws.c_str() + ws.size()), in TEST() 126 hash_value(ws)); in TEST() 127 EXPECT_EQ(hash_combine_range(ws.c_str(), ws.c_str() + ws.size() - 1), in TEST() 128 hash_value(ws.substr(0, ws.size() - 1))); in TEST() 129 EXPECT_EQ(hash_combine_range(ws.c_str() + 1, ws.c_str() + ws.size() - 1), in TEST() 130 hash_value(ws.substr(1, ws.size() - 2))); in TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_bitvector_test.cpp | 175 uptr ws = SANITIZER_WORDSIZE; in TEST() local 177 TestBitVector<TwoLevelBitVector<> >(ws * ws); in TEST() 178 TestBitVector<TwoLevelBitVector<2> >(ws * ws * 2); in TEST() 179 TestBitVector<TwoLevelBitVector<3> >(ws * ws * 3); in TEST()
|
| /llvm-project-15.0.7/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ |
| H A D | test.pass.cpp | 36 std::wstring ws; in main() local 37 mystr >> ws; in main() 38 assert(ws == L"Hello"); in main()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | vec-asm-disabled.ll | 29 %1 = tail call double asm "xsmaxdp ${0:x},${1:x},${2:x}", "=^ws,^ws,^ws"(double %x, double %y) #0 31 ; CHECK: error: couldn't allocate output register for constraint 'ws'
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | ms-keyword-system-header.c | 10 WS ws; in fn() local 11 ws.__uptr = 0; in fn()
|
| H A D | format-strings-scanf.c | 62 void bad_length_modifiers(char *s, void *p, wchar_t *ws, long double *ld) { in bad_length_modifiers() argument 65 scanf("%ls", ws); // no-warning in bad_length_modifiers()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/quoted.manip/ |
| H A D | quoted_traits.compile.pass.cpp | 103 std::wstring ws = L"hello"; in test_std_string() local 104 const auto& cws = ws; in test_std_string() 105 using WQ = decltype(std::quoted(ws)); in test_std_string() 150 std::wstring_view ws = L"hello"; in test_std_string_view() local 151 const auto& cws = ws; in test_std_string_view() 152 using WQ = decltype(std::quoted(ws)); in test_std_string_view()
|
| /llvm-project-15.0.7/lldb/tools/driver/ |
| H A D | Platform.cpp | 26 winsize *ws = va_arg(vl, winsize *); in ioctl() local 32 ws->ws_col = info.dwMaximumWindowSize.X; in ioctl()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/ |
| H A D | irreducible-cfg.ll | 131 define void @test3(i32 %ws) { 133 %ws.addr = alloca i32, align 4 134 store volatile i32 %ws, i32* %ws.addr, align 4 135 %0 = load volatile i32, i32* %ws.addr, align 4 143 %1 = load volatile i32, i32* %ws.addr, align 4 151 %2 = load volatile i32, i32* %ws.addr, align 4 159 %3 = load volatile i32, i32* %ws.addr, align 4
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | str-int-5.ll | 12 @ws = constant [7 x i8] c"\09\0d\0a\0b\0c \00" 172 …%.*]] = call i32 @strtoul(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @ws, i64 0, i64 0), i8**… 175 …%.*]] = call i32 @strtoul(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @ws, i64 0, i64 6), i8**… 195 %psws = getelementptr [7 x i8], [7 x i8]* @ws, i32 0, i32 0 202 %pswsp6 = getelementptr [7 x i8], [7 x i8]* @ws, i32 0, i32 6 327 ….*]] = call i64 @strtoull(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @ws, i64 0, i64 0), i8**… 330 ….*]] = call i64 @strtoull(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @ws, i64 0, i64 6), i8**… 343 %psws = getelementptr [7 x i8], [7 x i8]* @ws, i32 0, i32 0 350 %pswsp6 = getelementptr [7 x i8], [7 x i8]* @ws, i32 0, i32 6
|
| H A D | str-int-4.ll | 12 @ws = constant [7 x i8] c"\09\0d\0a\0b\0c \00" 193 ; CHECK-NEXT: [[NWS:%.*]] = call i32 @strtol(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @ws… 196 …:%.*]] = call i32 @strtol(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @ws, i64 0, i64 6), i8**… 275 %psws = getelementptr [7 x i8], [7 x i8]* @ws, i32 0, i32 0 281 %pswsp6 = getelementptr [7 x i8], [7 x i8]* @ws, i32 0, i32 6 365 …%.*]] = call i64 @strtoll(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @ws, i64 0, i64 0), i8**… 368 …%.*]] = call i64 @strtoll(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @ws, i64 0, i64 6), i8**… 386 %psws = getelementptr [7 x i8], [7 x i8]* @ws, i32 0, i32 0 392 %pswsp6 = getelementptr [7 x i8], [7 x i8]* @ws, i32 0, i32 6
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.cons/ |
| H A D | dtor.pass.cpp | 34 std::wstring ws; variable
|
| /llvm-project-15.0.7/llvm/test/MC/WebAssembly/ |
| H A D | array-fill.ll | 4 source_filename = "ws.c"
|
| /llvm-project-15.0.7/libcxx/test/std/namespace/ |
| H A D | addressable_functions.sh.cpp | 142 all_funcs.insert(std::make_pair("ws", &std::ws<char, Traits>)); in get_istreammanip_tu1() 156 all_funcs.insert(std::make_pair("ws", &std::ws<wchar_t, Traits>)); in get_wistreammanip_tu1()
|