Home | History | Annotate | Download | only in ext

Lines Matching defs:_CharT

66   template <class _CharT, class _Alloc>
68 _Rope_iterator_base<_CharT, _Alloc>::
69 _S_setbuf(_Rope_iterator_base<_CharT, _Alloc>& __x)
78 __x._M_buf_start = ((_Rope_RopeLeaf<_CharT, _Alloc>*)__leaf)->_M_data;
88 char_producer<_CharT>* __fn = ((_Rope_RopeFunction<_CharT,
111 template <class _CharT, class _Alloc>
113 _Rope_iterator_base<_CharT, _Alloc>::
114 _S_setcache(_Rope_iterator_base<_CharT, _Alloc>& __x)
153 _Rope_RopeConcatenation<_CharT, _Alloc>* __c =
154 (_Rope_RopeConcatenation<_CharT, _Alloc>*)__curr_rope;
188 template <class _CharT, class _Alloc>
190 _Rope_iterator_base<_CharT, _Alloc>::
191 _S_setcache_for_incr(_Rope_iterator_base<_CharT, _Alloc>& __x)
198 _Rope_RopeConcatenation<_CharT, _Alloc>* __c;
212 __c = (_Rope_RopeConcatenation<_CharT, _Alloc>*)__current_node;
225 __c = (_Rope_RopeConcatenation<_CharT, _Alloc>*)__current_node;
244 ((_Rope_RopeConcatenation<_CharT, _Alloc>*)__current_node)->_M_left;
255 template <class _CharT, class _Alloc>
257 _Rope_iterator_base<_CharT, _Alloc>::
276 template <class _CharT, class _Alloc>
278 _Rope_iterator_base<_CharT, _Alloc>::
292 template <class _CharT, class _Alloc>
294 _Rope_iterator<_CharT, _Alloc>::
307 template <class _CharT, class _Alloc>
309 _Rope_const_iterator<_CharT, _Alloc>::
310 _Rope_const_iterator(const _Rope_iterator<_CharT, _Alloc>& __x)
311 : _Rope_iterator_base<_CharT, _Alloc>(__x)
314 template <class _CharT, class _Alloc>
316 _Rope_iterator<_CharT, _Alloc>::
317 _Rope_iterator(rope<_CharT, _Alloc>& __r, size_t __pos)
318 : _Rope_iterator_base<_CharT,_Alloc>(__r._M_tree_ptr, __pos),
322 template <class _CharT, class _Alloc>
324 rope<_CharT, _Alloc>::
325 _S_char_ptr_len(const _CharT* __s)
327 const _CharT* __p = __s;
337 template <class _CharT, class _Alloc>
339 _Rope_RopeRep<_CharT, _Alloc>::
342 _CharT* __cstr = _M_c_string;
351 template <class _CharT, class _Alloc>
353 _Rope_RopeRep<_CharT, _Alloc>::
354 _S_free_string(_CharT* __s, size_t __n, allocator_type& __a)
356 if (!_S_is_basic_char_type((_CharT*)0))
361 _Rope_RopeLeaf<_CharT, _Alloc>::_S_rounded_up_size(__n));
370 template <class _CharT, class _Alloc>
372 _Rope_RopeRep<_CharT, _Alloc>::
379 _Rope_RopeLeaf<_CharT, _Alloc>* __l
380 = (_Rope_RopeLeaf<_CharT, _Alloc>*)this;
381 __l->_Rope_RopeLeaf<_CharT, _Alloc>::~_Rope_RopeLeaf();
387 _Rope_RopeConcatenation<_CharT,_Alloc>* __c
388 = (_Rope_RopeConcatenation<_CharT, _Alloc>*)this;
389 __c->_Rope_RopeConcatenation<_CharT, _Alloc>::
396 _Rope_RopeFunction<_CharT, _Alloc>* __f
397 = (_Rope_RopeFunction<_CharT, _Alloc>*)this;
398 __f->_Rope_RopeFunction<_CharT, _Alloc>::~_Rope_RopeFunction();
404 _Rope_RopeSubstring<_CharT, _Alloc>* __ss =
405 (_Rope_RopeSubstring<_CharT, _Alloc>*)this;
406 __ss->_Rope_RopeSubstring<_CharT, _Alloc>::
415 template <class _CharT, class _Alloc>
417 _Rope_RopeRep<_CharT, _Alloc>::
418 _S_free_string(const _CharT*, size_t, allocator_type)
425 template <class _CharT, class _Alloc>
426 typename rope<_CharT, _Alloc>::_RopeLeaf*
427 rope<_CharT, _Alloc>::
428 _S_leaf_concat_char_iter(_RopeLeaf* __r, const _CharT* __iter, size_t __len)
431 _CharT* __new_data = (_CharT*)
454 template <class _CharT, class _Alloc>
455 typename rope<_CharT,_Alloc>::_RopeLeaf*
456 rope<_CharT, _Alloc>::
457 _S_destr_leaf_concat_char_iter(_RopeLeaf* __r, const _CharT* __iter,
468 if (_S_is_basic_char_type((_CharT*)0))
490 template <class _CharT, class _Alloc>
491 typename rope<_CharT, _Alloc>::_RopeRep*
492 rope<_CharT, _Alloc>::
526 template <class _CharT, class _Alloc>
527 typename rope<_CharT, _Alloc>::_RopeRep*
528 rope<_CharT, _Alloc>::
529 _S_concat_char_iter(_RopeRep* __r, const _CharT*__s, size_t __slen)
585 template <class _CharT, class _Alloc>
586 typename rope<_CharT,_Alloc>::_RopeRep*
587 rope<_CharT,_Alloc>::
588 _S_destr_concat_char_iter(_RopeRep* __r, const _CharT* __s, size_t __slen)
649 template <class _CharT, class _Alloc>
650 typename rope<_CharT, _Alloc>::_RopeRep*
651 rope<_CharT, _Alloc>::
712 template <class _CharT, class _Alloc>
713 typename rope<_CharT, _Alloc>::_RopeRep*
714 rope<_CharT, _Alloc>::
772 const _CharT* __section = __l->_M_data + __start;
807 _CharT* __section;
815 __section = (_CharT*)
838 template<class _CharT>
840 : public _Rope_char_consumer<_CharT>
843 _CharT* _M_buf_ptr;
846 _Rope_flatten_char_consumer(_CharT* __buffer)
852 operator()(const _CharT* __leaf, size_t __n)
860 template<class _CharT>
862 : public _Rope_char_consumer<_CharT>
865 _CharT _M_pattern;
869 _Rope_find_char_char_consumer(_CharT __p)
875 operator()(const _CharT* __leaf, size_t __n)
890 template<class _CharT, class _Traits>
891 // Here _CharT is both the stream and rope character type.
893 : public _Rope_char_consumer<_CharT>
896 typedef basic_ostream<_CharT,_Traits> _Insert_ostream;
903 bool operator() (const _CharT* __leaf, size_t __n);
907 template<class _CharT, class _Traits>
909 _Rope_insert_char_consumer<_CharT, _Traits>::
910 operator()(const _CharT* __leaf, size_t __n)
919 template <class _CharT, class _Alloc>
921 rope<_CharT, _Alloc>::
922 _S_apply_to_pieces(_Rope_char_consumer<_CharT>& __c,
962 _CharT* __buffer =
963 (_CharT*)_Alloc().allocate(__len * sizeof(_CharT));
968 _Alloc().deallocate(__buffer, __len * sizeof(_CharT));
972 _Alloc().deallocate(__buffer, __len * sizeof(_CharT));
982 template<class _CharT, class _Traits>
984 _Rope_fill(basic_ostream<_CharT, _Traits>& __o, size_t __n)
994 template <class _CharT>
996 _Rope_is_simple(_CharT*)
1007 template<class _CharT, class _Traits, class _Alloc>
1008 basic_ostream<_CharT, _Traits>&
1009 operator<<(basic_ostream<_CharT, _Traits>& __o,
1010 const rope<_CharT, _Alloc>& __r)
1016 _Rope_insert_char_consumer<_CharT, _Traits> __c(__o);
1017 bool __is_simple = _Rope_is_simple((_CharT*)0);
1045 template <class _CharT, class _Alloc>
1046 _CharT*
1047 rope<_CharT, _Alloc>::
1049 _CharT* __buffer)
1051 _Rope_flatten_char_consumer<_CharT> __c(__buffer);
1056 template <class _CharT, class _Alloc>
1058 rope<_CharT, _Alloc>::
1059 find(_CharT __pattern, size_t __start) const
1061 _Rope_find_char_char_consumer<_CharT> __c(__pattern);
1071 template <class _CharT, class _Alloc>
1072 _CharT*
1073 rope<_CharT, _Alloc>::
1074 _S_flatten(_RopeRep* __r, _CharT* __buffer)
1085 _CharT* __rest = _S_flatten(__left, __buffer);
1107 // This needs work for _CharT != char
1108 template <class _CharT, class _Alloc>
1110 rope<_CharT, _Alloc>::
1165 if (_S_is_one_byte_char_type((_CharT*)0))
1169 _CharT __buffer[__max_len + 1];
1173 __buffer[__prefix->_M_size] = _S_eos((_CharT*)0);
1182 template <class _CharT, class _Alloc>
1184 rope<_CharT, _Alloc>::
1199 template <class _CharT, class _Alloc>
1200 typename rope<_CharT, _Alloc>::_RopeRep*
1201 rope<_CharT, _Alloc>::
1243 template <class _CharT, class _Alloc>
1245 rope<_CharT, _Alloc>::
1263 template <class _CharT, class _Alloc>
1265 rope<_CharT, _Alloc>::
1316 template <class _CharT, class _Alloc>
1317 _CharT
1318 rope<_CharT, _Alloc>::
1321 __GC_CONST _CharT* __cstr = __r->_M_c_string;
1353 _CharT __result;
1365 template <class _CharT, class _Alloc>
1366 _CharT*
1367 rope<_CharT, _Alloc>::
1422 template <class _CharT, class _Alloc>
1424 rope<_CharT, _Alloc>::
1478 template <class _CharT, class _Alloc>
1479 _Rope_char_ref_proxy<_CharT, _Alloc>&
1480 _Rope_char_ref_proxy<_CharT, _Alloc>::
1481 operator=(_CharT __c)
1487 _CharT* __ptr = _My_rope::_S_fetch_ptr(__old, _M_pos);
1509 template <class _CharT, class _Alloc>
1510 inline _Rope_char_ref_proxy<_CharT, _Alloc>::
1511 operator _CharT() const
1519 template <class _CharT, class _Alloc>
1520 _Rope_char_ptr_proxy<_CharT, _Alloc>
1521 _Rope_char_ref_proxy<_CharT, _Alloc>::
1523 { return _Rope_char_ptr_proxy<_CharT, _Alloc>(*this); }
1525 template <class _CharT, class _Alloc>
1526 rope<_CharT, _Alloc>::
1527 rope(size_t __n, _CharT __c, const allocator_type& __a)
1530 rope<_CharT,_Alloc> __result;
1534 _CharT* __rest_buffer;
1536 rope<_CharT, _Alloc> __remainder_rope;
1564 _CharT* __base_buffer =
1589 _Rope_Concat_fn<_CharT, _Alloc>());
1601 template<class _CharT, class _Alloc>
1602 _CharT
1603 rope<_CharT, _Alloc>::_S_empty_c_str[1];
1605 template<class _CharT, class _Alloc>
1606 const _CharT*
1607 rope<_CharT, _Alloc>::
1612 _S_empty_c_str[0] = _S_eos((_CharT*)0); // Possibly redundant,
1617 __GC_CONST _CharT* __result = this->_M_tree_ptr->_M_c_string;
1623 __result[__s] = _S_eos((_CharT*)0);
1630 template<class _CharT, class _Alloc>
1631 const _CharT* rope<_CharT, _Alloc>::
1636 _S_empty_c_str[0] = _S_eos((_CharT*)0);
1639 __GC_CONST _CharT* __old_c_string = this->_M_tree_ptr->_M_c_string;
1644 _CharT* __result = this->_Data_allocate(_S_rounded_up_size(__s));
1646 __result[__s] = _S_eos((_CharT*)0);
1661 typedef typename _Rope_iterator::value_type _CharT;
1664 rope<_CharT, _Alloc>& __r(__first.container());
1665 rope<_CharT, _Alloc> __prefix = __r.substr(0, __first.index());
1666 rope<_CharT, _Alloc> __suffix =
1668 rope<_CharT, _Alloc> __part1 =
1670 rope<_CharT, _Alloc> __part2 =