Home
last modified time | relevance | path

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

/freebsd-12.1/lib/libedit/
H A Dfilecomplete.c92 temp = el_malloc(len * sizeof(*temp)); in fn_tilde_expand()
127 temp = el_malloc(len * sizeof(*temp)); in fn_tilde_expand()
251 temp = el_malloc(len * sizeof(*temp)); in fn_filename_completion_function()
327 retstr = el_malloc((max_equal + 1) * sizeof(*retstr)); in completion_matches()
458 temp = el_malloc((len + 1) * sizeof(*temp)); in fn_complete()
H A Dreadline.c519 r = result = el_malloc((len + 1) * sizeof(*r)); in _rl_compat_sub()
609 if ((pat = el_malloc((len + 1) * sizeof(*pat))) == NULL) in get_history_event()
703 if ((aptr = el_malloc((offs + 1) * sizeof(*aptr))) in _history_expand_command()
937 *output = el_malloc((strlen(str) + 4 + 1) * sizeof(**output)); in history_expand()
1085 result = el_malloc(len * sizeof(*result)); in history_arg_extract()
1147 temp = el_malloc((size_t)(len + 1) * sizeof(*temp)); in history_tokenize()
1448 if ((he = el_malloc(sizeof(*he))) == NULL) in remove_history()
1486 if ((he = el_malloc(sizeof(*he))) == NULL) in replace_history_entry()
2185 if ((list = el_malloc(max * sizeof(*list))) == NULL) in rl_completion_matches()
2220 if ((list[0] = el_malloc((min + 1) * sizeof(*list[0]))) == NULL) in rl_completion_matches()
[all …]
H A Dchared.c403 el->el_line.buffer = el_malloc(EL_BUFSIZ * in ch_init()
414 el->el_chared.c_undo.buf = el_malloc(EL_BUFSIZ * in ch_init()
422 el->el_chared.c_redo.buf = el_malloc(EL_BUFSIZ * in ch_init()
433 el->el_chared.c_kill.buf = el_malloc(EL_BUFSIZ * in ch_init()
456 ma->macro = el_malloc(EL_MAXMACRO * sizeof(*ma->macro)); in ch_init()
H A Dterminal.c273 el->el_terminal.t_buf = el_malloc(TC_BUFSIZE * in terminal_init()
277 el->el_terminal.t_cap = el_malloc(TC_BUFSIZE * in terminal_init()
281 el->el_terminal.t_fkey = el_malloc(A_K_NKEYS * in terminal_init()
286 el->el_terminal.t_str = el_malloc(T_str * in terminal_init()
292 el->el_terminal.t_val = el_malloc(T_val * in terminal_init()
434 b = el_malloc(sizeof(*b) * (size_t)(c->v + 1)); in terminal_alloc_display()
438 b[i] = el_malloc(sizeof(**b) * (size_t)(c->h + 1)); in terminal_alloc_display()
449 b = el_malloc(sizeof(*b) * (size_t)(c->v + 1)); in terminal_alloc_display()
453 b[i] = el_malloc(sizeof(**b) * (size_t)(c->h + 1)); in terminal_alloc_display()
H A Dchartype.c160 wargv = el_malloc((size_t)(argc + 1) * sizeof(*wargv)); in ct_decode_argv()
248 buff = el_malloc(buffsize * sizeof(*buff)); in ct_visual_string()
H A Del.h91 #define el_malloc(a) malloc(a) macro
H A Dmap.c913 el->el_map.alt = el_malloc(sizeof(*el->el_map.alt) * N_KEYS); in map_init()
916 el->el_map.key = el_malloc(sizeof(*el->el_map.key) * N_KEYS); in map_init()
922 el->el_map.help = el_malloc(sizeof(*el->el_map.help) * EL_NUM_FCNS); in map_init()
927 el->el_map.func = el_malloc(sizeof(*el->el_map.func) * EL_NUM_FCNS); in map_init()
H A Dsig.c126 el->el_signal = el_malloc(sizeof(*el->el_signal)); in sig_init()
H A Del.c77 EditLine *el = el_malloc(sizeof(*el)); in el_init_fd()
531 if ((path = el_malloc(plen * sizeof(*path))) == NULL) in el_source()
H A Dparse.c117 tprog = el_malloc((l + 1) * sizeof(*tprog)); in FUN()
H A Dkeymacro.c109 el->el_keymacro.buf = el_malloc(KEY_BUFSIZ * in keymacro_init()
469 ptr = el_malloc(sizeof(*ptr)); in node__get()
H A Dhist.c63 el->el_history.buf = el_malloc(EL_BUFSIZ * sizeof(*el->el_history.buf)); in hist_init()
H A Dvi.c1023 cp = el_malloc(TMP_BUFSIZ * sizeof(*cp)); in vi_histedit()
1026 line = el_malloc(len * sizeof(*line) + 1); in vi_histedit()
H A Dsearch.c74 el->el_search.patbuf = el_malloc(EL_BUFSIZ * in search_init()