Home
last modified time | relevance | path

Searched refs:__position (Results 1 – 4 of 4) sorted by relevance

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_tree.c432 _Rb_tree<_Key,_Compare,_Value,_KeyOfValue,_Traits,_Alloc> ::insert_unique(iterator __position, in insert_unique() argument
434 if (__position._M_node == this->_M_header._M_data._M_left) { // begin() in insert_unique()
440 if (_M_key_compare(_KeyOfValue()(__val), _S_key(__position._M_node))) { in insert_unique()
441 return _M_insert(__position._M_node, __val, __position._M_node); in insert_unique()
445 bool __comp_pos_v = _M_key_compare( _S_key(__position._M_node), _KeyOfValue()(__val) ); in insert_unique()
448 return __position; in insert_unique()
453 iterator __after = __position; in insert_unique()
462 return _M_insert(__position._M_node, __val, 0, __position._M_node); in insert_unique()
469 if (_S_right(__position._M_node) == 0) in insert_unique()
470 return _M_insert(__position._M_node, __val, 0, __position._M_node); in insert_unique()
[all …]
D_bvector.h396 void _M_insert_aux(iterator __position, bool __x) {
398 _STLP_PRIV __copy_backward(__position, this->_M_finish, this->_M_finish + 1,
400 *__position = __x;
406 iterator __i = _STLP_STD::copy(begin(), __position, iterator(__q, 0));
408 this->_M_finish = _STLP_STD::copy(__position, end(), __i);
445 void _M_insert_range(iterator __position,
451 _STLP_PRIV __copy_backward(__position, end(), this->_M_finish + difference_type(__n),
453 _STLP_STD::copy(__first, __last, __position);
459 iterator __i = _STLP_STD::copy(begin(), __position, iterator(__q, 0));
461 this->_M_finish = _STLP_STD::copy(__position, end(), __i);
[all …]
D_list.c48 _List_global<_Dummy>::_Transfer(_List_node_base* __position, in _Transfer() argument
50 if (__position != __last) { in _Transfer()
52 __last->_M_prev->_M_next = __position; in _Transfer()
54 __position->_M_prev->_M_next = __first; in _Transfer()
57 _Node_base* __tmp = __position->_M_prev; in _Transfer()
58 __position->_M_prev = __last->_M_prev; in _Transfer()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dvector711 iterator insert(const_iterator __position, const_reference __x);
713 iterator insert(const_iterator __position, value_type&& __x);
716 iterator emplace(const_iterator __position, _Args&&... __args);
719 iterator insert(const_iterator __position, size_type __n, const_reference __x);
730 insert(const_iterator __position, _InputIterator __first, _InputIterator __last);
740 insert(const_iterator __position, _ForwardIterator __first, _ForwardIterator __last);
743 iterator insert(const_iterator __position, initializer_list<value_type> __il)
744 {return insert(__position, __il.begin(), __il.end());}
747 _LIBCPP_INLINE_VISIBILITY iterator erase(const_iterator __position);
1661 vector<_Tp, _Allocator>::erase(const_iterator __position)
[all …]