Lines Matching refs:uh_seq
583 uhp->uh_seq = ++curbuf->b_u_seq_last; in u_savecommon()
584 curbuf->b_u_seq_cur = uhp->uh_seq; in u_savecommon()
1036 undo_write_bytes(bi, (long_u)(uhp != NULL ? uhp->uh_seq : 0), 4); in put_header_ptr()
1294 undo_write_bytes(bi, uhp->uh_seq, 4); in serialize_uhp()
1343 uhp->uh_seq = undo_read_4c(bi); in unserialize_uhp()
1344 if (uhp->uh_seq <= 0) in unserialize_uhp()
2085 && uhp_table[i]->uh_seq == uhp_table[j]->uh_seq) in u_read_undo()
2092 && uhp_table[j]->uh_seq == uhp->uh_next.seq) in u_read_undo()
2100 && uhp_table[j]->uh_seq == uhp->uh_prev.seq) in u_read_undo()
2108 && uhp_table[j]->uh_seq == uhp->uh_alt_next.seq) in u_read_undo()
2116 && uhp_table[j]->uh_seq == uhp->uh_alt_prev.seq) in u_read_undo()
2122 if (old_header_seq > 0 && old_idx < 0 && uhp->uh_seq == old_header_seq) in u_read_undo()
2127 if (new_header_seq > 0 && new_idx < 0 && uhp->uh_seq == new_header_seq) in u_read_undo()
2132 if (cur_header_seq > 0 && cur_idx < 0 && uhp->uh_seq == cur_header_seq) in u_read_undo()
2452 val = uhp->uh_seq; in undo_time()
2460 if ((step < 0 ? uhp->uh_seq <= curbuf->b_u_seq_cur in undo_time()
2461 : uhp->uh_seq > curbuf->b_u_seq_cur) in undo_time()
2464 ? uhp->uh_seq < closest_seq in undo_time()
2465 : uhp->uh_seq > closest_seq) in undo_time()
2476 closest_seq = uhp->uh_seq; in undo_time()
2484 target = uhp->uh_seq; in undo_time()
2565 || (uhp->uh_seq == target && !above)) in undo_time()
2626 if (uhp->uh_seq == target && above) in undo_time()
2641 if (uhp->uh_seq == target) // found it! in undo_time()
2931 curbuf->b_u_seq_cur = curhead->uh_seq; in u_undoredo()
2937 curbuf->b_u_seq_cur = curhead->uh_next.ptr->uh_seq; in u_undoredo()
3042 uhp == NULL ? 0L : uhp->uh_seq, in u_undo_end()
3100 uhp->uh_seq, changes); in ex_undolist()
3622 dict_add_number(dict, "seq", uhp->uh_seq); in u_eval_tree()