/src/lib/libform/ |
post.c | 44 int rows, cols, status; local in function:post_form 58 if (scale_form(form, &rows, &cols) != E_OK) 62 || (cols > getmaxx(form->scrwin)))) {
|
/src/sys/dev/ic/ |
monitors.h | 38 u_int16_t cols; /* Columns */ member in struct:monitor
|
/src/games/rain/ |
rain.c | 62 static long cols; variable in typeref:typename:long 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/games/boggle/boggle/ |
prtable.c | 71 int a, b, cols, loc, maxlen, nrows, z; local in function:prtable 78 cols = d_cols; 80 cols = width / maxlen; 81 if (cols == 0) 82 cols = NCOLS; 83 nrows = (num - 1) / cols + 1;
|
/src/usr.bin/tabs/ |
tabs.c | 87 int i, n, inc = 8, stops[NSTOPS], nstops, last, cols, margin = 0; local in function:main 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/sys/arch/powerpc/oea/ |
ofw_rascons.c | 264 int cols = 0, rows = 0; local in function:rascons_init_rasops 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/lib/libedit/ |
el.c | 605 int lins, cols; local in function:el_resize 613 if (terminal_get_size(el, &lins, &cols)) 614 terminal_change_size(el, lins, cols);
|
filecomplete.c | 546 size_t line, lines, col, cols, thisguy; local in function:fn_display_match_list 559 cols = (size_t)screenwidth / (width + 2); 560 if (cols == 0) 561 cols = 1; 564 lines = (num + cols - 1) / cols; 573 for (col = 0; col < cols; col++) {
|
/src/distrib/utils/libhack/ |
multibyte.c | 258 int cols; local in function:wcswidth 266 for (cols = 0; *pwcs && n > 0; cols++) 269 return cols;
|
/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++)
|
rf_compat80.c | 73 u_int cols; member in struct:RF_DeviceConfig_s80 177 config80->cols = config->cols;
|
/src/sys/external/isc/atheros_hal/dist/ar5416/ |
ar5416_attach.c | 258 int rows, cols; member in struct:ar5416Attach::ini
|
/src/usr.bin/column/ |
column.c | 206 int cols, *len; member in struct:_tbl 218 char **cols, **ncols; local in function:maketbl 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 in typeref:typename:size_t 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...] |
/src/usr.bin/resize/ |
resize.c | 230 "Usage: %s [rows cols]\n" : 231 "Usage: %s [-v] [-u] [-c] [-s [rows cols]]\n", myname); 327 int rows, cols; local in function:main 507 if (sscanf(buf, size[emu], &rows, &cols) != 2) { 523 setup_winsize(ts, rows, cols, 0, 0); 531 setup_winsize(ts, rows, cols, 533 scaled(TTYSIZE_COLS(ts), cols, ts.ws_xpixel)); 563 sprintf(newtc + i, "%d", cols); 592 setname, cols, rows); 606 setname, cols, rows) [all...] |
/src/sys/arch/i386/stand/efiboot/ |
efimemory.c | 203 UINTN cols, rows; local in function:efi_memory_get_memmap 207 ST->ConOut->Mode->Mode, &cols, &rows); 377 UINTN cols, rows, row; local in function:efi_memory_show_map 380 ST->ConOut->Mode->Mode, &cols, &rows);
|
/src/sys/arch/hp300/stand/common/ |
itevar.h | 64 short rows, cols; member in struct:ite_data
|
/src/lib/libmenu/ |
menu.h | 103 int cols; /* max number of columns to be displayed */ member in struct:__menu
|
/src/sys/arch/amiga/dev/ |
grf_rt.c | 611 unsigned char cols = 16; local in function:rt_load_mon 614 vgaw(ba, VDAC_REG_DATA, cols); 615 vgaw(ba, VDAC_REG_DATA, cols); 616 vgaw(ba, VDAC_REG_DATA, cols); 617 cols++;
|
/src/sys/arch/newsmips/dev/ |
fb.c | 286 int width, height, stride, xoff, yoff, cols, rows; local in function:fb_common_init 333 cols = ((width - 2) / ri->ri_font->fontwidth) & ~7; 334 xoff = ((width - cols * ri->ri_font->fontwidth) / 2 / 8) & ~3; 336 rasops_reconfig(ri, rows, cols);
|
/src/sys/arch/sgimips/gio/ |
newport.c | 393 uint16_t linep,cols; local in function:newport_get_resolution 404 cols = 0; 418 cols += (data >> 7) & 0xfe; 424 if (cols != 0) { 425 if (cols > dc->dc_xres) 426 dc->dc_xres = cols;
|
/src/usr.sbin/iostat/ |
iostat.c | 131 * allows for the gaps between the columns, and is (#data cols - 1). 319 char *cols = getenv("COLUMNS"); local in function:main 321 if (cols == NULL || (width = strtol(cols, &ep, 10)) < 0 ||
|