Home
last modified time | relevance | path

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

/vim-8.2.3635/src/
H A Dtypval.c1464 typval_T *tv1, in func_equal() argument
1474 s1 = tv1->v_type == VAR_FUNC ? tv1->vval.v_string in func_equal()
1491 d1 = tv1->v_type == VAR_FUNC ? NULL : tv1->vval.v_partial->pt_dict; in func_equal()
1502 a1 = tv1->v_type == VAR_FUNC ? 0 : tv1->vval.v_partial->pt_argc; in func_equal()
1521 typval_T *tv1, in tv_equal() argument
1548 if ((tv1->v_type == VAR_FUNC in tv_equal()
1549 || (tv1->v_type == VAR_PARTIAL && tv1->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()
1560 && ((tv1->v_type != VAR_BOOL && tv1->v_type != VAR_SPECIAL) in tv_equal()
[all …]
H A Dvim9execute.c3626 tv1->v_type = VAR_BOOL; in exec_instructions()
3670 tv1->v_type = VAR_BOOL; in exec_instructions()
3674 tv1->vval.v_float = res; in exec_instructions()
3699 clear_tv(tv1); in exec_instructions()
3723 clear_tv(tv1); in exec_instructions()
3765 eval_addblob(tv1, tv2); in exec_instructions()
3846 f1 = tv1->vval.v_float; in exec_instructions()
3892 clear_tv(tv1); in exec_instructions()
3894 tv1->v_type = VAR_FLOAT; in exec_instructions()
3895 tv1->vval.v_float = f1; in exec_instructions()
[all …]
H A Deval.c1463 switch (tv1->v_type) in tv_op()
1530 clear_tv(tv1); in tv_op()
1532 tv1->vval.v_float = f; in tv_op()
1547 clear_tv(tv1); in tv_op()
1549 tv1->vval.v_number = n; in tv_op()
1560 clear_tv(tv1); in tv_op()
2816 clear_tv(tv1); in eval_addblob()
2817 rettv_blob_set(tv1, b); in eval_addblob()
2832 clear_tv(tv1); in eval_addlist()
2836 clear_tv(tv1); in eval_addlist()
[all …]
H A Dlist.c1828 typval_T *tv1, *tv2; in item_compare() local
1837 tv1 = &si1->item->li_tv; in item_compare()
1842 varnumber_T v1 = tv_get_number(tv1); in item_compare()
1851 float_T v1 = tv_get_float(tv1); in item_compare()
1861 if (tv1->v_type == VAR_STRING) in item_compare()
1866 p1 = tv1->vval.v_string; in item_compare()
1869 p1 = tv2string(tv1, &tofree1, numbuf1, 0); in item_compare()
1872 if (tv1->v_type != VAR_STRING || sortinfo->item_compare_numeric) in item_compare()
H A Dvim9compile.c4996 case '/': res = num_divide(tv1->vval.v_number, in compile_expr6()
5005 tv1->vval.v_number = res; in compile_expr6()
5079 tv1->vval.v_number = tv1->vval.v_number + tv2->vval.v_number; in compile_expr5()
5081 tv1->vval.v_number = tv1->vval.v_number - tv2->vval.v_number; in compile_expr5()
5085 char_u *s1 = tv1->vval.v_string; in compile_expr5()
5090 if (tv1->vval.v_string == NULL) in compile_expr5()
5095 mch_memmove(tv1->vval.v_string, s1, len1); in compile_expr5()
5096 STRCPY(tv1->vval.v_string + len1, s2); in compile_expr5()
5209 ret = typval_compare(tv1, tv2, type, ic); in compile_expr4()
5210 tv1->v_type = VAR_BOOL; 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);