| /freebsd-13.1/contrib/ncurses/menu/ |
| H A D | m_format.c | 60 set_menu_format(MENU * menu, int rows, int cols) in NCURSES_EXPORT() 66 if (rows < 0 || cols < 0) in NCURSES_EXPORT() 77 if (rows == 0) in NCURSES_EXPORT() 78 rows = menu->frows; in NCURSES_EXPORT() 85 menu->frows = (short)rows; in NCURSES_EXPORT() 88 assert(rows > 0 && cols > 0); in NCURSES_EXPORT() 94 menu->rows = (short)total_rows; in NCURSES_EXPORT() 105 if (rows > 0) in NCURSES_EXPORT() 106 _nc_Default_Menu.frows = (short)rows; in NCURSES_EXPORT() 126 if (rows) in menu_format() [all …]
|
| H A D | m_scale.c | 55 scale_menu(const MENU * menu, int *rows, int *cols) in NCURSES_EXPORT() 59 (void *)rows, in NCURSES_EXPORT() 67 if (rows) in NCURSES_EXPORT() 68 *rows = menu->height; in NCURSES_EXPORT()
|
| /freebsd-13.1/contrib/nvi/vi/ |
| H A D | vs_split.c | 53 if (sp->rows < 4) { in vs_split() 71 half = sp->rows / 2; in vs_split() 98 new->rows = sp->rows - half; /* New. */ in vs_split() 250 new->rows = sp->rows; in vs_vsplit() 396 tsp->rows += sp->rows; in vs_discard() 479 if (tsp->roff + tsp->rows > sp->roff + sp->rows) in vs_join() 485 tlen -= tsp->rows; in vs_join() 514 if (tsp->roff + tsp->rows > sp->roff + sp->rows) in vs_join() 734 nsp->rows = sp->rows; /* XXX: Only place in vi that sets rows. */ in vs_swap() 881 s->rows += -count; in vs_resize() [all …]
|
| /freebsd-13.1/contrib/ncurses/form/ |
| H A D | frm_scale.c | 49 scale_form(const FORM *form, int *rows, int *cols) in NCURSES_EXPORT() 53 (void *)rows, in NCURSES_EXPORT() 62 if (rows) in NCURSES_EXPORT() 63 *rows = form->rows; in NCURSES_EXPORT()
|
| H A D | fld_info.c | 52 int *rows, int *cols, in NCURSES_EXPORT() 58 (void *)rows, (void *)cols, in NCURSES_EXPORT() 65 if (rows) in NCURSES_EXPORT() 66 *rows = field->rows; in NCURSES_EXPORT()
|
| H A D | fld_def.c | 278 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) in new_field() argument 286 T((T_CALLED("new_field(%d,%d,%d,%d,%d,%d)"), rows, cols, frow, fcol, nrow, nbuf)); in new_field() 287 if (rows > 0 && in new_field() 298 New_Field->rows = (short)rows; in new_field() 300 New_Field->drows = rows + nrow; in new_field()
|
| /freebsd-13.1/tools/pkgbase/ |
| H A D | metalog_reader.lua | 214 function metalogrows_all_equal(rows, ignore_name, ignore_tags) 229 for _, v in ipairs(rows) do 230 local bol, offby = __eq(v, rows[1]) 277 local rows = files[filename] 281 if #rows > 1 and not metalogrows_all_equal(rows) then 284 local row = rows[1] 384 for filename, rows in sortedPairs(files) do 385 if #rows == 1 then goto continue end 386 local iseq, offby = metalogrows_all_equal(rows) 393 elseif not metalogrows_all_equal(rows, false, true) then [all …]
|
| /freebsd-13.1/sys/dev/sfxge/common/ |
| H A D | siena_sram.c | 89 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-13.1/contrib/dialog/ |
| H A D | editbox.c | 65 *rows = 0; in load_list() 128 for (n = 0; n < (*rows); ++n) { in free_list() 135 *rows = 0; in free_list() 227 } else if (target >= rows) { in scroll_to() 228 if (*this_row < rows - 1) { in scroll_to() 229 *this_row = rows - 1; in scroll_to() 230 *base_row = rows - 1; in scroll_to() 243 if (pagesize < rows) { in scroll_to() 320 int *rows, in dlg_editbox() argument 754 int rows; in dialog_editbox() local [all …]
|
| /freebsd-13.1/contrib/cortex-strings/scripts/ |
| H A D | plot.py | 15 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-13.1/crypto/heimdal/lib/roken/ |
| H A D | rtbl.c | 49 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-13.1/sys/dev/syscons/ |
| H A D | scvtb.c | 51 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() 114 sc_vtb_size(int cols, int rows) in sc_vtb_size() argument 116 return (size_t)(cols*rows*sizeof(u_int16_t)); in sc_vtb_size()
|
| /freebsd-13.1/crypto/openssl/crypto/bio/ |
| H A D | b_dump.c | 33 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-13.1/usr.sbin/bsdconfig/timezone/ |
| H A D | timezone | 89 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-13.1/sys/dev/ath/ath_hal/ar5416/ |
| H A D | ar2133.c | 540 + 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-13.1/usr.sbin/bsdconfig/startup/ |
| H A D | startup | 61 local height width rows 62 eval f_dialog_menu_size height width rows \ 81 $height $width $rows \
|
| H A D | rcadd | 67 local height width rows 68 eval f_dialog_menu_size height width rows \ 83 $height $width $rows \
|
| /freebsd-13.1/usr.sbin/bsdconfig/networking/ |
| H A D | networking | 63 local height width rows 64 eval f_dialog_menu_size height width rows \ 83 $height $width $rows \
|
| /freebsd-13.1/contrib/kyua/utils/sqlite/ |
| H A D | test_utils.hpp | 136 int rows, columns; in verify_test_table() local 138 "SELECT * FROM test ORDER BY prime", &result, &rows, &columns, NULL)); in verify_test_table() 139 ATF_REQUIRE_EQ(5, rows); in verify_test_table()
|
| /freebsd-13.1/usr.sbin/bsdconfig/mouse/ |
| H A D | mouse | 63 local height width rows 64 eval f_dialog_menu_size height width rows \ 83 $height $width $rows \
|
| H A D | port | 63 local height width rows 64 eval f_dialog_menu_size height width rows \ 88 $height $width $rows \
|
| /freebsd-13.1/usr.sbin/bsdconfig/usermgmt/ |
| H A D | usermgmt | 68 local height width rows 69 eval f_dialog_menu_size height width rows \ 94 $height $width $rows \
|
| /freebsd-13.1/usr.sbin/bsdconfig/console/ |
| H A D | console | 64 local height width rows 65 eval f_dialog_menu_size height width rows \ 84 $height $width $rows \
|
| H A D | repeat | 62 local height width rows 63 eval f_dialog_menu_size height width rows \ 86 $height $width $rows \
|
| /freebsd-13.1/usr.sbin/bsdconfig/security/ |
| H A D | kern_securelevel | 64 local height width rows 65 eval f_dialog_menu_size height width rows \ 95 $height $width $rows \
|