Home
last modified time | relevance | path

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

/llvm-project/libcxx/test/std/input.output/syncstream/syncbuf/
H A Dsputn.pass.cpp86 SyncBuf new_sync_buf{std::move(sync_buf)}; in test() local
87 ret = new_sync_buf.sputn(expected.data(), expected.size()); in test()
111 SyncBuf new_sync_buf; in test() local
112 test_allocator<CharT> a = new_sync_buf.get_allocator(); in test()
113 new_sync_buf = std::move(sync_buf); in test()
114 assert(new_sync_buf.get_allocator() == a); in test()
116 ret = new_sync_buf.sputn(expected.data(), expected.size()); in test()
H A Dsputc.pass.cpp91 SyncBuf new_sync_buf{std::move(sync_buf)}; in test() local
92 ret = new_sync_buf.sputc(c); in test()
124 SyncBuf new_sync_buf; in test() local
125 test_allocator<CharT> a = new_sync_buf.get_allocator(); in test()
126 new_sync_buf = std::move(sync_buf); in test()
127 assert(new_sync_buf.get_allocator() == a); in test()
129 ret = new_sync_buf.sputc(c); in test()