Home
last modified time | relevance | path

Searched refs:O_ISSET (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/nvi/vi/
H A Dvs_relative.c37 *colp = (O_ISSET(sp, O_LEFTRIGHT) ? in vs_column()
39 vip->sc_col - (O_ISSET(sp, O_NUMBER) ? O_NUMBER_LENGTH : 0); in vs_column()
57 if (O_ISSET(sp, O_LEFTRIGHT)) in vs_screens()
107 if (O_ISSET(sp, O_NUMBER)) in vs_columns()
125 listset = O_ISSET(sp, O_LIST); in vs_columns()
126 leftright = O_ISSET(sp, O_LEFTRIGHT); in vs_columns()
235 listset = O_ISSET(sp, O_LIST); in vs_colpos()
236 leftright = O_ISSET(sp, O_LEFTRIGHT); in vs_colpos()
H A Dvs_line.c105 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()
230 if (O_ISSET(sp, O_LEFTRIGHT) || skip_cols > cols_per_screen) in vs_line()
252 if (O_ISSET(sp, O_LEFTRIGHT) || skip_cols > cols_per_screen) in vs_line()
262 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_line()
394 if (O_ISSET(sp, O_NUMBER) && in vs_line()
516 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_number()
H A Dv_itxt.c283 if (O_ISSET(sp, O_AUTOINDENT)) { in v_change()
464 if (O_ISSET(sp, O_ALTWERASE)) in set_txt_std()
466 if (O_ISSET(sp, O_AUTOINDENT)) in set_txt_std()
468 if (O_ISSET(sp, O_BEAUTIFY)) in set_txt_std()
470 if (O_ISSET(sp, O_SHOWMATCH)) in set_txt_std()
474 if (O_ISSET(sp, O_TTYWERASE)) in set_txt_std()
506 if ((O_ISSET(sp, O_WRAPLEN) || O_ISSET(sp, O_WRAPMARGIN)) && in set_txt_std()
H A Dvs_refresh.c95 if (O_ISSET(sp, O_NUMBER)) in vs_refresh()
391 adjust: if (!O_ISSET(sp, O_LEFTRIGHT) && in vs_paint()
423 if (O_ISSET(sp, O_LEFTRIGHT)) in vs_paint()
590 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_paint()
596 if (O_ISSET(sp, O_NUMBER)) in vs_paint()
711 number: if (O_ISSET(sp, O_NUMBER) && in vs_paint()
799 if (IS_SPLIT(sp) || O_ISSET(sp, O_SHOWFILENAME)) { in vs_modeline()
848 if (O_ISSET(sp, O_RULER)) { in vs_modeline()
877 if (O_ISSET(sp, O_SHOWMODE)) { in vs_modeline()
886 if (O_ISSET(sp, O_SHOWMODE)) { in vs_modeline()
H A Dvs_smap.c317 if (O_ISSET(sp, O_LEFTRIGHT)) in vs_sm_delete()
420 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_sm_reset()
700 (O_ISSET(sp, O_LEFTRIGHT) ? in vs_sm_up()
815 (O_ISSET(sp, O_LEFTRIGHT) || HMAP->soff == 1) && in vs_sm_down()
842 (O_ISSET(sp, O_LEFTRIGHT) || s2.soff == 1)) in vs_sm_down()
854 (O_ISSET(sp, O_LEFTRIGHT) || HMAP->soff == 1)) in vs_sm_down()
871 (O_ISSET(sp, O_LEFTRIGHT) || HMAP->soff == 1)) in vs_sm_down()
935 (O_ISSET(sp, O_LEFTRIGHT) ? in vs_sm_down()
1049 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_sm_next()
1075 if (O_ISSET(sp, O_LEFTRIGHT)) { in vs_sm_prev()
[all …]
H A Dv_replace.c170 if (len != 0 && O_ISSET(sp, O_AUTOINDENT)) in v_replace()
176 if (len != 0 && O_ISSET(sp, O_AUTOINDENT)) { in v_replace()
H A Dv_txt.c81 if (O_ISSET(sp, O_ALTWERASE)) in v_tcmd()
83 if (O_ISSET(sp, O_TTYWERASE)) in v_tcmd()
194 if (!O_ISSET(sp, O_LEFTRIGHT)) in txt_map_end()
746 if (O_ISSET(sp, O_AUTOINDENT)) in v_txt()
1209 O_ISSET(sp, O_EXPANDTAB)) { in v_txt()
1696 !O_ISSET(sp, O_EXPANDTAB)) in txt_ai_resolve()
1702 if (!O_ISSET(sp, O_EXPANDTAB)) { in txt_ai_resolve()
1941 if (!O_ISSET(sp, O_EXPANDTAB)) { in txt_dent()
H A Dvi.c164 if (F_ISSET(vp->kp, V_SECURE) && O_ISSET(sp, O_SECURE)) { in vi()
558 if (key == '~' && O_ISSET(sp, O_TILDEOP)) in v_cmd()
655 else if (ismotion->key == '~' && O_ISSET(sp, O_TILDEOP)) in v_cmd()
H A Dvi.h322 ((O_ISSET(sp, O_NUMBER) ? (sp)->cols - O_NUMBER_LENGTH : (sp)->cols))
/freebsd/contrib/nvi/ex/
H A Dex_subst.c215 if (!O_ISSET(sp, O_MAGIC)) in ex_s()
218 } else if (p[0] == '~' && O_ISSET(sp, O_MAGIC)) { in ex_s()
367 if (!O_ISSET(sp, O_EDCOMPATIBLE)) in s()
647 O_ISSET(sp, O_NUMBER) ? E_C_HASH : 0; in s()
891 if (O_ISSET(sp, O_EXTENDED)) in re_compile()
893 if (O_ISSET(sp, O_IGNORECASE)) in re_compile()
895 if (O_ISSET(sp, O_ICLOWER)) { in re_compile()
1038 if (!O_ISSET(sp, O_MAGIC)) { in re_conv()
1046 if (!O_ISSET(sp, O_MAGIC)) { in re_conv()
1058 if (O_ISSET(sp, O_MAGIC)) { in re_conv()
[all …]
H A Dex_bang.c100 if (O_ISSET(sp, O_AUTOWRITE)) { in ex_bang()
103 } else if (O_ISSET(sp, O_WARN) && in ex_bang()
178 if (O_ISSET(sp, O_EXPANDTAB)) in ex_bang()
H A Dex_append.c231 if (!FL_ISSET(cmdp->iflags, E_C_FORCE) && O_ISSET(sp, O_AUTOINDENT)) in ex_aci()
233 if (O_ISSET(sp, O_BEAUTIFY)) in ex_aci()
H A Dex_usage.c157 if (key == '~' && O_ISSET(sp, O_TILDEOP)) in ex_viusage()
175 if (key == '~' && O_ISSET(sp, O_TILDEOP)) in ex_viusage()
H A Dex_open.c33 if (!O_ISSET(sp, O_OPEN)) { in ex_open()
H A Dex_print.c170 if (O_ISSET(sp, O_NUMBER)) { in ex_scprint()
207 if (O_ISSET(sp, O_LIST)) in ex_prchars()
H A Dex_txt.c359 if (LF_ISSET(TXT_NUMBER) && O_ISSET(sp, O_NUMBER)) in txt_prompt()
407 if (!O_ISSET(sp, O_EXPANDTAB)) { in txt_dent()
H A Dex_visual.c43 if (!O_ISSET(sp, O_OPEN)) { in ex_visual()
H A Dex_shift.c147 if (!O_ISSET(sp, O_EXPANDTAB)) { in shift()
H A Dex.c95 if (O_ISSET(sp, O_BEAUTIFY)) in ex()
97 if (O_ISSET(sp, O_PROMPT)) in ex()
512 if (F_ISSET(ecp->cmd, E_SECURE) && O_ISSET(sp, O_SECURE)) { in ex_cmd()
569 if (O_ISSET(sp, O_NUMBER)) { in ex_cmd()
1470 O_ISSET(sp, O_AUTOPRINT) && F_ISSET(ecp, E_AUTOPRINT)) { in ex_cmd()
/freebsd/contrib/nvi/common/
H A Dsearch.c185 if (!O_ISSET(sp, O_WRAPSCAN)) { in f_search()
214 if (!O_ISSET(sp, O_WRAPSCAN)) { in f_search()
314 if (fm->lno == 1 && !O_ISSET(sp, O_WRAPSCAN)) { in b_search()
342 if (!O_ISSET(sp, O_WRAPSCAN)) { in b_search()
H A Dexf.c583 if (O_ISSET(sp, O_COMMENT)) in file_cinit()
765 if (!LF_ISSET(FS_FORCE) && noname && O_ISSET(sp, O_READONLY)) {
773 if (!LF_ISSET(FS_FORCE | FS_APPEND) && !O_ISSET(sp, O_WRITEANY)) {
1246 else if (!O_ISSET(sp, O_FILEENCODING) ||
1323 if (O_ISSET(sp, O_AUTOWRITE)) {
1413 if (!O_ISSET(sp, O_AUTOWRITE))
1425 if (O_ISSET(sp, O_READONLY)) {
1486 if (!O_ISSET(sp, O_LOCKFILES))
H A Dkey.c272 if (O_ISSET(sp, O_ALTNOTATION)) { in v_key_name()
308 if (O_ISSET(sp, O_OCTAL)) { in v_key_name()
656 if (O_ISSET(sp, O_TIMEOUT)) in v_event_get()
698 if (O_ISSET(sp, O_REMAP)) { in v_event_get()
H A Doptions.c583 if (O_ISSET(sp, offset)) in opts_set()
586 if (!O_ISSET(sp, offset)) in opts_set()
894 if (!O_ISSET(sp, cnt)) in opts_dump()
962 "%s"WS, O_ISSET(sp, offset) ? "" : "no", op->name); in opts_print()
1001 if (O_ISSET(sp, cnt)) in opts_save()
H A Doptions.h58 #define O_ISSET(sp, o) O_VAL(sp, o) macro
H A Dmsg.c79 if (F_ISSET(sp, SC_VI) && !O_ISSET(sp, O_VERBOSE)) { in msgq()
86 if (!O_ISSET(sp, O_VERBOSE)) in msgq()
608 if (O_ISSET(sp, O_READONLY)) { in msgq_status()

12