Home
last modified time | relevance | path

Searched refs:el_calloc (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/libedit/
H A Dfilecomplete.c87 temp = el_calloc(len, sizeof(*temp)); in fn_tilde_expand()
121 temp = el_calloc(len, sizeof(*temp)); in fn_tilde_expand()
182 wchar_t *unescaped = el_calloc(length + 1, sizeof(*string)); in unescape_string()
432 temp = el_calloc(len, sizeof(*temp)); in fn_filename_completion_function()
508 retstr = el_calloc(max_equal + 1, sizeof(*retstr)); in completion_matches()
H A Del.h93 #define el_calloc(a,b) calloc(a, b) macro
H A Dchared.c399 el->el_line.buffer = el_calloc(EL_BUFSIZ, in ch_init()
408 el->el_chared.c_undo.buf = el_calloc(EL_BUFSIZ, in ch_init()
414 el->el_chared.c_redo.buf = el_calloc(EL_BUFSIZ, in ch_init()
425 el->el_chared.c_kill.buf = el_calloc(EL_BUFSIZ, in ch_init()
H A Dterminal.c281 el->el_terminal.t_buf = el_calloc(TC_BUFSIZE, in terminal_init()
285 el->el_terminal.t_cap = el_calloc(TC_BUFSIZE, in terminal_init()
289 el->el_terminal.t_fkey = el_calloc(A_K_NKEYS, in terminal_init()
294 el->el_terminal.t_str = el_calloc(T_str, in terminal_init()
298 el->el_terminal.t_val = el_calloc(T_val, in terminal_init()
423 b = el_calloc((size_t)(c->v + 1), sizeof(*b)); in terminal_alloc_buffer()
427 b[i] = el_calloc((size_t)(c->h + 1), sizeof(**b)); in terminal_alloc_buffer()
H A Dreadline.c545 r = result = el_calloc(len + 1, sizeof(*r)); in _rl_compat_sub()
635 if ((pat = el_calloc(len + 1, sizeof(*pat))) == NULL) in get_history_event()
843 if ((aptr = el_calloc(offs + 1, sizeof(*aptr))) in _history_expand_command()
1003 *output = el_calloc(strlen(str) + 4 + 1, sizeof(**output)); in history_expand()
1149 result = el_calloc(len, sizeof(*result)); in history_arg_extract()
1211 temp = el_calloc(len + 1, sizeof(*temp)); in history_tokenize()
2405 if ((list = el_calloc(max, sizeof(*list))) == NULL) in rl_completion_matches()
2440 if ((list[0] = el_calloc(min + 1, sizeof(*list[0]))) == NULL) in rl_completion_matches()
H A Dmap.c916 el->el_map.alt = el_calloc(N_KEYS, sizeof(*el->el_map.alt)); in map_init()
919 el->el_map.key = el_calloc(N_KEYS, sizeof(*el->el_map.key)); in map_init()
925 el->el_map.help = el_calloc(EL_NUM_FCNS, sizeof(*el->el_map.help)); in map_init()
930 el->el_map.func = el_calloc(EL_NUM_FCNS, sizeof(*el->el_map.func)); in map_init()
H A Dparse.c115 tprog = el_calloc(l + 1, sizeof(*tprog)); in el_wparse()
H A Del.c74 EditLine *el = el_calloc(1, sizeof(*el)); in el_init_internal()
548 if ((path = el_calloc(plen, sizeof(*path))) == NULL) in el_source()
H A Dhist.c62 el->el_history.buf = el_calloc(EL_BUFSIZ, sizeof(*el->el_history.buf)); in hist_init()
H A Dchartype.c160 wargv = el_calloc((size_t)(argc + 1), sizeof(*wargv)); in ct_decode_argv()
H A Dread.c92 if ((ma->macro = el_calloc(EL_MAXMACRO, sizeof(*ma->macro))) == NULL) in read_init()
H A Dvi.c1025 cp = el_calloc(TMP_BUFSIZ, sizeof(*cp)); in vi_histedit()
1028 line = el_calloc(len + 1, sizeof(*line)); in vi_histedit()
H A Dkeymacro.c108 el->el_keymacro.buf = el_calloc(KEY_BUFSIZ, in keymacro_init()
H A Dsearch.c73 el->el_search.patbuf = el_calloc(EL_BUFSIZ, in search_init()