Home
last modified time | relevance | path

Searched refs:VAR_BOOL (Results 1 – 24 of 24) sorted by relevance

/vim-8.2.3635/src/
H A Dtypval.c92 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 Dvim9type.c116 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 Deval.c1471 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 Djson.c198 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 Dvim9execute.c1127 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 Ddigraph.c2473 rettv->v_type = VAR_BOOL; in f_digraph_set()
2500 rettv->v_type = VAR_BOOL; in f_digraph_setlist()
H A Dif_ruby.c1231 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 Dvim9compile.c635 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 Devalvars.c121 {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 Dtesting.c315 if (argvars[0].v_type == VAR_BOOL in assert_bool()
1093 case VAR_BOOL: in f_test_refcount()
H A Dviminfo.c1258 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 Dvim9script.c1023 value->v_type = VAR_BOOL; in check_script_var_type()
H A Dif_lua.c573 case VAR_BOOL: in luaV_pushtypval()
610 tv->v_type = VAR_BOOL; in luaV_totypval()
H A Ddict.c414 return dict_add_number_special(d, key, nr, VAR_BOOL); in dict_add_bool()
H A Dif_mzsch.c3126 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 Dpopupwin.c2399 rettv->v_type = VAR_BOOL; in f_popup_filter_menu()
2463 rettv->v_type = VAR_BOOL; in f_popup_filter_yesno()
H A Dglobals.h411 EXTERN type_T t_bool INIT6(VAR_BOOL, 0, 0, TTFLAG_STATIC, NULL, NULL);
H A Dstrings.c886 && argvars[2].v_type != VAR_BOOL)) in f_charidx()
H A Devalfunc.c2632 || (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 Dstructs.h1397 VAR_BOOL, // "v_number" is used: VVAL_TRUE or VVAL_FALSE enumerator
H A Dif_py_both.h852 else if (our_tv->v_type == VAR_BOOL) in VimToPython()
6431 case VAR_BOOL: in ConvertToPyObject()
H A Dlist.c2460 if (newtv.v_type != VAR_NUMBER && newtv.v_type != VAR_BOOL) in filter_map()
H A Dfilepath.c1565 if (rettv.v_type == VAR_SPECIAL || rettv.v_type == VAR_BOOL) in checkitem_common()
/vim-8.2.3635/runtime/doc/
H A Dversion8.txt41786 Solution: Add VAR_BOOL for better type checking.