Home
last modified time | relevance | path

Searched refs:rdbuf (Results 1 – 25 of 175) sorted by relevance

1234567

/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
Dctor.pass.cpp34 assert(b.rdbuf() == nullptr); in main()
40 B b(s.rdbuf()); in main()
41 assert(b.rdbuf() == s.rdbuf()); in main()
47 B b(s.rdbuf(), new std::codecvt_utf8<wchar_t>); in main()
48 assert(b.rdbuf() == s.rdbuf()); in main()
54 B b(s.rdbuf(), new std::codecvt_utf8<wchar_t>, std::mbstate_t()); in main()
55 assert(b.rdbuf() == s.rdbuf()); in main()
Drdbuf.pass.cpp27 assert(b.rdbuf() == nullptr); in main()
28 b.rdbuf(s.rdbuf()); in main()
29 assert(b.rdbuf() == s.rdbuf()); in main()
/external/llvm-project/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
Dctor.pass.cpp34 assert(b.rdbuf() == nullptr); in main()
40 B b(s.rdbuf()); in main()
41 assert(b.rdbuf() == s.rdbuf()); in main()
47 B b(s.rdbuf(), new std::codecvt_utf8<wchar_t>); in main()
48 assert(b.rdbuf() == s.rdbuf()); in main()
54 B b(s.rdbuf(), new std::codecvt_utf8<wchar_t>, std::mbstate_t()); in main()
55 assert(b.rdbuf() == s.rdbuf()); in main()
Drdbuf.pass.cpp28 assert(b.rdbuf() == nullptr); in main()
29 b.rdbuf(s.rdbuf()); in main()
30 assert(b.rdbuf() == s.rdbuf()); in main()
Doverflow.pass.cpp46 test_buf f(bs.rdbuf()); in main()
57 test_buf f(bs.rdbuf()); in main()
63 test_buf f(bs.rdbuf()); in main()
75 test_buf f(bs.rdbuf()); in main()
81 test_buf f(bs.rdbuf()); in main()
/external/ltp/testcases/kernel/syscalls/pipe/
Dpipe01.c20 char rdbuf[128]; in verify_pipe() local
22 memset(rdbuf, 0, sizeof(rdbuf)); in verify_pipe()
32 rd_size = SAFE_READ(0, fds[0], rdbuf, sizeof(rdbuf)); in verify_pipe()
40 if ((strncmp(rdbuf, wrbuf, wr_size)) != 0) { in verify_pipe()
Dpipe02.c21 static char rdbuf[SIZE]; variable
64 memset(rdbuf, 0, SIZE); in verify_pipe()
66 SAFE_READ(1, fd[0], rdbuf, SIZE); in verify_pipe()
68 if (memcmp(wrbuf, rdbuf, SIZE) != 0) { in verify_pipe()
/external/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/
Drdbuf_streambuf.pass.cpp23 assert(ios.rdbuf() == 0); in main()
26 std::streambuf* sb2 = ios.rdbuf(sb); in main()
28 assert(ios.rdbuf() == sb); in main()
30 sb2 = ios.rdbuf(0); in main()
32 assert(ios.rdbuf() == 0); in main()
/external/llvm-project/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/
Drdbuf_streambuf.pass.cpp24 assert(ios.rdbuf() == 0); in main()
27 std::streambuf* sb2 = ios.rdbuf(sb); in main()
29 assert(ios.rdbuf() == sb); in main()
31 sb2 = ios.rdbuf(0); in main()
33 assert(ios.rdbuf() == 0); in main()
/external/grpc-grpc/test/cpp/util/
Dgrpc_tool_test.cc441 std::streambuf* orig = std::cin.rdbuf(); in TEST_F()
443 std::cin.rdbuf(ss.rdbuf()); in TEST_F()
456 std::cin.rdbuf(orig); in TEST_F()
469 std::streambuf* orig = std::cin.rdbuf(); in TEST_F()
471 std::cin.rdbuf(ss.rdbuf()); in TEST_F()
482 std::cin.rdbuf(orig); in TEST_F()
496 std::streambuf* orig = std::cin.rdbuf(); in TEST_F()
498 std::cin.rdbuf(ss.rdbuf()); in TEST_F()
507 std::cin.rdbuf(orig); in TEST_F()
521 std::streambuf* orig = std::cin.rdbuf(); in TEST_F()
[all …]
/external/gptfdisk/fuzzer/
Dlibgptf_fuzzer.cc26 std::cout.rdbuf(silence.rdbuf()); in LLVMFuzzerInitialize()
27 std::cerr.rdbuf(silence.rdbuf()); in LLVMFuzzerInitialize()
/external/libcxx/test/std/input.output/string.streams/stringstream.cons/
Ddefault.pass.cpp24 assert(ss.rdbuf() != 0); in main()
30 assert(ss.rdbuf() != 0); in main()
36 assert(ss.rdbuf() != 0); in main()
42 assert(ss.rdbuf() != 0); in main()
/external/libcxx/test/std/input.output/string.streams/istringstream/istringstream.cons/
Ddefault.pass.cpp24 assert(ss.rdbuf() != 0); in main()
30 assert(ss.rdbuf() != 0); in main()
36 assert(ss.rdbuf() != 0); in main()
42 assert(ss.rdbuf() != 0); in main()
Dstring.pass.cpp25 assert(ss.rdbuf() != 0); in main()
36 assert(ss.rdbuf() != 0); in main()
47 assert(ss.rdbuf() != 0); in main()
58 assert(ss.rdbuf() != 0); in main()
/external/llvm-project/libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.cons/
Ddefault.pass.cpp25 assert(ss.rdbuf() != 0); in main()
31 assert(ss.rdbuf() != 0); in main()
37 assert(ss.rdbuf() != 0); in main()
43 assert(ss.rdbuf() != 0); in main()
Dstring.pass.cpp26 assert(ss.rdbuf() != 0); in main()
35 assert(ss.rdbuf() != 0); in main()
44 assert(ss.rdbuf() != 0); in main()
53 assert(ss.rdbuf() != 0); in main()
/external/llvm-project/libcxx/test/std/input.output/string.streams/stringstream.cons/
Ddefault.pass.cpp25 assert(ss.rdbuf() != 0); in main()
31 assert(ss.rdbuf() != 0); in main()
37 assert(ss.rdbuf() != 0); in main()
43 assert(ss.rdbuf() != 0); in main()
/external/libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.cons/
Ddefault.pass.cpp24 assert(ss.rdbuf() != 0); in main()
30 assert(ss.rdbuf() != 0); in main()
36 assert(ss.rdbuf() != 0); in main()
42 assert(ss.rdbuf() != 0); in main()
Dstring.pass.cpp25 assert(ss.rdbuf() != 0); in main()
34 assert(ss.rdbuf() != 0); in main()
43 assert(ss.rdbuf() != 0); in main()
52 assert(ss.rdbuf() != 0); in main()
/external/llvm-project/libcxx/test/std/input.output/string.streams/istringstream/istringstream.cons/
Ddefault.pass.cpp25 assert(ss.rdbuf() != 0); in main()
31 assert(ss.rdbuf() != 0); in main()
37 assert(ss.rdbuf() != 0); in main()
43 assert(ss.rdbuf() != 0); in main()
Dstring.pass.cpp26 assert(ss.rdbuf() != 0); in main()
37 assert(ss.rdbuf() != 0); in main()
48 assert(ss.rdbuf() != 0); in main()
59 assert(ss.rdbuf() != 0); in main()
/external/rust/crates/libz-sys/src/zlib/contrib/iostream/
Dzfstream.cpp255 ios( gzfilestream_common::rdbuf() ) in gzfilestream_common()
286 gzfilebuf *gzfilestream_common::rdbuf() in rdbuf() function in gzfilestream_common
292 ios( gzfilestream_common::rdbuf() ) in gzifstream()
298 ios( gzfilestream_common::rdbuf() ) in gzifstream()
304 ios( gzfilestream_common::rdbuf() ) in gzifstream()
312 ios( gzfilestream_common::rdbuf() ) in gzofstream()
318 ios( gzfilestream_common::rdbuf() ) in gzofstream()
324 ios( gzfilestream_common::rdbuf() ) in gzofstream()
/external/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/
Dstreambuf.pass.cpp28 std::istreambuf_iterator<char> i(inf.rdbuf()); in main()
33 std::istreambuf_iterator<char> i(inf.rdbuf()); in main()
42 std::istreambuf_iterator<wchar_t> i(inf.rdbuf()); in main()
47 std::istreambuf_iterator<wchar_t> i(inf.rdbuf()); in main()
/external/rust/crates/libz-sys/src/zlib/contrib/iostream3/
Dtest.cc28 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; in main()
32 outf.rdbuf()->pubsetbuf(0,0); in main()
41 inf.rdbuf()->pubsetbuf(0,0); in main()
44 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; in main()
/external/llvm-project/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/
Dstreambuf.pass.cpp29 std::istreambuf_iterator<char> i(inf.rdbuf()); in main()
34 std::istreambuf_iterator<char> i(inf.rdbuf()); in main()
43 std::istreambuf_iterator<wchar_t> i(inf.rdbuf()); in main()
48 std::istreambuf_iterator<wchar_t> i(inf.rdbuf()); in main()

1234567