Home
last modified time | relevance | path

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

/external/libedit/src/
Dfilecomplete.c93 temp = el_malloc(len * sizeof(*temp)); in fn_tilde_expand()
128 temp = el_malloc(len * sizeof(*temp)); in fn_tilde_expand()
246 temp = el_malloc(len * sizeof(*temp)); in fn_filename_completion_function()
322 retstr = el_malloc((max_equal + 1) * sizeof(*retstr)); in completion_matches()
445 temp = el_malloc((len + 1) * sizeof(*temp)); in fn_complete()
Dreadline.c484 r = result = el_malloc((len + 1) * sizeof(*r)); in _rl_compat_sub()
574 if ((pat = el_malloc((len + 1) * sizeof(*pat))) == NULL) in get_history_event()
668 if ((aptr = el_malloc((offs + 1) * sizeof(*aptr))) in _history_expand_command()
902 *output = el_malloc((strlen(str) + 4 + 1) * sizeof(**output)); in history_expand()
1049 result = el_malloc(len * sizeof(*result)); in history_arg_extract()
1111 temp = el_malloc((size_t)(len + 1) * sizeof(*temp)); in history_tokenize()
1412 if ((he = el_malloc(sizeof(*he))) == NULL) in remove_history()
1450 if ((he = el_malloc(sizeof(*he))) == NULL) in replace_history_entry()
2133 if ((list = el_malloc(max * sizeof(*list))) == NULL) in rl_completion_matches()
2168 if ((list[0] = el_malloc((min + 1) * sizeof(*list[0]))) == NULL) in rl_completion_matches()
[all …]
Dchared.c397 el->el_line.buffer = el_malloc(EL_BUFSIZ * in ch_init()
408 el->el_chared.c_undo.buf = el_malloc(EL_BUFSIZ * in ch_init()
416 el->el_chared.c_redo.buf = el_malloc(EL_BUFSIZ * in ch_init()
427 el->el_chared.c_kill.buf = el_malloc(EL_BUFSIZ * in ch_init()
448 ma->macro = el_malloc(EL_MAXMACRO * sizeof(*ma->macro)); in ch_init()
Dterminal.c272 el->el_terminal.t_buf = el_malloc(TC_BUFSIZE * in terminal_init()
276 el->el_terminal.t_cap = el_malloc(TC_BUFSIZE * in terminal_init()
280 el->el_terminal.t_fkey = el_malloc(A_K_NKEYS * in terminal_init()
285 el->el_terminal.t_str = el_malloc(T_str * in terminal_init()
291 el->el_terminal.t_val = el_malloc(T_val * in terminal_init()
419 b = el_malloc(sizeof(*b) * (size_t)(c->v + 1)); in terminal_alloc_display()
423 b[i] = el_malloc(sizeof(**b) * (size_t)(c->h + 1)); in terminal_alloc_display()
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()
Dchartype.c152 wargv = el_malloc((size_t)argc * sizeof(*wargv)); in ct_decode_argv()
220 buff = el_malloc(buffsize * sizeof(*buff)); in ct_visual_string()
Del.h97 #define el_malloc(a) malloc(a) macro
Dsig.c119 el->el_signal = el_malloc(sizeof(*el->el_signal)); in sig_init()
Dmap.c906 el->el_map.alt = el_malloc(sizeof(*el->el_map.alt) * N_KEYS); in map_init()
909 el->el_map.key = el_malloc(sizeof(*el->el_map.key) * N_KEYS); in map_init()
915 el->el_map.help = el_malloc(sizeof(*el->el_map.help) * EL_NUM_FCNS); in map_init()
920 el->el_map.func = el_malloc(sizeof(*el->el_map.func) * EL_NUM_FCNS); in map_init()
Dparse.c112 tprog = el_malloc((l + 1) * sizeof(*tprog)); in FUN()
Del.c98 EditLine *el = el_malloc(sizeof(*el)); in el_init_fd()
547 if ((path = el_malloc(plen * sizeof(*path))) == NULL) in el_source()
Dkeymacro.c107 el->el_keymacro.buf = el_malloc(KEY_BUFSIZ * in keymacro_init()
465 ptr = el_malloc(sizeof(*ptr)); in node__get()
Dhist.c59 el->el_history.buf = el_malloc(EL_BUFSIZ * sizeof(*el->el_history.buf)); in hist_init()
Dvi.c1023 cp = el_malloc(TMP_BUFSIZ * sizeof(*cp)); in vi_histedit()
1026 line = el_malloc(len * sizeof(*line) + 1); in vi_histedit()
Dsearch.c70 el->el_search.patbuf = el_malloc(EL_BUFSIZ * in search_init()