Home
last modified time | relevance | path

Searched refs:_M_string (Results 1 – 11 of 11) sorted by relevance

/freebsd-9-stable/contrib/libstdc++/include/bits/
Dstream_iterator.h165 const _CharT* _M_string; variable
169 ostream_iterator(ostream_type& __s) : _M_stream(&__s), _M_string(0) {} in ostream_iterator()
182 : _M_stream(&__s), _M_string(__c) { } in ostream_iterator()
186 : _M_stream(__obj._M_stream), _M_string(__obj._M_string) { } in ostream_iterator()
197 if (_M_string) *_M_stream << _M_string;
Dsstream.tcc96 const __size_type __capacity = _M_string.capacity(); in overflow()
97 const __size_type __max_size = _M_string.max_size(); in overflow()
124 _M_string.swap(__tmp); in overflow()
125 _M_sync(const_cast<char_type*>(_M_string.data()), in overflow()
235 char_type* __endg = __base + _M_string.size(); in _M_sync()
236 char_type* __endp = __base + _M_string.capacity(); in _M_sync()
238 if (__base != _M_string.data()) in _M_sync()
/freebsd-9-stable/contrib/libstdc++/include/std/
Dstd_sstream.h88 __string_type _M_string; in _GLIBCXX_BEGIN_NAMESPACE() local
101 : __streambuf_type(), _M_mode(__mode), _M_string() in _GLIBCXX_BEGIN_NAMESPACE()
115 : __streambuf_type(), _M_mode(), _M_string(__str.data(), __str.size()) in _GLIBCXX_BEGIN_NAMESPACE()
140 __ret = _M_string; in _GLIBCXX_BEGIN_NAMESPACE()
155 _M_string.assign(__s.data(), __s.size()); in _GLIBCXX_BEGIN_NAMESPACE()
167 __len = _M_string.size(); in _GLIBCXX_BEGIN_NAMESPACE()
168 _M_sync(const_cast<char_type*>(_M_string.data()), 0, __len); in _GLIBCXX_BEGIN_NAMESPACE()
214 _M_string.clear(); in _GLIBCXX_BEGIN_NAMESPACE()
/freebsd-9-stable/contrib/libstdc++/include/debug/
Dmacros.h172 ._M_string(#_Pred))
183 ._M_string(#_Value))
194 ._M_string(#_Pred) \
195 ._M_string(#_Value))
213 ._M_string(#_Pred))
Dformatter.h192 } _M_string;
207 _M_variant._M_string._M_name = __name;
208 _M_variant._M_string._M_value = __value;
331 _M_string(const char* __value, const char* __name = 0) const
/freebsd-9-stable/contrib/libstdc++/src/
Ddebug.cc378 assert(_M_variant._M_string._M_name); in _M_print_field()
379 __formatter->_M_print_word(_M_variant._M_string._M_name); in _M_print_field()
651 _M_print_string(_M_parameters[__param]._M_variant._M_string._M_value); in _M_print_string()
/freebsd-9-stable/contrib/libstdc++/
DChangeLog-20041619 setbuf, don't trust _M_string.capacity() to be the size of
1620 the buffer area, use _M_string.size() in this case.
1625 unnecessarily when the current _M_string is empty.
1768 for an empty buffer use __beg instead of _M_string.capacity().
2788 * include/bits/sstream.tcc (overflow): When reallocating _M_string
DChangeLog-20035445 str(), then _M_string.reserve, thus copying the contents
5485 _M_string buffer.
7404 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
7405 (seekpos): Use _M_string.capacity(); tweak.
7414 which have the information readily available as _M_string.capacity();
DChangeLog-19991447 _M_buf_size to initial _M_string.size(), even though for
DChangeLog-20012530 Initialize _M_string with pointer-and-size constructor, not just
DChangeLog-20064657 clear the internal _M_string, adjust _M_sync call.