Lines Matching refs:paste_size
807 int pos_in_item, int paste_size, in leaf_paste_in_buffer() argument
824 RFALSE( free_space < paste_size, in leaf_paste_in_buffer()
826 paste_size, free_space); in leaf_paste_in_buffer()
829 if (zeros_number > paste_size) { in leaf_paste_in_buffer()
832 zeros_number, paste_size); in leaf_paste_in_buffer()
844 memmove (bh->b_data + last_loc - paste_size, bh->b_data + last_loc, in leaf_paste_in_buffer()
851 ih_location( &(ih[i-affected_item_num])) - paste_size ); in leaf_paste_in_buffer()
857 memmove (bh->b_data + ih_location(ih) + paste_size, in leaf_paste_in_buffer()
861 memcpy (bh->b_data + ih_location(ih) + zeros_number, body, paste_size - zeros_number); in leaf_paste_in_buffer()
863 memset (bh->b_data + unmoved_loc - paste_size, 0, zeros_number); in leaf_paste_in_buffer()
864 memcpy (bh->b_data + unmoved_loc - paste_size + zeros_number, body, paste_size - zeros_number); in leaf_paste_in_buffer()
869 memset(bh->b_data + unmoved_loc - paste_size, '\0', paste_size); in leaf_paste_in_buffer()
871 put_ih_item_len( ih, ih_item_len(ih) + paste_size ); in leaf_paste_in_buffer()
874 set_blkh_free_space( blkh, free_space - paste_size ); in leaf_paste_in_buffer()
880 put_dc_size( t_dc, dc_size(t_dc) + paste_size ); in leaf_paste_in_buffer()
1127 int paste_size in leaf_paste_entries() argument
1155 …insert_point = item + (before ? deh_location( &(deh[before - 1])) : (ih_item_len(ih) - paste_size)… in leaf_paste_entries()
1164 put_deh_location( &(deh[i]), deh_location(&(deh[i])) + paste_size ); in leaf_paste_entries()
1170 …memmove (insert_point + paste_size, insert_point, item + (ih_item_len(ih) - paste_size) - insert_p… in leaf_paste_entries()
1174 paste_size - DEH_SIZE * new_entry_count); in leaf_paste_entries()