| /freebsd-12.1/lib/libedit/ |
| H A D | search.c | 135 if (regcomp(&re, ct_encode_string(pat, &conv), 0) == 0) { in el_match() 136 rv = regexec(&re, ct_encode_string(str, &conv), (size_t)0, NULL, in el_match() 144 if ((re = regcomp(ct_encode_string(pat, &conv))) != NULL) { in el_match() 145 rv = regexec(re, ct_encode_string(str, &conv)); in el_match() 152 if (re_comp(ct_encode_string(pat, &conv)) != NULL) in el_match() 155 return re_exec(ct_encode_string(str, &conv)) == 1; in el_match() 583 c, el->el_search.patlen, ct_encode_string(el->el_search.patbuf)); in cv_repeat_srch()
|
| H A D | chartype.h | 173 #define ct_encode_string __ct_encode_string macro 175 public char *ct_encode_string(const Char *, ct_buffer_t *); 194 #define ct_encode_string(s, b) (s) macro
|
| H A D | eln.c | 87 return ct_encode_string(tmp, &el->el_lgcyconv); in el_gets() 311 *p = ct_encode_string(pw, &el->el_lgcyconv); in el_get() 373 info->buffer = ct_encode_string(winfo->buffer, &el->el_lgcyconv); in el_line()
|
| H A D | refresh.c | 298 el->el_refresh.r_cursor.v, ct_encode_string(el->el_vdisplay[0], in re_refresh() 374 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_insert() 375 ELRE_DEBUG(1, (__F, "s == \"%s\"\n", ct_encode_string(s, in re_insert() 389 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_insert() 390 ELRE_DEBUG(1, (__F, "s == \"%s\"\n", ct_encode_string(s, in re_insert() 426 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_delete() 438 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_delete()
|
| H A D | keymacro.c | 604 ct_encode_string(key, &el->el_scratch), unparsbuf); in keymacro_kprint() 612 ct_encode_string(key, &el->el_scratch), unparsbuf); in keymacro_kprint() 627 (void) fprintf(el->el_outfile, fmt, ct_encode_string(key, in keymacro_kprint()
|
| H A D | filecomplete.c | 479 ct_encode_string(dequoted_temp ? dequoted_temp : temp, in fn_complete() 487 ct_encode_string(dequoted_temp ? dequoted_temp : temp, in fn_complete()
|
| H A D | terminal.c | 1325 ub = ct_encode_string(ct_visual_string( in terminal_telltc() 1354 strncpy(what, ct_encode_string(argv[1], &el->el_scratch), sizeof(what)); in terminal_settc() 1356 strncpy(how, ct_encode_string(argv[2], &el->el_scratch), sizeof(how)); in terminal_settc() 1543 ct_encode_string(*argv, &el->el_scratch)) == 0) { in terminal_echotc() 1549 scap = tgetstr(ct_encode_string(*argv, &el->el_scratch), &area); in terminal_echotc()
|
| H A D | hist.c | 175 el->el_history.ev.num, ct_encode_string(str, &el->el_scratch)); in hist_command()
|
| H A D | chartype.c | 93 ct_encode_string(const Char *s, ct_buffer_t *conv) in ct_encode_string() function
|
| H A D | tty.c | 1163 strncpy(name, ct_encode_string(*argv++, &el->el_scratch), sizeof(name)); in tty_stty() 1253 if ((p ? strncmp(m->m_name, ct_encode_string(d, in tty_stty() 1255 strcmp(m->m_name, ct_encode_string(d, in tty_stty()
|
| H A D | history.c | 814 str = ct_encode_string(ev.str, &conv); in history_save_fp()
|