/freebsd-11.0-release/contrib/mdocml/ |
H A D | term.h | 42 struct termp; 44 typedef void (*term_margin)(struct termp *, const struct roff_meta *); 51 struct termp { struct 95 void (*letter)(struct termp *, int); 96 void (*begin)(struct termp *); 97 void (*end)(struct termp *); 98 void (*endline)(struct termp *); 99 void (*advance)(struct termp *, size_t); 100 void (*setwidth)(struct termp *, int, int); 101 size_t (*width)(const struct termp *, in [all...] |
H A D | term_ascii.c | 41 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 D | term.c | 34 static size_t cond_width(const struct termp *, int, int *); 35 static void adjbuf(struct termp *p, size_t); 36 static void bufferc(struct termp *, char); 37 static void encode(struct termp *, const char *, size_t); 38 static void encode1(struct termp *, int); 42 term_free(struct termp *p) 51 term_begin(struct termp *p, term_margin head, 62 term_end(struct termp *p) 94 term_flushln(struct termp *p) 313 term_newln(struct termp * [all...] |
H A D | term_ps.c | 93 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_fclose(struct termp *); 102 static void ps_growbuf(struct termp *, size_t); 103 static void ps_letter(struct termp *, in [all...] |
H A D | tbl_term.c | 33 static void tbl_char(struct termp *, char, size_t); 34 static void tbl_data(struct termp *, const struct tbl_opts *, 37 static void tbl_literal(struct termp *, const struct tbl_dat *, 39 static void tbl_number(struct termp *, const struct tbl_opts *, 42 static void tbl_hrule(struct termp *, const struct tbl_span *, int); 43 static void tbl_word(struct termp *, const struct tbl_dat *); 50 return term_strlen((const struct termp *)arg, p); 57 return term_len((const struct termp *)arg, sz); 61 term_tbl(struct termp *tp, const struct tbl_span *sp) 217 tbl_hrule(struct termp *t [all...] |
H A D | eqn_term.c | 39 static void eqn_box(struct termp *, const struct eqn_box *); 43 term_eqn(struct termp *p, const struct eqn *ep) 51 eqn_box(struct termp *p, const struct eqn_box *bp)
|
H A D | man_term.c | 49 #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 *, 143 struct termp *p; 147 p = (struct termp *)arg; 192 print_bvspace(struct termp *p, const struct roff_node *n, int pardist) 1042 print_man_foot(struct termp *p, const struct roff_meta *meta) 1112 print_man_head(struct termp *p, const struct roff_meta *meta)
|
H A D | mdoc_term.c | 45 #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 *, 261 struct termp *p; 263 p = (struct termp *)arg; 412 print_mdoc_foot(struct termp *p, const struct roff_meta *meta) 461 print_mdoc_head(struct termp * [all...] |
/freebsd-11.0-release/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_cur_term.c | 45 #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 D | lib_kernel.c | 85 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 D | lib_raw.c | 84 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 D | lib_ttyflags.c | 54 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 D | lib_setup.c | 101 #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 D | lib_termcap.c | 103 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 D | tinfo_driver.c | 114 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.0-release/contrib/ncurses/ncurses/base/ |
H A D | lib_restart.c | 48 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.0-release/lib/libutil/ |
H A D | pty.c | 53 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.0-release/usr.bin/tset/ |
H A D | map.c | 76 char *copy, *p, *termp; local 102 termp = mapp->porttype = NULL; 104 termp = arg; 147 if (termp != NULL) 148 *termp = '\0';
|
/freebsd-11.0-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-openpty.c | 73 openpty(int *amaster, int *aslave, char *name, struct termios *termp, argument
|
/freebsd-11.0-release/contrib/ncurses/progs/ |
H A D | tset.c | 405 const char *termp; local 436 termp = mapp->porttype = 0; 438 termp = base = arg; 480 if (termp != 0)
|
/freebsd-11.0-release/contrib/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cc | 1352 const void *termp, const void *winp) { 1355 int res = REAL(openpty)(amaster, aslave, name, termp, winp); 1363 INTERCEPTOR(int, forkpty, int *amaster, char *name, const void *termp, argument 1367 int res = REAL(forkpty)(amaster, name, termp, winp); 1351 INTERCEPTOR(int, openpty, int *amaster, int *aslave, char *name, const void *termp, const void *winp) argument
|