Lines Matching refs:argvars

959 f_clearmatches(typval_T *argvars UNUSED, typval_T *rettv UNUSED)  in f_clearmatches()
964 if (in_vim9script() && check_for_opt_number_arg(argvars, 0) == FAIL) in f_clearmatches()
967 win = get_optional_window(argvars, 0); in f_clearmatches()
977 f_getmatches(typval_T *argvars UNUSED, typval_T *rettv UNUSED) in f_getmatches()
985 if (in_vim9script() && check_for_opt_number_arg(argvars, 0) == FAIL) in f_getmatches()
988 win = get_optional_window(argvars, 0); in f_getmatches()
1049 f_setmatches(typval_T *argvars UNUSED, typval_T *rettv UNUSED) in f_setmatches()
1061 && (check_for_list_arg(argvars, 0) == FAIL in f_setmatches()
1062 || check_for_opt_number_arg(argvars, 1) == FAIL)) in f_setmatches()
1065 if (argvars[0].v_type != VAR_LIST) in f_setmatches()
1070 win = get_optional_window(argvars, 1); in f_setmatches()
1074 if ((l = argvars[0].vval.v_list) != NULL) in f_setmatches()
1170 f_matchadd(typval_T *argvars UNUSED, typval_T *rettv UNUSED) in f_matchadd()
1185 && (check_for_string_arg(argvars, 0) == FAIL in f_matchadd()
1186 || check_for_string_arg(argvars, 1) == FAIL in f_matchadd()
1187 || check_for_opt_number_arg(argvars, 2) == FAIL in f_matchadd()
1188 || (argvars[2].v_type != VAR_UNKNOWN in f_matchadd()
1189 && (check_for_opt_number_arg(argvars, 3) == FAIL in f_matchadd()
1190 || (argvars[3].v_type != VAR_UNKNOWN in f_matchadd()
1191 && check_for_opt_dict_arg(argvars, 4) == FAIL))))) in f_matchadd()
1194 grp = tv_get_string_buf_chk(&argvars[0], buf); // group in f_matchadd()
1195 pat = tv_get_string_buf_chk(&argvars[1], buf); // pattern in f_matchadd()
1198 if (argvars[2].v_type != VAR_UNKNOWN) in f_matchadd()
1200 prio = (int)tv_get_number_chk(&argvars[2], &error); in f_matchadd()
1201 if (argvars[3].v_type != VAR_UNKNOWN) in f_matchadd()
1203 id = (int)tv_get_number_chk(&argvars[3], &error); in f_matchadd()
1204 if (argvars[4].v_type != VAR_UNKNOWN in f_matchadd()
1205 && matchadd_dict_arg(&argvars[4], &conceal_char, &win) == FAIL) in f_matchadd()
1226 f_matchaddpos(typval_T *argvars UNUSED, typval_T *rettv UNUSED) in f_matchaddpos()
1241 && (check_for_string_arg(argvars, 0) == FAIL in f_matchaddpos()
1242 || check_for_list_arg(argvars, 1) == FAIL in f_matchaddpos()
1243 || check_for_opt_number_arg(argvars, 2) == FAIL in f_matchaddpos()
1244 || (argvars[2].v_type != VAR_UNKNOWN in f_matchaddpos()
1245 && (check_for_opt_number_arg(argvars, 3) == FAIL in f_matchaddpos()
1246 || (argvars[3].v_type != VAR_UNKNOWN in f_matchaddpos()
1247 && check_for_opt_dict_arg(argvars, 4) == FAIL))))) in f_matchaddpos()
1250 group = tv_get_string_buf_chk(&argvars[0], buf); in f_matchaddpos()
1254 if (argvars[1].v_type != VAR_LIST) in f_matchaddpos()
1259 l = argvars[1].vval.v_list; in f_matchaddpos()
1263 if (argvars[2].v_type != VAR_UNKNOWN) in f_matchaddpos()
1265 prio = (int)tv_get_number_chk(&argvars[2], &error); in f_matchaddpos()
1266 if (argvars[3].v_type != VAR_UNKNOWN) in f_matchaddpos()
1268 id = (int)tv_get_number_chk(&argvars[3], &error); in f_matchaddpos()
1270 if (argvars[4].v_type != VAR_UNKNOWN in f_matchaddpos()
1271 && matchadd_dict_arg(&argvars[4], &conceal_char, &win) == FAIL) in f_matchaddpos()
1294 f_matcharg(typval_T *argvars UNUSED, typval_T *rettv) in f_matcharg()
1302 if (in_vim9script() && check_for_number_arg(argvars, 0) == FAIL) in f_matcharg()
1305 id = (int)tv_get_number(&argvars[0]); in f_matcharg()
1328 f_matchdelete(typval_T *argvars UNUSED, typval_T *rettv UNUSED) in f_matchdelete()
1334 && (check_for_number_arg(argvars, 0) == FAIL in f_matchdelete()
1335 || check_for_opt_number_arg(argvars, 1) == FAIL)) in f_matchdelete()
1338 win = get_optional_window(argvars, 1); in f_matchdelete()
1343 (int)tv_get_number(&argvars[0]), TRUE); in f_matchdelete()