| /src/lib/libform/ |
| post.c | 44 int rows, cols, status; local 58 if (scale_form(form, &rows, &cols) != E_OK) 62 || (cols > getmaxx(form->scrwin)))) {
|
| /src/games/rain/ |
| rain.c | 62 static long cols; variable 108 xpos[j] = random() % cols + 2; 116 if (is_term_resized(LINES, COLS)) { 117 resizeterm(LINES, COLS); 120 x = random() % cols + 2; 156 cols = COLS - 4; 158 if (cols == 0) cols++;
|
| /src/sys/dev/ic/ |
| monitors.h | 38 u_int16_t cols; /* Columns */ member in struct:monitor
|
| /src/external/gpl3/gdb/dist/sim/ppc/ |
| options.c | 201 int cols; local 209 cols = 78 / (max_len + 2); 210 if (cols < 0) 211 cols = 1; 215 const char *const prefix = ((i % cols) == 0) ? "\n" : ""; 218 || (((i + 1) % cols) == 0))
|
| /src/external/gpl3/gdb.old/dist/sim/ppc/ |
| options.c | 201 int cols; local 209 cols = 78 / (max_len + 2); 210 if (cols < 0) 211 cols = 1; 215 const char *const prefix = ((i % cols) == 0) ? "\n" : ""; 218 || (((i + 1) % cols) == 0))
|
| /src/games/boggle/boggle/ |
| prtable.c | 71 int a, b, cols, loc, maxlen, nrows, z; local 78 cols = d_cols; 80 cols = width / maxlen; 81 if (cols == 0) 82 cols = NCOLS; 83 nrows = (num - 1) / cols + 1;
|
| /src/external/bsd/atf/dist/tools/ |
| ui.cpp | 56 const std::string cols = tools::env::get("COLUMNS"); local 57 if (cols.length() > 0) { 58 width = tools::text::to_type< size_t >(cols);
|
| /src/usr.bin/tabs/ |
| tabs.c | 87 int i, n, inc = 8, stops[NSTOPS], nstops, last, cols, margin = 0; local 207 cols = 0; 213 0 <= cols && cols <= INT_MAX) 214 cols = (int)num; 216 if (cols == 0) { 218 cols = ws.ws_col; 220 cols = tigetnum("cols"); 221 if (cols == 0) [all...] |
| /src/external/bsd/nvi/dist/vi/ |
| vs_relative.c | 48 vip->sc_smap->coff : (vip->sc_smap->soff - 1) * sp->cols) + 64 size_t cols, screens; local 83 cols = vs_columns(sp, NULL, lno, cnop, NULL); 85 screens = (cols / sp->cols + (cols % sp->cols ? 1 : 0)); 157 if (!leftright && curoff >= sp->cols) { \ 160 scno -= scno % sp->cols; \ 162 curoff -= sp->cols; \ [all...] |
| vs_split.c | 92 new->cols = sp->cols; 216 size_t cols; local 221 if (sp->cols / 2 <= MINIMUM_SCREEN_COLS) { 252 cols = sp->cols / 2; 253 new->cols = sp->cols - cols - 1; 254 sp->cols = cols [all...] |
| /src/external/gpl2/groff/dist/src/devices/grohtml/ |
| html-table.h | 65 typedef struct cols { struct 69 struct cols *next; 70 } cols; typedef in typeref:struct:cols 77 cols *get_column (int coln); 79 int modify_column (cols *c, int hstart, int hend, char align); 87 int is_gap (cols *c); 93 int get_right (cols *c); 102 cols *columns; /* column entries */ 104 cols *last_col; /* last column started */ 107 void remove_cols (cols *c) [all...] |
| /src/sys/arch/powerpc/oea/ |
| ofw_rascons.c | 264 int cols = 0, rows = 0; local 271 OF_interpret("#columns", 0, 1, &cols); 274 rasops_init(ri, rows, cols); 278 (uint32_t)ri->ri_bits, cols, width, ri->ri_xorigin, ri->ri_yorigin);
|
| /src/external/bsd/mdocml/dist/ |
| out.h | 56 struct roffcol *cols; /* master column specifiers */ member in struct:rofftbl
|
| /src/external/bsd/nvi/dist/cl/ |
| cl_main.c | 63 size_t rows, cols; local 119 if (cl_ssize(NULL, 0, &rows, &cols, NULL)) 124 OG_VAL(gp, GO_COLUMNS) = OG_D_VAL(gp, GO_COLUMNS) = cols;
|
| /src/distrib/utils/libhack/ |
| multibyte.c | 258 int cols; local 266 for (cols = 0; *pwcs && n > 0; cols++) 269 return cols;
|
| /src/lib/libedit/ |
| el.c | 627 int lins, cols; local 635 if (terminal_get_size(el, &lins, &cols)) 636 terminal_change_size(el, lins, cols);
|
| /src/sys/arch/hp300/stand/common/ |
| itevar.h | 64 short rows, cols; member in struct:ite_data
|
| /src/sys/arch/i386/stand/efiboot/ |
| efimemory.c | 203 UINTN cols, rows; local 207 ST->ConOut->Mode->Mode, &cols, &rows); 377 UINTN cols, rows, row; local 380 ST->ConOut->Mode->Mode, &cols, &rows);
|
| /src/sys/arch/sparc/dev/ |
| kd.c | 82 int rows, cols; member in struct:kd_softc 150 kd->cols = fbrcons_cols(); 163 if (kd->cols == 0) 164 kd->cols = (u_short)ep->eeTtyCols; 175 if (kd->cols == 0 && 177 kd->cols = strtoul(prop, NULL, 10); 238 tp->t_winsize.ws_col = kd->cols;
|
| /src/sys/arch/sparc64/dev/ |
| kd.c | 96 int rows, cols; member in struct:kd_softc 151 if (kd->cols == 0 && 153 kd->cols = strtoul(prop, NULL, 10); 210 tp->t_winsize.ws_col = kd->cols;
|
| /src/sys/arch/sun2/dev/ |
| kd.c | 79 int rows, cols; member in struct:kd_softc 156 kd->cols = fbrcons_cols(); 169 if (kd->cols == 0) 170 kd->cols = (u_short)ep->eeTtyCols; 186 if (kd->cols == 0 && 191 kd->cols = (unsigned short)i; 253 tp->t_winsize.ws_col = kd->cols;
|
| /src/sys/dev/raidframe/ |
| rf_compat50.c | 78 u_int cols; member in struct:RF_DeviceConfig50_s 187 d_cfg->cols = raidPtr->numCol; 201 for (j = 0; j < d_cfg->cols; j++) 204 for (j = d_cfg->cols, i = 0; i < d_cfg->nspares; i++, j++)
|
| /src/sys/external/isc/atheros_hal/dist/ar5416/ |
| ar5416_attach.c | 258 int rows, cols; member in struct:ini
|
| /src/usr.bin/column/ |
| column.c | 206 int cols, *len; member in struct:_tbl 218 char **cols, **ncols; local 221 cols = ecalloc((maxcols = DEFCOLS), sizeof(*cols)); 225 (cols[coloff] = strtok(p, separator)) != NULL; p = NULL) 227 ncols = erealloc(cols, (maxcols + 231 cols = ncols; 233 (void)memset(cols + maxcols, 0, 234 DEFCOLS * sizeof(*cols)); 241 for (t->cols = coloff; --coloff >= 0;) [all...] |
| /src/usr.bin/infocmp/ |
| infocmp.c | 55 static size_t cols; variable 188 if (col + l > cols) { 653 cols = 80; /* default */ 656 cols = strtoul(term, NULL, 10); 658 cols = ws.ws_col; 665 cols = 1; 690 cols = strtoul(optarg, NULL, 10); 699 "[-w cols] [term]\n", 703 cols--; 766 if (n + n2 > cols) { [all...] |