/illumos-gate/usr/src/lib/libeti/menu/common/ |
H A D | menuformat.c | 39 set_menu_format(MENU *m, int rows, int cols) argument 41 if (rows < 0 || cols < 0) { 48 if (rows == 0) { 49 rows = FRows(m); 62 FRows(m) = rows; 66 Height(m) = min(rows, Rows(m)); 72 if (rows > 0) { 73 FRows(Dfl_Menu) = rows; 83 menu_format(MENU *m, int *rows, int *cols) argument 86 *rows [all...] |
/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | astwinsize.c | 26 * return terminal rows and cols 72 astwinsize(int fd, register int* rows, register int* cols) argument 80 if (rows) *rows = ws.ws_row; 91 if (rows) *rows = ts.ts_lines; 102 if (rows) *rows = ws.bytesy; 112 if (rows) *rows [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | eqn_html.c | 36 size_t i, j, rows; local 56 /* Estimate the number of rows, first. */ 59 for (rows = 0; NULL != child; rows++) 63 for (i = 0; i < rows; i++) {
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | siena_sram.c | 84 size_t rows; local 99 rows = SIENA_SRAM_ROWS - 1; 100 EFX_POPULATE_OWORD_1(oword, FRF_AZ_SRM_RX_DC_BASE_ADR, rows); 103 EFX_POPULATE_OWORD_1(oword, FRF_AZ_SRM_TX_DC_BASE_ADR, rows + 1); 111 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { 115 if ((wptr - rptr) < 64 && wptr < rows - 1) 133 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { 137 if ((wptr - rptr) < 64 && wptr < rows - 1)
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_set.c | 397 int rows = incr; local 400 for (; rows; rows--, op++) {
|
/illumos-gate/usr/src/common/ficl/ |
H A D | main.c | 94 int cols = 80, rows = 24; local 100 rows = ws.ws_row; 107 asprintf(&buffer, "%d", rows);
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | field.c | 46 0, /* rows */ 142 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) argument 144 /* int rows; number of visible rows */ 148 /* int nrow; number of off screen rows */ 154 if (rows > 0 && cols > 0 && frow >= 0 && fcol >= 0 && nrow >= 0 && 158 f->rows = rows; 162 f->drows = rows + nrow; 205 f->rows 310 field_info(FIELD *f, int *rows, int *cols, int *frow, int *fcol, int *nrow, int *nbuf) argument [all...] |
H A D | form.c | 46 0, /* rows */ 143 int ymax = f->frow + f->rows; 145 if (form->rows < ymax) 146 form->rows = ymax; 164 form->rows = 0; 302 scale_form(FORM *f, int *rows, int *cols) argument 310 *rows = f->rows; 367 start = T(f) + c->rows;
|
/illumos-gate/usr/src/lib/libast/common/disc/ |
H A D | sfdcmore.c | 44 int rows; /* max rows */ member in struct:__anon2611 200 if (++more->row < more->rows) 298 * if rows==0 or cols==0 then they are deterimined from the tty 303 int sfdcmore(Sfio_t* f, const char* prompt, int rows, int cols) argument 305 int sfdcmore(f, prompt, rows, cols) 308 int rows; 332 if (!rows || !cols) 335 astwinsize(sffileno(sfstdin), &rows, &cols); local 337 if (!rows) [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | fault.c | 75 int rows=0, cols=0; local 77 astwinsize(2,&rows,&cols); 80 if(v = rows)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | fw.h | 62 u_long rows; member in struct:Op_arg
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_test/ |
H A D | mdb_test.c | 302 size_t rows, size_t cols, size_t ocols) 317 mdb_iob_resize(mdb.m_out, rows, cols); 325 mdb_iob_resize(mdb.m_out, rows, ocols); 332 size_t rows = mdb.m_out->iob_rows; local 342 0, rows, addr, cols); 345 MDB_IOB_AUTOWRAP, rows, addr, cols); 348 MDB_IOB_INDENT, rows, addr, cols); 351 MDB_IOB_AUTOWRAP | MDB_IOB_INDENT, rows, addr, cols); 301 do_nputs_tests(const char *banner, uint_t flags, size_t rows, size_t cols, size_t ocols) argument
|
/illumos-gate/usr/src/lib/libeti/menu/inc/ |
H A D | menu.h | 83 int rows; /* Number of items high */ member in struct:MENU
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | vidconsole.c | 63 void scroll_up(int rows, int fg, int bg); 221 /* Move cursor to x rows and y cols (0-based). */ 255 /* Scroll up the whole window by a number of rows. If rows==0, 260 scroll_up(int rows, int fgcol, int bgcol) argument 262 if (rows == 0) 263 rows = 25; 266 v86.eax = 0x0600 + (0x00ff & rows); 345 /* Absolute cursor move to args[0] rows and args[1] columns
|
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/ |
H A D | boot1.c | 576 UINTN i, max_dim, best_mode, cols, rows, hsize, nhandles; local 596 status = conout->QueryMode(conout, i, &cols, &rows); 599 if (cols * rows > max_dim) { 600 max_dim = cols * rows;
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | cvc.c | 1307 uint16_t rows; local 1323 CVC_CTL_SIZE(winsize_rows), (caddr_t)&rows)) != 0) || 1350 ws.ws_row = rows;
|
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/ |
H A D | linenoise.c | 133 size_t maxrows; /* Maximum num of rows used so far (multiline mode) */ 379 int rows = (plen+l->len+l->cols)/l->cols; /* rows used by current buf. */ local 388 if (rows > (int)l->maxrows) l->maxrows = rows; 421 rows++; 422 if (rows > (int)l->maxrows) l->maxrows = rows; 429 if (rows-rpos2 > 0) { 430 snprintf(seq,64,"\x1b[%dA", rows [all...] |
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | main.c | 597 UINTN cols, rows; local 614 status = conout->QueryMode(conout, mode, &cols, &rows); 624 sprintf(rowenv, "%u", (unsigned)rows); 634 status = conout->QueryMode(conout, i, &cols, &rows); 637 printf("Mode %d: %u columns, %u rows\n", i, (unsigned)cols, 638 (unsigned)rows);
|
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | edit.c | 513 int rows,cols; local 519 astwinsize(2,&rows,&cols); 824 int n, rows, newsize; local 828 astwinsize(2,&rows,&newsize); 848 astwinsize(2,&rows,&newsize);
|
/illumos-gate/usr/src/lib/libeti/form/inc/ |
H A D | form.h | 78 int rows; /* size in rows */ member in struct:fieldnode 82 int drows; /* dynamic rows */ 85 int nrow; /* offscreen rows */ 112 int rows; /* size in rows */ member in struct:formnode
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.file.c | 287 int i, rows, r, c, maxwidth = 0, columns; local 298 rows = (count + (columns - 1)) / columns; 300 for (r = 0; r < rows; r++) { 302 i = c * rows + r;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tem_safe.c | 1257 int rows; local 1277 rows = e_row - s_row + 1; 1279 if (t_row + rows > tems.ts_c_dimension.height || 1506 /* We have scrolled up (s_row - t_row) rows. */ 1509 /* All OBP rows have been cleared. */ 1979 set_font(struct font *f, short *rows, short *cols, short height, short width) argument 1995 if ((((*rows * fl->data->height) + BORDER_PIXELS) <= height) && 2006 if (((*rows * DEFAULT_FONT_DATA.height) > height) || 2008 *rows = (height - 2) / DEFAULT_FONT_DATA.height; 2232 * nrows: the number of rows t 2363 int rows = tems.ts_c_dimension.height; local [all...] |
/illumos-gate/usr/src/cmd/smbios/ |
H A D | smbios.c | 731 size_t row, rows = P2ROUNDUP(size, 16) / 16; local 740 for (row = 0; row < rows; row++) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | telnet.c | 2604 unsigned short rows, cols; local 2614 if (TerminalWindowSize(&rows, &cols) == 0) { /* Failed */ 2624 PUTSHORT(cp, rows);
|
/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | xen.h | 607 /* Number of rows and columns (dimensions in characters). */ 608 uint16_t rows, columns; member in struct:dom0_vga_console_info::__anon9329::__anon9330
|