Home
last modified time | relevance | path

Searched refs:streambuf (Results 1 – 25 of 27) sorted by relevance

12

/haiku/src/libs/stdc++/legacy/
H A Dstreambuf.cc39 void streambuf::_un_link() { _IO_un_link(reinterpret_cast<_IO_FILE_plus*>(this)); } in _un_link()
41 void streambuf::_link_in() { _IO_link_in(reinterpret_cast<_IO_FILE_plus*>(this)); } in _link_in()
43 int streambuf::switch_to_get_mode() in switch_to_get_mode()
46 void streambuf::free_backup_area() in free_backup_area()
50 int streambuf::switch_to_put_mode()
54 int __overflow(streambuf* sb, int c) in __overflow()
59 int streambuf::underflow() in underflow()
62 int streambuf::uflow() in uflow()
65 int streambuf::overflow(int /* = EOF */) in overflow()
68 streamsize streambuf::xsputn(register const char* s, streamsize n) in xsputn()
[all …]
H A Dindstream.cc33 indirectbuf::indirectbuf(streambuf *get, streambuf *put, int delete_mode) in indirectbuf()
34 : streambuf() in indirectbuf()
79 streambuf *gbuf = (select & ios::in) ? get_stream() : (streambuf*)NULL; in seekoff()
80 streambuf *pbuf = (select & ios::out) ? put_stream() : (streambuf*)NULL; in seekoff()
96 streambuf *gbuf = (select & ios::in) ? get_stream() : (streambuf*)NULL; in seekpos()
97 streambuf *pbuf = (select & ios::out) ? put_stream() : (streambuf*)NULL; in seekpos()
111 streambuf *gbuf = get_stream(); in sync()
113 streambuf *pbuf = put_stream(); in sync()
H A Dstdstreams.cc96 (streambuf*)&SBUF, TIE, 0, ios::skipws|ios::dec|EXTRA_FLAGS, ' ',0,0,6
99 (streambuf*)&SBUF, TIE, 0, ios::dont_close|ios::dec|ios::skipws|EXTRA_FLAGS, ' ',0,0,6
138 cin.base._strbuf = (streambuf*)&_IO_stdin_buf; in sync_with_stdio()
139 cout.base._strbuf = (streambuf*)&_IO_stdout_buf; in sync_with_stdio()
140 cerr.base._strbuf = (streambuf*)&_IO_stderr_buf; in sync_with_stdio()
141 clog.base._strbuf = (streambuf*)&_IO_stderr_buf; in sync_with_stdio()
143 cin.base._strbuf = (streambuf*)_IO_stdin; in sync_with_stdio()
144 cout.base._strbuf = (streambuf*)_IO_stdout; in sync_with_stdio()
145 cerr.base._strbuf = (streambuf*)_IO_stderr; in sync_with_stdio()
146 clog.base._strbuf = (streambuf*)_IO_stderr; in sync_with_stdio()
H A Dsbform.cc29 int streambuf::vform(char const *fmt0, _IO_va_list ap) in vform()
33 int streambuf::form(char const *format ...) in form()
H A Disgetline.cc42 streambuf *sb = rdbuf(); in getline()
76 streambuf *sbuf = rdbuf(); in get()
97 char *_sb_readline (streambuf *sb, long& total, char terminator) in _sb_readline()
137 streambuf *sb = rdbuf(); in gets()
H A Dsbscan.cc30 int streambuf::vscan(char const *fmt0, _IO_va_list ap, ios* stream /* = NULL*/) in vscan()
38 int streambuf::scan(char const *format ...) in scan()
H A Disgetsb.cc29 istream& istream::get(streambuf& sb, char delim /* = '\n' */) in get()
36 register streambuf* isb = rdbuf(); in get()
H A Diostream.cc55 istream::istream(streambuf *sb, ostream* tied) in istream()
61 int skip_ws(streambuf* sb) in skip_ws()
129 register streambuf* sb = _strbuf; in ignore()
175 streambuf *sb = rdbuf (); in sync()
240 register streambuf* sb = _strbuf; in operator >>()
279 register streambuf* sb = stream.rdbuf(); in read_int()
384 streambuf *_strbuf = istr->_strbuf; in READ_INT()
440 istream& istream::operator>>(register streambuf* sbuf) in operator >>()
445 register streambuf* inbuf = rdbuf(); in operator >>()
480 register streambuf *sb = _strbuf; in operator <<()
[all …]
H A Dbuiltinbuf.cc48 streambuf* builtinbuf::setbuf(char *buf, int n) in setbuf()
49 { return (streambuf*)_IO_SETBUF (this, buf, n); } in setbuf()
H A Dfilebuf.cc154 streambuf* filebuf::setbuf(char* p, int len) in setbuf()
156 return (streambuf*)_IO_file_setbuf (this, p, len); in setbuf()
219 return streambuf::xsgetn(s, n); in xsgetn()
H A Dsbgetline.cc28 long streambuf::sgetline(char* buf, _IO_size_t n, char delim, int extract_delim) in sgetline()
H A Dparsestream.cc34 streambuf* parsebuf::setbuf(char*, int) in setbuf()
134 general_parsebuf::general_parsebuf(streambuf *buf, int delete_arg_buf) in general_parsebuf()
157 register streambuf *sb = sbuf; in underflow()
H A Dstdiostream.cc137 return streambuf::xsputn(s, n); in xsputn()
H A DJamfile143 streambuf.cc
194 streambuf.o
/haiku/headers/cpp/
H A Dindstream.h52 class indirectbuf : public streambuf {
54 streambuf *_get_stream; // Optional cache for get_stream().
55 streambuf *_put_stream; // Optional cache for put_stream().
58 streambuf *get_stream() in get_stream()
60 streambuf *put_stream() in put_stream()
62 virtual streambuf *lookup_stream(int/*mode*/) { return NULL; } // ERROR! in lookup_stream()
63 indirectbuf(streambuf *get=NULL, streambuf *put=NULL, int delete_mode=0);
H A Dstreambuf.h67 class ostream; class streambuf; variable
87 streambuf *_strbuf;
229 streambuf* rdbuf() const { return _strbuf; } in rdbuf()
230 streambuf* rdbuf(streambuf *_s) { in rdbuf()
231 streambuf *_old = _strbuf; _strbuf = _s; clear (); return _old; } in rdbuf()
257 inline ios(streambuf* sb = 0, ostream* tie_to = 0);
259 inline void init(streambuf* sb, ostream* tie = 0);
277 friend class streambuf; variable
280 streammarker(streambuf *sb);
287 struct streambuf : public _IO_FILE { // protected?? struct
[all …]
H A Dparsestream.h43 class parsebuf : public streambuf {
74 virtual streambuf* setbuf(char* p, int len);
131 streambuf *sbuf;
133 general_parsebuf(streambuf *buf, int delete_arg_buf = 0);
H A Diostream.h50 ostream(streambuf* sb, ostream* tied=NULL);
116 ostream& operator<<(streambuf*);
118 streambuf* ostreambuf() const { return _strbuf; } in ostreambuf()
131 istream(streambuf* sb, ostream*tied=NULL);
160 istream& get(streambuf& sb, char delim = '\n');
213 streambuf* istreambuf() const { return _strbuf; } in istreambuf()
240 istream& operator>>(streambuf*);
247 iostream(streambuf* sb, ostream*tied=NULL);
H A Dbuiltinbuf.h39 class builtinbuf : public streambuf {
45 virtual streambuf* setbuf(char*, int);
H A Diosfwd7 class streambuf;
H A Dsstream32 #include <streambuf.h>
37 class stringbuf : public streambuf
47 : streambuf(), mode(static_cast<ios::open_mode>(which)),
55 : streambuf(), mode(static_cast<ios::open_mode>(which)),
126 virtual streambuf*
H A Dstrstream.h36 class strstreambuf : public streambuf
H A Deditbuf.h78 struct edit_streambuf : public streambuf {
/haiku/src/add-ons/print/transports/shared/
H A DSocketStream.h11 class socketstreambuf : public streambuf {
H A DSocketStream.cpp21 : streambuf(), __sock(sock), __alsize(n), __pu(NULL), __po(NULL) in socketstreambuf()

12