Lines Matching refs:last_loc
290 int last_loc, last_inserted_loc, location; in leaf_copy_items_entirely() local
341 last_loc = ih_location(&(ih[nr + cpy_num - 1 - dest_before])); in leaf_copy_items_entirely()
349 memmove(dest->b_data + last_loc, in leaf_copy_items_entirely()
350 dest->b_data + last_loc + j - last_inserted_loc, in leaf_copy_items_entirely()
351 last_inserted_loc - last_loc); in leaf_copy_items_entirely()
807 int last_loc, unmoved_loc; in leaf_insert_into_buf() local
826 last_loc = nr ? ih_location(&(ih[nr - before - 1])) : bh->b_size; in leaf_insert_into_buf()
829 memmove(bh->b_data + last_loc - ih_item_len(inserted_item_ih), in leaf_insert_into_buf()
830 bh->b_data + last_loc, unmoved_loc - last_loc); in leaf_insert_into_buf()
881 int last_loc, unmoved_loc; in leaf_paste_in_buffer() local
907 last_loc = ih_location(&(ih[nr - affected_item_num - 1])); in leaf_paste_in_buffer()
911 memmove(bh->b_data + last_loc - paste_size, bh->b_data + last_loc, in leaf_paste_in_buffer()
912 unmoved_loc - last_loc); in leaf_paste_in_buffer()
1039 int last_loc, unmoved_loc; in leaf_cut_from_buffer() local
1092 last_loc = ih_location(&(ih[nr - cut_item_num - 1])); in leaf_cut_from_buffer()
1098 memmove(bh->b_data + last_loc + cut_size, bh->b_data + last_loc, in leaf_cut_from_buffer()
1099 unmoved_loc - last_loc - cut_size); in leaf_cut_from_buffer()
1134 int last_loc, last_removed_loc; in leaf_delete_items_entirely() local
1165 last_loc = ih_location(&(ih[nr - 1 - first])); in leaf_delete_items_entirely()
1168 memmove(bh->b_data + last_loc + j - last_removed_loc, in leaf_delete_items_entirely()
1169 bh->b_data + last_loc, last_removed_loc - last_loc); in leaf_delete_items_entirely()