Lines Matching refs:__i
806 const_iterator* __i = static_cast<const_iterator*>((*__p)->__i_);
807 if (__i->__ptr_ == __c.__end_as_link())
819 const_iterator* __i = static_cast<const_iterator*>((*__p)->__i_);
820 if (__i->__ptr_ == __end_as_link())
1065 void splice(const_iterator __p, list&& __c, const_iterator __i)
1066 {splice(__p, __c, __i);}
1071 void splice(const_iterator __p, list& __c, const_iterator __i);
1115 bool __dereferenceable(const const_iterator* __i) const;
1116 bool __decrementable(const const_iterator* __i) const;
1117 bool __addable(const const_iterator* __i, ptrdiff_t __n) const;
1118 bool __subscriptable(const const_iterator* __i, ptrdiff_t __n) const;
1279 for (const_iterator __i = __c.begin(), __e = __c.end(); __i != __e; ++__i)
1280 push_back(*__i);
1290 for (const_iterator __i = __c.begin(), __e = __c.end(); __i != __e; ++__i)
1291 push_back(*__i);
1303 for (typename initializer_list<value_type>::const_iterator __i = __il.begin(),
1304 __e = __il.end(); __i != __e; ++__i)
1305 push_back(*__i);
1314 for (typename initializer_list<value_type>::const_iterator __i = __il.begin(),
1315 __e = __il.end(); __i != __e; ++__i)
1316 push_back(*__i);
1403 iterator __i = begin();
1405 for (; __f != __l && __i != __e; ++__f, ++__i)
1406 *__i = *__f;
1407 if (__i == __e)
1410 erase(__i, __e);
1420 iterator __i = begin();
1422 for (; __n > 0 && __i != __e; --__n, ++__i)
1423 *__i = __x;
1424 if (__i == __e)
1427 erase(__i, __e);
1749 iterator* __i = static_cast<iterator*>((*__p)->__i_);
1750 if (__i->__ptr_ == __n)
1778 iterator* __i = static_cast<iterator*>((*__p)->__i_);
1779 if (__i->__ptr_ == __n)
1814 iterator* __i = static_cast<iterator*>((*__ip)->__i_);
1815 if (__i->__ptr_ == __n)
1860 iterator* __i = static_cast<iterator*>((*__p)->__i_);
1861 if (__i->__ptr_ == __n)
2023 iterator* __i = static_cast<iterator*>((*__ip)->__i_);
2024 if (__i->__ptr_ != __c.__end_as_link())
2039 list<_Tp, _Alloc>::splice(const_iterator __p, list& __c, const_iterator __i)
2045 _LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__i) == &__c,
2048 _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(&__i),
2052 if (__p.__ptr_ != __i.__ptr_ && __p.__ptr_ != __i.__ptr_->__next_)
2054 __link_pointer __f = __i.__ptr_;
2093 for (const_iterator __i = __f; __i != __l; ++__i)
2094 _LIBCPP_ASSERT(__i != __p,
2143 for (const_iterator __i = begin(), __e = end(); __i != __e;)
2145 if (*__i == __x)
2147 const_iterator __j = _VSTD::next(__i);
2150 __deleted_nodes.splice(__deleted_nodes.end(), *this, __i, __j);
2151 __i = __j;
2152 if (__i != __e)
2153 ++__i;
2156 ++__i;
2165 for (iterator __i = begin(), __e = end(); __i != __e;)
2167 if (__pred(*__i))
2169 iterator __j = _VSTD::next(__i);
2172 __i = erase(__i, __j);
2173 if (__i != __e)
2174 ++__i;
2177 ++__i;
2194 for (iterator __i = begin(), __e = end(); __i != __e;)
2196 iterator __j = _VSTD::next(__i);
2197 for (; __j != __e && __binary_pred(*__i, *__j); ++__j)
2199 if (++__i != __j)
2200 __i = erase(__i, __j);
2252 iterator* __i = static_cast<iterator*>((*__p)->__i_);
2253 if (__i->__ptr_ != __c.__end_as_link())
2353 for (iterator __i = begin(); __i.__ptr_ != __e.__ptr_;)
2355 _VSTD::swap(__i.__ptr_->__prev_, __i.__ptr_->__next_);
2356 __i.__ptr_ = __i.__ptr_->__prev_;
2373 list<_Tp, _Alloc>::__dereferenceable(const const_iterator* __i) const
2375 return __i->__ptr_ != this->__end_as_link();
2380 list<_Tp, _Alloc>::__decrementable(const const_iterator* __i) const
2382 return !empty() && __i->__ptr_ != base::__end_.__next_;