| /openbsd/src/usr.bin/vi/vi/ |
| D | vs_relative.c | 39 *colp = (O_ISSET(sp, O_LEFTRIGHT) ? in vs_column() 41 vip->sc_col - (O_ISSET(sp, O_NUMBER) ? O_NUMBER_LENGTH : 0); in vs_column() 59 if (O_ISSET(sp, O_LEFTRIGHT)) in vs_screens() 110 if (O_ISSET(sp, O_NUMBER)) { in vs_columns() 130 listset = O_ISSET(sp, O_LIST); in vs_columns() 131 leftright = O_ISSET(sp, O_LEFTRIGHT); in vs_columns() 239 listset = O_ISSET(sp, O_LIST); in vs_colpos() 240 leftright = O_ISSET(sp, O_LEFTRIGHT); in vs_colpos()
|
| D | vs_line.c | 105 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_line() 113 list_tab = O_ISSET(sp, O_LIST); in vs_line() 134 if (O_ISSET(sp, O_NUMBER)) { in vs_line() 225 if (O_ISSET(sp, O_LEFTRIGHT) || skip_cols > cols_per_screen) in vs_line() 247 if (O_ISSET(sp, O_LEFTRIGHT) || skip_cols > cols_per_screen) in vs_line() 257 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_line() 387 if (O_ISSET(sp, O_NUMBER) && in vs_line() 494 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_number()
|
| D | v_itxt.c | 284 if (O_ISSET(sp, O_AUTOINDENT)) { in v_change() 465 if (O_ISSET(sp, O_ALTWERASE)) in set_txt_std() 467 if (O_ISSET(sp, O_AUTOINDENT)) in set_txt_std() 469 if (O_ISSET(sp, O_BEAUTIFY)) in set_txt_std() 471 if (O_ISSET(sp, O_SHOWMATCH)) in set_txt_std() 475 if (O_ISSET(sp, O_TTYWERASE)) in set_txt_std() 507 if ((O_ISSET(sp, O_WRAPLEN) || O_ISSET(sp, O_WRAPMARGIN)) && in set_txt_std()
|
| D | vs_refresh.c | 93 if (O_ISSET(sp, O_NUMBER)) in vs_refresh() 396 adjust: if (!O_ISSET(sp, O_LEFTRIGHT) && in vs_paint() 428 if (O_ISSET(sp, O_LEFTRIGHT)) in vs_paint() 595 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_paint() 601 if (O_ISSET(sp, O_NUMBER)) in vs_paint() 718 number: if (O_ISSET(sp, O_NUMBER) && in vs_paint() 814 if (IS_SPLIT(sp) || O_ISSET(sp, O_SHOWFILENAME)) { in vs_modeline() 859 if (O_ISSET(sp, O_RULER)) { in vs_modeline() 888 if (O_ISSET(sp, O_SHOWMODE)) { in vs_modeline() 897 if (O_ISSET(sp, O_SHOWMODE)) { in vs_modeline()
|
| D | vs_smap.c | 304 if (O_ISSET(sp, O_LEFTRIGHT)) in vs_sm_delete() 407 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_sm_reset() 687 (O_ISSET(sp, O_LEFTRIGHT) ? in vs_sm_up() 795 (O_ISSET(sp, O_LEFTRIGHT) || HMAP->soff == 1) && in vs_sm_down() 822 (O_ISSET(sp, O_LEFTRIGHT) || s2.soff == 1)) in vs_sm_down() 834 (O_ISSET(sp, O_LEFTRIGHT) || HMAP->soff == 1)) in vs_sm_down() 851 (O_ISSET(sp, O_LEFTRIGHT) || HMAP->soff == 1)) in vs_sm_down() 915 (O_ISSET(sp, O_LEFTRIGHT) ? in vs_sm_down() 1022 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_sm_next() 1048 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_sm_prev() [all …]
|
| D | v_replace.c | 171 if (len != 0 && O_ISSET(sp, O_AUTOINDENT)) in v_replace() 177 if (len != 0 && O_ISSET(sp, O_AUTOINDENT)) { in v_replace()
|
| D | v_txt.c | 85 if (O_ISSET(sp, O_ALTWERASE)) in v_tcmd() 87 if (O_ISSET(sp, O_TTYWERASE)) in v_tcmd() 198 if (!O_ISSET(sp, O_LEFTRIGHT)) in txt_map_end() 753 if (O_ISSET(sp, O_AUTOINDENT)) in v_txt() 1218 O_ISSET(sp, O_EXPANDTAB)) { in v_txt() 1697 !O_ISSET(sp, O_EXPANDTAB)) in txt_ai_resolve() 1703 if (!O_ISSET(sp, O_EXPANDTAB)) { in txt_ai_resolve() 1940 if (!O_ISSET(sp, O_EXPANDTAB)) { in txt_dent()
|
| D | vi.c | 170 if (F_ISSET(vp->kp, V_SECURE) && O_ISSET(sp, O_SECURE)) { in vi() 564 if (key == '~' && O_ISSET(sp, O_TILDEOP)) in v_cmd() 661 else if (ismotion->key == '~' && O_ISSET(sp, O_TILDEOP)) in v_cmd()
|
| D | vi.h | 322 ((O_ISSET((sp), O_NUMBER) ? (sp)->cols - O_NUMBER_LENGTH : (sp)->cols))
|
| /openbsd/src/usr.bin/vi/ex/ |
| D | ex_subst.c | 215 if (!O_ISSET(sp, O_MAGIC)) in ex_s() 218 } else if (p[0] == '~' && O_ISSET(sp, O_MAGIC)) { in ex_s() 365 if (!O_ISSET(sp, O_EDCOMPATIBLE)) in s() 637 O_ISSET(sp, O_NUMBER) ? E_C_HASH : 0; in s() 882 if (O_ISSET(sp, O_EXTENDED)) in re_compile() 884 if (O_ISSET(sp, O_IGNORECASE)) in re_compile() 886 if (O_ISSET(sp, O_ICLOWER)) { in re_compile() 1009 if (!O_ISSET(sp, O_MAGIC)) { in re_conv() 1017 if (!O_ISSET(sp, O_MAGIC)) { in re_conv() 1029 if (O_ISSET(sp, O_MAGIC)) { in re_conv() [all …]
|
| D | ex_bang.c | 100 if (O_ISSET(sp, O_AUTOWRITE)) { in ex_bang() 103 } else if (O_ISSET(sp, O_WARN) && in ex_bang() 175 if (O_ISSET(sp, O_EXPANDTAB)) in ex_bang()
|
| D | ex_usage.c | 137 if (key == '~' && O_ISSET(sp, O_TILDEOP)) in ex_viusage() 154 if (key == '~' && O_ISSET(sp, O_TILDEOP)) in ex_viusage()
|
| D | ex_append.c | 230 if (!FL_ISSET(cmdp->iflags, E_C_FORCE) && O_ISSET(sp, O_AUTOINDENT)) in ex_aci() 232 if (O_ISSET(sp, O_BEAUTIFY)) in ex_aci()
|
| D | ex_open.c | 34 if (!O_ISSET(sp, O_OPEN)) { in ex_open()
|
| D | ex_print.c | 167 if (O_ISSET(sp, O_NUMBER)) { in ex_scprint() 202 if (O_ISSET(sp, O_LIST)) in ex_prchars()
|
| D | ex_txt.c | 357 if (LF_ISSET(TXT_NUMBER) && O_ISSET(sp, O_NUMBER)) in txt_prompt() 405 if (!O_ISSET(sp, O_EXPANDTAB)) { in txt_dent()
|
| D | ex_visual.c | 43 if (!O_ISSET(sp, O_OPEN)) { in ex_visual()
|
| D | ex_shift.c | 146 if (!O_ISSET(sp, O_EXPANDTAB)) { in shift()
|
| /openbsd/src/usr.bin/vi/common/ |
| D | search.c | 184 if (!O_ISSET(sp, O_WRAPSCAN)) { in f_search() 213 if (!O_ISSET(sp, O_WRAPSCAN)) { in f_search() 304 if (fm->lno == 1 && !O_ISSET(sp, O_WRAPSCAN)) { in b_search() 332 if (!O_ISSET(sp, O_WRAPSCAN)) { in b_search()
|
| D | exf.c | 343 if (rcv_name == NULL && !O_ISSET(sp, O_READONLY)) in file_init() 574 if (O_ISSET(sp, O_COMMENT)) in file_cinit() 759 if (!LF_ISSET(FS_FORCE) && noname && O_ISSET(sp, O_READONLY)) { in file_write() 767 if (!LF_ISSET(FS_FORCE | FS_APPEND) && !O_ISSET(sp, O_WRITEANY)) { in file_write() 1224 if (O_ISSET(sp, O_AUTOWRITE)) { in file_m1() 1314 if (!O_ISSET(sp, O_AUTOWRITE)) in file_aw() 1326 if (O_ISSET(sp, O_READONLY)) { in file_aw() 1387 if (!O_ISSET(sp, O_LOCKFILES)) in file_lock()
|
| D | msg.c | 64 if (F_ISSET(sp, SC_VI) && !O_ISSET(sp, O_VERBOSE)) { in msgq() 71 if (!O_ISSET(sp, O_VERBOSE)) in msgq() 419 if (O_ISSET(sp, O_READONLY)) { in msgq_status()
|
| D | options.c | 508 if (!O_ISSET(sp, offset)) in opts_set() 511 if (O_ISSET(sp, offset)) in opts_set() 832 if (!O_ISSET(sp, cnt)) in opts_dump() 899 "%s%s", O_ISSET(sp, offset) ? "" : "no", op->name); in opts_print() 932 if (O_ISSET(sp, cnt)) in opts_save()
|
| D | key.c | 271 } else if (O_ISSET(sp, O_OCTAL)) { in v_key_name() 621 if (O_ISSET(sp, O_TIMEOUT)) in v_event_get() 666 if (O_ISSET(sp, O_REMAP)) { in v_event_get()
|
| D | options.h | 62 #define O_ISSET(sp, o) O_VAL((sp), (o)) macro
|
| /openbsd/src/usr.bin/vi/cl/ |
| D | cl_funcs.c | 212 if (O_ISSET(sp, O_FLASH)) in cl_bell() 216 } else if (!O_ISSET(sp, O_FLASH)) in cl_bell()
|