Home
last modified time | relevance | path

Searched refs:numval (Results 1 – 6 of 6) sorted by relevance

/vim-8.2.3635/src/proto/
H A Doption.pro28 getoption_T get_option_value(char_u *name, long *numval, char_u **stringval, int opt_flags);
29 int get_option_value_strict(char_u *name, long *numval, char_u **stringval, int opt_type, void *fro…
/vim-8.2.3635/src/
H A Devalvars.c1394 long numval; in ex_let_one() local
1402 opt_type = get_option_value(arg, &numval, &stringval, opt_flags); in ex_let_one()
1441 case '+': n = numval + n; break; in ex_let_one()
1442 case '-': n = numval - n; break; in ex_let_one()
1443 case '*': n = numval * n; break; in ex_let_one()
1444 case '/': n = (long)num_divide(numval, n, in ex_let_one()
1446 case '%': n = (long)num_modulus(numval, n, in ex_let_one()
3738 long numval = 0; in set_option_from_tv() local
3745 numval = (long)varp->vval.v_number; in set_option_from_tv()
3751 numval = (long)tv_get_number_chk(varp, &error); in set_option_from_tv()
[all …]
H A Dtypval.c1636 long numval; in eval_option() local
1661 opt_type = get_option_value(*arg, &numval, in eval_option()
1689 rettv->vval.v_number = numval ? VVAL_TRUE : VVAL_FALSE; in eval_option()
1694 rettv->vval.v_number = numval; in eval_option()
H A Dif_py_both.h3383 long numval; in OptionsItem() local
3400 flags = get_option_value_strict(key, &numval, &stringval, in OptionsItem()
3419 ret = numval ? Py_True : Py_False; in OptionsItem()
3424 return PyInt_FromLong(numval); in OptionsItem()
3511 set_option_value_err(char_u *key, int numval, char_u *stringval, int opt_flags) in set_option_value_err() argument
3515 if ((errmsg = set_option_value(key, numval, stringval, opt_flags))) in set_option_value_err()
3528 int numval, in set_option_value_for() argument
3552 set_ret = set_option_value_err(key, numval, stringval, opt_flags); in set_option_value_for()
3557 set_ret = set_option_value_err(key, numval, stringval, opt_flags); in set_option_value_for()
3561 set_ret = set_option_value_err(key, numval, stringval, opt_flags); in set_option_value_for()
H A Doption.c3964 long *numval, in get_option_value() argument
4028 *numval = *(long *)varp; in get_option_value()
4034 *numval = curbufIsChanged(); in get_option_value()
4036 *numval = (long) *(int *)varp; in get_option_value()
4064 long *numval, in get_option_value_strict() argument
4134 *numval = bufIsChanged((buf_T *)from); in get_option_value_strict()
4176 *numval = *(long *) varp; in get_option_value_strict()
4178 *numval = *(int *)varp; in get_option_value_strict()
H A Dvim9compile.c6063 long numval; in get_var_dest() local
6083 &numval, NULL, *opt_flags); in get_var_dest()