Home
last modified time | relevance | path

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

123456

/netbsd-src/external/bsd/nvi/dist/common/
H A Dgs.h131 int (*scr_addstr) __P((SCR *, const char *, size_t));
133 int (*scr_waddstr) __P((SCR *, const CHAR_T *, size_t));
135 int (*scr_attr) __P((SCR *, scr_attr_t, int));
137 int (*scr_baud) __P((SCR *, u_long *));
139 int (*scr_bell) __P((SCR *));
141 void (*scr_busy) __P((SCR *, const char *, busy_t));
143 int (*scr_child) __P((SCR *));
145 int (*scr_clrtoeol) __P((SCR *));
147 int (*scr_cursor) __P((SCR *, size_t *, size_t *));
149 int (*scr_deleteln) __P((SCR *));
[all …]
H A Dapi.c48 SCR *
52 SCR *tsp; in api_fscreen()
83 api_aline(SCR *sp, db_recno_t lno, char *line, size_t len) in api_aline()
100 api_extend(SCR *sp, db_recno_t lno) in api_extend()
118 api_dline(SCR *sp, db_recno_t lno) in api_dline()
137 api_gline(SCR *sp, db_recno_t lno, CHAR_T **linepp, size_t *lenp) in api_gline()
156 api_iline(SCR *sp, db_recno_t lno, CHAR_T *line, size_t len) in api_iline()
168 api_lline(SCR *sp, db_recno_t *lnop) in api_lline()
180 api_sline(SCR *sp, db_recno_t lno, CHAR_T *line, size_t len) in api_sline()
192 api_getmark(SCR *sp, int markname, MARK *mp) in api_getmark()
[all …]
H A Doptions_f.c41 f_altwerase(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_altwerase()
52 f_columns(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_columns()
82 f_lines(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_lines()
135 f_lisp(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_lisp()
145 f_msgcat(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_msgcat()
155 f_print(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_print()
180 f_readonly(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_readonly()
197 f_recompile(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_recompile()
214 f_reformat(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_reformat()
224 f_ttywerase(SCR *sp, OPTION *op, const char *str, u_long *valp) in f_ttywerase()
[all …]
H A Dscreen.c37 static int screen_end1(SCR *, int);
45 screen_init(GS *gp, SCR *orig, SCR **spp) in screen_init()
47 SCR *sp; in screen_init()
51 CALLOC_RET(orig, sp, SCR *, 1, sizeof(SCR)); in screen_init()
134 screen_end1(SCR *sp, int init) in screen_end1()
216 screen_fini(SCR *sp) in screen_fini()
228 screen_end(SCR *sp) in screen_end()
238 SCR *
239 screen_next(SCR *sp) in screen_next()
243 SCR *next; in screen_next()
H A Dkey.c39 static int v_event_append __P((SCR *, EVENT *));
40 static int v_event_grow __P((SCR *, int));
42 static void v_keyval __P((SCR *, int, scr_keyval_t));
43 static void v_sync __P((SCR *, int));
109 v_key_init(SCR *sp) in v_key_init()
170 v_keyval(SCR *sp, int val, scr_keyval_t name) in v_keyval()
204 v_key_ilookup(SCR *sp) in v_key_ilookup()
228 v_key_len(SCR *sp, ARG_CHAR_T ch) in v_key_len()
242 v_key_name(SCR *sp, ARG_CHAR_T ach) in v_key_name()
322 v_key_val(SCR *sp, ARG_CHAR_T ch) in v_key_val()
[all …]
H A Dconv.h19 (SCR *, const char *, ssize_t, struct _conv_win *, size_t *, const CHAR_T **);
21 (SCR *, const CHAR_T *, ssize_t, struct _conv_win *, size_t *, const char **);
31 void conv_init __P((SCR *, SCR *));
32 int conv_enc __P((SCR *, int, const char *));
H A Dvi_db.c38 static int append __P((SCR*, db_recno_t, const CHAR_T*, size_t, lnop_t, int));
47 db_eget(SCR *sp, db_recno_t lno, CHAR_T **pp, size_t *lenp, int *isemptyp) in db_eget()
91 db_get(SCR *sp, db_recno_t lno, u_int32_t flags, CHAR_T **pp, size_t *lenp) in db_get()
226 db_delete(SCR *sp, db_recno_t lno) in db_delete()
286 append(SCR *sp, db_recno_t lno, const CHAR_T *p, size_t len, lnop_t op, int update) in append()
393 db_append(SCR *sp, int update, db_recno_t lno, const CHAR_T *p, size_t len) in db_append()
410 db_insert(SCR *sp, db_recno_t lno, CHAR_T *p, size_t len) in db_insert()
426 db_set(SCR *sp, db_recno_t lno, CHAR_T *p, size_t len) in db_set()
486 db_exist(SCR *sp, db_recno_t lno) in db_exist()
519 db_last(SCR *sp, db_recno_t *lnop) in db_last()
[all …]
/netbsd-src/external/bsd/nvi/dist/tcl_api/
H A Dtcl.c42 static int getscreenid __P((Tcl_Interp *, SCR **, char *, char *));
43 static void msghandler __P((SCR *, mtype_t, char *, size_t));
71 SCR *sp;
99 SCR *sp;
100 void (*scr_msg) __P((SCR *, mtype_t, char *, size_t));
133 SCR *sp;
134 void (*scr_msg) __P((SCR *, mtype_t, char *, size_t));
167 SCR *sp;
169 void (*scr_msg) __P((SCR *, mtype_t, char *, size_t));
210 SCR *sp;
[all …]
/netbsd-src/external/bsd/nvi/dist/ip/
H A Dip_funcs.c41 ip_waddstr(SCR *sp, const CHAR_T *str, size_t len) in ip_waddstr()
67 ip_addstr(SCR *sp, const char *str, size_t len) in ip_addstr()
105 ip_attr(SCR *sp, scr_attr_t attribute, int on) in ip_attr()
130 ip_baud(SCR *sp, u_long *ratep) in ip_baud()
143 ip_bell(SCR *sp) in ip_bell()
161 ip_busy(SCR *sp, const char *str, busy_t bval) in ip_busy()
191 ip_child(SCR *sp) in ip_child()
211 ip_clrtoeol(SCR *sp) in ip_clrtoeol()
248 ip_cursor(SCR *sp, size_t *yp, size_t *xp) in ip_cursor()
265 ip_deleteln(SCR *sp) in ip_deleteln()
[all …]
/netbsd-src/external/bsd/nvi/dist/vi/
H A Dv_ex.c36 static int v_ecl __P((SCR *));
37 static int v_ecl_init __P((SCR *));
38 static int v_ecl_log __P((SCR *, TEXT *));
39 static int v_ex_done __P((SCR *, VICMD *));
48 v_again(SCR *sp, VICMD *vp) in v_again()
65 v_exmode(SCR *sp, VICMD *vp) in v_exmode()
101 v_join(SCR *sp, VICMD *vp) in v_join()
130 v_shiftl(SCR *sp, VICMD *vp) in v_shiftl()
147 v_shiftr(SCR *sp, VICMD *vp) in v_shiftr()
164 v_suspend(SCR *sp, VICMD *vp) in v_suspend()
[all …]
H A Dv_scroll.c76 v_lgoto(SCR *sp, VICMD *vp) in v_lgoto()
113 v_home(SCR *sp, VICMD *vp) in v_home()
130 v_middle(SCR *sp, VICMD *vp) in v_middle()
151 v_bottom(SCR *sp, VICMD *vp) in v_bottom()
214 v_up(SCR *sp, VICMD *vp) in v_up()
236 v_cr(SCR *sp, VICMD *vp) in v_cr()
257 v_down(SCR *sp, VICMD *vp) in v_down()
278 v_hpageup(SCR *sp, VICMD *vp) in v_hpageup()
302 v_hpagedown(SCR *sp, VICMD *vp) in v_hpagedown()
330 v_pagedown(SCR *sp, VICMD *vp) in v_pagedown()
[all …]
H A Dvs_split.c38 static SCR *vs_getbg __P((SCR *, const char *));
39 static void vs_insert __P((SCR *sp, WIN *wp));
40 static int vs_join __P((SCR *, SCR **, jdir_t *));
49 vs_split(SCR *sp, SCR *new, int ccl) in vs_split()
213 vs_vsplit(SCR *sp, SCR *new) in vs_vsplit()
303 vs_insert(SCR *sp, WIN *wp) in vs_insert()
305 SCR *tsp; in vs_insert()
342 vs_discard(SCR *sp, SCR **spp) in vs_discard()
345 SCR *tsp, **lp, *list[100]; in vs_discard()
459 vs_join(SCR *sp, SCR **listp, jdir_t *jdirp) in vs_join()
[all …]
H A Dv_ch.c34 static void notfound __P((SCR *, ARG_CHAR_T));
35 static void noprev __P((SCR *));
44 v_chrepeat(SCR *sp, VICMD *vp) in v_chrepeat()
73 v_chrrepeat(SCR *sp, VICMD *vp) in v_chrrepeat()
112 v_cht(SCR *sp, VICMD *vp) in v_cht()
143 v_chf(SCR *sp, VICMD *vp) in v_chf()
200 v_chT(SCR *sp, VICMD *vp) in v_chT()
225 v_chF(SCR *sp, VICMD *vp) in v_chF()
279 noprev(SCR *sp) in noprev()
285 notfound(SCR *sp, ARG_CHAR_T ch) in notfound()
H A Dv_event.c42 v_c_settop(SCR *sp, VICMD *vp) in v_c_settop()
85 v_edit(SCR *sp, VICMD *vp) in v_edit()
99 v_editopt(SCR *sp, VICMD *vp) in v_editopt()
121 v_editsplit(SCR *sp, VICMD *vp) in v_editsplit()
136 v_tag(SCR *sp, VICMD *vp) in v_tag()
153 v_tagas(SCR *sp, VICMD *vp) in v_tagas()
167 v_tagsplit(SCR *sp, VICMD *vp) in v_tagsplit()
185 v_quit(SCR *sp, VICMD *vp) in v_quit()
200 v_erepaint(SCR *sp, EVENT *evp) in v_erepaint()
218 v_sel_end(SCR *sp, EVENT *evp) in v_sel_end()
[all …]
H A Dvs_smap.c35 static int vs_deleteln __P((SCR *, int));
36 static int vs_insertln __P((SCR *, int));
37 static int vs_sm_delete __P((SCR *, db_recno_t));
38 static int vs_sm_down __P((SCR *, MARK *, db_recno_t, scroll_t, SMAP *));
39 static int vs_sm_erase __P((SCR *));
40 static int vs_sm_insert __P((SCR *, db_recno_t));
41 static int vs_sm_reset __P((SCR *, db_recno_t));
42 static int vs_sm_up __P((SCR *, MARK *, db_recno_t, scroll_t, SMAP *));
51 vs_change(SCR *sp, db_recno_t lno, lnop_t op) in vs_change()
183 vs_sm_fill(SCR *sp, db_recno_t lno, pos_t pos) in vs_sm_fill()
[all …]
H A Dv_util.c44 v_eof(SCR *sp, MARK *mp) in v_eof()
67 v_eol(SCR *sp, MARK *mp) in v_eol()
90 v_nomove(SCR *sp) in v_nomove()
102 v_sof(SCR *sp, MARK *mp) in v_sof()
117 v_sol(SCR *sp) in v_sol()
144 v_emsg(SCR *sp, const char *p, vim_t which) in v_emsg()
H A Dv_itxt.c66 static u_int32_t set_txt_std __P((SCR *, VICMD *, u_int32_t));
75 v_iA(SCR *sp, VICMD *vp) in v_iA()
95 v_ia(SCR *sp, VICMD *vp) in v_ia()
132 v_iI(SCR *sp, VICMD *vp) in v_iI()
151 v_ii(SCR *sp, VICMD *vp) in v_ii()
175 static int io __P((SCR *, VICMD *, enum which));
184 v_iO(SCR *sp, VICMD *vp) in v_iO()
196 v_io(SCR *sp, VICMD *vp) in v_io()
202 io(SCR *sp, VICMD *vp, enum which cmd) in io()
253 v_change(SCR *sp, VICMD *vp) in v_change()
[all …]
/netbsd-src/external/bsd/nvi/dist/cl/
H A Dcl_funcs.c39 static void cl_rdiv __P((SCR *));
42 addstr4(SCR *sp, const void *str, size_t len, int wide) in addstr4()
84 cl_waddstr(SCR *sp, const CHAR_T *str, size_t len) in cl_waddstr()
96 cl_addstr(SCR *sp, const char *str, size_t len) in cl_addstr()
108 cl_attr(SCR *sp, scr_attr_t attribute, int on) in cl_attr()
193 cl_baud(SCR *sp, u_long *ratep) in cl_baud()
234 cl_bell(SCR *sp) in cl_bell()
258 cl_clrtoeol(SCR *sp) in cl_clrtoeol()
287 cl_cursor(SCR *sp, size_t *yp, size_t *xp) in cl_cursor()
313 cl_deleteln(SCR *sp) in cl_deleteln()
[all …]
/netbsd-src/external/bsd/nvi/dist/ex/
H A Dex_cscope.c71 static int cscope_add __P((SCR *, EXCMD *, const CHAR_T *));
72 static int cscope_find __P((SCR *, EXCMD*, const CHAR_T *));
73 static int cscope_help __P((SCR *, EXCMD *, const CHAR_T *));
74 static int cscope_kill __P((SCR *, EXCMD *, const CHAR_T *));
75 static int cscope_reset __P((SCR *, EXCMD *, const CHAR_T *));
79 int (*function) __P((SCR *, EXCMD *, const CHAR_T *));
98 static TAGQ *create_cs_cmd __P((SCR *, const char *, size_t *));
99 static int csc_help __P((SCR *, const char *));
100 static void csc_file __P((SCR *,
102 static int get_paths __P((SCR *, CSC *));
[all …]
H A Dex_tag.c53 static void ctag_file __P((SCR *, TAGF *, char *, char **, size_t *));
54 static int ctag_search __P((SCR *, CHAR_T *, size_t, char *));
57 static TAGQ *gtag_slist __P((SCR *, CHAR_T *, int));
59 static int ctag_sfile __P((SCR *, TAGF *, TAGQ *, char *));
60 static TAGQ *ctag_slist __P((SCR *, CHAR_T *));
62 static int tag_copy __P((SCR *, TAG *, TAG **));
63 static int tag_pop __P((SCR *, TAGQ *, int));
64 static int tagf_copy __P((SCR *, TAGF *, TAGF **));
65 static int tagf_free __P((SCR *, TAGF *));
66 static int tagq_copy __P((SCR *, TAGQ *, TAGQ **));
[all …]
H A Dex_print.c39 static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t,
50 ex_list(SCR *sp, EXCMD *cmdp) in ex_list()
68 ex_number(SCR *sp, EXCMD *cmdp) in ex_number()
86 ex_pr(SCR *sp, EXCMD *cmdp) in ex_pr()
102 ex_print(SCR *sp, EXCMD *cmdp, MARK *fp, MARK *tp, u_int32_t flags) in ex_print()
157 ex_ldisplay(SCR *sp, const CHAR_T *p, size_t len, size_t col, u_int flags) in ex_ldisplay()
178 ex_scprint(SCR *sp, MARK *fp, MARK *tp) in ex_scprint()
215 ex_prchars(SCR *sp, const CHAR_T *p, size_t *colp, size_t len, in ex_prchars()
271 ex_printf(SCR *sp, const char *fmt, ...) in ex_printf()
274 SCR *sp; in ex_printf()
[all …]
H A Dex_screen.c42 ex_bg(SCR *sp, EXCMD *cmdp) in ex_bg()
54 ex_fg(SCR *sp, EXCMD *cmdp) in ex_fg()
56 SCR *nsp; in ex_fg()
78 ex_resize(SCR *sp, EXCMD *cmdp) in ex_resize()
107 ex_sdisplay(SCR *sp) in ex_sdisplay()
110 SCR *tsp; in ex_sdisplay()
H A Dex_script.c57 static void sscr_check __P((SCR *));
58 static int sscr_getprompt __P((SCR *));
59 static int sscr_init __P((SCR *));
60 static int sscr_insert __P((SCR *));
66 static int sscr_setprompt __P((SCR *, char *, size_t));
75 ex_script(SCR *sp, EXCMD *cmdp) in ex_script()
111 sscr_init(SCR *sp) in sscr_init()
222 sscr_getprompt(SCR *sp) in sscr_getprompt()
256 sscr_exec(SCR *sp, db_recno_t lno) in sscr_exec()
337 sscr_check_input(SCR *sp, fd_set *fdset, int maxfd) in sscr_check_input()
[all …]
H A Dex_init.c40 static enum rc exrc_isok __P((SCR *, struct stat *, const char *, int, int));
42 static int ex_run_file __P((SCR *, const char *));
51 ex_screen_copy(SCR *orig, SCR *sp) in ex_screen_copy()
87 ex_screen_end(SCR *sp) in ex_screen_end()
127 ex_optchange(SCR *sp, int offset, const char *str, u_long *valp) in ex_optchange()
144 ex_exrc(SCR *sp) in ex_exrc()
258 ex_run_file(SCR *sp, const char *name) in ex_run_file()
277 ex_run_str(SCR *sp, const char *name, const CHAR_T *str, size_t len, int ex_flags, int nocopy) in ex_run_str()
348 exrc_isok(SCR *sp, struct stat *sbp, const char *path, int rootown, int rootid) in exrc_isok()
/netbsd-src/external/bsd/nvi/dist/perl_api/
H A Dperl.xs64 static void msghandler __P((SCR *, mtype_t, char *, size_t));
143 SCR *scrp; in perl_init()
226 SCR *scrp; in perl_screen_end()
255 SCR *screen;
280 perl_setenv(SCR* scrp, const char *name, const char *value) in perl_setenv()
300 SCR *scrp; in perl_ex_perl()
357 SCR *scrp; in replace_line()
394 SCR *scrp; in perl_ex_perldo()
477 SCR *sp; in msghandler()
496 typedef SCR * VI;
[all …]

123456