Searched refs:new_num (Results 1 – 1 of 1) sorted by relevance
61 static inline int old_item_num (int new_num, int affected_item_num, int mode) in old_item_num() argument63 if (mode == M_PASTE || mode == M_CUT || new_num < affected_item_num) in old_item_num()64 return new_num; in old_item_num()68 RFALSE( new_num == 0, in old_item_num()71 return new_num - 1; in old_item_num()77 return new_num + 1; in old_item_num()84 int new_num; in create_virtual_node() local115 for (new_num = 0; new_num < vn->vn_nr_item; new_num ++) { in create_virtual_node()117 struct virtual_item * vi = vn->vn_vi + new_num; in create_virtual_node()118 int is_affected = ((new_num != vn->vn_affected_item_num) ? 0 : 1); in create_virtual_node()[all …]