Home
last modified time | relevance | path

Searched refs:tofree (Results 1 – 25 of 45) sorted by relevance

12

/vim-8.2.3635/src/
H A Dtesting.c139 char_u *tofree; in fill_assert_error() local
151 vim_free(tofree); in fill_assert_error()
220 vim_free(tofree); in fill_assert_error()
237 vim_free(tofree); in fill_assert_error()
336 char_u *tofree; in assert_append_cmd_or_arg() local
342 vim_free(tofree); in assert_append_cmd_or_arg()
503 char_u *tofree; in assert_equalfile() local
506 vim_free(tofree); in assert_equalfile()
770 char_u *tofree; in assert_inrange() local
789 vim_free(tofree); in assert_inrange()
[all …]
H A Dvim9type.c1170 type_name(type_T *type, char **tofree) in type_name() argument
1174 *tofree = NULL; in type_name()
1185 *tofree = alloc(len); in type_name()
1186 if (*tofree != NULL) in type_name()
1190 return *tofree; in type_name()
1257 *tofree = ga.ga_data; in type_name()
1272 char *tofree; in f_typename() local
1278 name = type_name(type, &tofree); in f_typename()
1279 if (tofree != NULL) in f_typename()
1280 rettv->vval.v_string = (char_u *)tofree; in f_typename()
[all …]
H A Ddict.c618 char_u *tofree = NULL; in dict_find() local
627 tofree = akey = vim_strnsave(key, len); in dict_find()
639 vim_free(tofree); in dict_find()
752 char_u *tofree; in dict2string() local
776 tofree = string_quote(hi->hi_key, FALSE); in dict2string()
777 if (tofree != NULL) in dict2string()
779 ga_concat(&ga, tofree); in dict2string()
780 vim_free(tofree); in dict2string()
783 s = echo_string_core(&HI2DI(hi)->di_tv, &tofree, numbuf, copyID, in dict2string()
787 vim_free(tofree); in dict2string()
H A Duserfunc.c1835 *tofree = fname; in fname_trans_sid()
2685 char_u *tofree; in call_user_func() local
2709 vim_free(tofree); in call_user_func()
2783 char_u *tofree; in call_user_func() local
2800 vim_free(tofree); in call_user_func()
3432 vim_free(tofree); in call_func()
3468 char *tofree; in list_func_head() local
3495 char *tofree; in list_func_head() local
3508 char *tofree; in list_func_head() local
4927 char_u *tofree; in ex_call() local
[all …]
H A Deval.c4955 *tofree = NULL; in echo_string_core()
4965 *tofree = NULL; in echo_string_core()
4973 r = *tofree; in echo_string_core()
4980 *tofree = NULL; in echo_string_core()
4986 r = *tofree; in echo_string_core()
5032 r = *tofree; in echo_string_core()
5044 *tofree = NULL; in echo_string_core()
5050 *tofree = NULL; in echo_string_core()
5061 r = *tofree; in echo_string_core()
5086 r = *tofree; in echo_string_core()
[all …]
H A Dui.c41 char_u *tofree = NULL; in ui_write() local
46 tofree = string_convert(&output_conv, s, &len); in ui_write()
47 if (tofree != NULL) in ui_write()
48 s = tofree; in ui_write()
60 vim_free(tofree); in ui_write()
H A Dblob.c222 blob2string(blob_T *blob, char_u **tofree, char_u *numbuf) in blob2string() argument
229 *tofree = NULL; in blob2string()
243 *tofree = ga.ga_data; in blob2string()
244 return *tofree; in blob2string()
H A Dif_xcmdsrv.c1221 char_u *tofree; in server_parse_message() local
1304 script = serverConvert(enc, script, &tofree); in server_parse_message()
1339 vim_free(tofree); in server_parse_message()
1398 res = serverConvert(enc, res, &tofree); in server_parse_message()
1399 if (tofree == NULL) in server_parse_message()
1449 str = serverConvert(enc, str, &tofree); in server_parse_message()
1461 vim_free(tofree); in server_parse_message()
H A Dmessage.c471 char_u *tofree = sname; in get_emsg_source() local
485 vim_free(tofree); in get_emsg_source()
2427 char_u *tofree = NULL; in inc_msg_scrolled() local
2437 tofree = alloc(len); in inc_msg_scrolled()
2438 if (tofree != NULL) in inc_msg_scrolled()
2442 p = tofree; in inc_msg_scrolled()
2446 vim_free(tofree); in inc_msg_scrolled()
2770 char_u *tofree = NULL; in msg_puts_printf() local
2774 tofree = vim_strnsave(p, (size_t)maxlen); in msg_puts_printf()
2775 p = tofree; in msg_puts_printf()
[all …]
H A Dstrings.c1102 char_u *tofree; in f_string() local
1106 rettv->vval.v_string = tv2string(&argvars[0], &tofree, numbuf, in f_string()
1109 if (rettv->vval.v_string != NULL && tofree == NULL) in f_string()
1725 tv_str(typval_T *tvs, int *idxp, char_u **tofree) in tv_str() argument
1736 if (tofree != NULL) in tv_str()
1737 s = (char *)echo_string(&tvs[idx], tofree, numbuf, get_copyID()); in tv_str()
1958 char_u *tofree = NULL; in vim_vsnprintf_typval() local
2117 tvs != NULL ? tv_str(tvs, &arg_idx, &tofree) : in vim_vsnprintf_typval()
2782 vim_free(tofree); in vim_vsnprintf_typval()
H A Devalvars.c1194 char_u *tofree; in list_arg_vars() local
1230 if (tofree != NULL) in list_arg_vars()
1231 name = tofree; in list_arg_vars()
1282 vim_free(tofree); in list_arg_vars()
1368 vim_free(tofree); in ex_let_one()
3127 char_u *tofree; in list_one_var() local
3134 vim_free(tofree); in list_one_var()
3842 char_u *tofree; in var_exists() local
3852 if (tofree != NULL) in var_exists()
3853 name = tofree; in var_exists()
[all …]
H A Dfindfile.c2123 char_u *tofree = NULL; in find_file_name_in_path() local
2132 tofree = eval_includeexpr(ptr, len); in find_file_name_in_path()
2133 if (tofree != NULL) in find_file_name_in_path()
2135 ptr = tofree; in find_file_name_in_path()
2154 tofree = eval_includeexpr(ptr, len); in find_file_name_in_path()
2155 if (tofree != NULL) in find_file_name_in_path()
2157 ptr = tofree; in find_file_name_in_path()
2184 vim_free(tofree); in find_file_name_in_path()
H A Dlist.c934 listitem_T *tofree; in list_flatten() local
960 tofree = item; in list_flatten()
966 list_free_item(list, tofree); in list_flatten()
1324 char_u *tofree; member
1342 char_u *tofree; in list_join_inner() local
1351 s = echo_string_core(&item->li_tv, &tofree, numbuf, copyID, in list_join_inner()
1361 if (tofree != NULL || s != numbuf) in list_join_inner()
1364 p->tofree = tofree; in list_join_inner()
1369 p->tofree = p->s; in list_join_inner()
1431 vim_free(p->tofree); in list_join()
H A Dusercmd.c1009 may_get_cmd_block(exarg_T *eap, char_u *p, char_u **tofree, int *flags) in may_get_cmd_block() argument
1043 retp = *tofree = ga_concat_strings(&ga, "\n"); in may_get_cmd_block()
1118 char_u *tofree = NULL; in ex_command() local
1120 p = may_get_cmd_block(eap, p, &tofree, &flags); in ex_command()
1124 vim_free(tofree); in ex_command()
H A Dos_mswin.c2005 char_u *tofree; in Messaging_WndProc() local
2021 str = serverConvert(client_enc, (char_u *)data->lpData, &tofree); in Messaging_WndProc()
2023 vim_free(tofree); in Messaging_WndProc()
2039 str = serverConvert(client_enc, (char_u *)data->lpData, &tofree); in Messaging_WndProc()
2060 vim_free(tofree); in Messaging_WndProc()
2070 &tofree); in Messaging_WndProc()
2071 if (tofree == NULL) in Messaging_WndProc()
H A Dbeval.h80 void *tofree; member
H A Dclientserver.c151 char_u **tofree) in serverConvert() argument
155 *tofree = NULL; in serverConvert()
168 *tofree = res; in serverConvert()
H A Dmbyte.c4153 char_u *tofree = NULL; in utf_find_illegal() local
4170 vim_free(tofree); in utf_find_illegal()
4171 tofree = string_convert(&vimconv, p, NULL); in utf_find_illegal()
4172 if (tofree == NULL) in utf_find_illegal()
4174 p = tofree; in utf_find_illegal()
4191 len = (int)(p - tofree); in utf_find_illegal()
4213 vim_free(tofree); in utf_find_illegal()
H A Dtypval.c1425 char_u *tofree; in typval_tostring() local
1438 ret = tv2string(arg, &tofree, numbuf, 0); in typval_tostring()
1440 if (ret != NULL && tofree == NULL) in typval_tostring()
2051 char_u **tofree, in tv2string() argument
2055 return echo_string_core(tv, tofree, numbuf, copyID, FALSE, TRUE, FALSE); in tv2string()
H A Dfilepath.c2353 char_u *tofree = NULL; in do_browse() local
2381 tofree = vim_strsave(dflt); in do_browse()
2382 if (tofree != NULL) in do_browse()
2384 initdir = tofree; in do_browse()
2405 tofree = vim_strsave(curbuf->b_ffname); in do_browse()
2406 if (tofree != NULL) in do_browse()
2408 initdir = tofree; in do_browse()
2490 vim_free(tofree); in do_browse()
/vim-8.2.3635/src/proto/
H A Deval.pro56 char_u *echo_string_core(typval_T *tv, char_u **tofree, char_u *numbuf, int copyID, int echo_style,…
57 char_u *echo_string(typval_T *tv, char_u **tofree, char_u *numbuf, int copyID);
H A Dclientserver.pro5 char_u *serverConvert(char_u *client_enc, char_u *data, char_u **tofree);
H A Dusercmd.pro14 char_u *may_get_cmd_block(exarg_T *eap, char_u *p, char_u **tofree, int *flags);
H A Dblob.pro15 char_u *blob2string(blob_T *blob, char_u **tofree, char_u *numbuf);
H A Dvim9type.pro26 char *type_name(type_T *type, char **tofree);

12