Home | History | Annotate | Download | only in conversions.string

Lines Matching refs:ws

40     std::wstring ws = myconv.from_bytes('a');
41 assert(ws == L"a");
42 ws = myconv.from_bytes(bs.c_str());
43 assert(ws == L"\x1005");
44 ws = myconv.from_bytes(bs);
45 assert(ws == L"\x1005");
46 ws = myconv.from_bytes(bs.data(), bs.data() + bs.size());
47 assert(ws == L"\x1005");
48 ws = myconv.from_bytes("");
49 assert(ws.size() == 0);
59 std::wstring ws = myconv.from_bytes('a');
60 assert(ws == L"a");
61 ws = myconv.from_bytes(bs.c_str());
62 assert(ws == L"\x40003");
63 ws = myconv.from_bytes(bs);
64 assert(ws == L"\x40003");
65 ws = myconv.from_bytes(bs.data(), bs.data() + bs.size());
66 assert(ws == L"\x40003");
67 ws = myconv.from_bytes("");
68 assert(ws.size() == 0);