/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ |
D | ctor.pass.cpp | 34 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()
|
D | rdbuf.pass.cpp | 27 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/ |
D | ctor.pass.cpp | 34 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()
|
D | rdbuf.pass.cpp | 28 assert(b.rdbuf() == nullptr); in main() 29 b.rdbuf(s.rdbuf()); in main() 30 assert(b.rdbuf() == s.rdbuf()); in main()
|
D | overflow.pass.cpp | 46 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/ |
D | pipe01.c | 20 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()
|
D | pipe02.c | 21 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/ |
D | rdbuf_streambuf.pass.cpp | 23 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/ |
D | rdbuf_streambuf.pass.cpp | 24 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/ |
D | grpc_tool_test.cc | 441 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/ |
D | libgptf_fuzzer.cc | 26 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/ |
D | default.pass.cpp | 24 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/ |
D | default.pass.cpp | 24 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()
|
D | string.pass.cpp | 25 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/ |
D | default.pass.cpp | 25 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()
|
D | string.pass.cpp | 26 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/ |
D | default.pass.cpp | 25 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/ |
D | default.pass.cpp | 24 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()
|
D | string.pass.cpp | 25 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/ |
D | default.pass.cpp | 25 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()
|
D | string.pass.cpp | 26 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/ |
D | zfstream.cpp | 255 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/ |
D | streambuf.pass.cpp | 28 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/ |
D | test.cc | 28 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/ |
D | streambuf.pass.cpp | 29 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()
|