Lines Matching refs:indir

579 	    else if (options[opt_idx].indir != PV_NONE)  in set_option_default()
592 if (options[opt_idx].indir == PV_SCROLL) in set_option_default()
618 if (options[opt_idx].indir == PV_ML && getuid() == ROOT_UID) in set_option_default()
776 if (p->indir != PV_NONE in set_local_options_default()
777 && (do_buffer || (p->indir & PV_BUF) == 0) in set_local_options_default()
799 if (options[i].indir == PV_NONE) in free_all_options()
1478 options[opt_idx].indir == PV_FDM || in do_set()
1480 options[opt_idx].indir == PV_WRAP)) in do_set()
1547 else if ((int)options[opt_idx].indir & PV_WIN) in do_set()
1549 (int)options[opt_idx].indir & PV_MASK]); in do_set()
1550 else if ((int)options[opt_idx].indir & PV_BUF) in do_set()
1552 (int)options[opt_idx].indir & PV_MASK]); in do_set()
1730 && ((int)options[opt_idx].indir & PV_BOTH)) in do_set()
1747 if (((int)options[opt_idx].indir & PV_BOTH) in do_set()
1754 if (((int)options[opt_idx].indir & PV_BOTH) in do_set()
2078 && options[opt_idx].indir != PV_KEY in do_set()
2532 switch ((int)options[opt_idx].indir) in insecure_flag()
2595 int indir = (int)options[opt_idx].indir; in set_option_sctx_idx() local
2604 if (both || (opt_flags & OPT_GLOBAL) || (indir & (PV_BUF|PV_WIN)) == 0) in set_option_sctx_idx()
2608 if (indir & PV_BUF) in set_option_sctx_idx()
2609 curbuf->b_p_script_ctx[indir & PV_MASK] = new_script_ctx; in set_option_sctx_idx()
2610 else if (indir & PV_WIN) in set_option_sctx_idx()
2611 curwin->w_p_script_ctx[indir & PV_MASK] = new_script_ctx; in set_option_sctx_idx()
4091 if (p->indir == PV_NONE) in get_option_value_strict()
4100 if (p->indir & PV_BOTH) in get_option_value_strict()
4105 if (p->indir & PV_WIN) in get_option_value_strict()
4112 else if (p->indir & PV_BUF) in get_option_value_strict()
4132 if (p->indir == PV_MOD) in get_option_value_strict()
4138 else if (p->indir == PV_KEY) in get_option_value_strict()
4224 if (!(ret->indir == PV_NONE || ret->indir & PV_BOTH)) in option_iter_next()
4228 if (!(ret->indir & PV_BUF)) in option_iter_next()
4232 if (!(ret->indir & PV_WIN)) in option_iter_next()
4279 return options[opt_idx].indir == PV_NONE; in is_global_option()
4289 return options[opt_idx].indir & PV_BOTH; in is_global_local_option()
4317 return options[opt_idx].indir == PV_KEY; in is_crypt_key_option()
4552 if (p->indir != PV_NONE && !isterm) in showoptions()
4714 if (p->indir == PV_NONE && !(opt_flags & OPT_GLOBAL)) in makeset()
4732 if (p->indir != PV_NONE) in makeset()
4781 p->indir == PV_SYN || in makeset()
4783 p->indir == PV_FT) in makeset()
5093 switch ((int)p->indir) in unset_global_local_option()
5208 if ((opt_flags & OPT_GLOBAL) && p->indir != PV_NONE) in get_varp_scope()
5214 if ((opt_flags & OPT_LOCAL) && ((int)p->indir & PV_BOTH)) in get_varp_scope()
5216 switch ((int)p->indir) in get_varp_scope()
5288 switch ((int)p->indir) in get_varp()
5816 if (options[i].indir & PV_BUF) in init_buf_opt_idx()
5817 buf_opt_idx[options[i].indir & PV_MASK] = i; in init_buf_opt_idx()
7101 if ((bufopt && (opt->indir & PV_BUF)) in get_winbuf_options()
7102 || (!bufopt && (opt->indir & PV_WIN))) in get_winbuf_options()