Home
last modified time | relevance | path

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

/external/abseil-cpp/absl/container/internal/
Dbtree.h729 void rebalance_right_to_left(int to_move, btree_node *right,
731 void rebalance_left_to_right(int to_move, btree_node *right,
1518 void btree_node<P>::rebalance_right_to_left(const int to_move,
1524 assert(to_move >= 1);
1525 assert(to_move <= right->count());
1531 right->uninitialized_move_n(to_move - 1, right->start(), finish() + 1, this,
1535 params_type::move(alloc, right->slot(to_move - 1),
1539 params_type::move(alloc, right->slot(to_move), right->finish_slot(),
1543 right->value_destroy_n(right->finish() - to_move, to_move, alloc);
1547 for (int i = 0; i < to_move; ++i) {
[all …]
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dbtree.h729 void rebalance_right_to_left(int to_move, btree_node *right,
731 void rebalance_left_to_right(int to_move, btree_node *right,
1518 void btree_node<P>::rebalance_right_to_left(const int to_move,
1524 assert(to_move >= 1);
1525 assert(to_move <= right->count());
1531 right->uninitialized_move_n(to_move - 1, right->start(), finish() + 1, this,
1535 params_type::move(alloc, right->slot(to_move - 1),
1539 params_type::move(alloc, right->slot(to_move), right->finish_slot(),
1543 right->value_destroy_n(right->finish() - to_move, to_move, alloc);
1547 for (int i = 0; i < to_move; ++i) {
[all …]
/external/rust/crates/grpcio-sys/grpc/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 …]
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dbtree.h807 void rebalance_right_to_left(int to_move, btree_node *right,
809 void rebalance_left_to_right(int to_move, btree_node *right,
1586 void btree_node<P>::rebalance_right_to_left(const int to_move,
1592 assert(to_move >= 1);
1593 assert(to_move <= right->count());
1599 transfer_n(to_move - 1, finish() + 1, right->start(), right, alloc);
1602 parent()->transfer(position(), right->start() + to_move - 1, right, alloc);
1605 right->transfer_n(right->count() - to_move, right->start(),
1606 right->start() + to_move, right, alloc);
1610 for (int i = 0; i < to_move; ++i) {
[all …]
/external/libtextclassifier/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 …]
/external/adhd/cras/src/server/
Dcras_alsa_helpers.c247 snd_pcm_sframes_t to_move, avail_frames; in cras_alsa_resume_appl_ptr() local
267 to_move = avail_frames - buffer_frames + ahead; in cras_alsa_resume_appl_ptr()
268 if (to_move > 0) { in cras_alsa_resume_appl_ptr()
269 rc = snd_pcm_forward(handle, to_move); in cras_alsa_resume_appl_ptr()
270 } else if (to_move < 0) { in cras_alsa_resume_appl_ptr()
271 rc = snd_pcm_rewind(handle, -to_move); in cras_alsa_resume_appl_ptr()
/external/tensorflow/tensorflow/compiler/xla/service/
Dconditional_code_motion.cc1242 std::vector<Boundary>& to_move, std::vector<Boundary>& new_boundaries, in ConsiderCodeMotion() argument
1260 to_move = move_in_or_out; in ConsiderCodeMotion()
1261 return Decision(to_move[0].IsInsideBranch() in ConsiderCodeMotion()
1364 std::vector<Boundary> to_move, next_boundary; in Run() local
1367 auto d = ConsiderCodeMotion(conditional, boundary, to_move, next_boundary, in Run()
1372 to_move_out.push_back(to_move); in Run()
1385 to_move_in.push_back(to_move); in Run()
Dconditional_code_motion.h131 std::vector<Boundary>& to_move, std::vector<Boundary>& new_boundaries,
/external/e2fsprogs/resize/
Dresize2fs.c1668 int to_move, moved; in block_mover() local
1695 to_move = moved = 0; in block_mover()
1717 to_move++; in block_mover()
1720 if (to_move == 0) { in block_mover()
1737 0, to_move); in block_mover()
1772 moved, to_move); in block_mover()
2405 int to_move, moved; in move_itables() local
2434 to_move = moved = 0; in move_itables()
2438 to_move++; in move_itables()
2440 if (to_move == 0) { in move_itables()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Ddot_handler.cc3057 absl::flat_hash_set<HloInstruction*> to_move; in MoveUsersIntoWindowedDotGeneralLoopOnNonContractingDimensions() local
3074 to_move.insert(original_output); in MoveUsersIntoWindowedDotGeneralLoopOnNonContractingDimensions()
3078 if (to_move.count(inst) > 0) { in MoveUsersIntoWindowedDotGeneralLoopOnNonContractingDimensions()
3087 to_move.insert(inst); in MoveUsersIntoWindowedDotGeneralLoopOnNonContractingDimensions()
3107 if (to_move.count(operand) > 0) { in MoveUsersIntoWindowedDotGeneralLoopOnNonContractingDimensions()
3116 to_move.insert(n); in MoveUsersIntoWindowedDotGeneralLoopOnNonContractingDimensions()
3126 to_move.clear(); in MoveUsersIntoWindowedDotGeneralLoopOnNonContractingDimensions()
3129 to_move.insert(inst); in MoveUsersIntoWindowedDotGeneralLoopOnNonContractingDimensions()
3134 to_move.clear(); in MoveUsersIntoWindowedDotGeneralLoopOnNonContractingDimensions()
3140 if (to_move.size() <= 1) { in MoveUsersIntoWindowedDotGeneralLoopOnNonContractingDimensions()
[all …]
/external/usrsctp/usrsctplib/netinet/
Dsctp_output.c7766 uint32_t to_move, length; local
7794 to_move = 0;
7849 to_move = 0;
7857 to_move = 0;
7879 to_move = 0;
7888 to_move = min(length, frag_point);
7889 if (to_move == length) {
7908 to_move = sctp_can_we_split_this(stcb, length, space_left, frag_point, eeor_mode);
7909 if (to_move) {
7917 if (to_move >= llen) {
[all …]