Searched refs:COL_OFF (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/nvi/ex/ |
H A D | ex_txt.c | 387 scno += COL_OFF(scno, ts); in txt_dent() 408 for (; cno + COL_OFF(cno, ts) <= scno; ++tabs) in txt_dent() 409 cno += COL_OFF(cno, ts); in txt_dent()
|
/freebsd/contrib/nvi/vi/ |
H A D | v_txt.c | 1684 scno += COL_OFF(scno, ts); in txt_ai_resolve() 1703 for (; cno + COL_OFF(cno, ts) <= scno; ++tabs) in txt_ai_resolve() 1704 cno += COL_OFF(cno, ts); in txt_ai_resolve() 1892 COL_OFF(current, ts) : KEY_COL(sp, tp->lb[cno]); in txt_dent() 1896 target += COL_OFF(target, sw); in txt_dent() 1922 COL_OFF(current, ts) : KEY_COL(sp, tp->lb[cno]); in txt_dent() 1942 for (; cno + COL_OFF(cno, ts) <= target; ++tabs) in txt_dent() 1943 cno += COL_OFF(cno, ts); in txt_dent() 2166 colwidth += COL_OFF(colwidth, 6); in txt_fc_col()
|
H A D | vi.h | 354 #define TAB_OFF(c) COL_OFF((c), O_VAL(sp, O_TABSTOP))
|
/freebsd/contrib/nvi/common/ |
H A D | util.h | 27 #define COL_OFF(c, stop) ((stop) - ((c) % (stop))) macro
|