Home
last modified time | relevance | path

Searched refs:_strbuf (Results 1 – 9 of 9) sorted by relevance

/haiku/src/libs/stdc++/legacy/
H A Diostream.cc75 _strbuf); in get()
76 int ch = _strbuf->sbumpc(); in get()
99 int ch = _strbuf->sgetc(); in peek()
128 _strbuf); in ignore()
129 register streambuf* sb = _strbuf; in ignore()
160 _strbuf); in read()
161 _gcount = _strbuf->sgetn(s, n); in read()
189 pos = _strbuf->pubseekpos(pos, ios::in); in seekg()
197 streampos pos = _IO_seekoff (_strbuf, off, (int) dir, _IOS_INPUT); in seekg()
206 streampos pos = _strbuf->pubseekoff(0, ios::cur, ios::in); in tellg()
[all …]
H A Disscan.cc33 _strbuf); in scan()
36 _strbuf->vscan(format, ap, this); in scan()
49 _strbuf); in vscan()
50 _strbuf->vscan(format, args, this); in vscan()
H A Dstdstreams.cc138 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 Dosform.cc33 _strbuf); in form()
48 _strbuf); in vform()
60 _strbuf); in operator <<()
H A Disgetline.cc41 _strbuf); in getline()
75 _strbuf); in get()
135 _strbuf); in gets()
H A Disgetsb.cc35 _strbuf); in get()
/haiku/headers/cpp/
H A Dstrstream.h96 _IO_ssize_t pcount() { return ((strstreambuf*)_strbuf)->pcount(); } in pcount()
97 char *str() { return ((strstreambuf*)_strbuf)->str(); } in str()
98 void freeze(int n = 1) { ((strstreambuf*)_strbuf)->freeze(n); }
99 int frozen() { return ((strstreambuf*)_strbuf)->frozen(); } in frozen()
106 _IO_ssize_t pcount() { return ((strstreambuf*)_strbuf)->pcount(); } in pcount()
107 char *str() { return ((strstreambuf*)_strbuf)->str(); } in str()
108 void freeze(int n = 1) { ((strstreambuf*)_strbuf)->freeze(n); }
109 int frozen() { return ((strstreambuf*)_strbuf)->frozen(); } in frozen()
H A Diostream.h53 else { if (_tie) _tie->flush(); _IO_flockfile(_strbuf); return 1;} } in opfx()
54 void osfx() { _IO_funlockfile(_strbuf); in osfx()
58 ostream& put(char c) { _strbuf->sputc(c); return *this; } in put()
118 streambuf* ostreambuf() const { return _strbuf; } in ostreambuf()
165 _IO_flockfile(_strbuf);
174 _IO_flockfile(_strbuf); in ipfx0()
183 _IO_flockfile(_strbuf); in ipfx1()
188 void isfx() { _IO_funlockfile(_strbuf); } in isfx()
190 else { int ch = _strbuf->sbumpc(); in get()
203 if (good() && _strbuf->sputbackc(ch) == EOF) clear(ios::badbit); in putback()
[all …]
H A Dstreambuf.h87 streambuf *_strbuf; member
211 _state = _strbuf ? state : state|badbit;
229 streambuf* rdbuf() const { return _strbuf; } in rdbuf()
231 streambuf *_old = _strbuf; _strbuf = _s; clear (); return _old; } in rdbuf()
471 _strbuf=sb; _tie = tie_to; _width=0; _fill=' '; in init()