| /vim-8.2.3635/src/ |
| H A D | typval.c | 71 case VAR_LIST: in free_tv() 125 case VAR_LIST: in clear_tv() 211 case VAR_LIST: in tv_get_bool_or_number_chk() 316 case VAR_LIST: in tv_get_float() 929 case VAR_LIST: in tv_get_string_buf_chk_strict() 996 if (varp->v_type == VAR_LIST in tv_stringify() 1030 case VAR_LIST: in tv_check_lock() 1116 case VAR_LIST: in copy_tv() 1193 else if (typ1->v_type == VAR_LIST || typ2->v_type == VAR_LIST) in typval_compare() 1454 || (tv->v_type == VAR_LIST in tv_islocked() [all …]
|
| H A D | list.c | 202 rettv->v_type = VAR_LIST; in rettv_list_set() 665 li->li_tv.v_type = VAR_LIST; in list_append_list() 949 if (item->li_tv.v_type == VAR_LIST) in list_flatten() 997 if (argvars[0].v_type != VAR_LIST) in flatten_common() 1018 rettv->v_type = VAR_LIST; in flatten_common() 1115 tv->v_type = VAR_LIST; in list_concat() 1454 if (argvars[0].v_type != VAR_LIST) in f_join() 2312 rettv->v_type = VAR_LIST; in filter_map() 2832 if (argvars[0].v_type == VAR_LIST && argvars[1].v_type == VAR_LIST) in extend() 2883 rettv->v_type = VAR_LIST; in extend() [all …]
|
| H A D | vim9type.c | 127 type->tt_type = VAR_LIST; in get_list_type() 274 if (tv->v_type == VAR_LIST) in typval2type_int() 435 if (tv->v_type == VAR_LIST) // e.g. for v:oldfiles in typval2type_vimvar() 560 if (expected->tt_type == VAR_DICT || expected->tt_type == VAR_LIST) in check_type() 748 if (type->tt_type == VAR_LIST) in parse_type_member() 1006 case VAR_LIST: in equal_type() 1055 if (type1->tt_type == VAR_LIST || type2->tt_type == VAR_DICT) in common_type() 1060 if (type1->tt_type == VAR_LIST) in common_type() 1155 case VAR_LIST: return "list"; in vartype_name() 1178 if (type->tt_type == VAR_LIST || type->tt_type == VAR_DICT) in type_name()
|
| H A D | globals.h | 434 EXTERN type_T t_list_any INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_any, NULL); 436 EXTERN type_T t_list_empty INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_unknown, NULL); 439 EXTERN type_T t_list_bool INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_bool, NULL); 440 EXTERN type_T t_list_number INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_number, NULL); 441 EXTERN type_T t_list_string INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_string, NULL); 442 EXTERN type_T t_list_job INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_job, NULL); 443 EXTERN type_T t_list_dict_any INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_dict_any, NULL); 444 EXTERN type_T t_list_list_any INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_list_any, NULL); 445 EXTERN type_T t_list_list_string INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_list_string, NULL);
|
| H A D | evalfunc.c | 531 || type->tt_type == VAR_LIST) in arg_str_or_nr_or_list() 576 || type->tt_type == VAR_LIST in arg_get1() 597 || type->tt_type == VAR_LIST in arg_len1() 646 || type->tt_type == VAR_LIST in arg_slice1() 664 || type->tt_type == VAR_LIST in arg_count1() 3216 case VAR_LIST: in f_empty() 3698 if (rettv->v_type == VAR_LIST) in f_expand() 4269 rettv->v_type = VAR_LIST; in f_get() 4669 rettv->v_type = VAR_LIST; in f_getreg() 6661 case VAR_LIST: in f_len() [all …]
|
| H A D | eval.c | 736 if (rettv.v_type != VAR_LIST) in call_func_retlist() 1036 && !(rettv->v_type == VAR_LIST in get_lval() 1492 case VAR_LIST: in tv_op() 1510 if (tv2->v_type == VAR_LIST) in tv_op() 1647 if (tv.v_type == VAR_LIST) in eval_for_line() 4124 case VAR_LIST: in check_can_index() 4268 case VAR_LIST: in eval_index_inner() 5040 case VAR_LIST: in echo_string_core() 5386 if (arg->v_type != VAR_LIST in list2fpos() 5970 case VAR_LIST: in item_copy() [all …]
|
| H A D | evalvars.c | 110 {VV_NAME("oldfiles", VAR_LIST), 0}, 120 {VV_NAME("errors", VAR_LIST), 0}, 149 {VV_NAME("argv", VAR_LIST), VV_RO}, 280 else if (p->vv_di.di_tv.v_type == VAR_LIST) in evalvars_clear() 466 if (rettv.v_type != VAR_LIST) in eval_spell_expr() 955 if (tv->v_type != VAR_LIST || (l = tv->vval.v_list) == NULL) in ex_let_vars() 999 ltv.v_type = VAR_LIST; in ex_let_vars() 1833 && di->di_tv.v_type != VAR_LIST) in do_lock_var() 1936 case VAR_LIST: in item_lock() 2377 vimvars[idx].vv_type = VAR_LIST; in set_vim_var_list() [all …]
|
| H A D | vim9compile.c | 647 case VAR_LIST: in may_generate_2STRING() 707 : vartype == VAR_LIST ? ISN_ADDLIST in generate_add_instr() 731 if (vartype == VAR_LIST in generate_add_instr() 732 && type1->tt_type == VAR_LIST && type2->tt_type == VAR_LIST in generate_add_instr() 749 || type1->tt_type == VAR_LIST in operator_type() 888 || type1 == VAR_LIST || type2 == VAR_LIST)))) in get_compare_isn() 1307 if (type->tt_type != VAR_LIST) in generate_GETITEM() 2976 if ((*typep)->tt_type == VAR_LIST) in compile_member() 3515 if (type->tt_type == VAR_LIST) in compile_call() 7218 case VAR_LIST: in compile_assignment() [all …]
|
| H A D | match.c | 121 if (li->li_tv.v_type == VAR_LIST) in match_add() 1065 if (argvars[0].v_type != VAR_LIST) in f_setmatches() 1127 if (di->di_tv.v_type != VAR_LIST) in f_setmatches() 1254 if (argvars[1].v_type != VAR_LIST) in f_matchaddpos()
|
| H A D | digraph.c | 2158 li->li_tv.v_type = VAR_LIST; in digraph_getlist_appendpair() 2503 if (argvars[0].v_type != VAR_LIST) in f_digraph_setlist() 2519 if (pli->li_tv.v_type != VAR_LIST) in f_digraph_setlist()
|
| H A D | vim9execute.c | 145 tv->v_type = VAR_LIST; in exe_newlist() 1132 case VAR_LIST: in do_2string() 1187 case VAR_LIST: in allocate_if_null() 2450 else if (dest_type == VAR_LIST in exec_instructions() 2604 if (tv_dest->v_type == VAR_LIST) in exec_instructions() 2834 if (tv_dest->v_type == VAR_LIST) in exec_instructions() 3273 if (ltv->v_type == VAR_LIST) in exec_instructions() 3827 if (tv1->v_type == VAR_LIST && tv2->v_type == VAR_LIST) in exec_instructions() 4263 if (tv->v_type == VAR_LIST) in exec_instructions() 4424 if (tv->v_type != VAR_LIST) in exec_instructions() [all …]
|
| H A D | popupwin.c | 88 if (di->di_tv.v_type != VAR_LIST) in set_padding_border() 509 else if (di->di_tv.v_type == VAR_LIST in handle_moved_argument() 749 if (di->di_tv.v_type != VAR_LIST || di->di_tv.vval.v_list == NULL) in apply_general_options() 781 if (di->di_tv.v_type != VAR_LIST) in apply_general_options() 831 if (di->di_tv.v_type == VAR_LIST && di->di_tv.vval.v_list != NULL) in apply_general_options() 838 if (li->li_tv.v_type != VAR_LIST in apply_general_options() 1026 if (di->di_tv.v_type != VAR_LIST) in add_popup_dicts() 1885 && !(argvars[0].v_type == VAR_LIST in popup_create() 2639 if (argvars[1].v_type != VAR_STRING && argvars[1].v_type != VAR_LIST) in f_popup_settext()
|
| H A D | viminfo.c | 1236 case 'L': type = VAR_LIST; break; in read_viminfo_varlist() 1246 || type == VAR_LIST || type == VAR_BLOB) in read_viminfo_varlist() 1260 if (type == VAR_DICT || type == VAR_LIST) in read_viminfo_varlist() 1297 else if (tv.v_type == VAR_DICT || tv.v_type == VAR_LIST || in read_viminfo_varlist() 1355 case VAR_LIST: in write_viminfo_varlist()
|
| H A D | sign.c | 2243 if (argvars[0].v_type == VAR_LIST && argvars[1].v_type == VAR_UNKNOWN) in f_sign_define() 2578 if (argvars[0].v_type != VAR_LIST) in f_sign_placelist() 2629 if (argvars[0].v_type == VAR_LIST && argvars[1].v_type == VAR_UNKNOWN) in f_sign_undefine() 2809 if (argvars[0].v_type != VAR_LIST) in f_sign_unplacelist()
|
| H A D | dict.c | 471 item->di_tv.v_type = VAR_LIST; in dict_add_list() 1249 li->li_tv.v_type = VAR_LIST; in dict_list()
|
| H A D | if_py_both.h | 741 if ((our_tv->v_type == VAR_LIST && our_tv->vval.v_list != NULL) in VimToPython() 745 our_tv->v_type == VAR_LIST ? (void *)our_tv->vval.v_list in VimToPython() 775 else if (our_tv->v_type == VAR_LIST) in VimToPython() 6099 tv->v_type = VAR_LIST; in pyseq_to_tv() 6153 else if (tv->v_type == VAR_LIST) in convert_dl() 6212 tv->v_type = VAR_LIST; in ConvertFromPySequence() 6254 tv->v_type = VAR_LIST; in _ConvertFromPyObject() 6395 case VAR_LIST: in ConvertToPyObject()
|
| H A D | testing.c | 643 else if (argvars[1].v_type == VAR_LIST) in f_assert_fails() 1129 case VAR_LIST: in f_test_refcount()
|
| H A D | terminal.c | 457 && argvar->v_type == VAR_LIST in term_start() 588 else if (argvar->v_type != VAR_LIST in term_start() 655 else if (argvar->v_type == VAR_LIST in term_start() 4168 && (var->di_tv.v_type != VAR_LIST in init_vterm_ansi_colors() 4415 && tv.v_type == VAR_LIST in parse_osc() 6272 if (argvars[1].v_type != VAR_LIST || argvars[1].vval.v_list == NULL) in f_term_setansicolors() 6606 else if (argvar->v_type == VAR_LIST) in conpty_term_and_job_init() 6954 else if (argvar->v_type == VAR_LIST) in winpty_term_and_job_init()
|
| H A D | filepath.c | 987 if (rettv->v_type == VAR_STRING || rettv->v_type == VAR_LIST) in findfilendir() 998 if (fresult != NULL && rettv->v_type == VAR_LIST) in findfilendir() 1001 } while ((rettv->v_type == VAR_LIST || --count > 0) && fresult != NULL); in findfilendir() 2252 if (argvars[0].v_type == VAR_LIST) in f_writefile()
|
| H A D | insexpand.c | 2298 case VAR_LIST: in expand_by_function() 2435 if (di_words != NULL && di_words->di_tv.v_type == VAR_LIST) in ins_compl_add_dict() 2527 if (argvars[1].v_type != VAR_LIST || argvars[1].vval.v_list == NULL) in f_complete() 2740 if (argvars[0].v_type != VAR_LIST) in f_complete_info()
|
| H A D | quickfix.c | 870 else if (state->tv->v_type == VAR_LIST) in qf_get_nextline() 1582 else if (tv->v_type == VAR_LIST) in qf_setup_state() 4649 if (rettv.v_type == VAR_LIST) in call_qftf_func() 6743 if (di->di_tv.v_type == VAR_LIST && di->di_tv.vval.v_list != NULL) in qf_get_list_from_lines() 7389 if (di->di_tv.v_type != VAR_LIST) in qf_setprop_items() 7425 if (di->di_tv.v_type != VAR_LIST || di->di_tv.vval.v_list == NULL) in qf_setprop_items_from_lines() 7932 || (tv->v_type == VAR_LIST && tv->vval.v_list != NULL)) in cexpr_core() 8386 if (list_arg->v_type != VAR_LIST) in set_qf_ll_list()
|
| H A D | if_lua.c | 567 case VAR_LIST: in luaV_pushtypval() 697 tv->v_type = VAR_LIST; in luaV_totypval() 1354 args.v_type = VAR_LIST; in luaV_funcref_call()
|
| H A D | if_ruby.c | 1194 else if (tv->v_type == VAR_LIST) in vim_to_ruby() 1939 rettv->v_type = VAR_LIST; in ruby_convert_to_vim_value()
|
| H A D | job.c | 547 if (item == NULL || item->v_type != VAR_LIST in get_job_options() 1393 else if (argvars[0].v_type != VAR_LIST in job_start()
|
| H A D | evalbuffer.c | 179 if (lines->v_type == VAR_LIST) in set_buffer_lines()
|