Searched refs:tcol (Results 1 - 17 of 17) sorted by relevance

/netbsd-current/external/bsd/mdocml/dist/
H A Dterm.c56 p->tcol = p->tcols;
62 for (p->tcol = p->tcols; p->tcol < p->tcols + p->maxtcol; p->tcol++)
63 free(p->tcol->buf);
109 vbl = (p->flags & TERMP_NOPAD) || p->tcol->offset < p->viscol ?
110 0 : p->tcol->offset - p->viscol;
115 p->tcol->col = 0;
120 vfield = p->tcol->rmargin > p->viscol + vbl ?
121 p->tcol
[all...]
H A Dman_term.c156 p->tcol->rmargin = p->maxrmargin = p->defrmargin;
247 if (n->parent->tok == MAN_HP && p->tcol->rmargin < p->maxrmargin) {
248 p->tcol->offset = p->tcol->rmargin;
249 p->tcol->rmargin = p->maxrmargin;
359 p->tcol->offset = mt->offset;
379 p->tcol->offset -= p->tcol->offset > v ? v : p->tcol->offset;
381 p->tcol
[all...]
H A Droff_term.c70 p->tcol->offset = p->tcol->rmargin;
71 p->tcol->rmargin = p->maxrmargin;
172 ponew = po - polast + (int)p->tcol->offset;
173 p->tcol->offset = ponew > 0 ? ponew : 0;
232 p->ti = len - p->tcol->offset;
233 p->tcol->offset = len;
236 p->tcol->offset += len;
237 } else if ((size_t)len < p->tcol->offset) {
239 p->tcol
[all...]
H A Dmdoc_term.c261 p->tcol->rmargin = p->maxrmargin = p->defrmargin;
332 offset = p->tcol->offset;
333 rmargin = p->tcol->rmargin;
436 p->tcol->offset = offset;
437 p->tcol->rmargin = rmargin;
457 p->tcol->offset = 0;
459 p->tcol->rmargin = p->maxrmargin > sz ?
467 p->tcol->offset = p->tcol->rmargin;
469 p->tcol
[all...]
H A Dtbl_term.c174 save_offset = tp->tcol->offset;
190 tblcalc(&tp->tbl, sp, tp->tcol->offset, tp->tcol->rmargin);
205 offset = tp->tcol->offset;
214 if (offset + tsz > tp->tcol->rmargin)
216 offset = offset + tp->tcol->rmargin > tsz ?
217 (offset + tp->tcol->rmargin - tsz) / 2 : 0;
218 tp->tcol->offset = offset;
233 tp->tcol->offset = offset;
243 coloff = tp->tcol
[all...]
H A Dterm_ascii.c71 p->tcol = p->tcols = mandoc_calloc(1, sizeof(*p->tcol));
167 p->tcol->rmargin = p->defrmargin;
178 p->lastrmargin = p->tcol->rmargin;
179 p->tcol->rmargin = p->maxrmargin = p->defrmargin;
235 p->tcol->offset -= p->ti;
393 p->tcol->offset -= p->ti;
H A Dterm.h64 struct termp_col *tcol; /* Current table column. */ member in struct:termp
H A Dterm_ps.c535 p->tcol = p->tcols = mandoc_calloc(1, sizeof(*p->tcol));
1255 p->tcol->offset -= p->ti;
/netbsd-current/usr.bin/sort/
H A Dinit.c86 * clist (list of columns which correspond to one or more icol or tcol)
115 if (field->tcol.num && field->tcol.num != field->icol.num) {
117 if (field->tcol.num <= clist[i].num)
119 if (field->tcol.num != clist[i].num) {
121 clist[i].num = field->tcol.num;
135 fldtab[0].tcol.p = clist + ncols - 1;
140 if (!fldtab->tcol.num)
142 for (i = 0; fldtab->tcol.num != clist[i].num; i++)
144 fldtab->tcol
[all...]
H A Dfields.c178 struct column icol, tcol; local
182 tcol = cur_fld->tcol;
191 if (!tcol.num)
194 if (tcol.indent) {
195 end = tcol.p->start;
198 end += tcol.indent;
201 end = tcol.p->end;
H A Dsort.h87 #define BT 0x40 /* ignore blanks in tcol */
152 struct column tcol; member in struct:field
/netbsd-current/games/rogue/
H A Droom.c447 monster->tcol = rooms[rr].doors[k].oth_col;
449 (monster->tcol == col)) {
464 monster->tcol = j;
476 monster->tcol = rooms[rn].doors[k].oth_col;
490 monster->tcol = col;
H A Dmonster.c357 (monster->tcol == monster->col)) {
361 col = monster->tcol;
433 monster->tcol = get_rand(0, (DCOLS - 1));
574 monster->tcol = col;
732 monster->tcol = rooms[rn].doors[d].door_col;
H A Drogue.h235 short trow, tcol; /* target row, col */ member in struct:obj
/netbsd-current/sys/dev/raidframe/
H A Drf_map.c600 RF_RowCol_t tcol, pcol, *diskids, i; local
632 &tcol, &diskOffset, 0);
633 RF_ASSERT(tcol == diskids[i]);
653 RF_RowCol_t tcol, i; local
670 &tcol, &diskOffset, 0);
671 if (RF_DEAD_DISK(raidPtr->Disks[tcol].status))
/netbsd-current/bin/ksh/
H A Dvi.c1787 int tcur, tcol; local
1792 holdcol1 = holdcol2 = tcol = 0;
1794 if (tcol - holdcol2 > winwidth / 2) {
1798 holdcol2 = tcol;
1800 tcol = newcol((unsigned char) es->cbuf[tcur++], tcol);
1802 while (tcol - holdcol1 > winwidth / 2)
/netbsd-current/external/bsd/nvi/dist/vi/
H A Dv_txt.c273 size_t tcol; /* Temporary column. */ local
1346 if (vs_column(sp, &tcol))
1348 if (tcol >= margin) {

Completed in 150 milliseconds