Home
last modified time | relevance | path

Searched refs:termp (Results 1 – 21 of 21) sorted by relevance

/dragonfly/contrib/mdocml/
H A Dterm.h43 struct termp;
61 struct termp { struct
113 void (*begin)(struct termp *); argument
114 void (*end)(struct termp *); argument
115 void (*endline)(struct termp *); argument
119 int (*hspan)(const struct termp *, argument
133 void term_free(struct termp *);
135 void term_newln(struct termp *);
136 void term_vspace(struct termp *);
138 void term_flushln(struct termp *);
[all …]
H A Dterm_ascii.c62 static struct termp *
68 struct termp *p; in ascii_init()
185 struct termp *p; in terminal_sepline()
188 p = (struct termp *)arg; in terminal_sepline()
206 term_free((struct termp *)arg); in ascii_free()
210 ascii_letter(struct termp *p, int c) in ascii_letter()
217 ascii_begin(struct termp *p) in ascii_begin()
224 ascii_end(struct termp *p) in ascii_end()
231 ascii_endline(struct termp *p) in ascii_endline()
406 locale_endline(struct termp *p) in locale_endline()
[all …]
H A Dterm_ps.c526 static struct termp *
529 struct termp *p; in pspdf_alloc()
645 struct termp *p; in pspdf_free()
647 p = (struct termp *)arg; in pspdf_free()
730 ps_closepage(struct termp *p) in ps_closepage()
781 ps_end(struct termp *p) in ps_end()
848 ps_begin(struct termp *p) in ps_begin()
957 ps_pletter(struct termp *p, int c) in ps_pletter()
1037 ps_pclose(struct termp *p) in ps_pclose()
1063 ps_plast(struct termp *p) in ps_plast()
[all …]
H A Dterm.c40 static void endline(struct termp *);
59 term_free(struct termp *p) in term_free()
80 term_end(struct termp *p) in term_end()
94 term_flushln(struct termp *p) in term_flushln()
412 endline(struct termp *p) in endline()
436 term_newln(struct termp *p) in term_newln()
451 term_vspace(struct termp *p) in term_vspace()
465 term_fontlast(struct termp *p) in term_fontlast()
509 term_fontpop(struct termp *p) in term_fontpop()
764 bufferc(struct termp *p, char c) in bufferc()
[all …]
H A Dtbl_term.c44 static void tbl_direct_border(struct termp *, int, size_t);
45 static void tbl_fill_border(struct termp *, int, size_t);
46 static void tbl_fill_char(struct termp *, char, size_t);
144 i = term_hen((const struct termp *)arg, su); in term_tbl_sulen()
151 return term_strlen((const struct termp *)arg, p); in term_tbl_strlen()
157 return term_len((const struct termp *)arg, sz); in term_tbl_len()
162 term_tbl(struct termp *tp, const struct tbl_span *sp) in term_tbl()
777 tbl_fill_char(struct termp *tp, char c, size_t len) in tbl_fill_char()
787 tbl_fill_border(struct termp *tp, int c, size_t len) in tbl_fill_border()
799 tbl_direct_border(struct termp *tp, int c, size_t len) in tbl_direct_border()
[all …]
H A Deqn_term.c40 static void eqn_box(struct termp *, const struct eqn_box *);
44 term_eqn(struct termp *p, const struct eqn_box *bp) in term_eqn()
52 eqn_box(struct termp *p, const struct eqn_box *bp) in eqn_box()
H A Dman_term.c51 #define DECL_ARGS struct termp *p, \
65 static void print_man_head(struct termp *,
67 static void print_man_foot(struct termp *,
69 static void print_bvspace(struct termp *,
153 struct termp *p; in terminal_man()
157 p = (struct termp *)arg; in terminal_man()
209 print_bvspace(struct termp *p, struct roff_node *n, int pardist) in print_bvspace()
1003 print_man_foot(struct termp *p, const struct roff_meta *meta) in print_man_foot()
1082 print_man_head(struct termp *p, const struct roff_meta *meta) in print_man_head()
H A Dmdoc_term.c47 #define DECL_ARGS struct termp *p, \
57 static int a2width(const struct termp *, const char *);
59 static void print_bvspace(struct termp *,
63 static void print_mdoc_head(struct termp *, const struct roff_meta *);
65 static void synopsis_pre(struct termp *, struct roff_node *);
252 struct termp *p; in terminal_mdoc()
255 p = (struct termp *)arg; in terminal_mdoc()
444 print_mdoc_foot(struct termp *p, const struct roff_meta *meta) in print_mdoc_foot()
493 print_mdoc_head(struct termp *p, const struct roff_meta *meta) in print_mdoc_head()
562 a2width(const struct termp *p, const char *v) in a2width()
[all …]
H A Droff_term.c30 #define ROFF_TERM_ARGS struct termp *p, const struct roff_node *n
61 roff_term_pre(struct termp *p, const struct roff_node *n) in roff_term_pre()
H A Dterm_tab.c41 term_tab_set(const struct termp *p, const char *arg) in term_tab_set()
/dragonfly/contrib/ncurses/ncurses/tinfo/
H A Dlib_cur_term.c89 SP_PARM->_term = termp; in NCURSES_SP_NAME()
91 CurTerm = termp; in NCURSES_SP_NAME()
93 cur_term = termp; in NCURSES_SP_NAME()
95 if (termp != 0) { in NCURSES_SP_NAME()
112 save_ttytype(termp); in NCURSES_SP_NAME()
123 set_curterm(TERMINAL *termp) in set_curterm() argument
136 if (termp != 0) { in NCURSES_SP_NAME()
152 if (termp == cur) in NCURSES_SP_NAME()
167 _nc_tgetent_leak(termp); in NCURSES_SP_NAME()
169 free(termp); in NCURSES_SP_NAME()
[all …]
H A Dlib_ttyflags.c53 if (buf == 0 || termp == 0) { in NCURSES_EXPORT()
75 termp ? termp->Filedes : -1, in NCURSES_EXPORT()
100 TERMINAL *termp = TerminalOf(SP_PARM); in NCURSES_SP_NAME() local
102 if (0 == termp) { in NCURSES_SP_NAME()
111 && !NC_ISATTY(termp->Filedes) in NCURSES_SP_NAME()
125 termp ? termp->Filedes : -1, in NCURSES_SP_NAME()
148 if (termp != 0) { in NCURSES_SP_NAME()
186 if (termp != 0) { in NCURSES_SP_NAME()
222 if (termp != 0) { in NCURSES_SP_NAME()
255 if (termp != 0) { in NCURSES_SP_NAME()
[all …]
H A Dlib_raw.c85 TERMINAL *termp; in NCURSES_EXPORT() local
94 buf = termp->Nttyb; in NCURSES_EXPORT()
139 TERMINAL *termp; in NCURSES_SP_NAME() local
148 buf = termp->Nttyb; in NCURSES_SP_NAME()
185 TERMINAL *termp; in NCURSES_SP_NAME() local
193 buf = termp->Nttyb; in NCURSES_SP_NAME()
220 TERMINAL *termp; in NCURSES_SP_NAME() local
229 buf = termp->Nttyb; in NCURSES_SP_NAME()
273 TERMINAL *termp; in NCURSES_SP_NAME() local
282 buf = termp->Nttyb; in NCURSES_SP_NAME()
[all …]
H A Dlib_setup.c118 if (termp != 0) { in NCURSES_EXPORT()
278 TERMINAL *termp, in _nc_get_screensize() argument
410 (termp)->type.Numbers[(&name - (termp)->type2.Numbers)] in _nc_get_screensize()
635 TERMINAL *termp; in TINFO_SETUP_TERM() local
650 termp = *tp; in TINFO_SETUP_TERM()
701 && (termp != 0) in TINFO_SETUP_TERM()
714 termp = 0; in TINFO_SETUP_TERM()
722 if (termp == 0) { in TINFO_SETUP_TERM()
790 _nc_export_termtype2(&termp->type, &TerminalType(termp)); in TINFO_SETUP_TERM()
799 set_curterm(termp); in TINFO_SETUP_TERM()
[all …]
H A Dlib_kernel.c86 TERMINAL *termp = TerminalOf(SP_PARM); in NCURSES_SP_NAME() local
90 if (termp != 0) { in NCURSES_SP_NAME()
92 result = termp->Ottyb.c_cc[VERASE]; in NCURSES_SP_NAME()
96 result = termp->Ottyb.sg_erase; in NCURSES_SP_NAME()
121 TERMINAL *termp = TerminalOf(SP_PARM); in NCURSES_SP_NAME() local
125 if (termp != 0) { in NCURSES_SP_NAME()
127 result = termp->Ottyb.c_cc[VKILL]; in NCURSES_SP_NAME()
131 result = termp->Ottyb.sg_kill; in NCURSES_SP_NAME()
159 if (termp != 0) { in NCURSES_SP_NAME()
161 tcflush(termp->Filedes, TCIFLUSH); in NCURSES_SP_NAME()
[all …]
H A Dlib_termcap.c98 TERMINAL *termp = 0; in NCURSES_SP_NAME() local
104 TINFO_SETUP_TERM(&termp, name, STDOUT_FILENO, &rc, TRUE); in NCURSES_SP_NAME()
107 if (termp == 0 || in NCURSES_SP_NAME()
108 !((TERMINAL_CONTROL_BLOCK *) termp)->drv->isTerminfo) in NCURSES_SP_NAME()
402 _nc_tgetent_leak(TERMINAL *termp) in _nc_tgetent_leak() argument
404 if (termp != 0) { in _nc_tgetent_leak()
407 if (LAST_TRM == termp) { in _nc_tgetent_leak()
/dragonfly/lib/libutil/
H A Dpty.c47 openpty(int *amaster, int *aslave, char *name, struct termios *termp, in openpty() argument
76 if (termp) in openpty()
77 tcsetattr(slave, TCSAFLUSH, termp); in openpty()
88 forkpty(int *amaster, char *name, struct termios *termp, struct winsize *winp) in forkpty() argument
92 if (openpty(&master, &slave, name, termp, winp) == -1) in forkpty()
/dragonfly/contrib/ncurses/ncurses/base/
H A Dlib_restart.c49 NCURSES_CONST char *termp, in NCURSES_EXPORT()
61 termp, in NCURSES_EXPORT()
65 if (TINFO_SETUP_TERM(&new_term, termp, filenum, errret, FALSE) != OK) { in NCURSES_EXPORT()
113 restartterm(NCURSES_CONST char *termp, int filenum, int *errret) in restartterm() argument
116 return NCURSES_SP_NAME(restartterm) (CURRENT_SCREEN, termp, filenum, errret); in restartterm()
/dragonfly/usr.bin/tset/
H A Dmap.c71 char *copy, *p, *termp; in add_mapping() local
97 termp = mapp->porttype = NULL; in add_mapping()
99 termp = arg; in add_mapping()
142 if (termp != NULL) in add_mapping()
143 *termp = '\0'; in add_mapping()
/dragonfly/contrib/ncurses/progs/
H A Dtset.c370 const char *termp; in add_mapping() local
401 termp = mapp->porttype = 0; in add_mapping()
403 termp = base = arg; in add_mapping()
445 if (termp != 0) in add_mapping()
/dragonfly/contrib/ncurses/ncurses/
H A Dcurses.priv.h2045 #define save_ttytype(termp) \ argument
2046 if (TerminalType(termp).term_names != 0) { \
2048 TerminalType(termp).term_names, \