/dports/editors/vim/vim-8.2.3745/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() 4204 tv = rettv; in f_get() 4295 copy_tv(tv, rettv); in f_get() 4358 typval_T *rettv, in getpos_both() argument 4370 l = rettv->vval.v_list; in getpos_both() 4668 rettv->v_type = VAR_LIST; in f_getreg() 6685 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 | 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 | 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() 4305 *rettv = tmp; in eval_index_inner() [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 | 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 …]
|
/dports/editors/vim/vim-8.2.3745/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 | 44 void f_term_getattr(typval_T *argvars, typval_T *rettv); 46 void f_term_getjob(typval_T *argvars, typval_T *rettv); 47 void f_term_getline(typval_T *argvars, typval_T *rettv); 49 void f_term_getsize(typval_T *argvars, typval_T *rettv); 50 void f_term_setsize(typval_T *argvars, typval_T *rettv); 53 void f_term_gettty(typval_T *argvars, typval_T *rettv); 54 void f_term_list(typval_T *argvars, typval_T *rettv); 55 void f_term_scrape(typval_T *argvars, typval_T *rettv); 59 void f_term_setapi(typval_T *argvars, typval_T *rettv); 62 void f_term_start(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 | 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 | 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 …]
|
H A D | clientserver.pro | 8 void f_remote_expr(typval_T *argvars, typval_T *rettv); 9 void f_remote_foreground(typval_T *argvars, typval_T *rettv); 10 void f_remote_peek(typval_T *argvars, typval_T *rettv); 11 void f_remote_read(typval_T *argvars, typval_T *rettv); 12 void f_remote_send(typval_T *argvars, typval_T *rettv); 13 void f_remote_startserver(typval_T *argvars, typval_T *rettv); 14 void f_server2client(typval_T *argvars, typval_T *rettv); 15 void f_serverlist(typval_T *argvars, typval_T *rettv);
|
H A D | job.pro | 26 void f_prompt_setcallback(typval_T *argvars, typval_T *rettv); 27 void f_prompt_setinterrupt(typval_T *argvars, typval_T *rettv); 28 void f_prompt_getprompt(typval_T *argvars, typval_T *rettv); 29 void f_prompt_setprompt(typval_T *argvars, typval_T *rettv); 30 void f_job_getchannel(typval_T *argvars, typval_T *rettv); 31 void f_job_info(typval_T *argvars, typval_T *rettv); 32 void f_job_setoptions(typval_T *argvars, typval_T *rettv); 33 void f_job_start(typval_T *argvars, typval_T *rettv); 34 void f_job_status(typval_T *argvars, typval_T *rettv); 35 void f_job_stop(typval_T *argvars, typval_T *rettv);
|
/dports/editors/neovim/neovim-0.6.1/test/unit/eval/ |
H A D | decode_spec.lua | 24 eq(decode.VAR_UNKNOWN, rettv.v_type) 26 eq(decode.VAR_UNKNOWN, rettv.v_type) 28 eq(decode.VAR_UNKNOWN, rettv.v_type) 30 eq(decode.VAR_UNKNOWN, rettv.v_type) 32 eq(decode.VAR_UNKNOWN, rettv.v_type) 34 eq(decode.VAR_UNKNOWN, rettv.v_type) 36 eq(decode.VAR_UNKNOWN, rettv.v_type) 38 eq(decode.VAR_UNKNOWN, rettv.v_type) 40 eq(decode.VAR_UNKNOWN, rettv.v_type) 42 eq(decode.VAR_UNKNOWN, rettv.v_type) [all …]
|
H A D | tricks_spec.lua | 24 local rettv = eval0('$' .. unexistent_env) 25 eq(eval.VAR_STRING, rettv.v_type) 26 eq(nil, rettv.vval.v_string) 30 local rettv = eval0('v:_null_list') 31 eq(eval.VAR_LIST, rettv.v_type) 32 eq(nil, rettv.vval.v_list) 36 local rettv = eval0('v:_null_dict') 37 eq(eval.VAR_DICT, rettv.v_type) 38 eq(nil, rettv.vval.v_dict)
|
/dports/editors/neovim/neovim-0.6.1/src/nvim/eval/ |
H A D | funcs.c | 255 rettv->v_type = VAR_FLOAT; in float_op_wrapper() 499 rettv->vval.v_number = 1; in f_assert_report() 2515 rettv->vval.v_number = in f_filereadable() 2565 if (rettv->v_type == VAR_STRING || rettv->v_type == VAR_LIST) { in findfilendir() 2877 tv = rettv; in f_get() 2949 tv_copy(tv, rettv); in f_get() 3955 rettv->vval.v_list = in f_getreg() 7064 typval_T rettv; in readdir_checkitem() local 7083 tv_clear(&rettv); in readdir_checkitem() 9983 typval_T rettv; in item_compare2() local [all …]
|