Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/mandoc/
H A Dterm.h41 struct termp;
43 typedef void (*term_margin)(struct termp *, const void *);
50 struct termp { struct
92 void (*letter)(struct termp *, int); argument
93 void (*begin)(struct termp *); argument
94 void (*end)(struct termp *); argument
95 void (*endline)(struct termp *); argument
96 void (*advance)(struct termp *, size_t); argument
97 void (*setwidth)(struct termp *, int, size_t); argument
98 size_t (*width)(const struct termp *, int); argument
[all …]
H A Dterm_ascii.c40 static struct termp *ascii_init(enum termenc,
42 static double 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, size_t);
53 static void locale_advance(struct termp *, size_t);
[all …]
H A Dterm_ps.c89 static double ps_hspan(const struct termp *,
91 static size_t ps_width(const struct termp *, int);
92 static void ps_advance(struct termp *, size_t);
93 static void ps_begin(struct termp *);
94 static void ps_closepage(struct termp *);
95 static void ps_end(struct termp *);
96 static void ps_endline(struct termp *);
97 static void ps_fclose(struct termp *);
98 static void ps_growbuf(struct termp *, size_t);
99 static void ps_letter(struct termp *, int);
[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) in term_free()
51 term_begin(struct termp *p, term_margin head, in term_begin()
62 term_end(struct termp *p) in term_end()
92 term_flushln(struct termp *p) in term_flushln()
306 term_newln(struct termp *p) in term_newln()
[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)); in term_tbl_strlen()
57 return(term_len((const struct termp *)arg, sz)); in term_tbl_len()
61 term_tbl(struct termp *tp, const struct tbl_span *sp) in term_tbl()
217 tbl_hrule(struct termp *tp, const struct tbl_span *sp, int kind) in tbl_hrule()
[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) in term_eqn()
51 eqn_box(struct termp *p, const struct eqn_box *bp) in eqn_box()
H A Dman_term.c48 #define DECL_ARGS struct termp *p, \
62 static void print_man_head(struct termp *, const void *);
63 static void print_man_foot(struct termp *, const void *);
64 static void print_bvspace(struct termp *,
140 struct termp *p; in terminal_man()
145 p = (struct termp *)arg; in terminal_man()
193 print_bvspace(struct termp *p, const struct man_node *n, int pardist) in print_bvspace()
1013 print_man_foot(struct termp *p, const void *arg) in print_man_foot()
1085 print_man_head(struct termp *p, const void *arg) in print_man_head()
H A Dmdoc_term.c43 #define DECL_ARGS struct termp *p, \
53 static int a2width(const struct termp *, const char *);
55 static void print_bvspace(struct termp *,
60 static void print_mdoc_head(struct termp *, const void *);
61 static void print_mdoc_foot(struct termp *, const void *);
62 static void synopsis_pre(struct termp *,
257 struct termp *p; in terminal_mdoc()
259 p = (struct termp *)arg; in terminal_mdoc()
409 print_mdoc_foot(struct termp *p, const void *arg) in print_mdoc_foot()
461 print_mdoc_head(struct termp *p, const void *arg) in print_mdoc_head()
[all …]