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

/illumos-gate/usr/src/cmd/mandoc/
H A Dterm.h42 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 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.c34 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 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_fclose(struct termp *);
102 static void ps_growbuf(struct termp *, size_t);
103 static void ps_letter(struct termp *, in
[all...]
H A Dtbl_term.c33 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 Deqn_term.c39 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 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 *,
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 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 *,
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...]

Completed in 51 milliseconds