/freebsd-current/contrib/nvi/common/ |
H A D | msg.c | 663 if (LF_ISSET(MSTAT_TRUNCATE) && len > sp->cols) { 664 for (; s < np && (*s != '/' || (p - s) > sp->cols - 3); ++s); 666 s = p - (sp->cols - 5);
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | pci_virtio_console.c | 136 uint16_t cols; member in struct:pci_vtcon_config 149 uint16_t cols; member in struct:pci_vtcon_console_resize 693 sc->vsc_config->cols = 80;
|
/freebsd-current/contrib/netbsd-tests/lib/libcurses/slave/ |
H A D | curses_commands.c | 2083 int lines, cols, y, x; local 2101 if (sscanf(args[2], "%d", &cols) == 0) { 2120 report_ptr(derwin(win, lines, cols, y, x)); 3549 int lines, cols, begin_y, begin_x; local 3560 if (sscanf(args[1], "%d", &cols) == 0) { 3579 report_ptr(newwin(lines, cols, begin_y, begin_x)); 4043 int rows, cols; local 4054 if (sscanf(args[1], "%d", &cols) == 0) { 4061 report_return(resizeterm(rows, cols)); 4181 int lines, cols, begin_ local 4225 int lines, cols, begin_y, begin_x; local 5502 int lines, cols; local [all...] |
/freebsd-current/contrib/dialog/ |
H A D | textbox.c | 419 const int *cols = dlg_index_columns(line); local 429 for (i = 0; i <= limit && cols[i] < obj->hscroll; ++i) 432 for (i = first; (i <= limit) && ((cols[i] - cols[first]) < width); ++i)
|
H A D | util.c | 759 const int *cols; local 764 cols = dlg_index_columns(text); 769 dlg_print_text(win, text, cols[limit], &attr); 775 * Print up to 'cols' columns from 'text', optionally rendering our escape 779 dlg_print_text(WINDOW *win, const char *txt, int cols, chtype *attr) argument 798 while (cols > 0 && (*txt != '\0')) { 901 (x_after >= (cols + tabbed + x_origin) 929 const int *cols = dlg_index_columns(prompt); local 961 cur_x = lm + tabbed + cols[n + 1]; 1017 dlg_print_text(win, prompt, (cols[wrap_in [all...] |
/freebsd-current/contrib/ncurses/menu/ |
H A D | menu.h | 118 short cols; /* Nr. of items wide */ member in struct:tagMENU
|
/freebsd-current/crypto/heimdal/appl/telnet/telnet/ |
H A D | externs.h | 265 int TerminalWindowSize(long *rows, long *cols);
|
H A D | sys_bsd.c | 609 TerminalWindowSize(long *rows, long *cols) argument 615 *cols = icols;
|
H A D | telnet.c | 2374 long rows, cols; local 2385 if (TerminalWindowSize(&rows, &cols) == 0) { /* Failed */ 2394 PUTSHORT(cp, cols);
|
/freebsd-current/contrib/nvi/ex/ |
H A D | ex_args.c | 274 if (col >= sp->cols - 1) {
|
H A D | ex_tag.c | 489 if (sp->cols <= L_NAME + L_SLOP) { 517 (sp->cols - L_NAME) >= L_TAG + L_SPACE) { 519 if (len > sp->cols - (L_NAME + L_SPACE)) 520 len = sp->cols - (L_NAME + L_SPACE);
|
/freebsd-current/contrib/nvi/vi/ |
H A D | vs_smap.c | 701 smp->coff : (smp->soff - 1) * sp->cols) + 702 sp->rcm % sp->cols); 936 smp->coff : (smp->soff - 1) * sp->cols) + 937 sp->rcm % sp->cols);
|
/freebsd-current/bin/ed/ |
H A D | io.c | 305 if ((gflag & GLS) && ++col > cols) {
|
H A D | ed.h | 267 extern int cols;
|
/freebsd-current/usr.bin/sort/ |
H A D | coll.c | 236 skip_cols_to_start(const struct bwstring *s, size_t cols, size_t start, argument 239 if (cols < 1) 246 while (start < BWSLEN(s) && cols > 1) { 247 --cols;
|
/freebsd-current/stand/efi/loader/ |
H A D | framebuffer.c | 785 UINTN i, max_dim, best_mode, cols, rows; local 790 status = conout->QueryMode(conout, i, &cols, &rows); 793 if (cols * rows > max_dim) { 794 max_dim = cols * rows;
|
H A D | main.c | 1429 UINTN cols, rows; local 1444 status = conout->QueryMode(conout, mode, &cols, &rows); 1460 status = conout->QueryMode(conout, i, &cols, &rows); 1463 printf("Mode %d: %u columns, %u rows\n", i, (unsigned)cols,
|
/freebsd-current/contrib/ee/ |
H A D | new_curse.c | 1488 WINDOW *newwin(lines, cols, start_l, start_c) 1489 int lines, cols; /* number of lines and columns to be in window */ 1500 Ntemp->Num_cols = cols; 1506 Ntemp->first_line = temp_screen = Screenalloc(cols); 1514 temp_screen->next_screen = Screenalloc(cols); 2035 clear_line(line, column, cols) 2038 int cols;
|
/freebsd-current/sys/dev/syscons/ |
H A D | syscons.h | 634 void sc_vtb_init(sc_vtb_t *vtb, int type, int cols, int rows, 637 size_t sc_vtb_size(int cols, int rows);
|
/freebsd-current/contrib/telnet/telnet/ |
H A D | sys_bsd.c | 710 TerminalWindowSize(long *rows, long *cols) argument 717 *cols = ws.ws_col;
|
/freebsd-current/contrib/ntp/ntpdc/ |
H A D | ntpdc.c | 1539 size_t col, cols; local 1558 cols = SCREENWIDTH / ++col; 1559 rows = (words + cols - 1) / cols;
|
/freebsd-current/bin/ps/ |
H A D | ps.c | 171 char *cols; local 198 if ((cols = getenv("COLUMNS")) != NULL && *cols != '\0') 199 termwidth = atoi(cols);
|
/freebsd-current/contrib/less/ |
H A D | line.c | 1444 * Skip cols printable columns at the start of line. 1447 public int skip_columns(int cols, char **linep, int *line_lenp) argument 1454 while (cols > 0 && line < eline) 1466 cols -= w;
|
/freebsd-current/sys/dev/ath/ath_hal/ |
H A D | ah_internal.h | 905 int rows, cols; member in struct:__anon1789 911 (_ia)->cols = (_cols); \ 914 ((_ia)->data[((_r)*(_ia)->cols) + (_c)])
|
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_raidz.c | 436 vdev_raidz_row_alloc(int cols) argument 439 kmem_zalloc(offsetof(raidz_row_t, rr_col[cols]), KM_SLEEP); 441 rr->rr_cols = cols; 442 rr->rr_scols = cols; 444 for (int c = 0; c < cols; c++) { 756 int cols = MIN(tot, logical_cols); local 768 raidz_row_t *rr = vdev_raidz_row_alloc(cols); 783 * be "full width" (`cols`-wide rather than `bc`-wide) for 788 if (b + cols > reflow_offset_synced >> ashift) 805 * Another approach to this would be to set cols shorte 2238 uint64_t cols = vdrz->vd_original_width; local [all...] |