Searched refs:termp (Results 1 - 23 of 23) sorted by relevance

/freebsd-11-stable/contrib/mdocml/
H A Dterm.h43 struct termp;
45 typedef void (*term_margin)(struct termp *, const struct roff_meta *);
61 struct termp { struct
110 void (*letter)(struct termp *, int);
111 void (*begin)(struct termp *);
112 void (*end)(struct termp *);
113 void (*endline)(struct termp *);
114 void (*advance)(struct termp *, size_t);
115 void (*setwidth)(struct termp *, int, int);
116 size_t (*width)(const struct termp *, in
[all...]
H A Dterm_ascii.c41 static struct termp *ascii_init(enum termenc, const struct manoutput *);
42 static int ascii_hspan(const struct termp *,
44 static size_t ascii_width(const struct termp *, int);
45 static void ascii_advance(struct termp *, size_t);
46 static void ascii_begin(struct termp *);
47 static void ascii_end(struct termp *);
48 static void ascii_endline(struct termp *);
49 static void ascii_letter(struct termp *, int);
50 static void ascii_setwidth(struct termp *, int, int);
53 static void locale_advance(struct termp *, size_
[all...]
H A Dterm_ps.c93 static int ps_hspan(const struct termp *,
95 static size_t ps_width(const struct termp *, int);
96 static void ps_advance(struct termp *, size_t);
97 static void ps_begin(struct termp *);
98 static void ps_closepage(struct termp *);
99 static void ps_end(struct termp *);
100 static void ps_endline(struct termp *);
101 static void ps_growbuf(struct termp *, size_t);
102 static void ps_letter(struct termp *, int);
103 static void ps_pclose(struct termp *);
[all...]
H A Dterm.c34 static size_t cond_width(const struct termp *, int, int *);
36 static void bufferc(struct termp *, char);
37 static void encode(struct termp *, const char *, size_t);
38 static void encode1(struct termp *, int);
39 static void endline(struct termp *);
43 term_setcol(struct termp *p, size_t maxtcol)
55 term_free(struct termp *p)
65 term_begin(struct termp *p, term_margin head,
76 term_end(struct termp *p)
108 term_flushln(struct termp *
[all...]
H A Deqn_term.c39 static void eqn_box(struct termp *, const struct eqn_box *);
43 term_eqn(struct termp *p, const struct eqn_box *bp)
51 eqn_box(struct termp *p, const struct eqn_box *bp)
H A Dtbl_term.c37 static void tbl_char(struct termp *, char, size_t);
38 static void tbl_data(struct termp *, const struct tbl_opts *,
42 static void tbl_literal(struct termp *, const struct tbl_dat *,
44 static void tbl_number(struct termp *, const struct tbl_opts *,
47 static void tbl_hrule(struct termp *, const struct tbl_span *, int);
48 static void tbl_word(struct termp *, const struct tbl_dat *);
56 i = term_hen((const struct termp *)arg, su);
63 return term_strlen((const struct termp *)arg, p);
69 return term_len((const struct termp *)arg, sz);
73 term_tbl(struct termp *t
[all...]
H A Dman_term.c49 #define DECL_ARGS struct termp *p, \
63 static void print_man_head(struct termp *,
65 static void print_man_foot(struct termp *,
67 static void print_bvspace(struct termp *,
140 struct termp *p;
145 p = (struct termp *)arg;
193 print_bvspace(struct termp *p, const struct roff_node *n, int pardist)
965 print_man_foot(struct termp *p, const struct roff_meta *meta)
1036 print_man_head(struct termp *p, const struct roff_meta *meta)
H A Dterm_tab.c39 term_tab_set(const struct termp *p, const char *arg)
H A Droff_term.c27 #define ROFF_TERM_ARGS struct termp *p, const struct roff_node *n
56 roff_term_pre(struct termp *p, const struct roff_node *n)
H A Dmdoc_term.c45 #define DECL_ARGS struct termp *p, \
55 static int a2width(const struct termp *, const char *);
57 static void print_bvspace(struct termp *,
62 static void print_mdoc_head(struct termp *, const struct roff_meta *);
63 static void print_mdoc_foot(struct termp *, const struct roff_meta *);
64 static void synopsis_pre(struct termp *,
258 struct termp *p;
261 p = (struct termp *)arg;
415 print_mdoc_foot(struct termp *p, const struct roff_meta *meta)
464 print_mdoc_head(struct termp *
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dlib_cur_term.c45 #define CUR termp->type.
79 NCURSES_SP_NAME(set_curterm) (NCURSES_SP_DCLx TERMINAL * termp) argument
83 T((T_CALLED("set_curterm(%p)"), (void *) termp));
88 SP_PARM->_term = termp;
90 CurTerm = termp;
92 cur_term = termp;
94 if (termp != 0) {
96 TERMINAL_CONTROL_BLOCK *TCB = (TERMINAL_CONTROL_BLOCK *) termp;
97 ospeed = (NCURSES_OSPEED) _nc_ospeed(termp->_baudrate);
98 if (TCB->drv->isTerminfo && termp
117 set_curterm(TERMINAL * termp) argument
124 del_curterm(NCURSES_SP_DCLx TERMINAL * termp) argument
165 del_curterm(TERMINAL * termp) argument
[all...]
H A Dlib_kernel.c85 TERMINAL *termp = TerminalOf(SP_PARM); local
89 if (termp != 0) {
91 result = termp->Ottyb.c_cc[VERASE];
95 result = termp->Ottyb.sg_erase;
120 TERMINAL *termp = TerminalOf(SP_PARM); local
124 if (termp != 0) {
126 result = termp->Ottyb.c_cc[VKILL];
130 result = termp->Ottyb.sg_kill;
154 TERMINAL *termp = TerminalOf(SP_PARM); local
158 if (termp !
[all...]
H A Dlib_raw.c84 TERMINAL *termp; local
87 if ((termp = TerminalOf(SP_PARM)) != 0) {
93 buf = termp->Nttyb;
117 termp->Nttyb = buf;
136 TERMINAL *termp; local
139 if ((termp = TerminalOf(SP_PARM)) != 0) {
145 buf = termp->Nttyb;
158 termp->Nttyb = buf;
181 TERMINAL *termp; local
184 if ((termp
214 TERMINAL *termp; local
265 TERMINAL *termp; local
303 TERMINAL *termp; local
343 TERMINAL *termp; local
[all...]
H A Dlib_ttyflags.c54 TERMINAL *termp = TerminalOf(SP_PARM); local
56 if (0 == termp) {
63 if (GET_TTY(termp->Filedes, buf) != 0) {
77 termp ? termp->Filedes : -1,
99 TERMINAL *termp = TerminalOf(SP_PARM); local
101 if (0 == termp) {
108 if ((SET_TTY(termp->Filedes, buf) != 0)
110 && !isatty(termp->Filedes)
124 termp
142 TERMINAL *termp = TerminalOf(SP_PARM); local
180 TERMINAL *termp = TerminalOf(SP_PARM); local
216 TERMINAL *termp = TerminalOf(SP_PARM); local
249 TERMINAL *termp = TerminalOf(SP_PARM); local
[all...]
H A Dlib_setup.c101 #define CUR termp->type.
116 TERMINAL *termp = TerminalOf(CURRENT_SCREEN); local
117 if (termp != 0) {
118 result = termp->type.term_names;
273 TERMINAL * termp,
282 assert(termp != 0 && linep != 0 && colp != 0);
283 TCB = (TERMINAL_CONTROL_BLOCK *) termp;
298 TERMINAL *termp = cur_term;
429 TERMINAL *termp = cur_term; local
495 _nc_tinfo_cmdch(TERMINAL * termp, in argument
271 _nc_get_screensize(SCREEN *sp, TERMINAL * termp, int *linep, int *colp) argument
574 _nc_locale_breaks_acs(TERMINAL * termp) argument
615 TERMINAL *termp; local
850 TERMINAL *termp = 0; local
[all...]
H A Dlib_termcap.c103 TERMINAL *termp = 0; local
109 TINFO_SETUP_TERM(&termp, (NCURSES_CONST char *) name,
113 if (termp == 0 ||
114 !((TERMINAL_CONTROL_BLOCK *) termp)->drv->isTerminfo)
H A Dtinfo_driver.c114 TERMINAL *termp; local
118 termp = (TERMINAL *) TCB;
123 status = _nc_setup_tinfo(tname, &termp->type);
133 termp->type = *fallback;
139 NCURSES_SP_NAME(del_curterm) (NCURSES_SP_ARGx termp);
148 strncpy(ttytype, termp->type.term_names, (size_t) NAMESIZE - 1);
153 _nc_tinfo_cmdch(termp, *command_character);
378 TERMINAL *termp = (TERMINAL *) TCB; local
379 if (isatty(termp->Filedes)) {
384 if (ioctl(termp
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_restart.c48 NCURSES_CONST char *termp,
59 termp,
63 if (TINFO_SETUP_TERM(&new_term, termp, filenum, errret, FALSE) != OK) {
111 restartterm(NCURSES_CONST char *termp, int filenum, int *errret) argument
113 return NCURSES_SP_NAME(restartterm) (CURRENT_SCREEN, termp, filenum, errret);
47 restartterm(NCURSES_SP_DCLx NCURSES_CONST char *termp, int filenum, int *errret) argument
/freebsd-11-stable/lib/libutil/
H A Dpty.c53 openpty(int *amaster, int *aslave, char *name, struct termios *termp, argument
82 if (termp)
83 tcsetattr(slave, TCSAFLUSH, termp);
94 forkpty(int *amaster, char *name, struct termios *termp, struct winsize *winp) argument
98 if (openpty(&master, &slave, name, termp, winp) == -1)
/freebsd-11-stable/usr.bin/tset/
H A Dmap.c76 char *copy, *p, *termp; local
102 termp = mapp->porttype = NULL;
104 termp = arg;
147 if (termp != NULL)
148 *termp = '\0';
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-openpty.c73 openpty(int *amaster, int *aslave, char *name, struct termios *termp, argument
/freebsd-11-stable/contrib/ncurses/progs/
H A Dtset.c405 const char *termp; local
436 termp = mapp->porttype = 0;
438 termp = base = arg;
480 if (termp != 0)
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp1206 const void *termp, const void *winp) {
1209 int res = REAL(openpty)(aparent, aworker, name, termp, winp);
1224 INTERCEPTOR(int, forkpty, int *aparent, char *name, const void *termp, argument
1228 int res = REAL(forkpty)(aparent, name, termp, winp);
1205 INTERCEPTOR(int, openpty, int *aparent, int *aworker, char *name, const void *termp, const void *winp) argument

Completed in 231 milliseconds