Home
last modified time | relevance | path

Searched refs:to_move (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dbtree.h840 void rebalance_right_to_left(int to_move, btree_node *right,
842 void rebalance_left_to_right(int to_move, btree_node *right,
1632 void btree_node<P>::rebalance_right_to_left(const int to_move,
1638 assert(to_move >= 1);
1639 assert(to_move <= right->count());
1645 transfer_n(to_move - 1, finish() + 1, right->start(), right, alloc);
1648 parent()->transfer(position(), right->start() + to_move - 1, right, alloc);
1651 right->transfer_n(right->count() - to_move, right->start(),
1652 right->start() + to_move, right, alloc);
1656 for (int i = 0; i < to_move; ++i) {
[all …]
/third_party/abseil-cpp/absl/container/internal/
Dbtree.h764 void rebalance_right_to_left(int to_move, btree_node *right,
766 void rebalance_left_to_right(int to_move, btree_node *right,
1578 void btree_node<P>::rebalance_right_to_left(const int to_move,
1584 assert(to_move >= 1);
1585 assert(to_move <= right->count());
1591 transfer_n(to_move - 1, finish() + 1, right->start(), right, alloc);
1594 parent()->transfer(position(), right->start() + to_move - 1, right, alloc);
1597 right->transfer_n(right->count() - to_move, right->start(),
1598 right->start() + to_move, right, alloc);
1602 for (int i = 0; i < to_move; ++i) {
[all …]
/third_party/boost/boost/geometry/index/detail/
Dvarray.hpp811 difference_type to_move = std::distance(position, this->end()); in insert() local
815 if ( count < static_cast<size_type>(to_move) ) in insert()
819 … sv::move_backward(position, position + to_move - count, this->end() - count); // may throw in insert()
825 m_size += count - to_move; // update end in insert()
826 … sv::uninitialized_move(position, position + to_move, position + count); // may throw in insert()
827 m_size += to_move; // update end in insert()
828 … std::fill_n(position, to_move, value); // may throw in insert()
1722 difference_type to_move = std::distance(position, this->end()); in insert_in_the_middle() local
1726 if ( count < to_move ) in insert_in_the_middle()
1730 … sv::move_backward(position, position + to_move - count, this->end() - count); // may throw in insert_in_the_middle()
[all …]
/third_party/boost/libs/container/bench/detail/
Dvarray.hpp838 difference_type to_move = boost::container::iterator_distance(position, this->end()); in insert() local
842 if ( count < static_cast<size_type>(to_move) ) in insert()
846 … sv::move_backward(position, position + to_move - count, this->end() - count); // may throw in insert()
852 m_size += count - to_move; // update end in insert()
853 … sv::uninitialized_move(position, position + to_move, position + count); // may throw in insert()
854 m_size += to_move; // update end in insert()
855 … std::fill_n(position, to_move, value); // may throw in insert()
1766 difference_type to_move = boost::container::iterator_distance(position, this->end()); in insert_in_the_middle() local
1770 if ( count < to_move ) in insert_in_the_middle()
1774 … sv::move_backward(position, position + to_move - count, this->end() - count); // may throw in insert_in_the_middle()
[all …]
/third_party/e2fsprogs/resize/
Dresize2fs.c1679 int to_move, moved; in block_mover() local
1706 to_move = moved = 0; in block_mover()
1728 to_move++; in block_mover()
1731 if (to_move == 0) { in block_mover()
1748 0, to_move); in block_mover()
1785 moved, to_move); in block_mover()
2419 int to_move, moved; in move_itables() local
2448 to_move = moved = 0; in move_itables()
2452 to_move++; in move_itables()
2454 if (to_move == 0) { in move_itables()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_output.c7722 uint32_t to_move, length; local
7750 to_move = 0;
7805 to_move = 0;
7813 to_move = 0;
7835 to_move = 0;
7844 to_move = min(length, frag_point);
7845 if (to_move == length) {
7864 to_move = sctp_can_we_split_this(stcb, length, space_left, frag_point, eeor_mode);
7865 if (to_move) {
7873 if (to_move >= llen) {
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-resampler.c1436 gsize bytes, to_move = 0; in get_sample_bufs() local
1448 to_move = resampler->samples_avail * resampler->bps * resampler->inc; in get_sample_bufs()
1452 memcpy (ptr + (c * bytes), resampler->sbuf[c], to_move); in get_sample_bufs()