Home | History | Annotate | Download | only in ext

Lines Matching refs:_CharT

82  template<typename _CharT, typename _Traits, typename _Alloc>
84 : protected __vstring_utility<_CharT, _Traits, _Alloc>
91 typedef __vstring_utility<_CharT, _Traits, _Alloc> _Util_Base;
101 // Allocated memory is always (_M_capacity + 1) * sizeof(_CharT).
121 _CharT _M_align;
126 _CharT*
128 { return reinterpret_cast<_CharT*>(this + 1); }
130 _CharT*
144 traits_type::assign(_M_refdata()[__n], _CharT());
154 _CharT*
161 _CharT _M_terminal;
171 // with a terminating character and m _CharT elements, it'd
173 // npos = sizeof(_Rep) + (m * sizeof(_CharT)) + sizeof(_CharT)
177 // m = ((npos - 2 * sizeof(_Rep) + 1) / sizeof(_CharT)) - 1
180 + 1) / sizeof(_CharT)) - 1) / 2 };
186 _M_data(_CharT* __p)
193 _CharT*
229 static _CharT*
240 static _CharT*
246 static _CharT*
247 _S_construct_aux_2(size_type __req, _CharT __c, const _Alloc& __a)
251 static _CharT*
260 static _CharT*
265 // string::iterator, _CharT*, etc.
267 static _CharT*
271 static _CharT*
272 _S_construct(size_type __req, _CharT __c, const _Alloc& __a);
279 _CharT*
323 __rc_string_base(size_type __n, _CharT __c, const _Alloc& __a);
350 _M_mutate(size_type __pos, size_type __len1, const _CharT* __s,
365 template<typename _CharT, typename _Traits, typename _Alloc>
366 typename __rc_string_base<_CharT, _Traits, _Alloc>::_Rep_empty
367 __rc_string_base<_CharT, _Traits, _Alloc>::_S_empty_rep;
369 template<typename _CharT, typename _Traits, typename _Alloc>
370 typename __rc_string_base<_CharT, _Traits, _Alloc>::_Rep*
371 __rc_string_base<_CharT, _Traits, _Alloc>::_Rep::
422 size_type __size = ((__capacity + 1) * sizeof(_CharT)
429 __capacity += __extra / sizeof(_CharT);
432 __size = (__capacity + 1) * sizeof(_CharT) + 2 * sizeof(_Rep) - 1;
443 template<typename _CharT, typename _Traits, typename _Alloc>
445 __rc_string_base<_CharT, _Traits, _Alloc>::_Rep::
448 const size_type __size = ((_M_info._M_capacity + 1) * sizeof(_CharT)
453 template<typename _CharT, typename _Traits, typename _Alloc>
454 _CharT*
455 __rc_string_base<_CharT, _Traits, _Alloc>::_Rep::
470 template<typename _CharT, typename _Traits, typename _Alloc>
471 __rc_string_base<_CharT, _Traits, _Alloc>::
473 : _M_dataplus(__a, _S_construct(size_type(), _CharT(), __a)) { }
475 template<typename _CharT, typename _Traits, typename _Alloc>
476 __rc_string_base<_CharT
481 template<typename _CharT, typename _Traits, typename _Alloc>
482 __rc_string_base<_CharT, _Traits, _Alloc>::
483 __rc_string_base(size_type __n, _CharT __c, const _Alloc& __a)
486 template<typename _CharT, typename _Traits, typename _Alloc>
488 __rc_string_base<_CharT, _Traits, _Alloc>::
493 template<typename _CharT, typename _Traits, typename _Alloc>
495 __rc_string_base<_CharT, _Traits, _Alloc>::
507 template<typename _CharT, typename _Traits, typename _Alloc>
509 _CharT*
510 __rc_string_base<_CharT, _Traits, _Alloc>::
518 _CharT __buf[128];
520 while (__beg != __end && __len < sizeof(__buf) / sizeof(_CharT))
552 template<typename _CharT, typename _Traits, typename _Alloc>
554 _CharT*
555 __rc_string_base<_CharT, _Traits, _Alloc>::
582 template<typename _CharT, typename _Traits, typename _Alloc>
583 _CharT*
584 __rc_string_base<_CharT, _Traits, _Alloc>::
585 _S_construct(size_type __n, _CharT __c, const _Alloc& __a)
599 template<typename _CharT, typename _Traits, typename _Alloc>
601 __rc_string_base<_CharT, _Traits, _Alloc>::
609 _CharT* __tmp = _M_data();
619 template<typename _CharT, typename _Traits, typename _Alloc>
621 __rc_string_base<_CharT, _Traits, _Alloc>::
626 _CharT* __tmp = __rcs._M_grab(_M_get_allocator());
632 template<typename _CharT, typename _Traits, typename _Alloc>
634 __rc_string_base<_CharT, _Traits, _Alloc>::
643 _CharT* __tmp = _M_rep()->_M_clone(_M_get_allocator(),
650 template<typename _CharT, typename _Traits, typename _Alloc>
652 __rc_string_base<_CharT, _Traits, _Alloc>::
653 _M_mutate(size_type __pos, size_type __len1, const _CharT* __s,
673 template<typename _CharT, typename _Traits, typename _Alloc>
675 __rc_string_base<_CharT, _Traits, _Alloc>::