Lines Matching refs:v_type
265 if (tv->v_type == VAR_NUMBER) in typval2type_int()
267 if (tv->v_type == VAR_BOOL) in typval2type_int()
269 if (tv->v_type == VAR_STRING) in typval2type_int()
271 if (tv->v_type == VAR_BLOB) in typval2type_int()
274 if (tv->v_type == VAR_LIST) in typval2type_int()
300 if (tv->v_type == VAR_DICT) in typval2type_int()
327 if (tv->v_type == VAR_FUNC || tv->v_type == VAR_PARTIAL) in typval2type_int()
332 if (tv->v_type == VAR_PARTIAL && tv->vval.v_partial != NULL) in typval2type_int()
365 if (tv->v_type == VAR_PARTIAL in typval2type_int()
384 type->tt_type = tv->v_type; in typval2type_int()
387 if (tv->v_type == VAR_PARTIAL && tv->vval.v_partial != NULL in typval2type_int()
404 return type != NULL && type == &t_bool && tv->v_type != VAR_BOOL in need_convert_to_bool()
405 && (tv->v_type == VAR_NUMBER in need_convert_to_bool()
420 && (tv->v_type == VAR_NUMBER in typval2type()
435 if (tv->v_type == VAR_LIST) // e.g. for v:oldfiles in typval2type_vimvar()
437 if (tv->v_type == VAR_DICT) // e.g. for v:completed_item in typval2type_vimvar()
469 if ((actual_tv->v_type == VAR_FUNC && actual_tv->vval.v_string == NULL) in check_typval_type()
470 || (actual_tv->v_type == VAR_PARTIAL in check_typval_type()
1275 rettv->v_type = VAR_STRING; in f_typename()