Searched refs:sync_buf2 (Results 1 – 2 of 2) sorted by relevance
38 std::basic_syncbuf<CharT> sync_buf2(&sstr2); in test_basic() local39 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() local75 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() local103 sync_buf2.sputn(expected.data(), expected.size()); in test_long_write_after_swap()[all …]
171 std::basic_syncbuf<CharT> sync_buf2(nullptr); in test_basic() local173 sync_buf1.operator=(std::move(sync_buf2)); in test_basic()184 std::basic_syncbuf<CharT> sync_buf2(&sstr2); in test_basic() local185 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() local220 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 …]