Home
last modified time | relevance | path

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

/freebsd-12.1/lib/libedit/
H A Dsearch.c135 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 Dchartype.h173 #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 Deln.c87 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 Drefresh.c298 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 Dkeymacro.c604 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 Dfilecomplete.c479 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 Dterminal.c1325 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 Dhist.c175 el->el_history.ev.num, ct_encode_string(str, &el->el_scratch)); in hist_command()
H A Dchartype.c93 ct_encode_string(const Char *s, ct_buffer_t *conv) in ct_encode_string() function
H A Dtty.c1163 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 Dhistory.c814 str = ct_encode_string(ev.str, &conv); in history_save_fp()