Searched defs:sb (Results 1 - 25 of 447) sorted by relevance

1234567891011>>

/external/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/
H A Dfreeze.pass.cpp22 std::strstreambuf sb; local
23 sb.freeze(true);
24 assert(sb.sputc('a') == EOF);
25 sb.freeze(false);
26 assert(sb.sputc('a') == 'a');
H A Dpcount.pass.cpp22 std::strstreambuf sb; local
23 assert(sb.pcount() == 0);
24 assert(sb.sputc('a') == 'a');
25 assert(sb.pcount() == 1);
26 assert(sb.sputc(0) == 0);
27 assert(sb.pcount() == 2);
28 assert(sb.str() == std::string("a"));
29 assert(sb.pcount() == 2);
H A Dstr.pass.cpp22 std::strstreambuf sb; local
23 assert(sb.sputc('a') == 'a');
24 assert(sb.sputc(0) == 0);
25 assert(sb.str() == std::string("a"));
/external/libcxx/test/input.output/iostreams.base/ios/basic.ios.cons/
H A Dctor_streambuf.pass.cpp14 // explicit basic_ios(basic_streambuf<charT,traits>* sb);
23 std::streambuf* sb = 0; local
24 std::basic_ios<char> ios(sb);
25 assert(ios.rdbuf() == sb);
36 std::streambuf* sb = (std::streambuf*)1; local
37 std::basic_ios<char> ios(sb);
38 assert(ios.rdbuf() == sb);
/external/libcxx/test/input.output/iostreams.base/ios/basic.ios.members/
H A Drdbuf.pass.cpp27 std::streambuf* sb = (std::streambuf*)1; local
28 const std::ios ios(sb);
29 assert(ios.rdbuf() == sb);
H A Drdbuf_streambuf.pass.cpp14 // basic_streambuf<charT,traits>* rdbuf(basic_streambuf<charT,traits>* sb);
25 std::streambuf* sb = (std::streambuf*)1; local
26 std::streambuf* sb2 = ios.rdbuf(sb);
28 assert(ios.rdbuf() == sb);
/external/libcxx/test/input.output/stream.buffers/streambuf/streambuf.cons/
H A Dcopy.fail.cpp24 std::streambuf sb = get(); local
H A Ddefault.fail.cpp21 std::basic_streambuf<char> sb; local
/external/libcxx/test/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/
H A Drdbuf.pass.cpp24 std::strstreambuf* sb = in.rdbuf(); local
25 assert(sb->sgetc() == '1');
/external/libcxx/test/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/
H A Drdbuf.pass.cpp24 std::strstreambuf* sb = out.rdbuf(); local
25 assert(sb->sputc('a') == 'a');
/external/libcxx/test/depr/depr.str.strstreams/depr.strstream/depr.strstream.dest/
H A Drdbuf.pass.cpp24 std::strstreambuf* sb = out.rdbuf(); local
25 assert(sb->sputc('a') == 'a');
/external/libcxx/test/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/
H A Dstreambuf.pass.cpp15 // explicit basic_iostream(basic_streambuf<charT,traits>* sb);
30 testbuf<char> sb; local
31 std::basic_iostream<char> is(&sb);
32 assert(is.rdbuf() == &sb);
43 testbuf<wchar_t> sb; local
44 std::basic_iostream<wchar_t> is(&sb);
45 assert(is.rdbuf() == &sb);
/external/libcxx/test/input.output/iostream.format/input.streams/istream/istream.cons/
H A Dstreambuf.pass.cpp15 // explicit basic_istream(basic_streambuf<charT,traits>* sb);
30 testbuf<char> sb; local
31 std::basic_istream<char> is(&sb);
32 assert(is.rdbuf() == &sb);
43 testbuf<wchar_t> sb; local
44 std::basic_istream<wchar_t> is(&sb);
45 assert(is.rdbuf() == &sb);
/external/libcxx/test/input.output/iostream.format/output.streams/ostream.cons/
H A Dstreambuf.pass.cpp15 // explicit basic_ostream(basic_streambuf<charT,traits>* sb);
30 testbuf<char> sb; local
31 std::basic_ostream<char> os(&sb);
32 assert(os.rdbuf() == &sb);
42 testbuf<wchar_t> sb; local
43 std::basic_ostream<wchar_t> os(&sb);
44 assert(os.rdbuf() == &sb);
/external/libcxx/test/input.output/iostream.format/std.manip/
H A Dresetiosflags.pass.cpp27 testbuf<char> sb; local
28 std::istream is(&sb);
34 testbuf<char> sb; local
35 std::ostream os(&sb);
41 testbuf<wchar_t> sb; local
42 std::wistream is(&sb);
48 testbuf<wchar_t> sb; local
49 std::wostream os(&sb);
H A Dsetbase.pass.cpp27 testbuf<char> sb; local
28 std::istream is(&sb);
39 testbuf<char> sb; local
40 std::ostream os(&sb);
51 testbuf<wchar_t> sb; local
52 std::wistream is(&sb);
63 testbuf<wchar_t> sb; local
64 std::wostream os(&sb);
H A Dsetfill.pass.cpp27 testbuf<char> sb; local
28 std::ostream os(&sb);
33 testbuf<wchar_t> sb; local
34 std::wostream os(&sb);
H A Dsetiosflags.pass.cpp27 testbuf<char> sb; local
28 std::istream is(&sb);
34 testbuf<char> sb; local
35 std::ostream os(&sb);
41 testbuf<wchar_t> sb; local
42 std::wistream is(&sb);
48 testbuf<wchar_t> sb; local
49 std::wostream os(&sb);
H A Dsetprecision.pass.cpp27 testbuf<char> sb; local
28 std::istream is(&sb);
33 testbuf<char> sb; local
34 std::ostream os(&sb);
39 testbuf<wchar_t> sb; local
40 std::wistream is(&sb);
45 testbuf<wchar_t> sb; local
46 std::wostream os(&sb);
H A Dsetw.pass.cpp27 testbuf<char> sb; local
28 std::istream is(&sb);
33 testbuf<char> sb; local
34 std::ostream os(&sb);
39 testbuf<wchar_t> sb; local
40 std::wistream is(&sb);
45 testbuf<wchar_t> sb; local
46 std::wostream os(&sb);
/external/libcxx/test/input.output/iostreams.base/ios/iostate.flags/
H A Dbad.pass.cpp31 testbuf sb; local
32 std::ios ios(&sb);
H A Dclear.pass.cpp55 testbuf sb; local
56 std::ios ios(&sb);
H A Deof.pass.cpp31 testbuf sb; local
32 std::ios ios(&sb);
H A Dexceptions.pass.cpp29 testbuf sb; local
30 const std::ios ios(&sb);
H A Dexceptions_iostate.pass.cpp40 testbuf sb; local
41 std::ios ios(&sb);

Completed in 234 milliseconds

1234567891011>>