| /freebsd/usr.bin/vi/ |
| H A D | vi_extern.h | 1 int cs_init(SCR *, VCS *); 2 int cs_next(SCR *, VCS *); 3 int cs_fspace(SCR *, VCS *); 4 int cs_fblank(SCR *, VCS *); 5 int cs_prev(SCR *, VCS *); 6 int cs_bblank(SCR *, VCS *); 7 int v_at(SCR *, VICMD *); 8 int v_chrepeat(SCR *, VICMD *); 9 int v_chrrepeat(SCR *, VICMD *); 10 int v_cht(SCR *, VICMD *); [all …]
|
| H A D | ex_extern.h | 1 int ex(SCR **); 2 int ex_cmd(SCR *); 3 int ex_range(SCR *, EXCMD *, int *); 7 (SCR *, EXCMDLIST const *, enum badaddr, enum nresult); 8 int ex_abbr(SCR *, EXCMD *); 9 int ex_unabbr(SCR *, EXCMD *); 10 int ex_append(SCR *, EXCMD *); 11 int ex_change(SCR *, EXCMD *); 12 int ex_insert(SCR *, EXCMD *); 13 int ex_next(SCR *, EXCMD *); [all …]
|
| H A D | common_extern.h | 2 void conv_init(SCR *, SCR *); 3 int conv_enc(SCR *, int, char *); 4 void conv_end(SCR *); 5 int cut(SCR *, CHAR_T *, MARK *, MARK *, int); 6 int cut_line(SCR *, recno_t, size_t, size_t, CB *); 8 TEXT *text_init(SCR *, const CHAR_T *, size_t, size_t); 11 int del(SCR *, MARK *, MARK *, int); 16 FREF *file_add(SCR *, char *); 17 int file_init(SCR *, FREF *, char *, int); 18 int file_end(SCR *, EXF *, int); [all …]
|
| H A D | cl_extern.h | 1 int cl_waddstr(SCR *, const CHAR_T *, size_t); 2 int cl_addstr(SCR *, const char *, size_t); 3 int cl_attr(SCR *, scr_attr_t, int); 4 int cl_baud(SCR *, u_long *); 5 int cl_bell(SCR *); 6 int cl_clrtoeol(SCR *); 7 int cl_cursor(SCR *, size_t *, size_t *); 8 int cl_deleteln(SCR *); 9 int cl_discard(SCR *, SCR **); 10 int cl_ex_adjust(SCR *, exadj_t); [all …]
|
| /freebsd/contrib/nvi/vi/ |
| H A D | extern.h | 1 int cs_init(SCR *, VCS *); 2 int cs_next(SCR *, VCS *); 3 int cs_fspace(SCR *, VCS *); 4 int cs_fblank(SCR *, VCS *); 5 int cs_prev(SCR *, VCS *); 6 int cs_bblank(SCR *, VCS *); 7 int v_at(SCR *, VICMD *); 8 int v_chrepeat(SCR *, VICMD *); 9 int v_chrrepeat(SCR *, VICMD *); 10 int v_cht(SCR *, VICMD *); [all …]
|
| H A D | v_ex.c | 26 static int v_ecl(SCR *); 27 static int v_ecl_init(SCR *); 28 static int v_ecl_log(SCR *, TEXT *); 29 static int v_ex_done(SCR *, VICMD *); 30 static int v_exec_ex(SCR *, VICMD *, EXCMD *); 39 v_again(SCR *sp, VICMD *vp) in v_again() 55 v_exmode(SCR *sp, VICMD *vp) in v_exmode() 91 v_join(SCR *sp, VICMD *vp) in v_join() 120 v_shiftl(SCR *sp, VICMD *vp) in v_shiftl() 136 v_shiftr(SCR *sp, VICMD *vp) in v_shiftr() [all …]
|
| H A D | v_scroll.c | 66 v_lgoto(SCR *sp, VICMD *vp) in v_lgoto() 103 v_home(SCR *sp, VICMD *vp) in v_home() 120 v_middle(SCR *sp, VICMD *vp) in v_middle() 141 v_bottom(SCR *sp, VICMD *vp) in v_bottom() 204 v_up(SCR *sp, VICMD *vp) in v_up() 226 v_cr(SCR *sp, VICMD *vp) in v_cr() 247 v_down(SCR *sp, VICMD *vp) in v_down() 268 v_hpageup(SCR *sp, VICMD *vp) in v_hpageup() 292 v_hpagedown(SCR *sp, VICMD *vp) in v_hpagedown() 320 v_pagedown(SCR *sp, VICMD *vp) in v_pagedown() [all …]
|
| H A D | vs_split.c | 28 static SCR *vs_getbg(SCR *, char *); 29 static void vs_insert(SCR *sp, GS *gp); 30 static int vs_join(SCR *, SCR **, jdir_t *); 40 SCR *sp, in vs_split() 41 SCR *new, in vs_split() 204 vs_vsplit(SCR *sp, SCR *new) in vs_vsplit() 294 vs_insert(SCR *sp, GS *gp) in vs_insert() 296 SCR *tsp; in vs_insert() 333 vs_discard(SCR *sp, SCR **spp) in vs_discard() 336 SCR *tsp, **lp, *list[100]; in vs_discard() [all …]
|
| H A D | v_ch.c | 24 static void notfound(SCR *, ARG_CHAR_T); 25 static void noprev(SCR *); 34 v_chrepeat(SCR *sp, VICMD *vp) in v_chrepeat() 63 v_chrrepeat(SCR *sp, VICMD *vp) in v_chrrepeat() 102 v_cht(SCR *sp, VICMD *vp) in v_cht() 133 v_chf(SCR *sp, VICMD *vp) in v_chf() 190 v_chT(SCR *sp, VICMD *vp) in v_chT() 224 v_chF(SCR *sp, VICMD *vp) in v_chF() 278 noprev(SCR *sp) in noprev() 284 notfound(SCR *sp, ARG_CHAR_T ch) in notfound()
|
| H A D | v_util.c | 34 v_eof(SCR *sp, MARK *mp) in v_eof() 57 v_eol(SCR *sp, MARK *mp) in v_eol() 80 v_nomove(SCR *sp) in v_nomove() 92 v_sof(SCR *sp, MARK *mp) in v_sof() 107 v_sol(SCR *sp) in v_sol() 134 v_emsg(SCR *sp, char *p, vim_t which) in v_emsg()
|
| H A D | v_word.c | 65 static int bword(SCR *, VICMD *, enum which); 66 static int eword(SCR *, VICMD *, enum which); 67 static int fword(SCR *, VICMD *, enum which); 76 v_wordW(SCR *sp, VICMD *vp) in v_wordW() 88 v_wordw(SCR *sp, VICMD *vp) in v_wordw() 98 fword(SCR *sp, VICMD *vp, enum which type) in fword() 236 v_wordE(SCR *sp, VICMD *vp) in v_wordE() 248 v_worde(SCR *sp, VICMD *vp) in v_worde() 258 eword(SCR *sp, VICMD *vp, enum which type) in eword() 382 v_wordB(SCR *sp, VICMD *vp) in v_wordB() [all …]
|
| H A D | vs_smap.c | 25 static int vs_deleteln(SCR *, int); 26 static int vs_insertln(SCR *, int); 27 static int vs_sm_delete(SCR *, recno_t); 28 static int vs_sm_down(SCR *, MARK *, recno_t, scroll_t, SMAP *); 29 static int vs_sm_erase(SCR *); 30 static int vs_sm_insert(SCR *, recno_t); 31 static int vs_sm_reset(SCR *, recno_t); 32 static int vs_sm_up(SCR *, MARK *, recno_t, scroll_t, SMAP *); 41 vs_change(SCR *sp, recno_t lno, lnop_t op) in vs_change() 173 vs_sm_fill(SCR *sp, recno_t lno, pos_t pos) in vs_sm_fill() [all …]
|
| /freebsd/contrib/nvi/ex/ |
| H A D | extern.h | 1 int ex(SCR **); 2 int ex_cmd(SCR *); 3 int ex_range(SCR *, EXCMD *, int *); 7 (SCR *, EXCMDLIST const *, enum badaddr, enum nresult); 8 int ex_abbr(SCR *, EXCMD *); 9 int ex_unabbr(SCR *, EXCMD *); 10 int ex_append(SCR *, EXCMD *); 11 int ex_change(SCR *, EXCMD *); 12 int ex_insert(SCR *, EXCMD *); 13 int ex_next(SCR *, EXCMD *); [all …]
|
| H A D | ex_cscope.c | 60 static int cscope_add(SCR *, EXCMD *, CHAR_T *); 61 static int cscope_find(SCR *, EXCMD*, CHAR_T *); 62 static int cscope_help(SCR *, EXCMD *, CHAR_T *); 63 static int cscope_kill(SCR *, EXCMD *, CHAR_T *); 64 static int cscope_reset(SCR *, EXCMD *, CHAR_T *); 68 int (*function)(SCR *, EXCMD *, CHAR_T *); 87 static TAGQ *create_cs_cmd(SCR *, char *, size_t *); 88 static int csc_help(SCR *, char *); 89 static void csc_file(SCR *, 91 static int get_paths(SCR *, CSC *); [all …]
|
| H A D | ex_tag.c | 37 static void ctag_file(SCR *, TAGF *, char *, char **, size_t *); 38 static int ctag_search(SCR *, CHAR_T *, size_t, char *); 39 static int ctag_sfile(SCR *, TAGF *, TAGQ *, char *); 40 static TAGQ *ctag_slist(SCR *, CHAR_T *); 42 static int tag_copy(SCR *, TAG *, TAG **); 43 static int tag_pop(SCR *, TAGQ *, int); 44 static int tagf_copy(SCR *, TAGF *, TAGF **); 45 static int tagf_free(SCR *, TAGF *); 46 static int tagq_copy(SCR *, TAGQ *, TAGQ **); 55 ex_tag_first(SCR *sp, CHAR_T *tagarg) in ex_tag_first() [all …]
|
| H A D | ex_print.c | 25 static int ex_prchars(SCR *, 36 ex_list(SCR *sp, EXCMD *cmdp) in ex_list() 54 ex_number(SCR *sp, EXCMD *cmdp) in ex_number() 72 ex_pr(SCR *sp, EXCMD *cmdp) in ex_pr() 88 ex_print(SCR *sp, EXCMD *cmdp, MARK *fp, MARK *tp, u_int32_t flags) in ex_print() 143 ex_ldisplay(SCR *sp, const CHAR_T *p, size_t len, size_t col, u_int flags) in ex_ldisplay() 164 ex_scprint(SCR *sp, MARK *fp, MARK *tp) in ex_scprint() 199 ex_prchars(SCR *sp, const CHAR_T *p, size_t *colp, size_t len, in ex_prchars() 261 SCR *sp, in ex_printf() 290 ex_puts(SCR *sp, const char *str) in ex_puts() [all …]
|
| H A D | ex_screen.c | 32 ex_bg(SCR *sp, EXCMD *cmdp) in ex_bg() 44 ex_fg(SCR *sp, EXCMD *cmdp) in ex_fg() 46 SCR *nsp; in ex_fg() 68 ex_resize(SCR *sp, EXCMD *cmdp) in ex_resize() 97 ex_sdisplay(SCR *sp) in ex_sdisplay() 100 SCR *tsp; in ex_sdisplay()
|
| H A D | ex_script.c | 46 static void sscr_check(SCR *); 47 static int sscr_getprompt(SCR *); 48 static int sscr_init(SCR *); 49 static int sscr_insert(SCR *); 50 static int sscr_matchprompt(SCR *, char *, size_t, size_t *); 51 static int sscr_setprompt(SCR *, char *, size_t); 60 ex_script(SCR *sp, EXCMD *cmdp) in ex_script() 85 sscr_init(SCR *sp) in sscr_init() 192 sscr_getprompt(SCR *sp) in sscr_getprompt() 296 sscr_exec(SCR *sp, recno_t lno) in sscr_exec() [all …]
|
| /freebsd/contrib/nvi/common/ |
| H A D | extern.h | 2 void conv_init(SCR *, SCR *); 3 int conv_enc(SCR *, int, char *); 4 void conv_end(SCR *); 5 int cut(SCR *, CHAR_T *, MARK *, MARK *, int); 6 int cut_line(SCR *, recno_t, size_t, size_t, CB *); 8 TEXT *text_init(SCR *, const CHAR_T *, size_t, size_t); 11 int del(SCR *, MARK *, MARK *, int); 16 FREF *file_add(SCR *, char *); 17 int file_init(SCR *, FREF *, char *, int); 18 int file_end(SCR *, EXF *, int); [all …]
|
| H A D | gs.h | 60 SCR *ccl_sp; /* Colon command-line screen. */ 143 int (*scr_addstr)(SCR *, const char *, size_t); 145 int (*scr_waddstr)(SCR *, const CHAR_T *, size_t); 147 int (*scr_attr)(SCR *, scr_attr_t, int); 149 int (*scr_baud)(SCR *, u_long *); 151 int (*scr_bell)(SCR *); 153 void (*scr_busy)(SCR *, const char *, busy_t); 155 int (*scr_child)(SCR *); 157 int (*scr_clrtoeol)(SCR *); 159 int (*scr_cursor)(SCR *, size_t *, size_t *); [all …]
|
| H A D | options_f.c | 31 f_altwerase(SCR *sp, OPTION *op, char *str, u_long *valp) in f_altwerase() 42 f_columns(SCR *sp, OPTION *op, char *str, u_long *valp) in f_columns() 72 f_lines(SCR *sp, OPTION *op, char *str, u_long *valp) in f_lines() 125 f_lisp(SCR *sp, OPTION *op, char *str, u_long *valp) in f_lisp() 135 f_msgcat(SCR *sp, OPTION *op, char *str, u_long *valp) in f_msgcat() 145 f_print(SCR *sp, OPTION *op, char *str, u_long *valp) in f_print() 170 f_readonly(SCR *sp, OPTION *op, char *str, u_long *valp) in f_readonly() 187 f_recompile(SCR *sp, OPTION *op, char *str, u_long *valp) in f_recompile() 204 f_reformat(SCR *sp, OPTION *op, char *str, u_long *valp) in f_reformat() 214 f_ttywerase(SCR *sp, OPTION *op, char *str, u_long *valp) in f_ttywerase() [all …]
|
| H A D | screen.c | 34 screen_init(GS *gp, SCR *orig, SCR **spp) in screen_init() 36 SCR *sp; in screen_init() 40 CALLOC_RET(orig, sp, 1, sizeof(SCR)); in screen_init() 128 screen_end(SCR *sp) in screen_end() 198 SCR * 199 screen_next(SCR *sp) in screen_next() 202 SCR *next; in screen_next()
|
| H A D | mark.c | 25 static LMARK *mark_find(SCR *, ARG_CHAR_T); 65 mark_init(SCR *sp, EXF *ep) in mark_init() 84 mark_end(SCR *sp, EXF *ep) in mark_end() 106 mark_get(SCR *sp, ARG_CHAR_T key, MARK *mp, mtype_t mtype) in mark_get() 147 mark_set(SCR *sp, ARG_CHAR_T key, MARK *value, int userset) in mark_set() 185 mark_find(SCR *sp, ARG_CHAR_T key) in mark_find() 208 mark_insdel(SCR *sp, lnop_t op, recno_t lno) in mark_insdel()
|
| /freebsd/contrib/nvi/cl/ |
| H A D | extern.h | 1 int cl_waddstr(SCR *, const CHAR_T *, size_t); 2 int cl_addstr(SCR *, const char *, size_t); 3 int cl_attr(SCR *, scr_attr_t, int); 4 int cl_baud(SCR *, u_long *); 5 int cl_bell(SCR *); 6 int cl_clrtoeol(SCR *); 7 int cl_cursor(SCR *, size_t *, size_t *); 8 int cl_deleteln(SCR *); 9 int cl_discard(SCR *, SCR **); 10 int cl_ex_adjust(SCR *, exadj_t); [all …]
|
| H A D | cl_funcs.c | 32 static void cl_rdiv(SCR *); 35 addstr4(SCR *sp, void *str, size_t len, int wide) in addstr4() 78 cl_waddstr(SCR *sp, const CHAR_T *str, size_t len) in cl_waddstr() 90 cl_addstr(SCR *sp, const char *str, size_t len) in cl_addstr() 102 cl_attr(SCR *sp, scr_attr_t attribute, int on) in cl_attr() 189 cl_baud(SCR *sp, u_long *ratep) in cl_baud() 230 cl_bell(SCR *sp) in cl_bell() 254 cl_clrtoeol(SCR *sp) in cl_clrtoeol() 283 cl_cursor(SCR *sp, size_t *yp, size_t *xp) in cl_cursor() 309 cl_deleteln(SCR *sp) in cl_deleteln() [all …]
|