Home
last modified time | relevance | path

Searched refs:sputc (Results 1 – 25 of 32) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.virtuals/
Doverflow.pass.cpp42 assert(sb.sputc('1') == '1'); in main()
44 assert(sb.sputc('2') == '2'); in main()
46 assert(sb.sputc('3') == '3'); in main()
48 assert(sb.sputc('4') == '4'); in main()
50 assert(sb.sputc('5') == '5'); in main()
52 assert(sb.sputc('6') == '6'); in main()
54 assert(sb.sputc('7') == '7'); in main()
56 assert(sb.sputc('8') == '8'); in main()
58 assert(sb.sputc('9') == '9'); in main()
60 assert(sb.sputc('0') == '0'); in main()
[all …]
Dseekoff.pass.cpp47 assert(sb.sputc('a') == 'a'); in main()
50 assert(sb.sputc('b') == 'b'); in main()
53 assert(sb.sputc('c') == 'c'); in main()
66 assert(sb.sputc('a') == 'a'); in main()
71 assert(sb.sputc('c') == 'c'); in main()
74 assert(sb.sputc('3') == '3'); in main()
77 assert(sb.sputc('7') == '7'); in main()
80 assert(sb.sputc('c') == 'c'); in main()
107 assert(sb.sputc(L'a') == L'a'); in main()
110 assert(sb.sputc(L'b') == L'b'); in main()
[all …]
Dseekpos.pass.cpp35 assert(sb.sputc('a') == 'a'); in main()
44 assert(sb.sputc('a') == 'a'); in main()
47 assert(sb.sputc('3') == '3'); in main()
62 assert(sb.sputc(L'a') == L'a'); in main()
71 assert(sb.sputc(L'a') == L'a'); in main()
74 assert(sb.sputc(L'3') == L'3'); in main()
Dunderflow.pass.cpp48 sb.sputc('4'); in main()
66 sb.sputc(L'4'); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/
Dcp_size_cp.pass.cpp44 assert(sb.sputc('e') == 'e'); in main()
45 assert(sb.sputc('f') == 'f'); in main()
46 assert(sb.sputc('g') == 'g'); in main()
47 assert(sb.sputc('h') == 'h'); in main()
48 assert(sb.sputc('i') == 'i'); in main()
49 assert(sb.sputc('j') == EOF); in main()
61 assert(sb.sputc('e') == 'e'); in main()
62 assert(sb.sputc('f') == 'f'); in main()
63 assert(sb.sputc('g') == 'g'); in main()
64 assert(sb.sputc('h') == 'h'); in main()
[all …]
Dscp_size_scp.pass.cpp44 assert(sb.sputc('e') == 'e'); in main()
45 assert(sb.sputc('f') == 'f'); in main()
46 assert(sb.sputc('g') == 'g'); in main()
47 assert(sb.sputc('h') == 'h'); in main()
48 assert(sb.sputc('i') == 'i'); in main()
49 assert(sb.sputc('j') == EOF); in main()
61 assert(sb.sputc('e') == 'e'); in main()
62 assert(sb.sputc('f') == 'f'); in main()
63 assert(sb.sputc('g') == 'g'); in main()
64 assert(sb.sputc('h') == 'h'); in main()
[all …]
Ducp_size_ucp.pass.cpp44 assert(sb.sputc('e') == 'e'); in main()
45 assert(sb.sputc('f') == 'f'); in main()
46 assert(sb.sputc('g') == 'g'); in main()
47 assert(sb.sputc('h') == 'h'); in main()
48 assert(sb.sputc('i') == 'i'); in main()
49 assert(sb.sputc('j') == EOF); in main()
61 assert(sb.sputc('e') == 'e'); in main()
62 assert(sb.sputc('f') == 'f'); in main()
63 assert(sb.sputc('g') == 'g'); in main()
64 assert(sb.sputc('h') == 'h'); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/
Doverflow.pass.cpp24 assert(sb.sputc('1') == '1'); in main()
26 assert(sb.sputc('2') == '2'); in main()
28 assert(sb.sputc('3') == '3'); in main()
30 assert(sb.sputc('4') == '4'); in main()
32 assert(sb.sputc('5') == '5'); in main()
34 assert(sb.sputc('6') == '6'); in main()
36 assert(sb.sputc('7') == '7'); in main()
38 assert(sb.sputc('8') == '8'); in main()
40 assert(sb.sputc('9') == '9'); in main()
42 assert(sb.sputc('0') == '0'); in main()
[all …]
Dseekoff.pass.cpp48 assert(sb.sputc('a') == 'a'); in main()
51 assert(sb.sputc('b') == 'b'); in main()
54 assert(sb.sputc('c') == 'c'); in main()
Dseekpos.pass.cpp36 assert(sb.sputc('a') == 'a'); in main()
Dunderflow.pass.cpp47 sb.sputc('4'); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.put/
Dsputc.pass.cpp51 assert(t.sputc('A') == 'a'); in main()
55 assert(t.sputc('A') == 'A'); in main()
58 assert(t.sputc('B') == 'B'); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.members/
Dstr.pass.cpp23 assert(sb.sputc('a') == 'a'); in main()
24 assert(sb.sputc(0) == 0); in main()
Dfreeze.pass.cpp24 assert(sb.sputc('a') == EOF); in main()
26 assert(sb.sputc('a') == 'a'); in main()
Dpcount.pass.cpp24 assert(sb.sputc('a') == 'a'); in main()
26 assert(sb.sputc(0) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream.members/
Drdbuf.pass.cpp27 assert(fb->sputc('r') == 'r'); in main()
33 assert(fb->sputc(L'r') == L'r'); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/
Doverflow.pass.cpp81 assert(f.sputc(0x4E51) == 0x4E51); in main()
82 assert(f.sputc(0x4E52) == 0x4E52); in main()
83 assert(f.sputc(0x4E53) == 0x4E53); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/
Doverflow.pass.cpp29 assert(t.sputc('A') == -1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.strstream/depr.strstream.dest/
Drdbuf.pass.cpp25 assert(sb->sputc('a') == 'a'); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/
Drdbuf.pass.cpp25 assert(sb->sputc('a') == 'a'); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/
Doverflow.pass.cpp125 assert(f.sputc(0x4E51) == 0x4E51); in main()
126 assert(f.sputc(0x4E52) == 0x4E52); in main()
127 assert(f.sputc(0x4E53) == 0x4E53); in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_ostream.c169 if (this->_S_eof(__to->sputc(_Traits::to_char_type(__c)))) in _M_copy_unbuffered()
308 __failed = this->_S_eof(this->rdbuf()->sputc(__c)); in _M_put_char()
310 __failed = this->_S_eof(this->rdbuf()->sputc(__c)); in _M_put_char()
316 __failed = __failed || this->_S_eof(this->rdbuf()->sputc(__c)); in _M_put_char()
400 if (this->_S_eof(__buf->sputc(this->widen(*__s++)))) in _M_put_widen_aux()
414 __failed = this->_S_eof(this->rdbuf()->sputc(__c)); in put()
D_ostreambuf_iterator.h62 _M_ok = _M_ok && !traits_type::eq_int_type(_M_buf->sputc(__c),
D_string_io.c21 if (_Traits::eq_int_type(__buf->sputc(__f), _Traits::eof())) in __stlp_string_fill()
D_streambuf.h198 int_type sputc(char_type __c) { in sputc() function

12