Lines Matching defs:dp
38 data(struct tbl_node *tbl, struct tbl_span *dp,
46 if (dp->last && dp->last->layout)
47 cp = dp->last->layout->next;
48 else if (NULL == dp->last)
49 cp = dp->layout->first;
89 if (dp->last) {
90 dp->last->next = dat;
91 dp->last = dat;
93 dp->last = dp->first = dat;
186 struct tbl_span *dp;
188 dp = mandoc_calloc(1, sizeof(struct tbl_span));
189 dp->line = line;
190 dp->tbl = &tbl->opts;
191 dp->layout = rp;
192 dp->head = tbl->first_head;
195 tbl->last_span->next = dp;
196 tbl->last_span = dp;
198 tbl->last_span = tbl->first_span = dp;
200 dp->flags |= TBL_SPAN_FIRST;
203 return(dp);
209 struct tbl_span *dp;
235 dp = newspan(tbl, ln, rp);
236 dp->pos = TBL_SPAN_HORIZ;
239 dp = newspan(tbl, ln, rp);
240 dp->pos = TBL_SPAN_DHORIZ;
257 dp = newspan(tbl, ln, rp);
260 dp->pos = TBL_SPAN_HORIZ;
263 dp->pos = TBL_SPAN_DHORIZ;
267 dp->pos = TBL_SPAN_DATA;
272 if ( ! data(tbl, dp, ln, p, &pos))