/netbsd-src/lib/libedit/ |
H A D | search.c | 133 if (regcomp(&re, ct_encode_string(pat, &conv), 0) == 0) { in el_match() 134 rv = regexec(&re, ct_encode_string(str, &conv), (size_t)0, NULL, in el_match() 142 if ((re = regcomp(ct_encode_string(pat, &conv))) != NULL) { in el_match() 143 rv = regexec(re, ct_encode_string(str, &conv)); in el_match() 150 if (re_comp(ct_encode_string(pat, &conv)) != NULL) in el_match() 153 return re_exec(ct_encode_string(str, &conv)) == 1; in el_match() 578 c, el->el_search.patlen, ct_encode_string(el->el_search.patbuf, &conv)); in cv_repeat_srch()
|
H A D | eln.c | 84 return ct_encode_string(tmp, &el->el_lgcyconv); in el_gets() 307 *p = ct_encode_string(pw, &el->el_lgcyconv); in el_get() 372 info->buffer = ct_encode_string(winfo->buffer, &el->el_lgcyconv); in el_line()
|
H A D | refresh.c | 331 el->el_refresh.r_cursor.v, ct_encode_string(el->el_vdisplay[0], in re_refresh() 410 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_insert() 411 ELRE_DEBUG(1, (__F, "s == \"%s\"\n", ct_encode_string(s, in re_insert() 425 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_insert() 426 ELRE_DEBUG(1, (__F, "s == \"%s\"\n", ct_encode_string(s, in re_insert() 434 /* ct_encode_string() uses a static buffer, so we can't conveniently in re_insert() 462 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_delete() 474 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_delete()
|
H A D | keymacro.c | 594 ct_encode_string(key, &el->el_scratch), unparsbuf); in keymacro_kprint() 602 ct_encode_string(key, &el->el_scratch), unparsbuf); in keymacro_kprint() 616 (void) fprintf(el->el_outfile, fmt, ct_encode_string(key, in keymacro_kprint()
|
H A D | chartype.h | 69 char *ct_encode_string(const wchar_t *, ct_buffer_t *);
|
H A D | terminal.c | 1292 ub = ct_encode_string(ct_visual_string( in terminal_telltc() 1323 strlcpy(what, ct_encode_string(argv[1], &el->el_scratch), sizeof(what)); in terminal_settc() 1324 strlcpy(how, ct_encode_string(argv[2], &el->el_scratch), sizeof(how)); in terminal_settc() 1518 ct_encode_string(*argv, &el->el_scratch)) == 0) { in terminal_echotc() 1524 scap = tgetstr(ct_encode_string(*argv, &el->el_scratch), &area); in terminal_echotc()
|
H A D | filecomplete.c | 705 ct_encode_string(temp, &el->el_scratch), in fn_complete2() 712 ct_encode_string(temp, &el->el_scratch), complete_func); in fn_complete2()
|
H A D | hist.c | 184 ct_encode_string(str, &el->el_scratch); in hist_command()
|
H A D | chartype.c | 93 ct_encode_string(const wchar_t *s, ct_buffer_t *conv) in ct_encode_string() function
|
H A D | tty.c | 1166 strlcpy(name, ct_encode_string(*argv++, &el->el_scratch), sizeof(name)); in tty_stty() 1255 if ((p ? strncmp(m->m_name, ct_encode_string(d, in tty_stty() 1257 strcmp(m->m_name, ct_encode_string(d, in tty_stty()
|
H A D | history.c | 74 #define ct_encode_string(s, b) (s) macro 862 str = ct_encode_string(ev.str, &conv); in history_save_fp()
|