Home
last modified time | relevance | path

Searched refs:alloc_clear (Results 1 – 16 of 16) sorted by relevance

/vim-8.2.3635/src/proto/
H A Dalloc.pro6 void *alloc_clear(size_t size);
/vim-8.2.3635/src/
H A Dalloc.c171 alloc_clear(size_t size) in alloc_clear() function
191 return alloc_clear(size); in alloc_clear_id()
H A Dcrypt.c914 *buf_out = alloc_clear(length); in crypt_sodium_buffer_encode()
957 *buf_out = alloc_clear(len); in crypt_sodium_buffer_decode()
H A Dvim.h1607 #define ALLOC_CLEAR_ONE(type) (type *)alloc_clear(sizeof(type))
1608 #define ALLOC_CLEAR_MULT(type, count) (type *)alloc_clear(sizeof(type) * (count))
H A Duserfunc.c519 fp = alloc_clear(offsetof(ufunc_T, uf_name) + STRLEN(name) + 1); in register_cfunc()
1202 ufunc = alloc_clear(offsetof(ufunc_T, uf_name) + STRLEN(name) + 1); in lambda_function_body()
1407 fp = alloc_clear(offsetof(ufunc_T, uf_name) + STRLEN(name) + 1); in get_lambda_tv()
2318 fp = alloc_clear(offsetof(ufunc_T, uf_name) + STRLEN(global) + 1); in copy_func()
4363 fp = alloc_clear(offsetof(ufunc_T, uf_name) + STRLEN(name) + 1); in define_function()
H A Dvim9script.c870 newsav = (sallvar_T *)alloc_clear( in update_vim9_script_var()
H A Dos_amiga.c1532 Anchor = alloc_clear(ANCHOR_SIZE); in mch_expandpath()
H A Dnetbeans.c670 buf_list = alloc_clear(100 * sizeof(nbbuf_T)); in nb_get_buf()
874 result = alloc_clear(STRLEN(p) + 1); in nb_unquote()
H A Darglist.c936 opened = alloc_clear(opened_len); in do_arg_all()
H A Dtextprop.c1132 prop = alloc_clear(offsetof(proptype_T, pt_name) + STRLEN(name) + 1); in prop_type_set()
H A Dlist.c121 l = (list_T *)alloc_clear(sizeof(list_T) + count * sizeof(listitem_T)); in list_alloc_with_items()
H A Dundo.c2069 uhp_table_used = alloc_clear(sizeof(int) * num_head + 1); in u_read_undo()
H A Dpopupwin.c3420 wp->w_popup_mask_cells = alloc_clear(width * height); in popup_update_mask()
H A Dspellfile.c4308 bl = alloc_clear(sizeof(sblock_T) + SBLOCKSIZE); in getroom()
H A Dterminal.c4523 return alloc_clear(size == 0 ? 1L : size); in vterm_malloc()
/vim-8.2.3635/runtime/doc/
H A Dversion7.txt4117 Solution: Use alloc_clear() instead of alloc() for w_lines. Free