Home
last modified time | relevance | path

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

/mirbsd/src/lib/libedit/
Dterm.c77 #define TC_BUFSIZE 2048 macro
330 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()
382 char termbuf[TC_BUFSIZE]; in term_alloc()
405 if (el->el_term.t_loc + 3 < TC_BUFSIZE) { in term_alloc()
406 tlen = TC_BUFSIZE - el->el_term.t_loc; in term_alloc()
425 memcpy(el->el_term.t_buf, termbuf, TC_BUFSIZE); in term_alloc()
427 if (el->el_term.t_loc + 3 >= TC_BUFSIZE) { in term_alloc()
432 tlen = TC_BUFSIZE - el->el_term.t_loc; in term_alloc()
891 char buf[TC_BUFSIZE]; in term_set()
[all …]