| /src/external/bsd/mdocml/dist/ |
| term.c | 55 p->tcol = p->tcols; 61 for (p->tcol = p->tcols; p->tcol < p->tcols + p->maxtcol; p->tcol++) 62 free(p->tcol->buf); 108 vbl = (p->flags & TERMP_NOPAD) || p->tcol->offset < p->viscol ? 109 0 : p->tcol->offset - p->viscol; 114 p->tcol->col = 0; 119 vfield = p->tcol->rmargin > p->viscol + vbl ? 120 p->tcol->rmargin - p->viscol - vbl : 0 [all...] |
| man_term.c | 161 p->tcol->rmargin = p->maxrmargin = p->defrmargin; 258 if (n->parent->tok == MAN_HP && p->tcol->rmargin < p->maxrmargin) { 259 p->tcol->offset = p->tcol->rmargin; 260 p->tcol->rmargin = p->maxrmargin; 370 p->tcol->offset = mt->offset; 390 p->tcol->offset -= p->tcol->offset > v ? v : p->tcol->offset; 392 p->tcol->offset += v [all...] |
| roff_term.c | 72 p->tcol->offset = p->tcol->rmargin; 73 p->tcol->rmargin = p->maxrmargin; 166 p->tcol->offset -= pouse; 184 po < -(int)p->tcol->offset ? -(int)p->tcol->offset : po; 185 p->tcol->offset += pouse; 246 if (p->tcol->offset + len <= maxoff) 248 else if (p->tcol->offset < maxoff) 249 p->ti = maxoff - p->tcol->offset [all...] |
| term_ascii.c | 71 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 if ((int)p->tcol->offset > p->ti) 236 p->tcol->offset -= p->ti; 238 p->tcol->offset = 0; 410 if ((int)p->tcol->offset > p->ti) 411 p->tcol->offset -= p->ti [all...] |
| mdoc_term.c | 256 p->tcol->rmargin = p->maxrmargin = p->defrmargin; 330 offset = p->tcol->offset; 331 rmargin = p->tcol->rmargin; 439 p->tcol->offset = offset; 440 p->tcol->rmargin = rmargin; 460 p->tcol->offset = 0; 462 p->tcol->rmargin = p->maxrmargin > sz ? 470 p->tcol->offset = p->tcol->rmargin; 472 p->tcol->rmargin = p->maxrmargin > sz ? p->maxrmargin - sz : 0 [all...] |
| tbl_term.c | 175 save_offset = tp->tcol->offset; 191 tblcalc(&tp->tbl, sp, tp->tcol->offset, tp->tcol->rmargin); 195 offset = tp->tcol->offset; 204 if (offset + tsz > tp->tcol->rmargin) 206 offset = offset + tp->tcol->rmargin > tsz ? 207 (offset + tp->tcol->rmargin - tsz) / 2 : 0; 208 tp->tcol->offset = offset; 223 tp->tcol->offset = offset; 233 coloff = tp->tcol->offset [all...] |
| term.h | 64 struct termp_col *tcol; /* Current table column. */ member in struct:termp
|
| term_ps.c | 535 p->tcol = p->tcols = mandoc_calloc(1, sizeof(*p->tcol)); 1255 if ((int)p->tcol->offset > p->ti) 1256 p->tcol->offset -= p->ti; 1258 p->tcol->offset = 0;
|
| /src/usr.bin/sort/ |
| init.c | 86 * 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.p = clist + i [all...] |
| fields.c | 178 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;
|
| sort.h | 87 #define BT 0x40 /* ignore blanks in tcol */ 152 struct column tcol; member in struct:field
|
| /src/games/rogue/ |
| room.c | 447 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;
|
| monster.c | 368 (monster->tcol == monster->col)) { 372 col = monster->tcol; 444 monster->tcol = get_rand(0, (DCOLS - 1)); 585 monster->tcol = col; 743 monster->tcol = rooms[rn].doors[d].door_col;
|
| rogue.h | 235 short trow, tcol; /* target row, col */ member in struct:obj
|
| /src/sys/dev/raidframe/ |
| rf_map.c | 600 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))
|
| /src/bin/ksh/ |
| vi.c | 1787 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)
|
| /src/external/bsd/nvi/dist/vi/ |
| v_txt.c | 273 size_t tcol; /* Temporary column. */ local 1346 if (vs_column(sp, &tcol)) 1348 if (tcol >= margin) {
|