Lines Matching refs:tbl

67 mods(struct tbl_node *tbl, struct tbl_cell *cp,   in mods()  argument
119 tbl->parse, ln, *pos, NULL); in mods()
136 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse, in mods()
178 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse, in mods()
202 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse, in mods()
208 cell(struct tbl_node *tbl, struct tbl_row *rp, in cell() argument
228 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse, in cell()
245 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse, in cell()
252 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse, in cell()
265 if (TBL_CELL_DOWN == c && rp == tbl->first_row) { in cell()
266 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse, ln, *pos, NULL); in cell()
275 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse, ln, *pos - 1, NULL); in cell()
281 return(mods(tbl, cell_alloc(tbl, rp, c, vert), ln, p, pos)); in cell()
286 row(struct tbl_node *tbl, int ln, const char *p, int *pos) in row() argument
301 if (tbl->last_row) in row()
302 tbl->last_row->next = rp; in row()
304 tbl->first_row = rp; in row()
305 tbl->last_row = rp; in row()
314 tbl->part = TBL_PART_DATA; in row()
315 if (NULL == tbl->first_row) in row()
316 mandoc_msg(MANDOCERR_TBLNOLAYOUT, tbl->parse, in row()
330 if ( ! cell(tbl, rp, ln, p, pos)) in row()
338 tbl_layout(struct tbl_node *tbl, int ln, const char *p) in tbl_layout() argument
343 row(tbl, ln, p, &pos); in tbl_layout()
350 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, enum tbl_cellt pos, in cell_alloc() argument
363 h = tbl->first_head; in cell_alloc()
378 hp->ident = tbl->opts.cols++; in cell_alloc()
381 if (tbl->last_head) { in cell_alloc()
382 hp->prev = tbl->last_head; in cell_alloc()
383 tbl->last_head->next = hp; in cell_alloc()
385 tbl->first_head = hp; in cell_alloc()
386 tbl->last_head = hp; in cell_alloc()