Home
last modified time | relevance | path

Searched refs:_M_buf (Results 1 – 14 of 14) sorted by relevance

/openbsd/src/gnu/gcc/libstdc++-v3/src/
Dstrstream.cc338 : basic_ios<char>(), basic_istream<char>(0), _M_buf(s, 0) in istrstream()
339 { basic_ios<char>::init(&_M_buf); } in istrstream()
342 : basic_ios<char>(), basic_istream<char>(0), _M_buf(s, 0) in istrstream()
343 { basic_ios<char>::init(&_M_buf); } in istrstream()
346 : basic_ios<char>(), basic_istream<char>(0), _M_buf(s, n) in istrstream()
347 { basic_ios<char>::init(&_M_buf); } in istrstream()
350 : basic_ios<char>(), basic_istream<char>(0), _M_buf(s, n) in istrstream()
351 { basic_ios<char>::init(&_M_buf); } in istrstream()
357 { return const_cast<strstreambuf*>(&_M_buf); } in rdbuf()
361 { return _M_buf.str(); } in str()
[all …]
/openbsd/src/gnu/lib/libstdc++/libstdc++/src/
Dstrstream.cc338 : basic_ios<char>(), basic_istream<char>(0), _M_buf(s, 0) in istrstream()
339 { basic_ios<char>::init(&_M_buf); } in istrstream()
342 : basic_ios<char>(), basic_istream<char>(0), _M_buf(s, 0) in istrstream()
343 { basic_ios<char>::init(&_M_buf); } in istrstream()
346 : basic_ios<char>(), basic_istream<char>(0), _M_buf(s, n) in istrstream()
347 { basic_ios<char>::init(&_M_buf); } in istrstream()
350 : basic_ios<char>(), basic_istream<char>(0), _M_buf(s, n) in istrstream()
351 { basic_ios<char>::init(&_M_buf); } in istrstream()
357 { return const_cast<strstreambuf*>(&_M_buf); } in rdbuf()
361 { return _M_buf.str(); } in str()
[all …]
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/std/
Dstd_fstream.h395 this->setg(_M_buf, _M_buf, _M_buf); in _M_set_indeterminate()
397 this->setp(_M_buf, _M_buf); in _M_set_indeterminate()
398 _M_filepos = _M_buf; in _M_set_indeterminate()
412 this->setg(_M_buf, _M_buf, _M_buf + __off); in _M_set_determinate()
414 this->setp(_M_buf, _M_buf + __off); in _M_set_determinate()
415 _M_filepos = _M_buf + __off; in _M_set_determinate()
428 if (_M_buf) in _M_is_indeterminate()
Dstd_streambuf.h171 char_type* _M_buf;
291 size_t __save_len = _M_pback_end_save - _M_buf; in _M_pback_destroy()
295 this->setg(_M_buf, _M_pback_cur_save + __off_cur, in _M_pback_destroy()
349 if (_M_out_beg == _M_buf) in _M_out_buf_size()
578 : _M_buf(NULL), _M_buf_size(0), _M_buf_size_opt(BUFSIZ), in basic_streambuf()
Dstd_sstream.h265 _M_buf = __base; in _M_really_sync()
/openbsd/src/gnu/gcc/libstdc++-v3/include/std/
Dstd_fstream.h119 char_type* _M_buf; in _GLIBCXX_BEGIN_NAMESPACE() local
221 this->setg(_M_buf, _M_pback_cur_save, _M_pback_end_save); in _GLIBCXX_BEGIN_NAMESPACE()
403 this->setg(_M_buf, _M_buf, _M_buf + __off); in _GLIBCXX_BEGIN_NAMESPACE()
405 this->setg(_M_buf, _M_buf, _M_buf); in _GLIBCXX_BEGIN_NAMESPACE()
408 this->setp(_M_buf, _M_buf + _M_buf_size - 1); in _GLIBCXX_BEGIN_NAMESPACE()
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Dfstream.tcc47 if (!_M_buf && _M_buf_size_opt) in _M_allocate_internal_buffer()
52 _M_buf = new char_type[_M_buf_size]; in _M_allocate_internal_buffer()
65 delete [] _M_buf; in _M_destroy_internal_buffer()
66 _M_buf = NULL; in _M_destroy_internal_buffer()
256 bool __testput = _M_out_cur && _M_out_cur < _M_buf + _M_buf_size; in overflow()
419 _M_buf = __s; in setbuf()
Dsstream.tcc85 bool __testwrite = _M_out_cur < _M_buf + _M_buf_size; in overflow()
132 char_type* __beg = _M_buf; in seekoff()
209 __end = _M_buf + _M_buf_size; in seekpos()
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/ext/
Dstdio_filebuf.h130 _M_buf = _M_unbuf; in stdio_filebuf()
155 _M_buf = _M_unbuf; in stdio_filebuf()
/openbsd/src/gnu/gcc/libstdc++-v3/include/bits/
Dfstream.tcc54 if (!_M_buf_allocated && !_M_buf) in _GLIBCXX_BEGIN_NAMESPACE()
56 _M_buf = new char_type[_M_buf_size]; in _GLIBCXX_BEGIN_NAMESPACE()
68 delete [] _M_buf; in _M_destroy_internal_buffer()
69 _M_buf = NULL; in _M_destroy_internal_buffer()
83 _M_state_last(), _M_buf(NULL), _M_buf_size(BUFSIZ), in basic_filebuf()
656 _M_buf = __s; in setbuf()
/openbsd/src/gnu/gcc/libstdc++-v3/include/backward/
Dstrstream137 strstreambuf _M_buf;
154 strstreambuf _M_buf;
176 strstreambuf _M_buf;
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/backward/
Dstrstream132 strstreambuf _M_buf;
149 strstreambuf _M_buf;
171 strstreambuf _M_buf;
/openbsd/src/gnu/lib/libstdc++/libstdc++/
DChangeLog-20005813 input buffer, set _M_buf to offset.
6195 Add comments "all about _M_buf."
6226 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
6227 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
7203 fuck it, move data members _M_buf, and _M_buf_size into
9062 resets pointers in the internal cache according to new _M_buf. . dooh!
9094 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
DChangeLog3724 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
4106 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,