Lines Matching defs:col

123 	struct roffcol		*col;
167 icol = dp->layout->col;
170 col = tbl->cols + icol;
171 col->flags |= dp->layout->flags;
176 if (col->width < dp->layout->width)
177 col->width = dp->layout->width;
179 (col->spacing == SIZE_MAX ||
180 col->spacing < dp->layout->spacing))
181 col->spacing = dp->layout->spacing;
189 dp->hspans == 0 ? col : NULL,
228 col = tbl->cols + icol;
229 if (col->width < enw)
230 col->width = enw;
237 if (col->spacing == SIZE_MAX || icol == maxcol)
238 col->spacing = 3;
352 col = tbl->cols + icol;
353 if (col->width > col->nwidth)
354 col->decimal += (col->width - col->nwidth) / 2;
355 if (col->flags & TBL_CELL_EQUAL) {
357 if (ewidth < col->width)
358 ewidth = col->width;
360 if (col->flags & TBL_CELL_WMAX)
363 xwidth += col->width;
373 col = tbl->cols + icol;
374 if ( ! (col->flags & TBL_CELL_EQUAL))
376 if (col->width == ewidth)
379 xwidth += ewidth - col->width;
380 col->width = ewidth;
415 col = tbl->cols + icol;
416 if ( ! (col->flags & TBL_CELL_WMAX))
418 col->width = (double)xwidth * ++necol / nxcol
421 col->width -= enw;
422 ewidth += col->width;
428 tblcalc_data(struct rofftbl *tbl, struct roffcol *col,
439 if (col != NULL && col->width < sz)
440 col->width = sz;
446 return tblcalc_literal(tbl, col, dp, mw);
448 return tblcalc_number(tbl, col, opts, dp);
457 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col,
492 if (col != NULL && col->width < msz)
493 col->width = msz;
498 tblcalc_number(struct rofftbl *tbl, struct roffcol *col,
510 if (col == NULL)
535 if (col != NULL && col->width < totsz)
536 col->width = totsz;
557 if (intsz > col->decimal) {
558 col->nwidth += intsz - col->decimal;
559 col->decimal = intsz;
561 totsz += col->decimal - intsz;
565 if (totsz > col->nwidth)
566 col->nwidth = totsz;
567 if (col->nwidth > col->width)
568 col->width = col->nwidth;