| /vim-8.2.3635/src/ |
| H A D | float.c | 117 rettv->v_type = VAR_FLOAT; in f_abs() 150 rettv->vval.v_float = 0.0; in f_acos() 168 rettv->vval.v_float = 0.0; in f_asin() 186 rettv->vval.v_float = 0.0; in f_atan() 207 rettv->vval.v_float = 0.0; in f_atan2() 225 rettv->vval.v_float = 0.0; in f_ceil() 243 rettv->vval.v_float = 0.0; in f_cos() 261 rettv->vval.v_float = 0.0; in f_cosh() 279 rettv->vval.v_float = 0.0; in f_exp() 319 rettv->vval.v_float = 0.0; in f_floor() [all …]
|
| H A D | evalfunc.c | 2527 typval_T *rettv) in call_internal_func() argument 2547 typval_T *rettv) in call_internal_func_by_idx() argument 2560 typval_T *rettv, in call_internal_method() argument 3351 rettv->vval.v_number = 0; in f_eval() 4205 tv = rettv; in f_get() 4296 copy_tv(tv, rettv); in f_get() 4359 typval_T *rettv, in getpos_both() argument 4371 l = rettv->vval.v_list; in getpos_both() 4669 rettv->v_type = VAR_LIST; in f_getreg() 6692 rettv->v_type = type; in libcall_common() [all …]
|
| H A D | evalwindow.c | 596 rettv->vval.v_number = -1; in f_getwinposx() 605 rettv->vval.v_number = x; in f_getwinposx() 616 rettv->vval.v_number = -1; in f_getwinposy() 624 rettv->vval.v_number = y; in f_getwinposy() 658 rettv->vval.v_number = nr; in f_tabpagenr() 680 rettv->vval.v_number = nr; in f_tabpagewinnr() 777 rettv->vval.v_number = 1; in f_win_gotoid() 894 rettv->vval.v_number = -1; in f_win_splitmove() 996 rettv->vval.v_number = -1; in f_winbufnr() 1024 rettv->vval.v_number = -1; in f_winheight() [all …]
|
| H A D | eval.c | 318 typval_T rettv; in eval_expr_to_bool() local 370 typval_T rettv; in skip_expr() local 392 typval_T rettv; in skip_expr_concatenate() local 590 typval_T rettv; in eval_to_number() local 601 clear_tv(&rettv); in eval_to_number() 652 clear_tv(rettv); in call_vim_function() 738 clear_tv(&rettv); in call_func_retlist() 2417 *rettv = var2; in eval1() 3694 clear_tv(rettv); in eval7_leader() 4299 *rettv = tmp; in eval_index_inner() [all …]
|
| H A D | evalbuffer.c | 142 typval_T *rettv) in set_buffer_lines() argument 159 rettv->vval.v_number = 1; // FAIL in set_buffer_lines() 208 rettv->vval.v_number = 1; // FAIL in set_buffer_lines() 230 rettv->vval.v_number = 0; // OK in set_buffer_lines() 238 rettv->vval.v_number = 0; // OK in set_buffer_lines() 412 rettv->v_type = VAR_STRING; in f_bufname() 416 rettv->vval.v_string = NULL; in f_bufname() 453 rettv->vval.v_number = -1; in f_bufnr() 736 typval_T *rettv) in get_buffer_lines() argument 747 rettv->v_type = VAR_STRING; in get_buffer_lines() [all …]
|
| H A D | testing.c | 575 rettv->vval.v_number = 1; in f_assert_exception() 585 rettv->vval.v_number = 1; in f_assert_exception() 625 rettv->vval.v_number = 1; in f_assert_fails() 736 rettv->vval.v_number = 1; in f_assert_fails() 881 rettv->vval.v_number = 1; in f_assert_report() 1182 rettv->v_type = VAR_BLOB; in f_test_null_blob() 1183 rettv->vval.v_blob = NULL; in f_test_null_blob() 1205 rettv->v_type = VAR_JOB; in f_test_null_job() 1206 rettv->vval.v_job = NULL; in f_test_null_job() 1219 rettv->v_type = VAR_FUNC; in f_test_null_function() [all …]
|
| H A D | filepath.c | 939 typval_T *rettv, in findfilendir() argument 987 if (rettv->v_type == VAR_STRING || rettv->v_type == VAR_LIST) in findfilendir() 1527 rettv->vval.v_string = p; in f_pathshorten() 1542 typval_T rettv; in checkitem_common() local 1565 if (rettv.v_type == VAR_SPECIAL || rettv.v_type == VAR_BOOL) in checkitem_common() 1568 rettv.vval.v_number = rettv.vval.v_number == VVAL_TRUE; in checkitem_common() 1573 clear_tv(&rettv); in checkitem_common() 1755 if ((blob ? rettv_blob_alloc(rettv) : rettv_list_alloc(rettv)) == FAIL) in read_file_or_blob() 1937 listitem_remove(rettv->vval.v_list, rettv->vval.v_list->lv_first); in read_file_or_blob() 1945 rettv_list_alloc(rettv); in read_file_or_blob() [all …]
|
| H A D | time.c | 234 rettv->v_type = VAR_FLOAT; in f_reltimefloat() 235 rettv->vval.v_float = 0; in f_reltimefloat() 258 rettv->v_type = VAR_STRING; in f_reltimestr() 259 rettv->vval.v_string = NULL; in f_reltimestr() 288 rettv->v_type = VAR_STRING; in f_strftime() 375 rettv->vval.v_number = 0; in f_strptime() 476 typval_T rettv; in timer_callback() local 484 clear_tv(&rettv); in timer_callback() 786 add_timer_info(rettv, timer); in f_timer_info() 790 add_timer_info_all(rettv); in f_timer_info() [all …]
|
| H A D | list.c | 177 rettv->v_lock = 0; in rettv_list_alloc() 203 rettv->vval.v_list = l; in rettv_list_set() 1026 rettv->vval.v_list = l; in flatten_common() 1152 typval_T *rettv, in list_slice_or_index() argument 1193 clear_tv(rettv); in list_slice_or_index() 1201 clear_tv(rettv); in list_slice_or_index() 1202 *rettv = var1; in list_slice_or_index() 1913 typval_T rettv; in item_compare2() local 1957 clear_tv(&rettv); in item_compare2() 3244 argv[0] = *rettv; in f_reduce() [all …]
|
| H A D | blob.c | 37 rettv_blob_alloc(typval_T *rettv) in rettv_blob_alloc() argument 44 rettv_blob_set(rettv, b); in rettv_blob_alloc() 54 rettv->v_type = VAR_BLOB; in rettv_blob_set() 55 rettv->vval.v_blob = b; in rettv_blob_set() 289 typval_T *rettv) in blob_slice_or_index() argument 311 clear_tv(rettv); in blob_slice_or_index() 312 rettv->v_type = VAR_BLOB; in blob_slice_or_index() 331 clear_tv(rettv); in blob_slice_or_index() 346 clear_tv(rettv); in blob_slice_or_index() 348 rettv->vval.v_number = v; in blob_slice_or_index() [all …]
|
| H A D | strings.c | 819 rettv->vval.v_number = -1; in byteidx() 875 rettv->vval.v_number = -1; in f_charidx() 1010 rettv->vval.v_number = -n; in f_str2nr() 1012 rettv->vval.v_number = n; in f_str2nr() 1028 rettv->vval.v_number = -1; in f_strgetchar() 1076 rettv->vval.v_number = -1; in f_stridx() 1105 rettv->v_type = VAR_STRING; in f_string() 1110 rettv->vval.v_string = vim_strsave(rettv->vval.v_string); in f_string() 1186 rettv->vval.v_number = -1; in f_strdisplaywidth() 1388 rettv->vval.v_number = -1; in f_strridx() [all …]
|
| H A D | sound.c | 156 typval_T rettv; in invoke_sound_callback() local 171 clear_tv(&rettv); in invoke_sound_callback() 229 f_sound_playevent(typval_T *argvars, typval_T *rettv) in f_sound_playevent() argument 231 sound_play_common(argvars, rettv, FALSE); in f_sound_playevent() 238 f_sound_playfile(typval_T *argvars, typval_T *rettv) in f_sound_playfile() argument 240 sound_play_common(argvars, rettv, TRUE); in f_sound_playfile() 311 typval_T rettv; in sound_wndproc() local 327 clear_tv(&rettv); in sound_wndproc() 368 rettv->vval.v_number = ++sound_id; in f_sound_playevent() 373 f_sound_playfile(typval_T *argvars, typval_T *rettv) in f_sound_playfile() argument [all …]
|
| H A D | clientserver.c | 766 rettv->vval.v_string = r; in remote_common() 794 rettv->v_type = VAR_STRING; in f_remote_expr() 833 rettv->v_type = VAR_STRING; in f_remote_foreground() 852 rettv->vval.v_number = -1; in f_remote_peek() 867 rettv->vval.v_number = -1; in f_remote_peek() 893 rettv->vval.v_number = -1; in f_remote_peek() 936 rettv->vval.v_string = r; in f_remote_read() 998 rettv->vval.v_number = -1; in f_server2client() 1022 rettv->vval.v_number = 0; in f_server2client() 1024 rettv->vval.v_number = -1; in f_server2client() [all …]
|
| /vim-8.2.3635/src/proto/ |
| H A D | testing.pro | 2 void f_assert_beeps(typval_T *argvars, typval_T *rettv); 3 void f_assert_nobeep(typval_T *argvars, typval_T *rettv); 4 void f_assert_equal(typval_T *argvars, typval_T *rettv); 5 void f_assert_equalfile(typval_T *argvars, typval_T *rettv); 6 void f_assert_notequal(typval_T *argvars, typval_T *rettv); 8 void f_assert_fails(typval_T *argvars, typval_T *rettv); 9 void f_assert_false(typval_T *argvars, typval_T *rettv); 10 void f_assert_inrange(typval_T *argvars, typval_T *rettv); 11 void f_assert_match(typval_T *argvars, typval_T *rettv); 14 void f_assert_true(typval_T *argvars, typval_T *rettv); [all …]
|
| H A D | float.pro | 3 void f_abs(typval_T *argvars, typval_T *rettv); 4 void f_acos(typval_T *argvars, typval_T *rettv); 5 void f_asin(typval_T *argvars, typval_T *rettv); 6 void f_atan(typval_T *argvars, typval_T *rettv); 7 void f_atan2(typval_T *argvars, typval_T *rettv); 8 void f_ceil(typval_T *argvars, typval_T *rettv); 9 void f_cos(typval_T *argvars, typval_T *rettv); 10 void f_cosh(typval_T *argvars, typval_T *rettv); 11 void f_exp(typval_T *argvars, typval_T *rettv); 14 void f_fmod(typval_T *argvars, typval_T *rettv); [all …]
|
| H A D | evalwindow.pro | 8 void f_gettabinfo(typval_T *argvars, typval_T *rettv); 9 void f_getwininfo(typval_T *argvars, typval_T *rettv); 10 void f_getwinpos(typval_T *argvars, typval_T *rettv); 11 void f_getwinposx(typval_T *argvars, typval_T *rettv); 12 void f_getwinposy(typval_T *argvars, typval_T *rettv); 13 void f_tabpagenr(typval_T *argvars, typval_T *rettv); 17 void f_win_getid(typval_T *argvars, typval_T *rettv); 25 void f_winbufnr(typval_T *argvars, typval_T *rettv); 26 void f_wincol(typval_T *argvars, typval_T *rettv); 29 void f_winline(typval_T *argvars, typval_T *rettv); [all …]
|
| H A D | filepath.pro | 4 void f_chdir(typval_T *argvars, typval_T *rettv); 5 void f_delete(typval_T *argvars, typval_T *rettv); 6 void f_executable(typval_T *argvars, typval_T *rettv); 7 void f_exepath(typval_T *argvars, typval_T *rettv); 10 void f_finddir(typval_T *argvars, typval_T *rettv); 11 void f_findfile(typval_T *argvars, typval_T *rettv); 13 void f_getcwd(typval_T *argvars, typval_T *rettv); 15 void f_getfperm(typval_T *argvars, typval_T *rettv); 16 void f_getfsize(typval_T *argvars, typval_T *rettv); 20 void f_glob(typval_T *argvars, typval_T *rettv); [all …]
|
| H A D | terminal.pro | 43 void f_term_getattr(typval_T *argvars, typval_T *rettv); 45 void f_term_getjob(typval_T *argvars, typval_T *rettv); 46 void f_term_getline(typval_T *argvars, typval_T *rettv); 48 void f_term_getsize(typval_T *argvars, typval_T *rettv); 49 void f_term_setsize(typval_T *argvars, typval_T *rettv); 52 void f_term_gettty(typval_T *argvars, typval_T *rettv); 53 void f_term_list(typval_T *argvars, typval_T *rettv); 54 void f_term_scrape(typval_T *argvars, typval_T *rettv); 58 void f_term_setapi(typval_T *argvars, typval_T *rettv); 61 void f_term_start(typval_T *argvars, typval_T *rettv); [all …]
|
| H A D | strings.pro | 24 void f_byteidx(typval_T *argvars, typval_T *rettv); 26 void f_charidx(typval_T *argvars, typval_T *rettv); 27 void f_str2list(typval_T *argvars, typval_T *rettv); 28 void f_str2nr(typval_T *argvars, typval_T *rettv); 30 void f_stridx(typval_T *argvars, typval_T *rettv); 31 void f_string(typval_T *argvars, typval_T *rettv); 32 void f_strlen(typval_T *argvars, typval_T *rettv); 38 void f_strpart(typval_T *argvars, typval_T *rettv); 39 void f_strridx(typval_T *argvars, typval_T *rettv); 43 void f_tr(typval_T *argvars, typval_T *rettv); [all …]
|
| H A D | evalbuffer.pro | 5 void f_append(typval_T *argvars, typval_T *rettv); 7 void f_bufadd(typval_T *argvars, typval_T *rettv); 8 void f_bufexists(typval_T *argvars, typval_T *rettv); 9 void f_buflisted(typval_T *argvars, typval_T *rettv); 10 void f_bufload(typval_T *argvars, typval_T *rettv); 11 void f_bufloaded(typval_T *argvars, typval_T *rettv); 12 void f_bufname(typval_T *argvars, typval_T *rettv); 13 void f_bufnr(typval_T *argvars, typval_T *rettv); 14 void f_bufwinid(typval_T *argvars, typval_T *rettv); 15 void f_bufwinnr(typval_T *argvars, typval_T *rettv); [all …]
|
| H A D | popupwin.pro | 18 void f_popup_clear(typval_T *argvars, typval_T *rettv); 19 void f_popup_create(typval_T *argvars, typval_T *rettv); 20 void f_popup_atcursor(typval_T *argvars, typval_T *rettv); 21 void f_popup_beval(typval_T *argvars, typval_T *rettv); 27 void f_popup_dialog(typval_T *argvars, typval_T *rettv); 28 void f_popup_menu(typval_T *argvars, typval_T *rettv); 30 void f_popup_close(typval_T *argvars, typval_T *rettv); 32 void f_popup_hide(typval_T *argvars, typval_T *rettv); 34 void f_popup_show(typval_T *argvars, typval_T *rettv); 40 void f_popup_move(typval_T *argvars, typval_T *rettv); [all …]
|
| H A D | list.pro | 8 int rettv_list_alloc(typval_T *rettv); 9 int rettv_list_alloc_id(typval_T *rettv, alloc_id_T id); 10 void rettv_list_set(typval_T *rettv, list_T *l); 36 void f_flatten(typval_T *argvars, typval_T *rettv); 46 void f_join(typval_T *argvars, typval_T *rettv); 51 void f_sort(typval_T *argvars, typval_T *rettv); 52 void f_uniq(typval_T *argvars, typval_T *rettv); 53 void f_filter(typval_T *argvars, typval_T *rettv); 54 void f_map(typval_T *argvars, typval_T *rettv); 56 void f_add(typval_T *argvars, typval_T *rettv); [all …]
|
| H A D | channel.pro | 42 void f_ch_canread(typval_T *argvars, typval_T *rettv); 43 void f_ch_close(typval_T *argvars, typval_T *rettv); 46 void f_ch_getjob(typval_T *argvars, typval_T *rettv); 47 void f_ch_info(typval_T *argvars, typval_T *rettv); 48 void f_ch_log(typval_T *argvars, typval_T *rettv); 49 void f_ch_logfile(typval_T *argvars, typval_T *rettv); 50 void f_ch_open(typval_T *argvars, typval_T *rettv); 51 void f_ch_read(typval_T *argvars, typval_T *rettv); 53 void f_ch_readraw(typval_T *argvars, typval_T *rettv); 56 void f_ch_evalraw(typval_T *argvars, typval_T *rettv); [all …]
|
| H A D | time.pro | 4 void f_localtime(typval_T *argvars, typval_T *rettv); 5 void f_reltime(typval_T *argvars, typval_T *rettv); 6 void f_reltimefloat(typval_T *argvars, typval_T *rettv); 7 void f_reltimestr(typval_T *argvars, typval_T *rettv); 8 void f_strftime(typval_T *argvars, typval_T *rettv); 9 void f_strptime(typval_T *argvars, typval_T *rettv); 16 void f_timer_info(typval_T *argvars, typval_T *rettv); 17 void f_timer_pause(typval_T *argvars, typval_T *rettv); 18 void f_timer_start(typval_T *argvars, typval_T *rettv); 19 void f_timer_stop(typval_T *argvars, typval_T *rettv); [all …]
|
| H A D | textprop.pro | 3 void f_prop_add(typval_T *argvars, typval_T *rettv); 4 void f_prop_add_list(typval_T *argvars, typval_T *rettv); 10 void f_prop_clear(typval_T *argvars, typval_T *rettv); 11 void f_prop_find(typval_T *argvars, typval_T *rettv); 12 void f_prop_list(typval_T *argvars, typval_T *rettv); 13 void f_prop_remove(typval_T *argvars, typval_T *rettv); 14 void f_prop_type_add(typval_T *argvars, typval_T *rettv); 15 void f_prop_type_change(typval_T *argvars, typval_T *rettv); 16 void f_prop_type_delete(typval_T *argvars, typval_T *rettv); 17 void f_prop_type_get(typval_T *argvars, typval_T *rettv); [all …]
|