Home
last modified time | relevance | path

Searched refs:SCR (Results 1 – 25 of 123) sorted by relevance

12345

/freebsd/usr.bin/vi/
H A Dextern.h10 int cl_discard(SCR *, SCR **);
18 int cl_split(SCR *, SCR *);
79 int ex_screen_copy(SCR *, SCR *);
139 int ex_tag_copy(SCR *, SCR *);
195 int v_screen_copy(SCR *, SCR *);
306 int vs_split(SCR *, SCR *, int);
307 int vs_vsplit(SCR *, SCR *);
308 int vs_discard(SCR *, SCR **);
315 void conv_init(SCR *, SCR *);
392 int opts_copy(SCR *, SCR *);
[all …]
/freebsd/contrib/nvi/common/
H A Dgs.h149 int (*scr_baud)(SCR *, u_long *);
151 int (*scr_bell)(SCR *);
155 int (*scr_child)(SCR *);
157 int (*scr_clrtoeol)(SCR *);
161 int (*scr_deleteln)(SCR *);
163 int (*scr_discard)(SCR *, SCR **);
173 int (*scr_insertln)(SCR *);
181 int (*scr_refresh)(SCR *, int);
187 int (*scr_screen)(SCR *, u_int32_t);
189 int (*scr_split)(SCR *, SCR *);
[all …]
H A Doptions_f.c31 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()
225 f_w300(SCR *sp, OPTION *op, char *str, u_long *valp) in f_w300()
242 f_w1200(SCR *sp, OPTION *op, char *str, u_long *valp) in f_w1200()
259 f_w9600(SCR *sp, OPTION *op, char *str, u_long *valp) in f_w9600()
[all …]
H A Dscreen.c34 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 Dmark.c25 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()
H A Dlog.c63 static int log_cursor1(SCR *, int);
69 SCR *, recno_t, u_char *, size_t);
93 log_init(SCR *sp, EXF *ep) in log_init()
127 log_end(SCR *sp, EXF *ep) in log_end()
153 log_cursor(SCR *sp) in log_cursor()
180 log_cursor1(SCR *sp, int type) in log_cursor1()
316 log_mark(SCR *sp, LMARK *lmp) in log_mark()
360 log_backward(SCR *sp, MARK *rp) in log_backward()
462 log_setline(SCR *sp) in log_setline()
546 log_forward(SCR *sp, MARK *rp) in log_forward()
[all …]
H A Dkey.c30 static int v_event_grow(SCR *, int);
33 static void v_sync(SCR *, int);
100 v_key_init(SCR *sp) in v_key_init()
179 v_key_ilookup(SCR *sp) in v_key_ilookup()
203 v_key_len(SCR *sp, ARG_CHAR_T ch) in v_key_len()
217 v_key_name(SCR *sp, ARG_CHAR_T ach) in v_key_name()
332 v_key_val(SCR *sp, ARG_CHAR_T ch) in v_key_val()
354 v_event_push(SCR *sp, in v_event_push()
747 v_sync(SCR *sp, int flags) in v_sync()
844 v_event_err(SCR *sp, EVENT *evp) in v_event_err()
[all …]
H A Dconv.c50 raw2int(SCR *sp, const char * str, ssize_t len, CONVWIN *cw, size_t *tolen, in raw2int()
101 default_char2int(SCR *sp, const char * str, ssize_t len, CONVWIN *cw, in default_char2int()
155 fe_char2int(SCR *sp, const char * str, ssize_t len, CONVWIN *cw, size_t *tolen, in fe_char2int()
163 ie_char2int(SCR *sp, const char * str, ssize_t len, CONVWIN *cw, size_t *tolen, in ie_char2int()
178 int2raw(SCR *sp, const CHAR_T * str, ssize_t len, CONVWIN *cw, size_t *tolen, in int2raw()
197 default_int2char(SCR *sp, const CHAR_T * str, ssize_t len, CONVWIN *cw, in default_int2char()
292 fe_int2char(SCR *sp, const CHAR_T * str, ssize_t len, CONVWIN *cw, in fe_int2char()
300 cs_int2char(SCR *sp, const CHAR_T * str, ssize_t len, CONVWIN *cw, in cs_int2char()
315 conv_init(SCR *orig, SCR *sp) in conv_init()
374 conv_enc(SCR *sp, int option, char *enc) in conv_enc()
[all …]
/freebsd/contrib/nvi/vi/
H A Dv_ex.c26 static int v_ecl(SCR *);
27 static int v_ecl_init(SCR *);
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()
321 v_ex(SCR *sp, VICMD *vp) in v_ex()
491 v_ecl(SCR *sp) in v_ecl()
494 SCR *new; in v_ecl()
545 v_ecl_exec(SCR *sp) in v_ecl_exec()
580 SCR *ccl_sp; in v_ecl_log()
[all …]
H A Dv_scroll.c66 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()
320 v_pagedown(SCR *sp, VICMD *vp) in v_pagedown()
366 v_pageup(SCR *sp, VICMD *vp) in v_pageup()
[all …]
H A Dvs_split.c28 static SCR *vs_getbg(SCR *, char *);
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()
296 SCR *tsp; in vs_insert()
333 vs_discard(SCR *sp, SCR **spp) in vs_discard()
450 vs_join(SCR *sp, SCR **listp, jdir_t *jdirp) in vs_join()
613 SCR *nsp; in vs_fg()
666 SCR *nsp; in vs_bg()
[all …]
H A Dv_ch.c24 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 Dv_util.c34 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 Dv_word.c65 static int bword(SCR *, VICMD *, enum which);
66 static int eword(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()
394 v_wordb(SCR *sp, VICMD *vp) in v_wordb()
[all …]
H A Dvs_smap.c25 static int vs_deleteln(SCR *, int);
26 static int vs_insertln(SCR *, int);
27 static int vs_sm_delete(SCR *, recno_t);
29 static int vs_sm_erase(SCR *);
31 static int vs_sm_reset(SCR *, recno_t);
409 vs_sm_reset(SCR *sp, recno_t lno) in vs_sm_reset()
747 vs_sm_1up(SCR *sp) in vs_sm_1up()
776 vs_deleteln(SCR *sp, int cnt) in vs_deleteln()
959 vs_sm_erase(SCR *sp) in vs_sm_erase()
980 vs_sm_1down(SCR *sp) in vs_sm_1down()
[all …]
H A Dv_itxt.c65 v_iA(SCR *sp, VICMD *vp) in v_iA()
85 v_ia(SCR *sp, VICMD *vp) in v_ia()
122 v_iI(SCR *sp, VICMD *vp) in v_iI()
141 v_ii(SCR *sp, VICMD *vp) in v_ii()
165 static int io(SCR *, VICMD *, enum which);
174 v_iO(SCR *sp, VICMD *vp) in v_iO()
186 v_io(SCR *sp, VICMD *vp) in v_io()
192 io(SCR *sp, VICMD *vp, enum which cmd) in io()
242 v_change(SCR *sp, VICMD *vp) in v_change()
382 v_Replace(SCR *sp, VICMD *vp) in v_Replace()
[all …]
H A Dgetc.c42 cs_init(SCR *sp, VCS *csp) in cs_init()
68 cs_next(SCR *sp, VCS *csp) in cs_next()
118 cs_fspace(SCR *sp, VCS *csp) in cs_fspace()
138 cs_fblank(SCR *sp, VCS *csp) in cs_fblank()
158 cs_prev(SCR *sp, VCS *csp) in cs_prev()
207 cs_bblank(SCR *sp, VCS *csp) in cs_bblank()
H A Dv_search.c27 static int v_exaddr(SCR *, VICMD *, dir_t);
28 static int v_search(SCR *, VICMD *, CHAR_T *, size_t, u_int, dir_t);
37 v_searchb(SCR *sp, VICMD *vp) in v_searchb()
49 v_searchf(SCR *sp, VICMD *vp) in v_searchf()
59 v_exaddr(SCR *sp, VICMD *vp, dir_t dir) in v_exaddr()
280 v_searchN(SCR *sp, VICMD *vp) in v_searchN()
305 v_searchn(SCR *sp, VICMD *vp) in v_searchn()
340 v_searchw(SCR *sp, VICMD *vp) in v_searchw()
389 v_search(SCR *sp, VICMD *vp, CHAR_T *ptrn, size_t plen, u_int flags, dir_t dir) in v_search()
452 v_correct(SCR *sp, VICMD *vp, int isdelta) in v_correct()
/freebsd/contrib/nvi/cl/
H A Dcl_funcs.c32 static void cl_rdiv(SCR *);
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()
309 cl_deleteln(SCR *sp) in cl_deleteln()
346 cl_discard(SCR *discardp, SCR **acquirep) in cl_discard()
349 SCR* tsp; in cl_discard()
442 cl_insertln(SCR *sp) in cl_insertln()
523 SCR *psp, *tsp; in cl_refresh()
585 cl_rdiv(SCR *sp) in cl_rdiv()
[all …]
/freebsd/contrib/nvi/ex/
H A Dex_cscope.c88 static int csc_help(SCR *, char *);
89 static void csc_file(SCR *,
91 static int get_paths(SCR *, CSC *);
94 static int read_prompt(SCR *, CSC *);
106 ex_cscope(SCR *sp, EXCMD *cmdp) in ex_cscope()
153 start_cscopes(SCR *sp, EXCMD *cmdp) in start_cscopes()
301 get_paths(SCR *sp, CSC *csc) in get_paths()
857 csc_help(SCR *sp, char *cmd) in csc_help()
974 cscope_end(SCR *sp) in cscope_end()
991 cscope_display(SCR *sp) in cscope_display()
[all …]
H A Dex_tag.c88 ex_tag_push(SCR *sp, EXCMD *cmdp) in ex_tag_push()
138 ex_tag_next(SCR *sp, EXCMD *cmdp) in ex_tag_next()
178 ex_tag_prev(SCR *sp, EXCMD *cmdp) in ex_tag_prev()
254 SCR *new; in ex_tag_Nswitch()
306 ex_tag_pop(SCR *sp, EXCMD *cmdp) in ex_tag_pop()
385 ex_tag_top(SCR *sp, EXCMD *cmdp) in ex_tag_top()
460 ex_tag_display(SCR *sp) in ex_tag_display()
537 ex_tag_copy(SCR *orig, SCR *sp) in ex_tag_copy()
662 tagf_free(SCR *sp, TAGF *tfp) in tagf_free()
680 tagq_free(SCR *sp, TAGQ *tqp) in tagq_free()
[all …]
H A Dex_screen.c32 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 Dex_print.c25 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 Dex_script.c46 static void sscr_check(SCR *);
47 static int sscr_getprompt(SCR *);
48 static int sscr_init(SCR *);
49 static int sscr_insert(SCR *);
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()
372 sscr_input(SCR *sp) in sscr_input()
419 sscr_insert(SCR *sp) in sscr_insert()
580 sscr_end(SCR *sp) in sscr_end()
[all …]
H A Dex_init.c29 static enum rc exrc_isok(SCR *, struct stat *, char *, int, int);
31 static int ex_run_file(SCR *, char *);
40 ex_screen_copy(SCR *orig, SCR *sp) in ex_screen_copy()
76 ex_screen_end(SCR *sp) in ex_screen_end()
119 ex_optchange(SCR *sp, int offset, char *str, u_long *valp) in ex_optchange()
136 ex_exrc(SCR *sp) in ex_exrc()
261 ex_run_file(SCR *sp, char *name) in ex_run_file()
280 ex_run_str(SCR *sp, char *name, CHAR_T *str, size_t len, int ex_flags, int nocopy) in ex_run_str()
351 exrc_isok(SCR *sp, struct stat *sbp, char *path, int rootown, int rootid) in exrc_isok()

12345