Home
last modified time | relevance | path

Searched refs:rows (Results 1 – 25 of 76) sorted by relevance

1234

/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dmenuformat.c39 set_menu_format(MENU *m, int rows, int cols) in set_menu_format() argument
41 if (rows < 0 || cols < 0) { in set_menu_format()
48 if (rows == 0) { in set_menu_format()
49 rows = FRows(m); in set_menu_format()
62 FRows(m) = rows; in set_menu_format()
66 Height(m) = min(rows, Rows(m)); in set_menu_format()
72 if (rows > 0) { in set_menu_format()
73 FRows(Dfl_Menu) = rows; in set_menu_format()
83 menu_format(MENU *m, int *rows, int *cols) in menu_format() argument
86 *rows = FRows(m); in menu_format()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastwinsize.c72 astwinsize(int fd, register int* rows, register int* cols) in astwinsize() argument
80 if (rows) *rows = ws.ws_row; in astwinsize()
91 if (rows) *rows = ts.ts_lines; in astwinsize()
102 if (rows) *rows = ws.bytesy; in astwinsize()
112 if (rows) *rows = (s = getenv("LINES")) ? strtol(s, NiL, 0) : 0; in astwinsize()
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Dsiena_sram.c84 size_t rows; in siena_sram_test() local
99 rows = SIENA_SRAM_ROWS - 1; in siena_sram_test()
100 EFX_POPULATE_OWORD_1(oword, FRF_AZ_SRM_RX_DC_BASE_ADR, rows); in siena_sram_test()
103 EFX_POPULATE_OWORD_1(oword, FRF_AZ_SRM_TX_DC_BASE_ADR, rows + 1); in siena_sram_test()
111 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { in siena_sram_test()
115 if ((wptr - rptr) < 64 && wptr < rows - 1) in siena_sram_test()
133 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { in siena_sram_test()
137 if ((wptr - rptr) < 64 && wptr < rows - 1) in siena_sram_test()
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dfield.c144 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) in new_field() argument
156 if (rows > 0 && cols > 0 && frow >= 0 && fcol >= 0 && nrow >= 0 && in new_field()
160 f->rows = rows; in new_field()
164 f->drows = rows + nrow; in new_field()
207 f->rows = field->rows; in dup_field()
258 f->rows = field->rows; in link_field()
312 field_info(FIELD *f, int *rows, int *cols, int *frow, int *fcol, in field_info() argument
326 *rows = f->rows; in field_info()
H A Dform.c143 int ymax = f->frow + f->rows; in merge()
145 if (form->rows < ymax) in merge()
146 form->rows = ymax; in merge()
164 form->rows = 0; in disconnect_fields()
302 scale_form(FORM *f, int *rows, int *cols) in scale_form() argument
310 *rows = f->rows; in scale_form()
367 start = T(f) + c->rows; in data_ahead()
H A Dchg_char.c41 #define OffscreenRows(c) ((c)->drows - (c)->rows)
297 int n = c -> rows < m ? c -> rows : m; in _scr_fpage()
314 int n = c -> rows < m ? c -> rows : m; in _scr_bpage()
331 int h = (c->rows + 1)/2; in _scr_fhpage()
349 int h = (c->rows + 1)/2; in _scr_bhpage()
H A Dutility.c38 #define Scrollable(f) ((f)->drows > (f)->rows || \
203 int ymax = T(f) + c -> rows; in _update_current()
211 T(f) = Y(f) - c -> rows + 1; in _update_current()
216 ye = ys + c -> rows; in _update_current()
313 WINDOW * w = derwin(Sub(f -> form), f -> rows, f -> cols, in display_field()
339 WINDOW * w = derwin(Sub(f -> form), f -> rows, f -> cols, in erase_field()
409 f -> fcol, f -> rows - 1, f -> cols - 1, in _sync_attrs()
529 w = derwin(Sub(f), c -> rows, c -> cols, c -> frow, in _set_current_field()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcmore.c44 int rows; /* max rows */ member
200 if (++more->row < more->rows)
303 int sfdcmore(Sfio_t* f, const char* prompt, int rows, int cols) in sfdcmore() argument
305 int sfdcmore(f, prompt, rows, cols) in sfdcmore()
308 int rows;
332 if (!rows || !cols)
335 astwinsize(sffileno(sfstdin), &rows, &cols);
337 if (!rows)
338 rows = 24;
342 more->rows = rows;
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Defi_console.c191 UINTN cols, rows; in plat_tem_get_prom_size() local
194 &cols, &rows); in plat_tem_get_prom_size()
195 *height = (size_t)rows; in plat_tem_get_prom_size()
210 UINTN cols, rows; in plat_cons_update_mode() local
230 &cols, &rows); in plat_cons_update_mode()
233 devinit.height = rows; in plat_cons_update_mode()
276 UINTN cols, rows; in efi_text_devinit() local
284 data->height = rows; in efi_text_devinit()
474 UINTN i, max_dim, best_mode, cols, rows; in efi_cons_init() local
510 if (cols * rows > max_dim) { in efi_cons_init()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_test/
H A Dmdb_test.c302 size_t rows, size_t cols, size_t ocols) in do_nputs_tests() argument
317 mdb_iob_resize(mdb.m_out, rows, cols); in do_nputs_tests()
325 mdb_iob_resize(mdb.m_out, rows, ocols); in do_nputs_tests()
332 size_t rows = mdb.m_out->iob_rows; in cmd_nputs() local
342 0, rows, addr, cols); in cmd_nputs()
345 MDB_IOB_AUTOWRAP, rows, addr, cols); in cmd_nputs()
348 MDB_IOB_INDENT, rows, addr, cols); in cmd_nputs()
351 MDB_IOB_AUTOWRAP | MDB_IOB_INDENT, rows, addr, cols); in cmd_nputs()
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c840 uint8_t **rows) in vdev_raidz_matrix_init() argument
863 rows[i][j] = vdev_raidz_pow2[pow]; in vdev_raidz_matrix_init()
904 invrows[i][j] = rows[i][jj]; in vdev_raidz_matrix_invert()
905 rows[i][jj] = 0; in vdev_raidz_matrix_invert()
915 ASSERT3U(rows[i][j], ==, 0); in vdev_raidz_matrix_invert()
926 rows[i][j] = vdev_raidz_exp2(rows[i][j], log); in vdev_raidz_matrix_invert()
939 rows[ii][j] ^= in vdev_raidz_matrix_invert()
954 ASSERT3U(rows[i][j], ==, 1); in vdev_raidz_matrix_invert()
956 ASSERT3U(rows[i][j], ==, 0); in vdev_raidz_matrix_invert()
1053 uint8_t *rows[VDEV_RAIDZ_MAXPARITY]; in vdev_raidz_reconstruct_general() local
[all …]
/illumos-gate/usr/src/common/ficl/
H A Dmain.c94 int cols = 80, rows = 24; in main() local
100 rows = ws.ws_row; in main()
107 asprintf(&buffer, "%d", rows); in main()
/illumos-gate/usr/src/cmd/auditrecord/
H A Dauditrecord.pl172 my $rows = $#col1;
173 $rows = $#col2 if ($#col2 > $rows);
174 $rows = $#col3 if ($#col3 > $rows);
175 for (my $i = 0; $i <= $rows; $i++) {
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_console.c909 int y, rows, cols; in btem_control() local
911 rows = fb_info.cursor.pos.y; in btem_control()
917 bcons_dev.bd_setpos(rows, cols - 1); in btem_control()
924 bcons_dev.bd_setpos(rows, cols); in btem_control()
928 bcons_dev.bd_setpos(rows, 0); in btem_control()
967 int rows, cols; in btem_chkparam() local
969 rows = fb_info.cursor.pos.y; in btem_chkparam()
979 bcons_dev.bd_setpos(rows - btem->btem_params[0], cols); in btem_chkparam()
984 bcons_dev.bd_setpos(rows + btem->btem_params[0], cols); in btem_chkparam()
989 bcons_dev.bd_setpos(rows, cols + btem->btem_params[0]); in btem_chkparam()
[all …]
H A Dboot_fb.c805 int rows, cols; in boot_fb_putchar() local
807 rows = fb_info.cursor.pos.y; in boot_fb_putchar()
811 if (rows < fb_info.terminal.y - 1) in boot_fb_putchar()
812 boot_fb_setpos(rows + 1, cols); in boot_fb_putchar()
827 boot_fb_setpos(rows, cols + 1); in boot_fb_putchar()
828 else if (rows < fb_info.terminal.y - 1) in boot_fb_putchar()
829 boot_fb_setpos(rows + 1, 0); in boot_fb_putchar()
831 boot_fb_setpos(rows, 0); in boot_fb_putchar()
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/
H A Dlinenoise.c379 int rows = (plen+l->len+l->cols)/l->cols; /* rows used by current buf. */ in refreshMultiLine() local
388 if (rows > (int)l->maxrows) l->maxrows = rows; in refreshMultiLine()
421 rows++; in refreshMultiLine()
422 if (rows > (int)l->maxrows) l->maxrows = rows; in refreshMultiLine()
429 if (rows-rpos2 > 0) { in refreshMultiLine()
430 snprintf(seq,64,"\x1b[%dA", rows-rpos2); in refreshMultiLine()
/illumos-gate/usr/src/cmd/mandoc/
H A Deqn_html.c39 size_t i, j, rows; in eqn_box() local
65 for (rows = 0; NULL != child; rows++) in eqn_box()
69 for (i = 0; i < rows; i++) { in eqn_box()
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkmdb_promif_isadep.c116 kmdb_prom_get_tem_size(kmdb_auxv_t *kav, ushort_t *rows, ushort_t *cols) in kmdb_prom_get_tem_size() argument
124 *rows = (ushort_t)u; in kmdb_prom_get_tem_size()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dprogress.test65 # This figures out how many opcodes it takes to copy 5 extra rows into t1.
77 # opcodes to copy 5 rows. That way, when we try to copy 6 rows, we know
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz.c1143 uint8_t **rows) in vdev_raidz_matrix_init() argument
1166 rows[i][j] = vdev_raidz_pow2[pow]; in vdev_raidz_matrix_init()
1207 invrows[i][j] = rows[i][jj]; in vdev_raidz_matrix_invert()
1208 rows[i][jj] = 0; in vdev_raidz_matrix_invert()
1218 ASSERT0(rows[i][j]); in vdev_raidz_matrix_invert()
1229 rows[i][j] = vdev_raidz_exp2(rows[i][j], log); in vdev_raidz_matrix_invert()
1242 rows[ii][j] ^= in vdev_raidz_matrix_invert()
1257 ASSERT3U(rows[i][j], ==, 1); in vdev_raidz_matrix_invert()
1259 ASSERT0(rows[i][j]); in vdev_raidz_matrix_invert()
1352 uint8_t *rows[VDEV_RAIDZ_MAXPARITY]; in vdev_raidz_reconstruct_general() local
[all …]
/illumos-gate/usr/src/boot/sys/boot/forth/
H A Dscreen.4th41 \ move cursor to x rows, y cols (1-based coords) ( Esc-[%d;%dH )
75 \ Get the number of screen rows/columns
76 : sr ( -- y ) 25 s" screen-#rows" getenvn ;
/illumos-gate/usr/src/common/font/
H A Dfont.c232 set_font(short *rows, short *cols, short h, short w) in set_font() argument
260 *rows = (height - BORDER_PIXELS) / font->height; in set_font()
277 if ((((*rows * font->height) + BORDER_PIXELS) <= height) && in set_font()
288 *rows = (height - BORDER_PIXELS) / font->height; in set_font()
308 *rows = (height - BORDER_PIXELS) / font->height; in set_font()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_set.c397 int rows = incr; in prall() local
400 for (; rows; rows--, op++) { in prall()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.file.c287 int i, rows, r, c, maxwidth = 0, columns; in print_by_column() local
298 rows = (count + (columns - 1)) / columns; in print_by_column()
300 for (r = 0; r < rows; r++) { in print_by_column()
302 i = c * rows + r; in print_by_column()
/illumos-gate/usr/src/lib/libeti/form/inc/
H A Dform.h78 int rows; /* size in rows */ member
112 int rows; /* size in rows */ member

1234