Home
last modified time | relevance | path

Searched refs:sync_buf2 (Results 1 – 2 of 2) sorted by relevance

/llvm-project/libcxx/test/std/input.output/syncstream/syncbuf/syncstream.syncbuf.assign/
H A Dswap.pass.cpp38 std::basic_syncbuf<CharT> sync_buf2(&sstr2); in test_basic() local
39 sync_buf2.sputn(expected.data(), expected.size()); in test_basic()
46 sync_buf1.swap(sync_buf2); in test_basic()
48 assert(sync_buf2.get_wrapped() == &sstr1); in test_basic()
74 std::basic_syncbuf<CharT> sync_buf2(&sstr2); in test_short_write_after_swap() local
75 sync_buf2.sputn(expected.data(), expected.size()); in test_short_write_after_swap()
77 sync_buf1.swap(sync_buf2); in test_short_write_after_swap()
80 sync_buf2.sputc(CharT('Z')); in test_short_write_after_swap()
102 std::basic_syncbuf<CharT> sync_buf2(&sstr2); in test_long_write_after_swap() local
103 sync_buf2.sputn(expected.data(), expected.size()); in test_long_write_after_swap()
[all …]
H A Dassign.pass.cpp171 std::basic_syncbuf<CharT> sync_buf2(nullptr); in test_basic() local
173 sync_buf1.operator=(std::move(sync_buf2)); in test_basic()
184 std::basic_syncbuf<CharT> sync_buf2(&sstr2); in test_basic() local
185 sync_buf2.sputn(expected.data(), expected.size()); in test_basic()
192 sync_buf2 = std::move(sync_buf1); in test_basic()
193 assert(sync_buf2.get_wrapped() == &sstr1); in test_basic()
219 std::basic_syncbuf<CharT> sync_buf2(&sstr2); in test_short_write_after_assign() local
220 sync_buf2.sputn(expected.data(), expected.size()); in test_short_write_after_assign()
222 sync_buf2 = std::move(sync_buf1); in test_short_write_after_assign()
223 sync_buf2.sputc(CharT('Z')); in test_short_write_after_assign()
[all …]