Home
last modified time | relevance | path

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

123456789

/freebsd-12.1/contrib/ncurses/menu/
H A Dm_format.c59 set_menu_format(MENU * menu, int rows, int cols) in NCURSES_EXPORT()
65 if (rows < 0 || cols < 0) in NCURSES_EXPORT()
76 if (rows == 0) in NCURSES_EXPORT()
77 rows = menu->frows; in NCURSES_EXPORT()
84 menu->frows = (short)rows; in NCURSES_EXPORT()
87 assert(rows > 0 && cols > 0); in NCURSES_EXPORT()
93 menu->rows = (short)total_rows; in NCURSES_EXPORT()
104 if (rows > 0) in NCURSES_EXPORT()
105 _nc_Default_Menu.frows = (short)rows; in NCURSES_EXPORT()
125 if (rows) in menu_format()
[all …]
H A Dm_scale.c54 scale_menu(const MENU * menu, int *rows, int *cols) in NCURSES_EXPORT()
58 (void *)rows, in NCURSES_EXPORT()
66 if (rows) in NCURSES_EXPORT()
67 *rows = menu->height; in NCURSES_EXPORT()
/freebsd-12.1/contrib/nvi/vi/
H A Dvs_split.c57 if (sp->rows < 4) { in vs_split()
75 half = sp->rows / 2; in vs_split()
102 new->rows = sp->rows - half; /* New. */ in vs_split()
254 new->rows = sp->rows; in vs_vsplit()
400 tsp->rows += sp->rows; in vs_discard()
483 if (tsp->roff + tsp->rows > sp->roff + sp->rows) in vs_join()
489 tlen -= tsp->rows; in vs_join()
518 if (tsp->roff + tsp->rows > sp->roff + sp->rows) in vs_join()
738 nsp->rows = sp->rows; /* XXX: Only place in vi that sets rows. */ in vs_swap()
885 s->rows += -count; in vs_resize()
[all …]
/freebsd-12.1/contrib/ncurses/form/
H A Dfrm_scale.c48 scale_form(const FORM *form, int *rows, int *cols) in NCURSES_EXPORT()
52 (void *)rows, in NCURSES_EXPORT()
61 if (rows) in NCURSES_EXPORT()
62 *rows = form->rows; in NCURSES_EXPORT()
H A Dfld_info.c51 int *rows, int *cols, in NCURSES_EXPORT()
57 (void *)rows, (void *)cols, in NCURSES_EXPORT()
64 if (rows) in NCURSES_EXPORT()
65 *rows = field->rows; in NCURSES_EXPORT()
H A Dfld_def.c277 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) in new_field() argument
285 T((T_CALLED("new_field(%d,%d,%d,%d,%d,%d)"), rows, cols, frow, fcol, nrow, nbuf)); in new_field()
286 if (rows > 0 && in new_field()
297 New_Field->rows = (short) rows; in new_field()
299 New_Field->drows = rows + nrow; in new_field()
/freebsd-12.1/sys/dev/sfxge/common/
H A Dsiena_sram.c89 size_t rows; in siena_sram_test() local
104 rows = SIENA_SRAM_ROWS - 1; in siena_sram_test()
105 EFX_POPULATE_OWORD_1(oword, FRF_AZ_SRM_RX_DC_BASE_ADR, rows); in siena_sram_test()
108 EFX_POPULATE_OWORD_1(oword, FRF_AZ_SRM_TX_DC_BASE_ADR, rows + 1); in siena_sram_test()
116 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { in siena_sram_test()
120 if ((wptr - rptr) < 64 && wptr < rows - 1) in siena_sram_test()
138 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { in siena_sram_test()
142 if ((wptr - rptr) < 64 && wptr < rows - 1) in siena_sram_test()
/freebsd-12.1/contrib/dialog/
H A Deditbox.c65 *rows = 0; in load_list()
120 for (n = 0; n < (*rows); ++n) { in free_list()
127 *rows = 0; in free_list()
219 } else if (target >= rows) { in scroll_to()
220 if (*this_row < rows - 1) { in scroll_to()
221 *this_row = rows - 1; in scroll_to()
222 *base_row = rows - 1; in scroll_to()
235 if (pagesize < rows) { in scroll_to()
312 int *rows, in dlg_editbox() argument
725 int rows; in dialog_editbox() local
[all …]
/freebsd-12.1/contrib/cortex-strings/scripts/
H A Dplot.py15 def unique(rows, name): argument
19 return sorted(set(getattr(x, name) for x in rows))
41 rows = [x.strip().split(':') for x in fileinput.input()]
43 rows = [[to_float(y) for y in x] for x in rows]
46 r = [Record(*(x + [0, 0, 0])) for x in rows]
52 for row in rows:
/freebsd-12.1/crypto/heimdal/lib/roken/
H A Drtbl.c49 struct column_entry *rows; member
109 free (c->rows[j].data); in rtbl_destroy()
110 free (c->rows); in rtbl_destroy()
144 col->rows = NULL; in rtbl_add_column_by_id()
170 tmp = realloc(table->columns[c]->rows, in rtbl_new_row()
171 max_rows * sizeof(table->columns[c]->rows)); in rtbl_new_row()
174 table->columns[c]->rows = tmp; in rtbl_new_row()
294 tmp = realloc (c->rows, (c->num_rows + 1) * sizeof (*tmp)); in add_column_entry()
299 c->rows = tmp; in add_column_entry()
300 c->rows[c->num_rows++] = row; in add_column_entry()
[all …]
/freebsd-12.1/sys/dev/syscons/
H A Dscvtb.c51 sc_vtb_init(sc_vtb_t *vtb, int type, int cols, int rows, void *buf, int wait) in sc_vtb_init() argument
56 vtb->vtb_rows = rows; in sc_vtb_init()
57 vtb->vtb_size = cols*rows; in sc_vtb_init()
64 if ((buf == NULL) && (cols*rows != 0)) { in sc_vtb_init()
66 (vm_offset_t)malloc(cols*rows*sizeof(u_int16_t), in sc_vtb_init()
71 cols*rows*sizeof(u_int16_t)); in sc_vtb_init()
116 sc_vtb_size(int cols, int rows) in sc_vtb_size() argument
118 return (size_t)(cols*rows*sizeof(u_int16_t)); in sc_vtb_size()
/freebsd-12.1/sys/dev/ath/ath_hal/ar5416/
H A Dar2133.c540 + AH5416(ah)->ah_ini_bank0.rows * sizeof(uint32_t) in ar2133RfAttach()
541 + AH5416(ah)->ah_ini_bank1.rows * sizeof(uint32_t) in ar2133RfAttach()
542 + AH5416(ah)->ah_ini_bank2.rows * sizeof(uint32_t) in ar2133RfAttach()
543 + AH5416(ah)->ah_ini_bank3.rows * sizeof(uint32_t) in ar2133RfAttach()
544 + AH5416(ah)->ah_ini_bank6.rows * sizeof(uint32_t) in ar2133RfAttach()
545 + AH5416(ah)->ah_ini_bank7.rows * sizeof(uint32_t) in ar2133RfAttach()
563 priv->Bank0Data = bankData, bankData += AH5416(ah)->ah_ini_bank0.rows; in ar2133RfAttach()
564 priv->Bank1Data = bankData, bankData += AH5416(ah)->ah_ini_bank1.rows; in ar2133RfAttach()
565 priv->Bank2Data = bankData, bankData += AH5416(ah)->ah_ini_bank2.rows; in ar2133RfAttach()
566 priv->Bank3Data = bankData, bankData += AH5416(ah)->ah_ini_bank3.rows; in ar2133RfAttach()
[all …]
/freebsd-12.1/crypto/openssl/crypto/bio/
H A Db_dump.c33 int i, j, rows, n; in BIO_dump_indent_cb() local
43 rows = len / dump_width; in BIO_dump_indent_cb()
44 if ((rows * dump_width) < len) in BIO_dump_indent_cb()
45 rows++; in BIO_dump_indent_cb()
46 for (i = 0; i < rows; i++) { in BIO_dump_indent_cb()
/freebsd-12.1/usr.sbin/bsdconfig/timezone/
H A Dtimezone89 local height width rows
90 eval f_dialog_menu_size height width rows \
109 $height $width $rows \
366 $height $width $rows \
424 $height $width $rows \
/freebsd-12.1/sys/dev/bktr/
H A Dbktr_core.c560 bktr->rows = 480; in common_bktr_attach()
1750 if (geo->rows <= 0) {
1756 else if (((geo->rows & 0x7fe) != geo->rows) ||
1758 ((geo->rows & 0x3fe) != geo->rows)) ) {
1826 bktr->rows = geo->rows;
3273 *dma_prog++ = t1 + (cols*rows) + (cols*rows/2) + i*cols/2 * interlace;
3317 *dma_prog++ = t1 + (cols*rows) + (cols*rows/2) + i*cols/2 * interlace;
3372 *dma_prog++ = t1 + (cols*rows) + (cols*rows/4) + i*cols/2 * interlace;
3517 (((fp->vactive * 256 + (bktr->rows/2)) / bktr->rows) - 512);
3520 (((fp->vactive * 512 + (bktr->rows / 2)) / bktr->rows) - 512);
[all …]
/freebsd-12.1/contrib/gcc/
H A Dmodulo-sched.c137 ps_insn_ptr *rows; member
2026 while (ps->rows[i]) in free_ps_insns()
2030 free (ps->rows[i]); in free_ps_insns()
2031 ps->rows[i] = ps_insn; in free_ps_insns()
2033 ps->rows[i] = NULL; in free_ps_insns()
2045 free (ps->rows); in free_partial_schedule()
2060 ps->rows = (ps_insn_ptr *) xrealloc (ps->rows, new_ii in reset_partial_schedule()
2122 if (ps->rows[row]) in remove_node_from_ps()
2260 if (ps->rows[row] in add_node_to_ps()
2264 if (ps->rows[row]) in add_node_to_ps()
[all …]
/freebsd-12.1/usr.sbin/bsdconfig/startup/
H A Dstartup61 local height width rows
62 eval f_dialog_menu_size height width rows \
81 $height $width $rows \
H A Drcadd67 local height width rows
68 eval f_dialog_menu_size height width rows \
83 $height $width $rows \
/freebsd-12.1/usr.sbin/bsdconfig/networking/
H A Dnetworking63 local height width rows
64 eval f_dialog_menu_size height width rows \
83 $height $width $rows \
/freebsd-12.1/usr.sbin/bsdconfig/mouse/
H A Dmouse63 local height width rows
64 eval f_dialog_menu_size height width rows \
83 $height $width $rows \
/freebsd-12.1/sys/cddl/boot/zfs/
H A Dzfssubr.c843 uint8_t **rows) in vdev_raidz_matrix_init() argument
866 rows[i][j] = vdev_raidz_pow2[pow]; in vdev_raidz_matrix_init()
907 invrows[i][j] = rows[i][jj]; in vdev_raidz_matrix_invert()
908 rows[i][jj] = 0; in vdev_raidz_matrix_invert()
918 ASSERT3U(rows[i][j], ==, 0); in vdev_raidz_matrix_invert()
929 rows[i][j] = vdev_raidz_exp2(rows[i][j], log); in vdev_raidz_matrix_invert()
942 rows[ii][j] ^= in vdev_raidz_matrix_invert()
957 ASSERT3U(rows[i][j], ==, 1); in vdev_raidz_matrix_invert()
959 ASSERT3U(rows[i][j], ==, 0); in vdev_raidz_matrix_invert()
1052 uint8_t *rows[VDEV_RAIDZ_MAXPARITY]; in vdev_raidz_reconstruct_general() local
[all …]
/freebsd-12.1/usr.sbin/bsdconfig/usermgmt/
H A Dusermgmt68 local height width rows
69 eval f_dialog_menu_size height width rows \
94 $height $width $rows \
/freebsd-12.1/usr.sbin/bsdconfig/console/
H A Dconsole64 local height width rows
65 eval f_dialog_menu_size height width rows \
84 $height $width $rows \
H A Drepeat62 local height width rows
63 eval f_dialog_menu_size height width rows \
86 $height $width $rows \
/freebsd-12.1/usr.sbin/bsdconfig/security/
H A Dkern_securelevel64 local height width rows
65 eval f_dialog_menu_size height width rows \
95 $height $width $rows \

123456789