| /vim-8.2.3635/src/ |
| H A D | evalvars.c | 57 {VV_NAME("warningmsg", VAR_STRING), 0}, 58 {VV_NAME("statusmsg", VAR_STRING), 0}, 65 {VV_NAME("lang", VAR_STRING), VV_RO}, 102 {VV_NAME("char", VAR_STRING), 0}, 1916 case VAR_STRING: in item_lock() 3363 if (di->di_tv.v_type == VAR_STRING) in set_var_const() 3677 rettv->v_type = VAR_STRING; in getwinvar() 3950 tv.v_type = VAR_STRING; in var_redir_start() 4021 tv.v_type = VAR_STRING; in var_redir_stop() 4067 rettv->v_type = VAR_STRING; in f_gettabvar() [all …]
|
| H A D | typval.c | 41 rettv->v_type = VAR_STRING; in alloc_string_tv() 62 case VAR_STRING: in free_tv() 114 case VAR_STRING: in clear_tv() 201 case VAR_STRING: in tv_get_bool_or_number_chk() 313 case VAR_STRING: in tv_get_float() 945 case VAR_STRING: in tv_get_string_buf_chk_strict() 1087 case VAR_STRING: in copy_tv() 1586 case VAR_STRING: in tv_equal() 1880 rettv->v_type = VAR_STRING; in eval_string() 2022 rettv->v_type = VAR_STRING; in eval_lit_string() [all …]
|
| H A D | testing.c | 146 && !(opt_msg_tv->v_type == VAR_STRING in fill_assert_error() 637 if (argvars[1].v_type == VAR_STRING) in f_assert_fails() 695 if (argvars[4].v_type != VAR_STRING) in f_assert_fails() 722 actual_tv.v_type = VAR_STRING; in f_assert_fails() 727 actual_tv.v_type = VAR_STRING; in f_assert_fails() 969 if (argvars[0].v_type != VAR_STRING) in f_test_getvalue() 1018 if (argvars[0].v_type != VAR_STRING in f_test_override() 1096 case VAR_STRING: in f_test_refcount() 1233 rettv->v_type = VAR_STRING; in f_test_null_string() 1263 if (argvars[0].v_type != VAR_STRING in f_test_scrollbar() [all …]
|
| H A D | clientserver.c | 778 v.di_tv.v_type = VAR_STRING; in remote_common() 794 rettv->v_type = VAR_STRING; in f_remote_expr() 830 argvars[1].v_type = VAR_STRING; in f_remote_foreground() 833 rettv->v_type = VAR_STRING; in f_remote_foreground() 885 v.di_tv.v_type = VAR_STRING; in f_remote_peek() 935 rettv->v_type = VAR_STRING; in f_remote_read() 945 rettv->v_type = VAR_STRING; in f_remote_send() 1042 rettv->v_type = VAR_STRING; in f_serverlist()
|
| H A D | evalfunc.c | 529 || type->tt_type == VAR_STRING in arg_str_or_nr_or_list() 545 || type->tt_type == VAR_STRING) in arg_dict_any_or_string() 3200 case VAR_STRING: in f_empty() 4679 rettv->v_type = VAR_STRING; in f_getreg() 4778 rettv->v_type = VAR_STRING; in f_gettext() 6439 rettv->v_type = VAR_STRING; in f_inputdialog() 6653 case VAR_STRING: in f_len() 6707 if (argvars[0].v_type == VAR_STRING && argvars[1].v_type == VAR_STRING) in libcall_common() 6898 rettv->v_type = VAR_STRING; in find_some_match() 7927 rettv->v_type = VAR_STRING; in f_repeat() [all …]
|
| H A D | filepath.c | 787 rettv->v_type = VAR_STRING; in f_chdir() 891 rettv->v_type = VAR_STRING; in f_exepath() 954 rettv->v_type = VAR_STRING; in findfilendir() 1056 rettv->v_type = VAR_STRING; in f_fnamemodify() 1089 rettv->v_type = VAR_STRING; in f_getcwd() 1167 rettv->v_type = VAR_STRING; in f_getfperm() 1264 rettv->v_type = VAR_STRING; in f_getftype() 1291 rettv->v_type = VAR_STRING; in f_glob() 1343 rettv->v_type = VAR_STRING; in f_glob2regpat() 1375 rettv->v_type = VAR_STRING; in f_globpath() [all …]
|
| H A D | strings.c | 883 if (argvars[0].v_type != VAR_STRING || argvars[1].v_type != VAR_NUMBER in f_charidx() 1105 rettv->v_type = VAR_STRING; in f_string() 1303 rettv->v_type = VAR_STRING; in f_strcharpart() 1362 rettv->v_type = VAR_STRING; in f_strpart() 1434 rettv->v_type = VAR_STRING; in f_strtrans() 1447 rettv->v_type = VAR_STRING; in f_tolower() 1460 rettv->v_type = VAR_STRING; in f_toupper() 1496 rettv->v_type = VAR_STRING; in f_tr() 1599 rettv->v_type = VAR_STRING; in f_trim() 1613 if (argvars[1].v_type != VAR_UNKNOWN && argvars[1].v_type != VAR_STRING) in f_trim() [all …]
|
| H A D | dict.c | 442 item->di_tv.v_type = VAR_STRING; in dict_add_string_len() 830 tv->v_type = VAR_STRING; in get_literal_key_tv() 938 tvkey.v_type = VAR_STRING; in eval_dict() 978 tvkey.v_type = VAR_STRING; in eval_dict() 1236 li->li_tv.v_type = VAR_STRING; in dict_list() 1260 li2->li_tv.v_type = VAR_STRING; in dict_list()
|
| H A D | vim9type.c | 120 if (member_type->tt_type == VAR_STRING) in get_list_type() 149 if (member_type->tt_type == VAR_STRING) in get_dict_type() 269 if (tv->v_type == VAR_STRING) in typval2type_int() 1000 case VAR_STRING: in equal_type() 1151 case VAR_STRING: return "string"; in vartype_name() 1275 rettv->v_type = VAR_STRING; in f_typename()
|
| H A D | json.c | 224 case VAR_STRING: in json_encode_item() 541 res->v_type = VAR_STRING; in json_decode_string() 662 cur_item->v_type = VAR_STRING; in json_decode_item() 1176 rettv->v_type = VAR_STRING; in f_js_encode() 1203 rettv->v_type = VAR_STRING; in f_json_encode()
|
| H A D | eval.c | 237 && (tv->v_type != VAR_STRING in eval_expr_valid_arg() 1509 case VAR_STRING: in tv_op() 1761 tv.v_type = VAR_STRING; in next_for_item() 2977 rettv->v_type = VAR_STRING; in eval5() 3525 rettv->v_type = VAR_STRING; in eval7() 4011 var1.v_type = VAR_STRING; in eval_index() 4123 case VAR_STRING: in check_can_index() 4216 case VAR_STRING: in eval_index_inner() 4258 rettv->v_type = VAR_STRING; in eval_index_inner() 4962 case VAR_STRING: in echo_string_core() [all …]
|
| H A D | list.c | 686 li->li_tv.v_type = VAR_STRING; in list_append_string() 1459 rettv->v_type = VAR_STRING; in f_join() 1655 rettv->v_type = VAR_STRING; in f_list2str() 1702 rettv->v_type = VAR_STRING; in f_list2str() 1861 if (tv1->v_type == VAR_STRING) in item_compare() 1863 if (tv2->v_type != VAR_STRING || sortinfo->item_compare_numeric) in item_compare() 1870 if (tv2->v_type == VAR_STRING) in item_compare() 1872 if (tv1->v_type != VAR_STRING || sortinfo->item_compare_numeric) in item_compare() 2720 if (argvars[0].v_type == VAR_STRING) in f_count()
|
| H A D | evalwindow.c | 696 rettv->v_type = VAR_STRING; in f_win_execute() 928 rettv->v_type = VAR_STRING; in f_win_gettype() 971 rettv->v_type = VAR_STRING; in f_getcmdwintype() 1110 rettv->v_type = VAR_STRING; in f_winrestcmd()
|
| H A D | evalbuffer.c | 93 else if (avar->v_type == VAR_STRING && avar->vval.v_string != NULL) in find_buffer() 412 rettv->v_type = VAR_STRING; in f_bufname() 747 rettv->v_type = VAR_STRING; in get_buffer_lines()
|
| H A D | digraph.c | 2171 li2->li_tv.v_type = VAR_STRING; in digraph_getlist_appendpair() 2183 li2->li_tv.v_type = VAR_STRING; in digraph_getlist_appendpair() 2407 rettv->v_type = VAR_STRING; in f_digraph_get()
|
| H A D | vim9execute.c | 1118 if (tv->v_type != VAR_STRING) in do_2string() 1162 tv->v_type = VAR_STRING; in do_2string() 1173 tv->v_type = VAR_STRING; in do_2string() 1872 tv->v_type = VAR_STRING; in exec_instructions() 2246 tv->v_type = VAR_STRING; in exec_instructions() 2753 vartype_name(VAR_STRING), in exec_instructions() 2963 tv->v_type = VAR_STRING; in exec_instructions() 3324 tv->v_type = VAR_STRING; in exec_instructions() 3407 tv->v_type = VAR_STRING; in exec_instructions() 4382 if (tv->v_type == VAR_STRING) in exec_instructions() [all …]
|
| H A D | job.c | 1380 if (argvars[0].v_type == VAR_STRING) in job_start() 1562 argv[0].v_type = VAR_STRING; in invoke_prompt_callback() 1723 rettv->v_type = VAR_STRING; in f_prompt_getprompt() 1951 rettv->v_type = VAR_STRING; in f_job_status() 1960 rettv->v_type = VAR_STRING; in f_job_status()
|
| H A D | popupwin.c | 488 if (di->di_tv.v_type == VAR_STRING && di->di_tv.vval.v_string != NULL) in handle_moved_argument() 561 if (di->di_tv.v_type != VAR_STRING) in check_highlight() 714 if (di->di_tv.v_type == VAR_STRING && di->di_tv.vval.v_string != NULL) in apply_general_options() 980 if (li->li_tv.v_type == VAR_STRING) in add_popup_strings() 1601 if (text.v_type == VAR_STRING) in popup_set_buffer_text() 1614 if (l->lv_first->li_tv.v_type == VAR_STRING) in popup_set_buffer_text() 1883 else if (!(argvars[0].v_type == VAR_STRING in popup_create() 2083 tv.v_type = VAR_STRING; in popup_create() 2639 if (argvars[1].v_type != VAR_STRING && argvars[1].v_type != VAR_LIST) in f_popup_settext() 3259 argv[1].v_type = VAR_STRING; in invoke_popup_filter()
|
| H A D | session.c | 542 || this_var->di_tv.v_type == VAR_STRING) in store_session_globals() 558 (this_var->di_tv.v_type == VAR_STRING) ? '"' in store_session_globals() 561 (this_var->di_tv.v_type == VAR_STRING) ? '"' in store_session_globals()
|
| H A D | terminal.c | 580 if (argvar->v_type == VAR_STRING) in term_start() 708 && argvar->v_type == VAR_STRING in term_start() 925 argvar[0].v_type = VAR_STRING; in ex_terminal() 5799 if (tv->v_type == VAR_STRING in get_row_number() 5816 rettv->v_type = VAR_STRING; in f_term_getline() 5948 rettv->v_type = VAR_STRING; in f_term_getstatus() 5975 rettv->v_type = VAR_STRING; in f_term_gettitle() 6003 rettv->v_type = VAR_STRING; in f_term_gettty() 6602 if (argvar->v_type == VAR_STRING) in conpty_term_and_job_init() 6674 if (argvar->v_type == VAR_STRING) in conpty_term_and_job_init() [all …]
|
| H A D | misc1.c | 733 rettv->v_type = VAR_STRING; in f_mode() 780 rettv->v_type = VAR_STRING; in f_state() 2369 rettv->v_type = VAR_STRING; in get_cmd_output_as_rettv() 2497 li->li_tv.v_type = VAR_STRING; in get_cmd_output_as_rettv()
|
| H A D | channel.c | 2477 if (argv[1].v_type != VAR_STRING) in channel_exe_cmd() 2579 err_tv.v_type = VAR_STRING; in channel_exe_cmd() 2813 if (argv[0].v_type == VAR_STRING) in may_invoke_callback() 2906 argv[1].v_type = VAR_STRING; in may_invoke_callback() 3861 rettv->v_type = VAR_STRING; in common_channel_read() 4271 rettv->v_type = VAR_STRING; in ch_expr_common() 4336 rettv->v_type = VAR_STRING; in ch_raw_common() 4949 if (argvars[1].v_type == VAR_STRING) in f_ch_logfile() 5064 rettv->v_type = VAR_STRING; in f_ch_status()
|
| H A D | viminfo.c | 1231 case 'S': type = VAR_STRING; break; in read_viminfo_varlist() 1245 if (type == VAR_STRING || type == VAR_DICT in read_viminfo_varlist() 1267 tv.v_type = VAR_STRING; in read_viminfo_varlist() 1281 tv.v_type = VAR_STRING; in read_viminfo_varlist() 1295 if (tv.v_type == VAR_STRING) in read_viminfo_varlist() 1338 case VAR_STRING: s = "STR"; break; in write_viminfo_varlist()
|
| H A D | time.c | 258 rettv->v_type = VAR_STRING; in f_reltimestr() 288 rettv->v_type = VAR_STRING; in f_strftime()
|
| H A D | quickfix.c | 696 && (p_li->li_tv.v_type != VAR_STRING in qf_get_next_list_line() 867 if (state->tv->v_type == VAR_STRING) in qf_get_nextline() 1580 if (tv->v_type == VAR_STRING) in qf_setup_state() 6749 if (efm_di->di_tv.v_type != VAR_STRING || in qf_get_list_from_lines() 6891 else if (di->di_tv.v_type == VAR_STRING in qf_getprop_qfidx() 7334 else if (di->di_tv.v_type == VAR_STRING in qf_setprop_get_qfidx() 7369 if (di->di_tv.v_type != VAR_STRING) in qf_setprop_title() 7418 if (efm_di->di_tv.v_type != VAR_STRING || in qf_setprop_items_from_lines() 7466 if (di->di_tv.v_type == VAR_STRING in qf_setprop_curidx() 7687 && ctx->v_type != VAR_STRING && ctx->v_type != VAR_FLOAT) in mark_quickfix_ctx() [all …]
|