Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/mandoc/
H A Dterm.h43 struct termp;
45 typedef void (*term_margin)(struct termp *, const struct roff_meta *);
61 struct termp { struct
112 void (*letter)(struct termp *, int); argument
113 void (*begin)(struct termp *); argument
114 void (*end)(struct termp *); argument
115 void (*endline)(struct termp *); argument
116 void (*advance)(struct termp *, size_t); argument
117 void (*setwidth)(struct termp *, int, int); argument
118 size_t (*width)(const struct termp *, int); argument
[all …]
H A Dterm_ascii.c43 static struct termp *ascii_init(enum termenc, const struct manoutput *);
44 static int ascii_hspan(const struct termp *,
46 static size_t ascii_width(const struct termp *, int);
47 static void ascii_advance(struct termp *, size_t);
48 static void ascii_begin(struct termp *);
49 static void ascii_end(struct termp *);
50 static void ascii_endline(struct termp *);
51 static void ascii_letter(struct termp *, int);
52 static void ascii_setwidth(struct termp *, int, int);
55 static void locale_advance(struct termp *, size_t);
[all …]
H A Dterm_ps.c96 static int ps_hspan(const struct termp *,
98 static size_t ps_width(const struct termp *, int);
99 static void ps_advance(struct termp *, size_t);
100 static void ps_begin(struct termp *);
101 static void ps_closepage(struct termp *);
102 static void ps_end(struct termp *);
103 static void ps_endline(struct termp *);
104 static void ps_growbuf(struct termp *, size_t);
105 static void ps_letter(struct termp *, int);
106 static void ps_pclose(struct termp *);
[all …]
H A Dterm.c35 static size_t cond_width(const struct termp *, int, int *);
37 static void bufferc(struct termp *, char);
38 static void encode(struct termp *, const char *, size_t);
39 static void encode1(struct termp *, int);
40 static void endline(struct termp *);
41 static void term_field(struct termp *, size_t, size_t);
42 static void term_fill(struct termp *, size_t *, size_t *,
47 term_setcol(struct termp *p, size_t maxtcol) in term_setcol()
59 term_free(struct termp *p) in term_free()
69 term_begin(struct termp *p, term_margin head, in term_begin()
[all …]
H A Dtbl_term.c40 static void tbl_data(struct termp *, const struct tbl_opts *,
44 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);
47 static void tbl_fill_string(struct termp *, const char *, size_t);
48 static void tbl_hrule(struct termp *, const struct tbl_span *,
51 static void tbl_literal(struct termp *, const struct tbl_dat *,
53 static void tbl_number(struct termp *, const struct tbl_opts *,
56 static void tbl_word(struct termp *, const struct tbl_dat *);
144 i = term_hen((const struct termp *)arg, su); in term_tbl_sulen()
[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 *);
64 static void print_mdoc_foot(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()
[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()