Home | History | Annotate | Download | only in ext

Lines Matching refs:_CharT

65   template <class _CharT, class _Alloc>
67 _Rope_iterator_base<_CharT, _Alloc>::
68 _S_setbuf(_Rope_iterator_base<_CharT, _Alloc>& __x)
77 __x._M_buf_start = ((_Rope_RopeLeaf<_CharT, _Alloc>*)__leaf)->_M_data;
87 char_producer<_CharT>* __fn = ((_Rope_RopeFunction<_CharT,
110 template <class _CharT, class _Alloc>
112 _Rope_iterator_base<_CharT, _Alloc>::
113 _S_setcache(_Rope_iterator_base<_CharT, _Alloc>& __x)
152 _Rope_RopeConcatenation<_CharT, _Alloc>* __c =
153 (_Rope_RopeConcatenation<_CharT, _Alloc>*)__curr_rope;
187 template <class _CharT, class _Alloc>
189 _Rope_iterator_base<_CharT, _Alloc>::
190 _S_setcache_for_incr(_Rope_iterator_base<_CharT, _Alloc>& __x)
197 _Rope_RopeConcatenation<_CharT, _Alloc>* __c;
211 __c = (_Rope_RopeConcatenation<_CharT, _Alloc>*)__current_node;
224 __c = (_Rope_RopeConcatenation<_CharT, _Alloc>*)__current_node;
243 ((_Rope_RopeConcatenation<_CharT, _Alloc>*)__current_node)->_M_left;
254 template <class _CharT, class _Alloc>
256 _Rope_iterator_base<_CharT, _Alloc>::
275 template <class _CharT, class _Alloc>
277 _Rope_iterator_base<_CharT, _Alloc>::
291 template <class _CharT, class _Alloc>
293 _Rope_iterator<_CharT, _Alloc>::
306 template <class _CharT, class _Alloc>
308 _Rope_const_iterator<_CharT, _Alloc>::
309 _Rope_const_iterator(const _Rope_iterator<_CharT, _Alloc>& __x)
310 : _Rope_iterator_base<_CharT, _Alloc>(__x)
313 template <class _CharT, class _Alloc>
315 _Rope_iterator<_CharT, _Alloc>::
316 _Rope_iterator(rope<_CharT, _Alloc>& __r, size_t __pos)
317 : _Rope_iterator_base<_CharT,_Alloc>(__r._M_tree_ptr, __pos),
321 template <class _CharT, class _Alloc>
323 rope<_CharT, _Alloc>::
324 _S_char_ptr_len(const _CharT* __s)
326 const _CharT* __p = __s;
336 template <class _CharT, class _Alloc>
338 _Rope_RopeRep<_CharT, _Alloc>::
341 _CharT* __cstr = _M_c_string;
350 template <class _CharT, class _Alloc>
352 _Rope_RopeRep<_CharT, _Alloc>::
353 _S_free_string(_CharT* __s, size_t __n, allocator_type& __a)
355 if (!_S_is_basic_char_type((_CharT*)0))
360 _Rope_RopeLeaf<_CharT, _Alloc>::_S_rounded_up_size(__n));
369 template <class _CharT, class _Alloc>
371 _Rope_RopeRep<_CharT, _Alloc>::
378 _Rope_RopeLeaf<_CharT, _Alloc>* __l
379 = (_Rope_RopeLeaf<_CharT, _Alloc>*)this;
380 __l->_Rope_RopeLeaf<_CharT, _Alloc>::~_Rope_RopeLeaf();
386 _Rope_RopeConcatenation<_CharT,_Alloc>* __c
387 = (_Rope_RopeConcatenation<_CharT, _Alloc>*)this;
388 __c->_Rope_RopeConcatenation<_CharT, _Alloc>::
395 _Rope_RopeFunction<_CharT, _Alloc>* __f
396 = (_Rope_RopeFunction<_CharT, _Alloc>*)this;
397 __f->_Rope_RopeFunction<_CharT, _Alloc>::~_Rope_RopeFunction();
403 _Rope_RopeSubstring<_CharT, _Alloc>* __ss =
404 (_Rope_RopeSubstring<_CharT, _Alloc>*)this;
405 __ss->_Rope_RopeSubstring<_CharT, _Alloc>::
414 template <class _CharT, class _Alloc>
416 _Rope_RopeRep<_CharT, _Alloc>::
417 _S_free_string(const _CharT*, size_t, allocator_type)
424 template <class _CharT, class _Alloc>
425 typename rope<_CharT, _Alloc>::_RopeLeaf*
426 rope<_CharT, _Alloc>::
427 _S_leaf_concat_char_iter(_RopeLeaf* __r, const _CharT* __iter, size_t __len)
430 _CharT* __new_data = (_CharT*)
453 template <class _CharT, class _Alloc>
454 typename rope<_CharT,_Alloc>::_RopeLeaf*
455 rope<_CharT, _Alloc>::
456 _S_destr_leaf_concat_char_iter(_RopeLeaf* __r, const _CharT* __iter,
467 if (_S_is_basic_char_type((_CharT*)0))
489 template <class _CharT, class _Alloc>
490 typename rope<_CharT, _Alloc>::_RopeRep*
491 rope<_CharT, _Alloc>::
525 template <class _CharT, class _Alloc>
526 typename rope<_CharT, _Alloc>::_RopeRep*
527 rope<_CharT, _Alloc>::
528 _S_concat_char_iter(_RopeRep* __r, const _CharT*__s, size_t __slen)
584 template <class _CharT, class _Alloc>
585 typename rope<_CharT,_Alloc>::_RopeRep*
586 rope<_CharT,_Alloc>::
587 _S_destr_concat_char_iter(_RopeRep* __r, const _CharT* __s, size_t __slen)
648 template <class _CharT, class _Alloc>
649 typename rope<_CharT, _Alloc>::_RopeRep*
650 rope<_CharT, _Alloc>::
711 template <class _CharT, class _Alloc>
712 typename rope<_CharT, _Alloc>::_RopeRep*
713 rope<_CharT, _Alloc>::
771 const _CharT* __section = __l->_M_data + __start;
806 _CharT* __section;
814 __section = (_CharT*)
837 template<class _CharT>
839 : public _Rope_char_consumer<_CharT>
842 _CharT* _M_buf_ptr;
845 _Rope_flatten_char_consumer(_CharT* __buffer)
851 operator()(const _CharT* __leaf, size_t __n)
859 template<class _CharT>
861 : public _Rope_char_consumer<_CharT>
864 _CharT _M_pattern;
868 _Rope_find_char_char_consumer(_CharT __p)
874 operator()(const _CharT* __leaf, size_t __n)
889 template<class _CharT, class _Traits>
890 // Here _CharT is both the stream and rope character type.
892 : public _Rope_char_consumer<_CharT>
895 typedef basic_ostream<_CharT,_Traits> _Insert_ostream;
902 bool operator() (const _CharT* __leaf, size_t __n);
906 template<class _CharT, class _Traits>
908 _Rope_insert_char_consumer<_CharT, _Traits>::
909 operator()(const _CharT* __leaf, size_t __n)
918 template <class _CharT, class _Alloc>
920 rope<_CharT, _Alloc>::
921 _S_apply_to_pieces(_Rope_char_consumer<_CharT>& __c,
961 _CharT* __buffer =
962 (_CharT*)_Alloc().allocate(__len * sizeof(_CharT));
967 _Alloc().deallocate(__buffer, __len * sizeof(_CharT));
971 _Alloc().deallocate(__buffer, __len * sizeof(_CharT));
981 template<class _CharT, class _Traits>
983 _Rope_fill(basic_ostream<_CharT, _Traits>& __o, size_t __n)
993 template <class _CharT>
995 _Rope_is_simple(_CharT*)
1006 template<class _CharT, class _Traits, class _Alloc>
1007 basic_ostream<_CharT, _Traits>&
1008 operator<<(basic_ostream<_CharT, _Traits>& __o,
1009 const rope<_CharT, _Alloc>& __r)
1015 _Rope_insert_char_consumer<_CharT, _Traits> __c(__o);
1016 bool __is_simple = _Rope_is_simple((_CharT*)0);
1044 template <class _CharT, class _Alloc>
1045 _CharT*
1046 rope<_CharT, _Alloc>::
1048 _CharT* __buffer)
1050 _Rope_flatten_char_consumer<_CharT> __c(__buffer);
1055 template <class _CharT, class _Alloc>
1057 rope<_CharT, _Alloc>::
1058 find(_CharT __pattern, size_t __start) const
1060 _Rope_find_char_char_consumer<_CharT> __c(__pattern);
1070 template <class _CharT, class _Alloc>
1071 _CharT*
1072 rope<_CharT, _Alloc>::
1073 _S_flatten(_RopeRep* __r, _CharT* __buffer)
1084 _CharT* __rest = _S_flatten(__left, __buffer);
1106 // This needs work for _CharT != char
1107 template <class _CharT, class _Alloc>
1109 rope<_CharT, _Alloc>::
1164 if (_S_is_one_byte_char_type((_CharT*)0))
1168 _CharT __buffer[__max_len + 1];
1172 __buffer[__prefix->_M_size] = _S_eos((_CharT*)0);
1181 template <class _CharT, class _Alloc>
1183 rope<_CharT, _Alloc>::
1198 template <class _CharT, class _Alloc>
1199 typename rope<_CharT, _Alloc>::_RopeRep*
1200 rope<_CharT, _Alloc>::
1242 template <class _CharT, class _Alloc>
1244 rope<_CharT, _Alloc>::
1262 template <class _CharT, class _Alloc>
1264 rope<_CharT, _Alloc>::
1315 template <class _CharT, class _Alloc>
1316 _CharT
1317 rope<_CharT, _Alloc>::
1320 __GC_CONST _CharT* __cstr = __r->_M_c_string;
1352 _CharT __result;
1364 template <class _CharT, class _Alloc>
1365 _CharT*
1366 rope<_CharT, _Alloc>::
1421 template <class _CharT, class _Alloc>
1423 rope<_CharT, _Alloc>::
1477 template <class _CharT, class _Alloc>
1478 _Rope_char_ref_proxy<_CharT, _Alloc>&
1479 _Rope_char_ref_proxy<_CharT, _Alloc>::
1480 operator=(_CharT __c)
1486 _CharT* __ptr = _My_rope::_S_fetch_ptr(__old, _M_pos);
1508 template <class _CharT, class _Alloc>
1509 inline _Rope_char_ref_proxy<_CharT, _Alloc>::
1510 operator _CharT() const
1518 template <class _CharT, class _Alloc>
1519 _Rope_char_ptr_proxy<_CharT, _Alloc>
1520 _Rope_char_ref_proxy<_CharT, _Alloc>::
1522 { return _Rope_char_ptr_proxy<_CharT, _Alloc>(*this); }
1524 template <class _CharT, class _Alloc>
1525 rope<_CharT, _Alloc>::
1526 rope(size_t __n, _CharT __c, const allocator_type& __a)
1529 rope<_CharT,_Alloc> __result;
1533 _CharT* __rest_buffer;
1535 rope<_CharT, _Alloc> __remainder_rope;
1563 _CharT* __base_buffer =
1588 _Rope_Concat_fn<_CharT, _Alloc>());
1600 template<class _CharT, class _Alloc>
1601 _CharT
1602 rope<_CharT, _Alloc>::_S_empty_c_str[1];
1604 template<class _CharT, class _Alloc>
1605 const _CharT*
1606 rope<_CharT, _Alloc>::
1611 _S_empty_c_str[0] = _S_eos((_CharT*)0); // Possibly redundant,
1616 __GC_CONST _CharT* __result = this->_M_tree_ptr->_M_c_string;
1622 __result[__s] = _S_eos((_CharT*)0);
1629 template<class _CharT, class _Alloc>
1630 const _CharT* rope<_CharT, _Alloc>::
1635 _S_empty_c_str[0] = _S_eos((_CharT*)0);
1638 __GC_CONST _CharT* __old_c_string = this->_M_tree_ptr->_M_c_string;
1643 _CharT* __result = this->_Data_allocate(_S_rounded_up_size(__s));
1645 __result[__s] = _S_eos((_CharT*)0);
1660 typedef typename _Rope_iterator::value_type _CharT;
1663 rope<_CharT, _Alloc>& __r(__first.container());
1664 rope<_CharT, _Alloc> __prefix = __r.substr(0, __first.index());
1665 rope<_CharT, _Alloc> __suffix =
1667 rope<_CharT, _Alloc> __part1 =
1669 rope<_CharT, _Alloc> __part2 =