| /vim-8.2.3635/src/ |
| H A D | typval.c | 92 case VAR_BOOL: in free_tv() 134 case VAR_BOOL: in clear_tv() 217 case VAR_BOOL: in tv_get_bool_or_number_chk() 221 if (varp->v_type == VAR_BOOL) in tv_get_bool_or_number_chk() 322 case VAR_BOOL: in tv_get_float() 447 if (args[idx].v_type != VAR_BOOL in check_for_bool_arg() 949 case VAR_BOOL: in tv_get_string_buf_chk_strict() 1060 case VAR_BOOL: in copy_tv() 1405 typ1->v_type = VAR_BOOL; in typval_compare() 1582 case VAR_BOOL: in tv_equal() [all …]
|
| H A D | vim9type.c | 116 if (member_type->tt_type == VAR_BOOL) in get_list_type() 145 if (member_type->tt_type == VAR_BOOL) in get_dict_type() 267 if (tv->v_type == VAR_BOOL) in typval2type_int() 404 return type != NULL && type == &t_bool && tv->v_type != VAR_BOOL in need_convert_to_bool() 552 if (expected->tt_type == VAR_BOOL in check_type() 997 case VAR_BOOL: in equal_type() 1148 case VAR_BOOL: return "bool"; in vartype_name()
|
| H A D | eval.c | 1471 case VAR_BOOL: in tv_op() 2533 rettv->v_type = VAR_BOOL; in eval2() 2660 rettv->v_type = VAR_BOOL; in eval3() 3321 rettv->v_type = VAR_BOOL; in eval7t() 3615 rettv->v_type = VAR_BOOL; in eval7() 3714 rettv->v_type = VAR_BOOL; in eval7_leader() 3724 type = VAR_BOOL; in eval7_leader() 4105 case VAR_BOOL: in check_can_index() 4208 case VAR_BOOL: in eval_index_inner() 5125 case VAR_BOOL: in echo_string_core() [all …]
|
| H A D | json.c | 198 case VAR_BOOL: in json_encode_item() 832 cur_item->v_type = VAR_BOOL; in json_decode_item() 843 cur_item->v_type = VAR_BOOL; in json_decode_item()
|
| H A D | vim9execute.c | 1127 case VAR_BOOL: in do_2string() 2922 tv->v_type = VAR_BOOL; in exec_instructions() 3582 tv1->v_type = VAR_BOOL; in exec_instructions() 3626 tv1->v_type = VAR_BOOL; in exec_instructions() 3670 tv1->v_type = VAR_BOOL; in exec_instructions() 3701 tv1->v_type = VAR_BOOL; in exec_instructions() 3725 tv1->v_type = VAR_BOOL; in exec_instructions() 4246 && ct->ct_type->tt_type == VAR_BOOL in exec_instructions() 4250 tv->v_type = VAR_BOOL; in exec_instructions() 4317 tv->v_type = VAR_BOOL; in exec_instructions() [all …]
|
| H A D | digraph.c | 2473 rettv->v_type = VAR_BOOL; in f_digraph_set() 2500 rettv->v_type = VAR_BOOL; in f_digraph_setlist()
|
| H A D | if_ruby.c | 1231 else if (tv->v_type == VAR_BOOL || tv->v_type == VAR_SPECIAL) in vim_to_ruby() 1887 rettv->v_type = VAR_BOOL; in ruby_convert_to_vim_value() 1891 rettv->v_type = VAR_BOOL; in ruby_convert_to_vim_value()
|
| H A D | vim9compile.c | 635 case VAR_BOOL: in may_generate_2STRING() 2798 case VAR_BOOL: in generate_tv_PUSH() 4107 rettv->v_type = VAR_BOOL; in apply_leader() 4123 rettv->v_type = VAR_BOOL; in get_vim_constant() 4129 rettv->v_type = VAR_BOOL; in get_vim_constant() 4720 rettv->v_type = VAR_BOOL; in compile_expr7() 4734 rettv->v_type = VAR_BOOL; in compile_expr7() 5210 tv1->v_type = VAR_BOOL; in compile_expr4() 5299 tv->v_type = VAR_BOOL; in compile_and_or() 5361 tv->v_type = VAR_BOOL; in compile_and_or() [all …]
|
| H A D | evalvars.c | 121 {VV_NAME("false", VAR_BOOL), VV_RO}, 122 {VV_NAME("true", VAR_BOOL), VV_RO}, 1419 if (tv->v_type != VAR_BOOL && tv->v_type != VAR_SPECIAL in ex_let_one() 1915 case VAR_BOOL: in item_lock() 3305 bool_tv.v_type = VAR_BOOL; in set_var_const() 3743 if (varp->v_type == VAR_BOOL) in set_option_from_tv()
|
| H A D | testing.c | 315 if (argvars[0].v_type == VAR_BOOL in assert_bool() 1093 case VAR_BOOL: in f_test_refcount()
|
| H A D | viminfo.c | 1258 tv.v_type = VAR_BOOL; in read_viminfo_varlist() 1370 case VAR_BOOL: s = "XPL"; break; // backwards compat. in write_viminfo_varlist() 1384 if (this_var->di_tv.v_type == VAR_BOOL in write_viminfo_varlist()
|
| H A D | vim9script.c | 1023 value->v_type = VAR_BOOL; in check_script_var_type()
|
| H A D | if_lua.c | 573 case VAR_BOOL: in luaV_pushtypval() 610 tv->v_type = VAR_BOOL; in luaV_totypval()
|
| H A D | dict.c | 414 return dict_add_number_special(d, key, nr, VAR_BOOL); in dict_add_bool()
|
| H A D | if_mzsch.c | 3126 else if (vim_value->v_type == VAR_BOOL || vim_value->v_type == VAR_SPECIAL) in vim_to_mzscheme_impl() 3208 tv->v_type = VAR_BOOL; in mzscheme_to_vim_impl()
|
| H A D | popupwin.c | 2399 rettv->v_type = VAR_BOOL; in f_popup_filter_menu() 2463 rettv->v_type = VAR_BOOL; in f_popup_filter_yesno()
|
| H A D | globals.h | 411 EXTERN type_T t_bool INIT6(VAR_BOOL, 0, 0, TTFLAG_STATIC, NULL, NULL);
|
| H A D | strings.c | 886 && argvars[2].v_type != VAR_BOOL)) in f_charidx()
|
| H A D | evalfunc.c | 2632 || (argvars[0].v_type == VAR_BOOL in non_zero_arg() 3224 case VAR_BOOL: in f_empty() 6670 case VAR_BOOL: in f_len() 9968 case VAR_BOOL: n = VAR_TYPE_BOOL; break; in f_type()
|
| H A D | structs.h | 1397 VAR_BOOL, // "v_number" is used: VVAL_TRUE or VVAL_FALSE enumerator
|
| H A D | if_py_both.h | 852 else if (our_tv->v_type == VAR_BOOL) in VimToPython() 6431 case VAR_BOOL: in ConvertToPyObject()
|
| H A D | list.c | 2460 if (newtv.v_type != VAR_NUMBER && newtv.v_type != VAR_BOOL) in filter_map()
|
| H A D | filepath.c | 1565 if (rettv.v_type == VAR_SPECIAL || rettv.v_type == VAR_BOOL) in checkitem_common()
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | version8.txt | 41786 Solution: Add VAR_BOOL for better type checking.
|