Home
last modified time | relevance | path

Searched refs:EditLine (Results 1 – 25 of 40) sorted by relevance

12

/external/libedit/src/
Dterminal.h94 protected void terminal_move_to_line(EditLine *, int);
95 protected void terminal_move_to_char(EditLine *, int);
96 protected void terminal_clear_EOL(EditLine *, int);
97 protected void terminal_overwrite(EditLine *, const Char *, size_t);
98 protected void terminal_insertwrite(EditLine *, Char *, int);
99 protected void terminal_deletechars(EditLine *, int);
100 protected void terminal_clear_screen(EditLine *);
101 protected void terminal_beep(EditLine *);
102 protected int terminal_change_size(EditLine *, int, int);
103 protected int terminal_get_size(EditLine *, int *, int *);
[all …]
Dhistedit.h57 typedef struct editline EditLine; typedef
86 EditLine *el_init(const char *, FILE *, FILE *, FILE *);
87 EditLine *el_init_fd(const char *, FILE *, FILE *, FILE *,
89 void el_end(EditLine *);
90 void el_reset(EditLine *);
95 const char *el_gets(EditLine *, int *);
96 int el_getc(EditLine *, char *);
97 void el_push(EditLine *, const char *);
102 void el_beep(EditLine *);
108 int el_parse(EditLine *, int, const char **);
[all …]
Dchared.h106 typedef void (*el_zfunc_t)(EditLine *, void *);
148 protected void cv_delfini(EditLine *);
151 protected void cv_undo(EditLine *);
152 protected void cv_yank(EditLine *, const Char *, int);
153 protected Char *cv_next_word(EditLine*, Char *, Char *, int, int (*)(Int));
157 protected void c_insert(EditLine *, int);
158 protected void c_delbefore(EditLine *, int);
159 protected void c_delbefore1(EditLine *);
160 protected void c_delafter(EditLine *, int);
161 protected void c_delafter1(EditLine *);
[all …]
Dkeymacro.h61 protected int keymacro_init(EditLine *);
62 protected void keymacro_end(EditLine *);
63 protected keymacro_value_t *keymacro_map_cmd(EditLine *, int);
64 protected keymacro_value_t *keymacro_map_str(EditLine *, Char *);
65 protected void keymacro_reset(EditLine *);
66 protected int keymacro_get(EditLine *, Char *, keymacro_value_t *);
67 protected void keymacro_add(EditLine *, const Char *, keymacro_value_t *, int);
68 protected void keymacro_clear(EditLine *, el_action_t *, const Char *);
69 protected int keymacro_delete(EditLine *, const Char *);
70 protected void keymacro_print(EditLine *, const Char *);
[all …]
Dsearch.h56 protected int search_init(EditLine *);
57 protected void search_end(EditLine *);
58 protected int c_hmatch(EditLine *, const Char *);
59 protected void c_setpat(EditLine *);
60 protected el_action_t ce_inc_search(EditLine *, int);
61 protected el_action_t cv_search(EditLine *, int);
62 protected el_action_t ce_search_line(EditLine *, int);
63 protected el_action_t cv_repeat_srch(EditLine *, Int);
64 protected el_action_t cv_csearch(EditLine *, int, Int, int, int);
Dmap.h68 protected int map_bind(EditLine *, int, const Char **);
69 protected int map_init(EditLine *);
70 protected void map_end(EditLine *);
71 protected void map_init_vi(EditLine *);
72 protected void map_init_emacs(EditLine *);
73 protected int map_set_editor(EditLine *, Char *);
74 protected int map_get_editor(EditLine *, const Char **);
75 protected int map_addfunc(EditLine *, const Char *, const Char *, el_func_t);
Drefresh.h51 protected void re_putc(EditLine *, Int, int);
52 protected void re_clear_lines(EditLine *);
53 protected void re_clear_display(EditLine *);
54 protected void re_refresh(EditLine *);
55 protected void re_refresh_cursor(EditLine *);
56 protected void re_fastaddc(EditLine *);
57 protected void re_goto_bottom(EditLine *);
Dvi.c54 private el_action_t cv_action(EditLine *, Int);
55 private el_action_t cv_paste(EditLine *, Int);
61 cv_action(EditLine *el, Int c) in cv_action()
93 cv_paste(EditLine *el, Int c) in cv_paste()
125 vi_paste_next(EditLine *el, Int c __attribute__((__unused__))) in vi_paste_next()
138 vi_paste_prev(EditLine *el, Int c __attribute__((__unused__))) in vi_paste_prev()
151 vi_prev_big_word(EditLine *el, Int c __attribute__((__unused__))) in vi_prev_big_word()
176 vi_prev_word(EditLine *el, Int c __attribute__((__unused__))) in vi_prev_word()
201 vi_next_big_word(EditLine *el, Int c __attribute__((__unused__))) in vi_next_big_word()
225 vi_next_word(EditLine *el, Int c __attribute__((__unused__))) in vi_next_word()
[all …]
Dread.h38 typedef int (*el_rfunc_t)(EditLine *, Char *);
44 protected int read_init(EditLine *);
45 protected void read_prepare(EditLine *);
46 protected void read_finish(EditLine *);
47 protected int el_read_setfn(EditLine *, el_rfunc_t);
48 protected el_rfunc_t el_read_getfn(EditLine *);
Dcommon.c55 ed_end_of_file(EditLine *el, Int c __attribute__((__unused__))) in ed_end_of_file()
69 ed_insert(EditLine *el, Int c) in ed_insert()
112 ed_delete_prev_word(EditLine *el, Int c __attribute__((__unused__))) in ed_delete_prev_word()
140 ed_delete_next_char(EditLine *el, Int c __attribute__((__unused__))) in ed_delete_next_char()
187 ed_kill_line(EditLine *el, Int c __attribute__((__unused__))) in ed_kill_line()
208 ed_move_to_end(EditLine *el, Int c __attribute__((__unused__))) in ed_move_to_end()
231 ed_move_to_beg(EditLine *el, Int c __attribute__((__unused__))) in ed_move_to_beg()
254 ed_transpose_chars(EditLine *el, Int c) in ed_transpose_chars()
280 ed_next_char(EditLine *el, Int c __attribute__((__unused__))) in ed_next_char()
309 ed_prev_word(EditLine *el, Int c __attribute__((__unused__))) in ed_prev_word()
[all …]
Dprompt.h45 typedef Char *(*el_pfunc_t)(EditLine *);
54 protected void prompt_print(EditLine *, int);
55 protected int prompt_set(EditLine *, el_pfunc_t, Char, int, int);
56 protected int prompt_get(EditLine *, el_pfunc_t *, Char *, int);
57 protected int prompt_init(EditLine *);
58 protected void prompt_end(EditLine *);
Dkeymacro.c84 private int node_trav(EditLine *, keymacro_node_t *, Char *,
86 private int node__try(EditLine *, keymacro_node_t *, const Char *,
90 private void node__put(EditLine *, keymacro_node_t *);
91 private int node__delete(EditLine *, keymacro_node_t **,
93 private int node_lookup(EditLine *, const Char *,
95 private int node_enum(EditLine *, keymacro_node_t *, size_t);
104 keymacro_init(EditLine *el) in keymacro_init()
120 keymacro_end(EditLine *el) in keymacro_end()
133 keymacro_map_cmd(EditLine *el, int cmd) in keymacro_map_cmd()
145 keymacro_map_str(EditLine *el, Char *str) in keymacro_map_str()
[all …]
Dprompt.c50 private Char *prompt_default(EditLine *);
51 private Char *prompt_default_r(EditLine *);
58 prompt_default(EditLine *el __attribute__((__unused__))) in prompt_default()
71 prompt_default_r(EditLine *el __attribute__((__unused__))) in prompt_default_r()
83 prompt_print(EditLine *el, int op) in prompt_print()
120 prompt_init(EditLine *el) in prompt_init()
140 prompt_end(EditLine *el __attribute__((__unused__))) in prompt_end()
149 prompt_set(EditLine *el, el_pfunc_t prf, Char c, int op, int wide) in prompt_set()
181 prompt_get(EditLine *el, el_pfunc_t *prf, Char *c, int op) in prompt_get()
Dhist.h77 protected int hist_init(EditLine *);
78 protected void hist_end(EditLine *);
79 protected el_action_t hist_get(EditLine *);
80 protected int hist_set(EditLine *, hist_fun_t, void *);
81 protected int hist_command(EditLine *, int, const Char **);
82 protected int hist_enlargebuf(EditLine *, size_t, size_t);
84 protected wchar_t *hist_convert(EditLine *, int, void *);
Demacs.c55 em_delete_or_list(EditLine *el, Int c) in em_delete_or_list()
91 em_delete_next_word(EditLine *el, Int c __attribute__((__unused__))) in em_delete_next_word()
120 em_yank(EditLine *el, Int c __attribute__((__unused__))) in em_yank()
156 em_kill_line(EditLine *el, Int c __attribute__((__unused__))) in em_kill_line()
178 em_kill_region(EditLine *el, Int c __attribute__((__unused__))) in em_kill_region()
211 em_copy_region(EditLine *el, Int c __attribute__((__unused__))) in em_copy_region()
240 em_gosmacs_transpose(EditLine *el, Int c) in em_gosmacs_transpose()
260 em_next_word(EditLine *el, Int c __attribute__((__unused__))) in em_next_word()
285 em_upper_case(EditLine *el, Int c __attribute__((__unused__))) in em_upper_case()
309 em_capitol_case(EditLine *el, Int c __attribute__((__unused__))) in em_capitol_case()
[all …]
Dsig.h67 protected void sig_end(EditLine*);
68 protected int sig_init(EditLine*);
69 protected void sig_set(EditLine*);
70 protected void sig_clr(EditLine*);
Dterminal.c203 private void terminal_setflags(EditLine *);
204 private int terminal_rebuffer_display(EditLine *);
205 private void terminal_free_display(EditLine *);
206 private int terminal_alloc_display(EditLine *);
207 private void terminal_alloc(EditLine *, const struct termcapstr *,
209 private void terminal_init_arrow(EditLine *);
210 private void terminal_reset_arrow(EditLine *);
212 private void terminal_tputs(EditLine *, const char *, int);
224 terminal_setflags(EditLine *el) in terminal_setflags()
269 terminal_init(EditLine *el) in terminal_init()
[all …]
Dchared.c50 private void ch__clearmacro (EditLine *);
59 cv_undo(EditLine *el) in cv_undo()
83 cv_yank(EditLine *el, const Char *ptr, int size) in cv_yank()
96 c_insert(EditLine *el, int num) in c_insert()
118 c_delafter(EditLine *el, int num) in c_delafter()
144 c_delafter1(EditLine *el) in c_delafter1()
159 c_delbefore(EditLine *el, int num) in c_delbefore()
187 c_delbefore1(EditLine *el) in c_delbefore1()
278 cv_next_word(EditLine *el, Char *p, Char *high, int n, int (*wtest)(Int)) in cv_next_word()
333 cv_delfini(EditLine *el) in cv_delfini()
[all …]
Dtty.h460 protected int tty_init(EditLine *);
461 protected void tty_end(EditLine *);
462 protected int tty_stty(EditLine *, int, const Char **);
463 protected int tty_rawmode(EditLine *);
464 protected int tty_cookedmode(EditLine *);
465 protected int tty_quotemode(EditLine *);
466 protected int tty_noquotemode(EditLine *);
467 protected void tty_bind_char(EditLine *, int);
Dread.c58 private int read_preread(EditLine *);
59 private int read_char(EditLine *, Char *);
60 private int read_getcmd(EditLine *, el_action_t *, Char *);
67 read_init(EditLine *el) in read_init()
80 el_read_setfn(EditLine *el, el_rfunc_t rc) in el_read_setfn()
92 el_read_getfn(EditLine *el) in el_read_getfn()
105 read_debug(EditLine *el) in read_debug()
188 read_preread(EditLine *el) in read_preread()
220 FUN(el,push)(EditLine *el, const Char *str) in FUN()
240 read_getcmd(EditLine *el, el_action_t *cmdnum, Char *ch) in read_getcmd()
[all …]
Del.c87 public EditLine *
94 public EditLine *
98 EditLine *el = el_malloc(sizeof(*el)); in el_init_fd()
103 memset(el, 0, sizeof(EditLine)); in el_init_fd()
154 el_end(EditLine *el) in el_end()
187 el_reset(EditLine *el) in el_reset()
199 FUN(el,set)(EditLine *el, int op, ...) in FUN()
406 FUN(el,get)(EditLine *el, int op, ...) in FUN()
519 FUN(el,line)(EditLine *el) in TYPE()
530 el_source(EditLine *el, const char *fname) in el_source()
[all …]
Dhist.c54 hist_init(EditLine *el) in hist_init()
72 hist_end(EditLine *el) in hist_end()
84 hist_set(EditLine *el, hist_fun_t fun, void *ptr) in hist_set()
98 hist_get(EditLine *el) in hist_get()
157 hist_command(EditLine *el, int argc, const Char **argv) in hist_command()
195 hist_enlargebuf(EditLine *el, size_t oldsz, size_t newsz) in hist_enlargebuf()
215 hist_convert(EditLine *el, int fn, void *arg) in hist_convert()
Drefresh.c54 private void re_nextline(EditLine *);
55 private void re_addc(EditLine *, Int);
56 private void re_update_line(EditLine *, Char *, Char *, int);
57 private void re_insert (EditLine *, Char *, int, int, Char *, int);
58 private void re_delete(EditLine *, Char *, int, int, int);
59 private void re_fastputc(EditLine *, Int);
60 private void re_clear_eol(EditLine *, int, int, int);
65 private void re_printstr(EditLine *, const char *, char *, char *);
79 re_printstr(EditLine *el, const char *str, char *f, char *t) in re_printstr()
96 re_nextline(EditLine *el) in re_nextline()
[all …]
Dsig.c52 private EditLine *sel = NULL;
114 sig_init(EditLine *el) in sig_init()
146 sig_end(EditLine *el) in sig_end()
158 sig_set(EditLine *el) in sig_set()
185 sig_clr(EditLine *el) in sig_clr()
Deln.c48 el_getc(EditLine *el, char *cp) in el_getc()
66 el_push(EditLine *el, const char *str) in el_push()
75 el_gets(EditLine *el, int *nread) in el_gets()
87 el_parse(EditLine *el, int argc, const char *argv[]) in el_parse()
104 el_set(EditLine *el, int op, ...) in el_set()
256 el_get(EditLine *el, int op, ...) in el_get()
344 el_line(EditLine *el) in el_line()
368 el_insertstr(EditLine *el, const char *str) in el_insertstr()

12