Searched refs:alloc_clear (Results 1 – 16 of 16) sorted by relevance
6 void *alloc_clear(size_t size);
171 alloc_clear(size_t size) in alloc_clear() function191 return alloc_clear(size); in alloc_clear_id()
914 *buf_out = alloc_clear(length); in crypt_sodium_buffer_encode()957 *buf_out = alloc_clear(len); in crypt_sodium_buffer_decode()
1607 #define ALLOC_CLEAR_ONE(type) (type *)alloc_clear(sizeof(type))1608 #define ALLOC_CLEAR_MULT(type, count) (type *)alloc_clear(sizeof(type) * (count))
519 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()
870 newsav = (sallvar_T *)alloc_clear( in update_vim9_script_var()
1532 Anchor = alloc_clear(ANCHOR_SIZE); in mch_expandpath()
670 buf_list = alloc_clear(100 * sizeof(nbbuf_T)); in nb_get_buf()874 result = alloc_clear(STRLEN(p) + 1); in nb_unquote()
936 opened = alloc_clear(opened_len); in do_arg_all()
1132 prop = alloc_clear(offsetof(proptype_T, pt_name) + STRLEN(name) + 1); in prop_type_set()
121 l = (list_T *)alloc_clear(sizeof(list_T) + count * sizeof(listitem_T)); in list_alloc_with_items()
2069 uhp_table_used = alloc_clear(sizeof(int) * num_head + 1); in u_read_undo()
3420 wp->w_popup_mask_cells = alloc_clear(width * height); in popup_update_mask()
4308 bl = alloc_clear(sizeof(sblock_T) + SBLOCKSIZE); in getroom()
4523 return alloc_clear(size == 0 ? 1L : size); in vterm_malloc()
4117 Solution: Use alloc_clear() instead of alloc() for w_lines. Free