Lines Matching refs:_M_finish
42 _M_destroy_nodes(_M_start._M_node, this->_M_finish._M_node + 1);
63 this->_M_finish._M_set_node(__nfinish - 1);
65 this->_M_finish._M_cur = this->_M_finish._M_first + __num_elements % this->buffer_size();
111 erase(_STLP_STD::copy(__x.begin(), __x.end(), this->_M_start), this->_M_finish);
115 insert(this->_M_finish, __mid, __x.end());
135 else if (__pos._M_cur == this->_M_finish._M_cur) {
138 uninitialized_fill(this->_M_finish, __new_finish, __x);
140 _STLP_UNWIND(this->_M_destroy_nodes(this->_M_finish._M_node+1, __new_finish._M_node+1))
141 this->_M_finish = __new_finish;
164 else if (__pos._M_cur == this->_M_finish._M_cur) {
167 _STLP_PRIV __ucopy(__first, __last, this->_M_finish);
169 _STLP_UNWIND(this->_M_destroy_nodes(this->_M_finish._M_node + 1,
171 this->_M_finish = __new_finish;
192 else if (__pos._M_cur == this->_M_finish._M_cur) {
195 _STLP_PRIV __ucopy(__first, __last, this->_M_finish);
197 _STLP_UNWIND(this->_M_destroy_nodes(this->_M_finish._M_node + 1,
199 this->_M_finish = __new_finish;
227 for (++__src; __src != this->_M_finish; ++__src, ++__dst) {
232 if (this->_M_finish._M_cur != this->_M_finish._M_first) {
233 --this->_M_finish._M_cur;
253 _STLP_STD::copy(__next, this->_M_finish, __pos);
293 if (__last != this->_M_finish) {
295 for (; (__src != this->_M_finish) && (__dst != __last); ++__src, ++__dst) {
302 _STLP_STD::_Destroy_Moved_Range(__last, this->_M_finish);
306 for (; __src != this->_M_finish; ++__src, ++__dst) {
310 _STLP_STD::_Destroy_Moved_Range(__dst, this->_M_finish);
314 _STLP_STD::_Destroy_Range(__first, this->_M_finish);
316 iterator __new_finish = this->_M_finish - __n;
317 this->_M_destroy_nodes(__new_finish._M_node + 1, this->_M_finish._M_node + 1);
318 this->_M_finish = __new_finish;
336 _STLP_STD::copy(__last, this->_M_finish, __first);
337 iterator __new_finish = this->_M_finish - __n;
338 _STLP_STD::_Destroy_Range(__new_finish, this->_M_finish);
339 this->_M_destroy_nodes(__new_finish._M_node + 1, this->_M_finish._M_node + 1);
340 this->_M_finish = __new_finish;
348 __node < this->_M_finish._M_node;
354 if (this->_M_start._M_node != this->_M_finish._M_node) {
356 _STLP_STD::_Destroy_Range(this->_M_finish._M_first, this->_M_finish._M_cur);
357 this->_M_map_size.deallocate(this->_M_finish._M_first, this->buffer_size());
360 _STLP_STD::_Destroy_Range(this->_M_start._M_cur, this->_M_finish._M_cur);
362 this->_M_finish = this->_M_start;
365 // Precondition: this->_M_start and this->_M_finish have already been initialized,
372 for (; __cur < this->_M_finish._M_node; ++__cur)
374 uninitialized_fill(this->_M_finish._M_first, this->_M_finish._M_cur, __val);
380 // Called only if this->_M_finish._M_cur == this->_M_finish._M_last - 1.
384 *(this->_M_finish._M_node + 1) = this->_M_map_size.allocate(this->buffer_size());
386 _Copy_Construct(this->_M_finish._M_cur, __t);
387 this->_M_finish._M_set_node(this->_M_finish._M_node + 1);
388 this->_M_finish._M_cur = this->_M_finish._M_first;
390 _STLP_UNWIND(this->_M_map_size.deallocate(*(this->_M_finish._M_node + 1),
395 // Called only if this->_M_finish._M_cur == this->_M_finish._M_last - 1.
399 *(this->_M_finish._M_node + 1) = this->_M_map_size.allocate(this->buffer_size());
401 _STLP_STD::_Construct(this->_M_finish._M_cur);
402 this->_M_finish._M_set_node(this->_M_finish._M_node + 1);
403 this->_M_finish._M_cur = this->_M_finish._M_first;
405 _STLP_UNWIND(this->_M_map_size.deallocate(*(this->_M_finish._M_node + 1),
441 // Called only if this->_M_finish._M_cur == this->_M_finish._M_first.
444 this->_M_map_size.deallocate(this->_M_finish._M_first, this->buffer_size());
445 this->_M_finish._M_set_node(this->_M_finish._M_node - 1);
446 this->_M_finish._M_cur = this->_M_finish._M_last - 1;
489 __pos = this->_M_finish - __elems_after;
492 iterator __src = this->_M_finish;
497 this->_M_finish = __new_finish;
500 _STLP_UNWIND(this->_M_destroy_nodes(this->_M_finish._M_node + 1, __new_finish._M_node + 1))
536 iterator __old_finish = this->_M_finish;
539 __pos = this->_M_finish - __elems_after;
542 iterator __finish_n = this->_M_finish - difference_type(__n);
543 _STLP_PRIV __ucopy(__finish_n, this->_M_finish, this->_M_finish);
544 this->_M_finish = __new_finish;
549 _STLP_PRIV __uninitialized_fill_copy(this->_M_finish, __pos + difference_type(__n),
550 __x_copy, __pos, this->_M_finish);
551 this->_M_finish = __new_finish;
555 _STLP_UNWIND(this->_M_destroy_nodes(this->_M_finish._M_node + 1, __new_finish._M_node + 1))
585 __pos = this->_M_finish - __elems_after;
588 iterator __src = this->_M_finish;
593 this->_M_finish = __new_finish;
596 _STLP_UNWIND(this->_M_destroy_nodes(this->_M_finish._M_node + 1, __new_finish._M_node + 1))
629 iterator __old_finish = this->_M_finish;
632 __pos = this->_M_finish - __elems_after;
636 iterator __finish_n = this->_M_finish - difference_type(__n);
637 _STLP_PRIV __ucopy(__finish_n, this->_M_finish, this->_M_finish);
638 this->_M_finish = __new_finish;
644 _STLP_PRIV __uninitialized_copy_copy(__mid, __last, __pos, this->_M_finish, this->_M_finish);
645 this->_M_finish = __new_finish;
649 _STLP_UNWIND(this->_M_destroy_nodes(this->_M_finish._M_node + 1, __new_finish._M_node + 1))
677 __pos = this->_M_finish - __elems_after;
680 iterator __src = this->_M_finish;
685 this->_M_finish = __new_finish;
688 _STLP_UNWIND(this->_M_destroy_nodes(this->_M_finish._M_node + 1, __new_finish._M_node + 1))
721 iterator __old_finish = this->_M_finish;
723 __pos = this->_M_finish - __elems_after;
726 iterator __finish_n = this->_M_finish - difference_type(__n);
727 _STLP_PRIV __ucopy(__finish_n, this->_M_finish, this->_M_finish);
728 this->_M_finish = __new_finish;
734 _STLP_PRIV __uninitialized_copy_copy(__mid, __last, __pos, this->_M_finish, this->_M_finish);
735 this->_M_finish = __new_finish;
739 _STLP_UNWIND(this->_M_destroy_nodes(this->_M_finish._M_node + 1, __new_finish._M_node + 1))
766 *(this->_M_finish._M_node + __i) = this->_M_map_size.allocate(this->buffer_size());
769 this->_M_map_size.deallocate(*(this->_M_finish._M_node + __j), this->buffer_size()))
775 size_type __old_num_nodes = this->_M_finish._M_node - this->_M_start._M_node + 1;
783 _STLP_STD::copy(this->_M_start._M_node, this->_M_finish._M_node + 1, __new_nstart);
785 _STLP_STD::copy_backward(this->_M_start._M_node, this->_M_finish._M_node + 1,
795 _STLP_STD::copy(this->_M_start._M_node, this->_M_finish._M_node + 1, __new_nstart);
803 this->_M_finish._M_set_node(__new_nstart + __old_num_nodes - 1);