Home
last modified time | relevance | path

Searched refs:tv2 (Results 1 – 8 of 8) sorted by relevance

/vim-8.2.3635/src/
H A Dtypval.c1465 typval_T *tv2, in func_equal() argument
1478 s2 = tv2->v_type == VAR_FUNC ? tv2->vval.v_string in func_equal()
1492 d2 = tv2->v_type == VAR_FUNC ? NULL : tv2->vval.v_partial->pt_dict; in func_equal()
1503 a2 = tv2->v_type == VAR_FUNC ? 0 : tv2->vval.v_partial->pt_argc; in func_equal()
1522 typval_T *tv2, in tv_equal() argument
1550 && (tv2->v_type == VAR_FUNC in tv_equal()
1551 || (tv2->v_type == VAR_PARTIAL && tv2->vval.v_partial != NULL))) in tv_equal()
1554 r = func_equal(tv1, tv2, ic); in tv_equal()
1559 if (tv1->v_type != tv2->v_type in tv_equal()
1561 || (tv2->v_type != VAR_BOOL && tv2->v_type != VAR_SPECIAL))) in tv_equal()
[all …]
H A Deval.c1459 if (tv2->v_type != VAR_FUNC && tv2->v_type != VAR_DICT in tv_op()
1460 && ((tv2->v_type != VAR_BOOL && tv2->v_type != VAR_SPECIAL) in tv_op()
1496 if (tv2->vval.v_list != NULL) in tv_op()
1510 if (tv2->v_type == VAR_LIST) in tv_op()
1517 if (tv2->v_type == VAR_FLOAT) in tv_op()
1554 if (tv2->v_type == VAR_FLOAT) in tv_op()
1572 || (tv2->v_type != VAR_FLOAT in tv_op()
1576 if (tv2->v_type == VAR_FLOAT) in tv_op()
1577 f = tv2->vval.v_float; in tv_op()
1579 f = tv_get_number(tv2); in tv_op()
[all …]
H A Dvim9execute.c3700 clear_tv(tv2); in exec_instructions()
3724 clear_tv(tv2); in exec_instructions()
3743 clear_tv(tv2); in exec_instructions()
3765 eval_addblob(tv1, tv2); in exec_instructions()
3766 clear_tv(tv2); in exec_instructions()
3786 clear_tv(tv2); in exec_instructions()
3830 clear_tv(tv2); in exec_instructions()
3838 clear_tv(tv2); in exec_instructions()
3864 f2 = tv2->vval.v_float; in exec_instructions()
3893 clear_tv(tv2); in exec_instructions()
[all …]
H A Dlist.c1828 typval_T *tv1, *tv2; in item_compare() local
1838 tv2 = &si2->item->li_tv; in item_compare()
1843 varnumber_T v2 = tv_get_number(tv2); in item_compare()
1852 float_T v2 = tv_get_float(tv2); in item_compare()
1863 if (tv2->v_type != VAR_STRING || sortinfo->item_compare_numeric) in item_compare()
1870 if (tv2->v_type == VAR_STRING) in item_compare()
1875 p2 = tv2->vval.v_string; in item_compare()
1878 p2 = tv2string(tv2, &tofree2, numbuf2, 0); in item_compare()
H A Dvim9compile.c4987 typval_T *tv2 = &ppconst->pp_tv[ppconst_used + 1]; in compile_expr6() local
4994 case '*': res = tv1->vval.v_number * tv2->vval.v_number; in compile_expr6()
4997 tv2->vval.v_number, &failed); in compile_expr6()
5000 tv2->vval.v_number, &failed); in compile_expr6()
5075 typval_T *tv2 = &ppconst->pp_tv[ppconst_used + 1]; in compile_expr5() local
5079 tv1->vval.v_number = tv1->vval.v_number + tv2->vval.v_number; in compile_expr5()
5086 char_u *s2 = tv2->vval.v_string; in compile_expr5()
5199 typval_T *tv2 = &ppconst->pp_tv[ppconst->pp_used - 1]; in compile_expr4() local
5205 if (check_compare_types(type, tv1, tv2) == FAIL) in compile_expr4()
5209 ret = typval_compare(tv1, tv2, type, ic); in compile_expr4()
[all …]
/vim-8.2.3635/src/proto/
H A Deval.pro29 int tv_op(typval_T *tv1, typval_T *tv2, char_u *op);
41 void eval_addblob(typval_T *tv1, typval_T *tv2);
42 int eval_addlist(typval_T *tv1, typval_T *tv2);
H A Dvim9compile.pro3 int check_compare_types(exprtype_T type, typval_T *tv1, typval_T *tv2);
H A Dtypval.pro58 int tv_equal(typval_T *tv1, typval_T *tv2, int ic, int recursive);