Home
last modified time | relevance | path

Searched refs:KEY_LEN (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/usr.bin/vi/vi/
Dvs_refresh.c513 for (cwtotal = 0; cnt--; cwtotal += KEY_LEN(sp, ch)) in vs_paint()
527 if (KEY_LEN(sp, ch) > 1) in vs_paint()
528 cwtotal -= KEY_LEN(sp, ch) - 1; in vs_paint()
555 if ((cwtotal += KEY_LEN(sp, ch)) >= SCREEN_COLS(sp)) in vs_paint()
821 if ((curlen += KEY_LEN(sp, *p)) > cols) { in vs_modeline()
824 KEY_LEN(sp, '.') * 3 + KEY_LEN(sp, ' '); in vs_modeline()
827 curlen -= KEY_LEN(sp, *p); in vs_modeline()
835 KEY_NAME(sp, '.'), KEY_LEN(sp, '.')); in vs_modeline()
837 KEY_NAME(sp, ' '), KEY_LEN(sp, ' ')); in vs_modeline()
841 KEY_NAME(sp, *p), KEY_LEN(sp, *p)); in vs_modeline()
[all …]
Dvs_line.c185 KEY_NAME(sp, ch), KEY_LEN(sp, ch)); in vs_line()
260 TAB_OFF(scno) : KEY_LEN(sp, ch); in vs_line()
284 TAB_OFF(scno) : KEY_LEN(sp, ch); in vs_line()
338 scno += chlen = KEY_LEN(sp, ch) - offset_in_char; in vs_line()
428 smp->c_ecsize = smp->c_eclen = KEY_LEN(sp, ch); in vs_line()
439 chlen = KEY_LEN(sp, '$'); in vs_line()
Dvs_relative.c140 !listset ? TAB_OFF(val) : KEY_LEN(sp, ch); in vs_columns()
178 scno += KEY_LEN(sp, '$'); in vs_columns()
Dv_txt.c1891 COL_OFF(current, ts) : KEY_LEN(sp, tp->lb[cno]); in txt_dent()
1921 COL_OFF(current, ts) : KEY_LEN(sp, tp->lb[cno]); in txt_dent()
2152 col += KEY_LEN(sp, *p); in txt_fc_col()
2241 nlen = KEY_LEN(sp, ch); in txt_emark()
2245 olen = KEY_LEN(sp, tp->lb[cno]); in txt_emark()
2420 nlen = KEY_LEN(sp, *chp); in txt_insch()
2435 olen = KEY_LEN(sp, tp->lb[cno]); in txt_insch()
Dvs_msg.c478 chlen = KEY_LEN(sp, ch); in vs_output()
/openbsd/src/usr.bin/vi/common/
Dgs.h112 #define KEY_LEN(sp, ch) \ macro
Dmsg.c358 len = KEY_LEN(sp, *t); in msgq_status()
/openbsd/src/usr.bin/vi/ex/
Dex_print.c216 tlen = KEY_LEN(sp, ch); in ex_prchars()