Home
last modified time | relevance | path

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

/libedit-20250104-3.1/src/
Dsearch.c134 if (regcomp(&re, ct_encode_string(pat, &conv), 0) == 0) { in el_match()
135 rv = regexec(&re, ct_encode_string(str, &conv), (size_t)0, NULL, in el_match()
143 if ((re = regcomp(ct_encode_string(pat, &conv))) != NULL) { in el_match()
144 rv = regexec(re, ct_encode_string(str, &conv)); in el_match()
151 if (re_comp(ct_encode_string(pat, &conv)) != NULL) in el_match()
154 return re_exec(ct_encode_string(str, &conv)) == 1; in el_match()
579 c, el->el_search.patlen, ct_encode_string(el->el_search.patbuf, &conv)); in cv_repeat_srch()
Drefresh.c331 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()
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()
Deln.c84 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()
Dkeymacro.c594 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()
Dchartype.h69 char *ct_encode_string(const wchar_t *, ct_buffer_t *);
Dterminal.c1292 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()
Dfilecomplete.c700 ct_encode_string(temp, &el->el_scratch), in fn_complete2()
707 ct_encode_string(temp, &el->el_scratch), complete_func); in fn_complete2()
Dhist.c184 ct_encode_string(str, &el->el_scratch); in hist_command()
Dtty.c1166 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()
Dchartype.c94 ct_encode_string(const wchar_t *s, ct_buffer_t *conv) in ct_encode_string() function
Dhistory.c77 #define ct_encode_string(s, b) (s) macro
865 str = ct_encode_string(ev.str, &conv); in history_save_fp()