Home
last modified time | relevance | path

Searched refs:type_T (Results 1 – 22 of 22) sorted by relevance

/vim-8.2.3635/src/proto/
H A Dvim9type.pro3 type_T *alloc_type(type_T *type);
4 void free_type(type_T *type);
5 type_T *get_list_type(type_T *member_type, garray_T *type_gap);
6 type_T *get_dict_type(type_T *member_type, garray_T *type_gap);
7 type_T *alloc_func_type(type_T *ret_type, int argcount, garray_T *type_gap);
8 type_T *get_func_type(type_T *ret_type, int argcount, garray_T *type_gap);
15 void type_mismatch(type_T *expected, type_T *actual);
16 void arg_type_mismatch(type_T *expected, type_T *actual, int arg_idx);
17 void type_mismatch_where(type_T *expected, type_T *actual, where_T where);
22 int equal_type(type_T *type1, type_T *type2, int flags);
[all …]
H A Devalfunc.pro8 int internal_func_check_arg_types(type_T **types, int idx, int argcount, cctx_T *cctx);
10 type_T *internal_func_ret_type(int idx, int argcount, type_T **argtypes);
H A Dvim9script.pro14 int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type, cctx_T *cctx, int verbose);
16 void update_vim9_script_var(int create, dictitem_T *di, int flags, typval_T *tv, type_T **type, int…
H A Devalbuffer.pro19 type_T *ret_f_getline(int argcount, type_T **argtypes);
H A Dvim9compile.pro4 int need_type(type_T *actual, type_T *expected, int offset, int arg_idx, cctx_T *cctx, int silent, …
H A Duserfunc.pro7 char_u *deref_func_name(char_u *name, int *lenp, partial_T **partialp, type_T **type, int no_autolo…
34 …_u **pp, int *is_global, int skip, int flags, funcdict_T *fdp, partial_T **partial, type_T **type);
H A Devalvars.pro74 void set_var_const(char_u *name, type_T *type, typval_T *tv_arg, int copy, int flags_arg, int var_i…
/vim-8.2.3635/src/
H A Dvim9type.c30 type_T *type; in get_type_ptr()
55 type_T *
58 type_T *ret; in alloc_type()
105 type_T *
134 type_T *
166 type_T *
185 type_T *
414 type_T *
486 type_mismatch(type_T *expected, type_T *actual) in type_mismatch()
983 equal_type(type_T *type1, type_T *type2, int flags) in equal_type()
[all …]
H A Dglobals.h408 EXTERN type_T t_unknown INIT6(VAR_UNKNOWN, 0, 0, TTFLAG_STATIC, NULL, NULL);
409 EXTERN type_T t_any INIT6(VAR_ANY, 0, 0, TTFLAG_STATIC, NULL, NULL);
410 EXTERN type_T t_void INIT6(VAR_VOID, 0, 0, TTFLAG_STATIC, NULL, NULL);
411 EXTERN type_T t_bool INIT6(VAR_BOOL, 0, 0, TTFLAG_STATIC, NULL, NULL);
412 EXTERN type_T t_special INIT6(VAR_SPECIAL, 0, 0, TTFLAG_STATIC, NULL, NULL);
413 EXTERN type_T t_number INIT6(VAR_NUMBER, 0, 0, TTFLAG_STATIC, NULL, NULL);
415 EXTERN type_T t_float INIT6(VAR_FLOAT, 0, 0, TTFLAG_STATIC, NULL, NULL);
416 EXTERN type_T t_string INIT6(VAR_STRING, 0, 0, TTFLAG_STATIC, NULL, NULL);
417 EXTERN type_T t_blob INIT6(VAR_BLOB, 0, 0, TTFLAG_STATIC, NULL, NULL);
418 EXTERN type_T t_job INIT6(VAR_JOB, 0, 0, TTFLAG_STATIC, NULL, NULL);
[all …]
H A Dvim9compile.c268 type_T **type, in arg_exists()
700 type_T *type1, in generate_add_instr()
701 type_T *type2, in generate_add_instr()
745 operator_type(type_T *type1, type_T *type2) in operator_type()
1026 use_typecheck(type_T *actual, type_T *expected) in use_typecheck()
1054 type_T *actual, in need_type_where()
1301 type_T *type = ((type_T **)stack->ga_data)[stack->ga_len in generate_GETITEM()
2106 type_T *type, in generate_PCALL()
2140 type_T *actual = ((type_T **)stack->ga_data)[ in generate_PCALL()
2452 type_T *type) in reserve_local()
[all …]
H A Devalfunc.c213 type_T *expected, in check_arg_type()
214 type_T *actual, in check_arg_type()
830 static type_T *
835 static type_T *
840 static type_T *
845 static type_T *
850 static type_T *
1037 static type_T *ret_f_function(int argcount, type_T **argtypes);
1050 type_T *(*f_retfunc)(int argcount, type_T **argtypes);
2436 type_T **types, in internal_func_check_arg_types()
[all …]
H A Dstructs.h1413 typedef struct type_S type_T; typedef
1420 type_T **tt_args; // func argument types, allocated
1508 type_T *lv_type; // allocated by alloc_type()
1572 type_T *dv_type; // allocated by alloc_type()
1632 type_T *uf_ret_type; // return type
1638 type_T *uf_va_type; // type from "...name: type" or NULL
1809 type_T *sv_type;
1821 type_T *imp_type;
2000 type_T *check_type; // type from funcref or NULL
4247 type_T *ll_type; // type of variable (can be NULL)
[all …]
H A Dvim9.h282 type_T *ct_type;
310 type_T *sref_type; // type of the variable when compiled
H A Dvim9script.c569 type_T *type; in handle_import()
677 type_T **type, in find_exported()
750 type_T *type; in vim9_declare_scriptvar()
822 type_T **type, in update_vim9_script_var()
H A Devalbuffer.c807 type_T *
808 ret_f_getline(int argcount, type_T **argtypes UNUSED) in ret_f_getline()
H A Duserfunc.c378 ga_init2(&fp->uf_type_list, sizeof(type_T *), 10); in parse_argument_types()
386 fp->uf_arg_types = ALLOC_CLEAR_MULT(type_T *, len); in parse_argument_types()
390 type_T *type; in parse_argument_types()
1552 type_T **type, in deref_func_name()
2336 fp->uf_arg_types = ALLOC_MULT(type_T *, fp->uf_args.ga_len); in copy_func()
2340 sizeof(type_T *) * fp->uf_args.ga_len); in copy_func()
3240 type_T check_type; in call_func()
3549 type_T **type) // return: type of funcref if not NULL in trans_function_name()
4936 type_T *type = NULL; in ex_call()
H A Dlist.c855 type_T *member_type = NULL; in list_assign_range()
2280 type_T *type = NULL; in filter_map()
2294 ga_init2(&type_list, sizeof(type_T *), 10); in filter_map()
2821 type_T *type = NULL; in extend()
2828 ga_init2(&type_list, sizeof(type_T *), 10); in extend()
H A Deval.c1990 type_T *type = NULL; in eval_func()
3272 type_T *want_type = NULL; in eval7t()
3283 ga_init2(&type_list, sizeof(type_T *), 10); in eval7t()
3310 type_T *actual = typval2type(rettv, get_copyID(), &type_list, TRUE); in eval7t()
5800 type_T *type; in handle_subscript()
H A Ddict.c1083 type_T *type; in dict_extend()
H A Devalvars.c2574 type_T *type = NULL; in eval_variable()
3204 type_T *type, in set_var_const()
H A Dscriptfile.c1350 ga_init2(&si->sn_type_list, sizeof(type_T), 10); in do_source()
H A Dvim9execute.c979 type_T *type = NULL; in call_by_name()
4794 type_T *expected = ufunc->uf_va_type->tt_member; in call_def_function()