Lines Matching refs:iterator

79         // Buffer should really be an arbitrary output iterator.
81 // This is thoroughly impossible, since iterator types don't
746 // Dereferencing a nonconst iterator has to return something
848 // When we run out of cache, we have to reconstruct the iterator
1000 // Perhaps we should instead copy the iterator
1270 typedef _Rope_iterator<_CharT,_Alloc> iterator;
1386 // Should really take an arbitrary iterator.
1518 // should take an arbitrary iterator
1624 // Should perhaps be templatized with respect to the iterator type
1638 rope(const iterator& __s, const iterator& __e,
1810 // An easy way to get a const iterator from a non-const container.
1877 // The first argument should be an input iterator or
1878 // forward iterator with value_type _CharT.
2023 void insert(size_t __p, const iterator& __i,
2024 const iterator& __j) {
2067 const iterator& __i, const iterator& __j) {
2074 iterator __i(this, __p);
2099 void replace(size_t __p, const iterator& __i,
2100 const iterator& __j) {
2116 // Insert, iterator variants.
2117 iterator insert(const iterator& __p, const rope& __r)
2119 iterator insert(const iterator& __p, size_t __n, _CharT __c)
2121 iterator insert(const iterator& __p, _CharT __c)
2123 iterator insert(const iterator& __p )
2125 iterator insert(const iterator& __p, const _CharT* c_string)
2127 iterator insert(const iterator& __p, const _CharT* __i, size_t __n)
2129 iterator insert(const iterator& __p, const _CharT* __i,
2132 iterator insert(const iterator& __p,
2135 iterator insert(const iterator& __p,
2136 const iterator& __i, const iterator& __j)
2140 void replace(const iterator& __p, const iterator& __q,
2143 void replace(const iterator& __p, const iterator& __q, _CharT __c)
2145 void replace(const iterator& __p, const iterator& __q,
2148 void replace(const iterator& __p, const iterator& __q,
2151 void replace(const iterator& __p, const iterator& __q,
2154 void replace(const iterator& __p, const iterator& __q,
2157 void replace(const iterator& __p, const iterator& __q,
2158 const iterator& __i, const iterator& __j)
2161 // Replace, iterator variants.
2162 void replace(const iterator& __p, const rope& __r)
2164 void replace(const iterator& __p, _CharT __c)
2166 void replace(const iterator& __p, const _CharT* __c_string)
2168 void replace(const iterator& __p, const _CharT* __i, size_t __n)
2170 void replace(const iterator& __p, const _CharT* __i, const _CharT* __j)
2172 void replace(const iterator& __p, const_iterator __i,
2175 void replace(const iterator& __p, iterator __i, iterator __j)
2179 iterator erase(const iterator& __p, const iterator& __q) {
2182 return iterator(this, __p_index);
2184 iterator erase(const iterator& __p) {
2187 return iterator(this, __p_index);
2195 rope substr(iterator __start, iterator __end) const {
2200 rope substr(iterator __start) const {
2208 // iterator.
2233 iterator mutable_begin() {
2234 return(iterator(this, 0));
2237 iterator mutable_end() {
2238 return(iterator(this, size()));
2242 typedef reverse_iterator<iterator> reverse_iterator;
2244 typedef reverse_iterator<iterator, value_type, reference,
2285 iterator end() { return mutable_end(); }
2287 iterator begin() { return mutable_begin(); }