Lines Matching refs:closest
2321 long closest; in undo_time() local
2349 closest = -1; in undo_time()
2398 closest = -1; in undo_time()
2403 closest = (long)(vim_time() + 1); in undo_time()
2405 closest = curbuf->b_u_save_nr_last + 2; in undo_time()
2407 closest = curbuf->b_u_seq_last + 2; in undo_time()
2408 if (target >= closest) in undo_time()
2409 target = closest - 1; in undo_time()
2412 closest_start = closest; in undo_time()
2462 && ((dosec && val == closest) in undo_time()
2466 : closest == closest_start in undo_time()
2468 ? (closest > target in undo_time()
2469 ? val - target <= closest - target in undo_time()
2470 : val - target <= target - closest) in undo_time()
2471 : (closest > target in undo_time()
2472 ? target - val <= closest - target in undo_time()
2473 : target - val <= target - closest)))) in undo_time()
2475 closest = val; in undo_time()
2531 if (closest == closest_start) in undo_time()