Home
last modified time | relevance | path

Searched refs:tbl_node (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/cmd/mandoc/
H A Dlibroff.h29 struct tbl_node { struct
42 struct tbl_node *next; argument
65 struct tbl_node *tbl_alloc(int, int, struct mparse *);
66 void tbl_restart(int, int, struct tbl_node *);
67 void tbl_free(struct tbl_node *);
68 void tbl_reset(struct tbl_node *);
69 enum rofferr tbl_read(struct tbl_node *, int, const char *, int);
70 int tbl_option(struct tbl_node *, int, const char *);
71 int tbl_layout(struct tbl_node *, int, const char *);
72 int tbl_data(struct tbl_node *, int, const char *);
[all …]
H A Dtbl.c33 tbl_read(struct tbl_node *tbl, int ln, const char *p, int offs) in tbl_read()
72 struct tbl_node *
75 struct tbl_node *tbl; in tbl_alloc()
77 tbl = mandoc_calloc(1, sizeof(struct tbl_node)); in tbl_alloc()
89 tbl_free(struct tbl_node *tbl) in tbl_free()
128 tbl_restart(int line, int pos, struct tbl_node *tbl) in tbl_restart()
144 tbl_span(struct tbl_node *tbl) in tbl_span()
157 tbl_end(struct tbl_node **tblp) in tbl_end()
159 struct tbl_node *tbl; in tbl_end()
H A Dtbl_layout.c58 static int mods(struct tbl_node *, struct tbl_cell *,
60 static int cell(struct tbl_node *, struct tbl_row *,
62 static void row(struct tbl_node *, int, const char *, int *);
63 static struct tbl_cell *cell_alloc(struct tbl_node *, struct tbl_row *,
67 mods(struct tbl_node *tbl, struct tbl_cell *cp, in mods()
208 cell(struct tbl_node *tbl, struct tbl_row *rp, in cell()
286 row(struct tbl_node *tbl, int ln, const char *p, int *pos) in row()
338 tbl_layout(struct tbl_node *tbl, int ln, const char *p) in tbl_layout()
350 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, enum tbl_cellt pos, in cell_alloc()
H A Dtbl_opts.c79 static int arg(struct tbl_node *, int,
81 static void opt(struct tbl_node *, int,
85 arg(struct tbl_node *tbl, int ln, const char *p, int *pos, enum tbl_ident key) in arg()
167 opt(struct tbl_node *tbl, int ln, const char *p, int *pos) in opt()
255 tbl_option(struct tbl_node *tbl, int ln, const char *p) in tbl_option()
H A Dtbl_data.c32 static int data(struct tbl_node *, struct tbl_span *,
34 static struct tbl_span *newspan(struct tbl_node *, int,
38 data(struct tbl_node *tbl, struct tbl_span *dp, in data()
140 tbl_cdata(struct tbl_node *tbl, int ln, const char *p) in tbl_cdata()
182 newspan(struct tbl_node *tbl, int line, struct tbl_row *rp) in newspan()
205 tbl_data(struct tbl_node *tbl, int ln, const char *p) in tbl_data()
H A Droff.c121 struct tbl_node *first_tbl; /* first table parsed */
122 struct tbl_node *last_tbl; /* last table parsed */
123 struct tbl_node *tbl; /* current table being parsed */
409 struct tbl_node *tbl; in roff_free1()
1600 struct tbl_node *tbl; in roff_TS()