Home
last modified time | relevance | path

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

/mirbsd/src/lib/libedit/
Dterm.c330 el->el_term.t_buf = (char *) el_malloc(TC_BUFSIZE); in term_init()
333 el->el_term.t_cap = (char *) el_malloc(TC_BUFSIZE); in term_init()
336 el->el_term.t_fkey = (fkey_t *) el_malloc(A_K_NKEYS * sizeof(fkey_t)); in term_init()
340 el->el_term.t_str = (char **) el_malloc(T_str * sizeof(char *)); in term_init()
344 el->el_term.t_val = (int *) el_malloc(T_val * sizeof(int)); in term_init()
468 b = (char **) el_malloc((size_t) (sizeof(char *) * (c->v + 1))); in term_alloc_display()
472 b[i] = (char *) el_malloc((size_t) (sizeof(char) * (c->h + 1))); in term_alloc_display()
479 b = (char **) el_malloc((size_t) (sizeof(char *) * (c->v + 1))); in term_alloc_display()
483 b[i] = (char *) el_malloc((size_t) (sizeof(char) * (c->h + 1))); in term_alloc_display()
Dchared.c449 el->el_line.buffer = (char *) el_malloc(EL_BUFSIZ); in ch_init()
458 el->el_chared.c_undo.buf = (char *) el_malloc(EL_BUFSIZ); in ch_init()
464 el->el_chared.c_redo.buf = (char *) el_malloc(EL_BUFSIZ); in ch_init()
474 el->el_chared.c_kill.buf = (char *) el_malloc(EL_BUFSIZ); in ch_init()
491 el->el_chared.c_macro.macro = (char **) el_malloc(EL_MAXMACRO * in ch_init()
Del.h92 #define el_malloc(a) malloc(a) macro
Dparse.c112 tprog = (char *) el_malloc(l + 1); in el_parse()
Dsig.c122 el->el_signal = (el_signalhandler_t *) el_malloc(SIGSIZE); in sig_init()
Dmap.c906 el->el_map.alt = (el_action_t *)el_malloc(sizeof(el_action_t) * N_KEYS); in map_init()
909 el->el_map.key = (el_action_t *)el_malloc(sizeof(el_action_t) * N_KEYS); in map_init()
915 el->el_map.help = (el_bindings_t *) el_malloc(sizeof(el_bindings_t) * in map_init()
921 el->el_map.func = (el_func_t *)el_malloc(sizeof(el_func_t) * in map_init()
Dhist.c59 el->el_history.buf = (char *) el_malloc(EL_BUFSIZ); in hist_init()
Dkey.c105 el->el_key.buf = (char *) el_malloc(KEY_BUFSIZ); in key_init()
460 ptr = (key_node_t *) el_malloc((size_t) sizeof(key_node_t)); in node__get()
Del.c59 EditLine *el = (EditLine *) el_malloc(sizeof(EditLine)); in el_init()
Dsearch.c69 el->el_search.patbuf = (char *) el_malloc(EL_BUFSIZ); in search_init()