Home | History | Annotate | Download | only in ext

Lines Matching refs:_CharT

80  template<typename _CharT, typename _Traits, typename _Alloc>
82 : protected __vstring_utility<_CharT, _Traits, _Alloc>
89 typedef __vstring_utility<_CharT, _Traits, _Alloc> _Util_Base;
99 // Allocated memory is always (_M_capacity + 1) * sizeof(_CharT).
119 _CharT _M_align;
124 _CharT*
126 { return reinterpret_cast<_CharT*>(this + 1); }
128 _CharT*
142 traits_type::assign(_M_refdata()[__n], _CharT());
152 _CharT*
159 _CharT _M_terminal;
169 // with a terminating character and m _CharT elements, it'd
171 // npos = sizeof(_Rep) + (m * sizeof(_CharT)) + sizeof(_CharT)
175 // m = ((npos - 2 * sizeof(_Rep) + 1) / sizeof(_CharT)) - 1
178 + 1) / sizeof(_CharT)) - 1) / 2 };
184 _M_data(_CharT* __p)
191 _CharT*
220 static _CharT*
231 static _CharT*
237 static _CharT*
246 static _CharT*
251 // string::iterator, _CharT*, etc.
253 static _CharT*
257 static _CharT*
258 _S_construct(size_type __req, _CharT __c, const _Alloc& __a);
265 _CharT*
309 __rc_string_base(size_type __n, _CharT __c, const _Alloc& __a);
336 _M_mutate(size_type __pos, size_type __len1, const _CharT* __s,
351 template<typename _CharT, typename _Traits, typename _Alloc>
352 typename __rc_string_base<_CharT, _Traits, _Alloc>::_Rep_empty
353 __rc_string_base<_CharT, _Traits, _Alloc>::_S_empty_rep;
355 template<typename _CharT, typename _Traits, typename _Alloc>
356 typename __rc_string_base<_CharT, _Traits, _Alloc>::_Rep*
357 __rc_string_base<_CharT, _Traits, _Alloc>::_Rep::
408 size_type __size = ((__capacity + 1) * sizeof(_CharT)
415 __capacity += __extra / sizeof(_CharT);
418 __size = (__capacity + 1) * sizeof(_CharT) + 2 * sizeof(_Rep) - 1;
429 template<typename _CharT, typename _Traits, typename _Alloc>
431 __rc_string_base<_CharT, _Traits, _Alloc>::_Rep::
434 const size_type __size = ((_M_info._M_capacity + 1) * sizeof(_CharT)
439 template<typename _CharT, typename _Traits, typename _Alloc>
440 _CharT*
441 __rc_string_base<_CharT, _Traits, _Alloc>::_Rep::
456 template<typename _CharT, typename _Traits, typename _Alloc>
457 __rc_string_base<_CharT, _Traits, _Alloc>::
459 : _M_dataplus(__a, _S_construct(size_type(), _CharT(), __a)) { }
461 template<typename _CharT, typename _Traits, typename _Alloc>
462 __rc_string_base<_CharT, _Traits, _Alloc>::
467 template<typename _CharT, typename _Traits, typename _Alloc>
468 __rc_string_base<_CharT, _Traits, _Alloc>::
469 _CharT __c, const _Alloc& __a)
472 template<typename _CharT, typename _Traits, typename _Alloc>
474 __rc_string_base<_CharT, _Traits, _Alloc>::
479 template<typename _CharT, typename _Traits, typename _Alloc>
481 __rc_string_base<_CharT, _Traits, _Alloc>::
493 template<typename _CharT, typename _Traits, typename _Alloc>
495 _CharT*
496 __rc_string_base<_CharT, _Traits, _Alloc>::
504 _CharT __buf[128];
506 while (__beg != __end && __len < sizeof(__buf) / sizeof(_CharT))
538 template<typename _CharT, typename _Traits, typename _Alloc>
540 _CharT*
541 __rc_string_base<_CharT, _Traits, _Alloc>::
568 template<typename _CharT, typename _Traits, typename _Alloc>
569 _CharT*
570 __rc_string_base<_CharT, _Traits, _Alloc>::
571 _S_construct(size_type __n, _CharT __c, const _Alloc& __a)
585 template<typename _CharT, typename _Traits, typename _Alloc>
587 __rc_string_base<_CharT, _Traits, _Alloc>::
595 _CharT* __tmp = _M_data();
605 template<typename _CharT, typename _Traits, typename _Alloc>
607 __rc_string_base<_CharT, _Traits, _Alloc>::
612 _CharT* __tmp = __rcs._M_grab(_M_get_allocator());
618 template<typename _CharT, typename _Traits, typename _Alloc>
620 __rc_string_base<_CharT, _Traits, _Alloc>::
629 _CharT* __tmp = _M_rep()->_M_clone(_M_get_allocator(),
636 template<typename _CharT, typename _Traits, typename _Alloc>
638 __rc_string_base<_CharT, _Traits, _Alloc>::
639 _M_mutate(size_type __pos, size_type __len1, const _CharT* __s,
659 template<typename _CharT, typename _Traits, typename _Alloc>
661 __rc_string_base<_CharT, _Traits, _Alloc>::