Home
last modified time | relevance | path

Searched refs:ct_encode_string (Results 1 – 12 of 12) sorted by relevance

/openbsd-src/lib/libedit/
H A Dsearch.c126 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 Deln.c91 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 Drefresh.c292 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 Dchartype.h64 char *ct_encode_string(const wchar_t *, ct_buffer_t *);
H A Dkeymacro.c590 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 Dfilecomplete.c438 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 Dhist.c168 el->el_history.ev.num, ct_encode_string(str, &el->el_scratch)); in hist_command()
H A Dterminal.c1294 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 Dchartype.c74 ct_encode_string(const wchar_t *s, ct_buffer_t *conv) in ct_encode_string() function
H A Dtty.c1159 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 Dhistory.c71 #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 Dtest_get.c34 char *ct_encode_string(const wchar_t *s UU, ct_buffer_t *conv UU) in ct_encode_string() function