Lines Matching refs:cap
336 terminal_alloc(EditLine *el, const struct termcapstr *t, const char *cap) in terminal_alloc() argument
344 if (cap == NULL || *cap == '\0') { in terminal_alloc()
348 clen = strlen(cap); in terminal_alloc()
357 (void) strcpy(*str, cap); /* XXX strcpy is safe */ in terminal_alloc()
366 el->el_terminal.t_loc], cap); in terminal_alloc()
392 cap); in terminal_alloc()
1207 terminal_tputs(EditLine *el, const char *cap, int affcnt) in terminal_tputs() argument
1213 (void)tputs(cap, affcnt, terminal_putc); in terminal_tputs()
1455 char *cap, *scap; in terminal_echotc() local
1536 for (cap = scap, arg_need = 0; *cap; cap++) in terminal_echotc()
1537 if (*cap == '%') in terminal_echotc()
1538 switch (*++cap) { in terminal_echotc()
1561 *cap); in terminal_echotc()