Lines Matching refs:OPT_GLOBAL
565 int both = (opt_flags & (OPT_LOCAL | OPT_GLOBAL)) == 0; in set_option_default()
607 *(long *)get_varp_scope(&(options[opt_idx]), OPT_GLOBAL) = in set_option_default()
623 *(int *)get_varp_scope(&(options[opt_idx]), OPT_GLOBAL) = in set_option_default()
1204 flags = OPT_GLOBAL; in ex_set()
1605 OPT_GLOBAL); in do_set()
1661 &(options[opt_idx]), OPT_GLOBAL); in do_set()
1729 if ((opt_flags & (OPT_LOCAL | OPT_GLOBAL)) == 0 in do_set()
1737 if ((opt_flags & (OPT_LOCAL | OPT_GLOBAL)) == 0) in do_set()
1742 &(options[opt_idx]), OPT_GLOBAL); in do_set()
1797 &(options[opt_idx]), OPT_GLOBAL)); in do_set()
2310 if (!(opt_flags & OPT_GLOBAL)) in set_options_bin()
2326 if (!(opt_flags & OPT_GLOBAL)) in set_options_bin()
2344 if (!(opt_flags & OPT_GLOBAL)) in set_options_bin()
2594 int both = (opt_flags & (OPT_LOCAL | OPT_GLOBAL)) == 0; in set_option_sctx_idx()
2604 if (both || (opt_flags & OPT_GLOBAL) || (indir & (PV_BUF|PV_WIN)) == 0) in set_option_sctx_idx()
2638 set_option_sctx_idx(idx, OPT_GLOBAL, current_sctx); in set_term_option_sctx_idx()
2675 if (opt_flags & OPT_GLOBAL) in apply_optionset_autocmd()
2680 if ((opt_flags & (OPT_LOCAL | OPT_GLOBAL)) == 0) in apply_optionset_autocmd()
2725 if ((opt_flags & (OPT_LOCAL | OPT_GLOBAL)) == 0) in set_bool_option()
2727 OPT_GLOBAL); in set_bool_option()
2741 if ((opt_flags & (OPT_LOCAL | OPT_GLOBAL)) == 0) in set_bool_option()
2742 *(int *)get_varp_scope(&(options[opt_idx]), OPT_GLOBAL) = value; in set_bool_option()
2785 || (opt_flags & OPT_GLOBAL) || opt_flags == 0) in set_bool_option()
3331 if ((opt_flags & (OPT_LOCAL | OPT_GLOBAL)) == 0) in set_num_option()
3333 OPT_GLOBAL); in set_num_option()
3834 if ((opt_flags & (OPT_LOCAL | OPT_GLOBAL)) == 0) in set_num_option()
3835 *(long *)get_varp_scope(&(options[opt_idx]), OPT_GLOBAL) = *pp; in set_num_option()
4523 else if (opt_flags & OPT_GLOBAL) in showoptions()
4550 if ((opt_flags & (OPT_LOCAL | OPT_GLOBAL)) != 0) in showoptions()
4714 if (p->indir == PV_NONE && !(opt_flags & OPT_GLOBAL)) in makeset()
4719 if ((opt_flags & OPT_GLOBAL) && (p->flags & P_NOGLOB)) in makeset()
4724 if ((opt_flags & OPT_GLOBAL) && optval_default(p, varp, p_cp)) in makeset()
4741 if (!(opt_flags & OPT_GLOBAL) && !local_only) in makeset()
4743 varp_fresh = get_varp_scope(p, OPT_GLOBAL); in makeset()
4758 if (round == 1 || (opt_flags & OPT_GLOBAL)) in makeset()
5004 set_option_sctx_idx((int)(p - options), OPT_GLOBAL, current_sctx); in free_termoptions()
5208 if ((opt_flags & OPT_GLOBAL) && p->indir != PV_NONE) in get_varp_scope()