Home | History | Annotate | Download | only in ext

Lines Matching refs:_CharT

67   template <class _CharT, class _Alloc>
69 _Rope_iterator_base<_CharT, _Alloc>::
70 _S_setbuf(_Rope_iterator_base<_CharT, _Alloc>& __x)
79 __x._M_buf_start = ((_Rope_RopeLeaf<_CharT, _Alloc>*)__leaf)->_M_data;
89 char_producer<_CharT>* __fn = ((_Rope_RopeFunction<_CharT,
112 template <class _CharT, class _Alloc>
114 _Rope_iterator_base<_CharT, _Alloc>::
115 _S_setcache(_Rope_iterator_base<_CharT, _Alloc>& __x)
154 _Rope_RopeConcatenation<_CharT, _Alloc>* __c =
155 (_Rope_RopeConcatenation<_CharT, _Alloc>*)__curr_rope;
189 template <class _CharT, class _Alloc>
191 _Rope_iterator_base<_CharT, _Alloc>::
192 _S_setcache_for_incr(_Rope_iterator_base<_CharT, _Alloc>& __x)
199 _Rope_RopeConcatenation<_CharT, _Alloc>* __c;
213 __c = (_Rope_RopeConcatenation<_CharT, _Alloc>*)__current_node;
226 __c = (_Rope_RopeConcatenation<_CharT, _Alloc>*)__current_node;
245 ((_Rope_RopeConcatenation<_CharT, _Alloc>*)__current_node)->_M_left;
256 template <class _CharT, class _Alloc>
258 _Rope_iterator_base<_CharT, _Alloc>::
277 template <class _CharT, class _Alloc>
279 _Rope_iterator_base<_CharT, _Alloc>::
293 template <class _CharT, class _Alloc>
295 _Rope_iterator<_CharT, _Alloc>::
308 template <class _CharT, class _Alloc>
310 _Rope_const_iterator<_CharT, _Alloc>::
311 _Rope_const_iterator(const _Rope_iterator<_CharT, _Alloc>& __x)
312 : _Rope_iterator_base<_CharT, _Alloc>(__x)
315 template <class _CharT, class _Alloc>
317 _Rope_iterator<_CharT, _Alloc>::
318 _Rope_iterator(rope<_CharT, _Alloc>& __r, size_t __pos)
319 : _Rope_iterator_base<_CharT,_Alloc>(__r._M_tree_ptr, __pos),
323 template <class _CharT, class _Alloc>
325 rope<_CharT, _Alloc>::
326 _S_char_ptr_len(const _CharT* __s)
328 const _CharT* __p = __s;
338 template <class _CharT, class _Alloc>
340 _Rope_RopeRep<_CharT, _Alloc>::
343 _CharT* __cstr = _M_c_string;
352 template <class _CharT, class _Alloc>
354 _Rope_RopeRep<_CharT, _Alloc>::
355 _S_free_string(_CharT* __s, size_t __n, allocator_type& __a)
357 if (!_S_is_basic_char_type((_CharT*)0))
362 _Rope_RopeLeaf<_CharT, _Alloc>::_S_rounded_up_size(__n));
371 template <class _CharT, class _Alloc>
373 _Rope_RopeRep<_CharT, _Alloc>::
380 _Rope_RopeLeaf<_CharT, _Alloc>* __l
381 = (_Rope_RopeLeaf<_CharT, _Alloc>*)this;
382 __l->_Rope_RopeLeaf<_CharT, _Alloc>::~_Rope_RopeLeaf();
388 _Rope_RopeConcatenation<_CharT,_Alloc>* __c
389 = (_Rope_RopeConcatenation<_CharT, _Alloc>*)this;
390 __c->_Rope_RopeConcatenation<_CharT, _Alloc>::
397 _Rope_RopeFunction<_CharT, _Alloc>* __f
398 = (_Rope_RopeFunction<_CharT, _Alloc>*)this;
399 __f->_Rope_RopeFunction<_CharT, _Alloc>::~_Rope_RopeFunction();
405 _Rope_RopeSubstring<_CharT, _Alloc>* __ss =
406 (_Rope_RopeSubstring<_CharT, _Alloc>*)this;
407 __ss->_Rope_RopeSubstring<_CharT, _Alloc>::
416 template <class _CharT, class _Alloc>
418 _Rope_RopeRep<_CharT, _Alloc>::
419 _S_free_string(const _CharT*, size_t, allocator_type)
426 template <class _CharT, class _Alloc>
427 typename rope<_CharT, _Alloc>::_RopeLeaf*
428 rope<_CharT, _Alloc>::
429 _S_leaf_concat_char_iter(_RopeLeaf* __r, const _CharT* __iter, size_t __len)
432 _CharT* __new_data = (_CharT*)
455 template <class _CharT, class _Alloc>
456 typename rope<_CharT,_Alloc>::_RopeLeaf*
457 rope<_CharT, _Alloc>::
458 _S_destr_leaf_concat_char_iter(_RopeLeaf* __r, const _CharT* __iter,
469 if (_S_is_basic_char_type((_CharT*)0))
491 template <class _CharT, class _Alloc>
492 typename rope<_CharT, _Alloc>::_RopeRep*
493 rope<_CharT, _Alloc>::
527 template <class _CharT, class _Alloc>
528 typename rope<_CharT, _Alloc>::_RopeRep*
529 rope<_CharT, _Alloc>::
530 _S_concat_char_iter(_RopeRep* __r, const _CharT*__s, size_t __slen)
586 template <class _CharT, class _Alloc>
587 typename rope<_CharT,_Alloc>::_RopeRep*
588 rope<_CharT,_Alloc>::
589 _S_destr_concat_char_iter(_RopeRep* __r, const _CharT* __s, size_t __slen)
650 template <class _CharT, class _Alloc>
651 typename rope<_CharT, _Alloc>::_RopeRep*
652 rope<_CharT, _Alloc>::
713 template <class _CharT, class _Alloc>
714 typename rope<_CharT, _Alloc>::_RopeRep*
715 rope<_CharT, _Alloc>::
773 const _CharT* __section = __l->_M_data + __start;
808 _CharT* __section;
816 __section = (_CharT*)
839 template<class _CharT>
841 : public _Rope_char_consumer<_CharT>
844 _CharT* _M_buf_ptr;
847 _Rope_flatten_char_consumer(_CharT* __buffer)
853 operator()(const _CharT* __leaf, size_t __n)
861 template<class _CharT>
863 : public _Rope_char_consumer<_CharT>
866 _CharT _M_pattern;
870 _Rope_find_char_char_consumer(_CharT __p)
876 operator()(const _CharT* __leaf, size_t __n)
891 template<class _CharT, class _Traits>
892 // Here _CharT is both the stream and rope character type.
894 : public _Rope_char_consumer<_CharT>
897 typedef basic_ostream<_CharT,_Traits> _Insert_ostream;
904 bool operator() (const _CharT* __leaf, size_t __n);
908 template<class _CharT, class _Traits>
910 _Rope_insert_char_consumer<_CharT, _Traits>::
911 operator()(const _CharT* __leaf, size_t __n)
920 template <class _CharT, class _Alloc>
922 rope<_CharT, _Alloc>::
923 _S_apply_to_pieces(_Rope_char_consumer<_CharT>& __c,
963 _CharT* __buffer =
964 (_CharT*)_Alloc().allocate(__len * sizeof(_CharT));
969 _Alloc().deallocate(__buffer, __len * sizeof(_CharT));
973 _Alloc().deallocate(__buffer, __len * sizeof(_CharT));
983 template<class _CharT, class _Traits>
985 _Rope_fill(basic_ostream<_CharT, _Traits>& __o, size_t __n)
995 template <class _CharT>
997 _Rope_is_simple(_CharT*)
1008 template<class _CharT, class _Traits, class _Alloc>
1009 basic_ostream<_CharT, _Traits>&
1010 operator<<(basic_ostream<_CharT, _Traits>& __o,
1011 const rope<_CharT, _Alloc>& __r)
1017 _Rope_insert_char_consumer<_CharT, _Traits> __c(__o);
1018 bool __is_simple = _Rope_is_simple((_CharT*)0);
1046 template <class _CharT, class _Alloc>
1047 _CharT*
1048 rope<_CharT, _Alloc>::
1050 _CharT* __buffer)
1052 _Rope_flatten_char_consumer<_CharT> __c(__buffer);
1057 template <class _CharT, class _Alloc>
1059 rope<_CharT, _Alloc>::
1060 find(_CharT __pattern, size_t __start) const
1062 _Rope_find_char_char_consumer<_CharT> __c(__pattern);
1072 template <class _CharT, class _Alloc>
1073 _CharT*
1074 rope<_CharT, _Alloc>::
1075 _S_flatten(_RopeRep* __r, _CharT* __buffer)
1086 _CharT* __rest = _S_flatten(__left, __buffer);
1108 // This needs work for _CharT != char
1109 template <class _CharT, class _Alloc>
1111 rope<_CharT, _Alloc>::
1166 if (_S_is_one_byte_char_type((_CharT*)0))
1170 _CharT __buffer[__max_len + 1];
1174 __buffer[__prefix->_M_size] = _S_eos((_CharT*)0);
1183 template <class _CharT, class _Alloc>
1185 rope<_CharT, _Alloc>::
1200 template <class _CharT, class _Alloc>
1201 typename rope<_CharT, _Alloc>::_RopeRep*
1202 rope<_CharT, _Alloc>::
1244 template <class _CharT, class _Alloc>
1246 rope<_CharT, _Alloc>::
1264 template <class _CharT, class _Alloc>
1266 rope<_CharT, _Alloc>::
1317 template <class _CharT, class _Alloc>
1318 _CharT
1319 rope<_CharT, _Alloc>::
1322 __GC_CONST _CharT* __cstr = __r->_M_c_string;
1354 _CharT __result;
1366 template <class _CharT, class _Alloc>
1367 _CharT*
1368 rope<_CharT, _Alloc>::
1423 template <class _CharT, class _Alloc>
1425 rope<_CharT, _Alloc>::
1479 template <class _CharT, class _Alloc>
1480 _Rope_char_ref_proxy<_CharT, _Alloc>&
1481 _Rope_char_ref_proxy<_CharT, _Alloc>::
1482 operator=(_CharT __c)
1488 _CharT* __ptr = _My_rope::_S_fetch_ptr(__old, _M_pos);
1510 template <class _CharT, class _Alloc>
1511 inline _Rope_char_ref_proxy<_CharT, _Alloc>::
1512 operator _CharT() const
1520 template <class _CharT, class _Alloc>
1521 _Rope_char_ptr_proxy<_CharT, _Alloc>
1522 _Rope_char_ref_proxy<_CharT, _Alloc>::
1524 { return _Rope_char_ptr_proxy<_CharT, _Alloc>(*this); }
1526 template <class _CharT, class _Alloc>
1527 rope<_CharT, _Alloc>::
1528 rope(size_t __n, _CharT __c, const allocator_type& __a)
1531 rope<_CharT,_Alloc> __result;
1535 _CharT* __rest_buffer;
1537 rope<_CharT, _Alloc> __remainder_rope;
1565 _CharT* __base_buffer =
1590 _Rope_Concat_fn<_CharT, _Alloc>());
1602 template<class _CharT, class _Alloc>
1603 _CharT
1604 rope<_CharT, _Alloc>::_S_empty_c_str[1];
1606 template<class _CharT, class _Alloc>
1607 const _CharT*
1608 rope<_CharT, _Alloc>::
1613 _S_empty_c_str[0] = _S_eos((_CharT*)0); // Possibly redundant,
1618 __GC_CONST _CharT* __result = this->_M_tree_ptr->_M_c_string;
1624 __result[__s] = _S_eos((_CharT*)0);
1631 template<class _CharT, class _Alloc>
1632 const _CharT* rope<_CharT, _Alloc>::
1637 _S_empty_c_str[0] = _S_eos((_CharT*)0);
1640 __GC_CONST _CharT* __old_c_string = this->_M_tree_ptr->_M_c_string;
1645 _CharT* __result = this->_Data_allocate(_S_rounded_up_size(__s));
1647 __result[__s] = _S_eos((_CharT*)0);
1662 typedef typename _Rope_iterator::value_type _CharT;
1665 rope<_CharT, _Alloc>& __r(__first.container());
1666 rope<_CharT, _Alloc> __prefix = __r.substr(0, __first.index());
1667 rope<_CharT, _Alloc> __suffix =
1669 rope<_CharT, _Alloc> __part1 =
1671 rope<_CharT, _Alloc> __part2 =