/openbsd-src/lib/libedit/ |
H A D | search.c | 126 if (regcomp(&re, ct_encode_string(pat, &conv), 0) == 0) { in el_match() 127 rv = regexec(&re, ct_encode_string(str, &conv), 0, NULL, 0) == 0; in el_match() 134 if ((re = regcomp(ct_encode_string(pat, &conv))) != NULL) { in el_match() 135 rv = regexec(re, ct_encode_string(str, &conv)); in el_match() 142 if (re_comp(ct_encode_string(pat, &conv)) != NULL) in el_match() 145 return re_exec(ct_encode_string(str, &conv)) == 1; in el_match() 567 c, el->el_search.patlen, ct_encode_string(el->el_search.patbuf)); in cv_repeat_srch()
|
H A D | eln.c | 91 return ct_encode_string(tmp, &el->el_lgcyconv); in el_gets() 295 *p = ct_encode_string(pw, &el->el_lgcyconv); in el_get() 357 info->buffer = ct_encode_string(winfo->buffer, &el->el_lgcyconv); in el_line()
|
H A D | refresh.c | 292 el->el_refresh.r_cursor.v, ct_encode_string(el->el_vdisplay[0], in re_refresh() 367 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_insert() 368 ELRE_DEBUG(1, (__F, "s == \"%s\"\n", ct_encode_string(s, in re_insert() 382 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_insert() 383 ELRE_DEBUG(1, (__F, "s == \"%s\"\n", ct_encode_string(s, in re_insert() 418 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_delete() 430 num, dat, dlen, ct_encode_string(d, &el->el_scratch))); in re_delete()
|
H A D | chartype.h | 64 char *ct_encode_string(const wchar_t *, ct_buffer_t *);
|
H A D | keymacro.c | 590 ct_encode_string(key, &el->el_scratch), unparsbuf); in keymacro_kprint() 598 ct_encode_string(key, &el->el_scratch), unparsbuf); in keymacro_kprint() 613 (void) fprintf(el->el_outfile, fmt, ct_encode_string(key, in keymacro_kprint()
|
H A D | filecomplete.c | 438 ct_encode_string(temp, &el->el_scratch), in fn_complete() 445 ct_encode_string(temp, &el->el_scratch), complet_func); in fn_complete()
|
H A D | hist.c | 168 el->el_history.ev.num, ct_encode_string(str, &el->el_scratch)); in hist_command()
|
H A D | terminal.c | 1294 ub = ct_encode_string(ct_visual_string( in terminal_telltc() 1322 strncpy(what, ct_encode_string(argv[1], &el->el_scratch), sizeof(what)); in terminal_settc() 1324 strncpy(how, ct_encode_string(argv[2], &el->el_scratch), sizeof(how)); in terminal_settc() 1509 ct_encode_string(*argv, &el->el_scratch)) == 0) { in terminal_echotc() 1515 scap = tgetstr(ct_encode_string(*argv, &el->el_scratch), &area); in terminal_echotc()
|
H A D | chartype.c | 74 ct_encode_string(const wchar_t *s, ct_buffer_t *conv) in ct_encode_string() function
|
H A D | tty.c | 1159 strncpy(name, ct_encode_string(*argv++, &el->el_scratch), sizeof(name)); in tty_stty() 1248 if ((p ? strncmp(m->m_name, ct_encode_string(d, &el->el_scratch), (size_t)(p - d)) : in tty_stty() 1249 strcmp(m->m_name, ct_encode_string(d, &el->el_scratch))) == 0 && in tty_stty()
|
H A D | history.c | 71 #define ct_encode_string(s, b) (s) macro 847 (void) strnvis(ptr, ct_encode_string(ev.str, &conv), max_size, in history_save_fp()
|
/openbsd-src/regress/lib/libedit/keymacro/ |
H A D | test_get.c | 34 char *ct_encode_string(const wchar_t *s UU, ct_buffer_t *conv UU) in ct_encode_string() function
|