/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()
|
D | overflow.pass.cpp | 45 test_buf f(bs.rdbuf()); in main() 56 test_buf f(bs.rdbuf()); in main() 62 test_buf f(bs.rdbuf()); in main() 74 test_buf f(bs.rdbuf()); in main() 80 test_buf f(bs.rdbuf()); in main()
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe01.c | 32 char rdbuf[128]; in verify_pipe() local 34 memset(rdbuf, 0, sizeof(rdbuf)); in verify_pipe() 44 rd_size = SAFE_READ(0, fds[0], rdbuf, sizeof(rdbuf)); in verify_pipe() 52 if ((strncmp(rdbuf, wrbuf, wr_size)) != 0) { in verify_pipe()
|
D | pipe02.c | 33 static char rdbuf[SIZE]; variable 76 memset(rdbuf, 0, SIZE); in verify_pipe() 78 SAFE_READ(1, fd[0], rdbuf, SIZE); in verify_pipe() 80 if (memcmp(wrbuf, rdbuf, SIZE) != 0) { in verify_pipe()
|
/external/u-boot/env/ |
D | eeprom.c | 89 uchar rdbuf[64], flags[2]; in env_eeprom_load() local 111 int n = (len > sizeof(rdbuf)) ? sizeof(rdbuf) : len; in env_eeprom_load() 114 rdbuf, n); in env_eeprom_load() 116 crc_tmp = crc32(crc_tmp, rdbuf, n); in env_eeprom_load() 148 uchar rdbuf[64]; in env_eeprom_load() local 161 int n = (len > sizeof(rdbuf)) ? sizeof(rdbuf) : len; in env_eeprom_load() 164 CONFIG_ENV_OFFSET + off, rdbuf, n); in env_eeprom_load() 165 new = crc32(new, rdbuf, n); in env_eeprom_load()
|
/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/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/zlib/src/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/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/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/zlib/src/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/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/libcxx/test/std/input.output/iostream.format/output.streams/ostream.cons/ |
D | move.pass.cpp | 48 assert(os1.rdbuf() == &sb); in main() 49 assert(os.rdbuf() == 0); in main() 62 assert(os1.rdbuf() == &sb); in main() 63 assert(os.rdbuf() == 0); in main()
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/ |
D | move.pass.cpp | 48 assert(is1.rdbuf() == &sb); in main() 51 assert(is.rdbuf() == 0); in main() 66 assert(is1.rdbuf() == &sb); in main() 67 assert(is.rdbuf() == 0); in main()
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream.cons/ |
D | move.pass.cpp | 46 assert(is1.rdbuf() == &sb); in main() 49 assert(is.rdbuf() == 0); in main() 64 assert(is1.rdbuf() == &sb); in main() 65 assert(is.rdbuf() == 0); in main()
|
/external/clang/test/CXX/class.derived/class.member.lookup/ |
D | p6.cpp | 36 struct BaseIO { BaseIO* rdbuf() { return 0; } }; in rdbuf() function 37 struct Pcommon : virtual BaseIO { int rdbuf() { return 0; } }; in rdbuf() function 40 void f() { P p; p.rdbuf(); } in f()
|
/external/libcxx/include/ |
D | istream | 537 typename _Traits::int_type __i = __is.rdbuf()->sgetc(); 547 __is.rdbuf()->sbumpc(); 636 typename _Traits::int_type __i = __is.rdbuf()->sbumpc(); 689 typename traits_type::int_type __i = this->rdbuf()->sgetc(); 700 this->rdbuf()->sbumpc(); 740 __r = this->rdbuf()->sbumpc(); 773 int_type __i = this->rdbuf()->sgetc(); 784 this->rdbuf()->sbumpc(); 827 typename traits_type::int_type __i = this->rdbuf()->sgetc(); 839 this->rdbuf()->sbumpc(); [all …]
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/ |
D | move_assign.pass.cpp | 50 assert(is1.rdbuf() == &sb1); in main() 58 assert(is2.rdbuf() == &sb2); in main() 73 assert(is1.rdbuf() == &sb1); in main() 81 assert(is2.rdbuf() == &sb2); in main()
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.assign/ |
D | member_swap.pass.cpp | 45 assert(os1.rdbuf() == &sb1); in main() 53 assert(os2.rdbuf() == &sb2); in main() 68 assert(os1.rdbuf() == &sb1); in main() 76 assert(os2.rdbuf() == &sb2); in main()
|
D | move_assign.pass.cpp | 50 assert(os1.rdbuf() == &sb1); in main() 58 assert(os2.rdbuf() == &sb2); in main() 73 assert(os1.rdbuf() == &sb1); in main() 81 assert(os2.rdbuf() == &sb2); in main()
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream.assign/ |
D | member_swap.pass.cpp | 45 assert(is1.rdbuf() == &sb1); in main() 53 assert(is2.rdbuf() == &sb2); in main() 68 assert(is1.rdbuf() == &sb1); in main() 76 assert(is2.rdbuf() == &sb2); in main()
|