Lines Matching refs:el_history
52 el->el_history.fun = NULL;
53 el->el_history.ref = NULL;
54 el->el_history.buf = (char *) el_malloc(EL_BUFSIZ);
55 el->el_history.sz = EL_BUFSIZ;
56 if (el->el_history.buf == NULL)
58 el->el_history.last = el->el_history.buf;
70 el_free((ptr_t) el->el_history.buf);
71 el->el_history.buf = NULL;
82 el->el_history.ref = ptr;
83 el->el_history.fun = fun;
98 if (el->el_history.eventno == 0) { /* if really the current line */
99 (void) strncpy(el->el_line.buffer, el->el_history.buf,
100 el->el_history.sz);
102 (el->el_history.last - el->el_history.buf);
113 if (el->el_history.ref == NULL)
121 for (h = 1; h < el->el_history.eventno; h++)
123 el->el_history.eventno = h;
157 if (el->el_history.ref == NULL)
165 el->el_history.ev.num, str);
175 return history(el->el_history.ref, &ev, H_SETSIZE, num);
178 return history(el->el_history.ref, &ev, H_SETUNIQUE, num);
193 newbuf = realloc(el->el_history.buf, newsz);
199 el->el_history.last = newbuf +
200 (el->el_history.last - el->el_history.buf);
201 el->el_history.buf = newbuf;
202 el->el_history.sz = newsz;