| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/BLAKE3/ |
| H A D | blake3_sse41.c | 102 g1(&rows[0], &rows[1], &rows[2], &rows[3], t0); in compress_pre() 104 g2(&rows[0], &rows[1], &rows[2], &rows[3], t1); in compress_pre() 108 g1(&rows[0], &rows[1], &rows[2], &rows[3], t2); in compress_pre() 111 g2(&rows[0], &rows[1], &rows[2], &rows[3], t3); in compress_pre() 122 g1(&rows[0], &rows[1], &rows[2], &rows[3], t0); in compress_pre() 126 g2(&rows[0], &rows[1], &rows[2], &rows[3], t1); in compress_pre() 131 g1(&rows[0], &rows[1], &rows[2], &rows[3], t2); in compress_pre() 135 g2(&rows[0], &rows[1], &rows[2], &rows[3], t3); in compress_pre() 145 g1(&rows[0], &rows[1], &rows[2], &rows[3], t0); in compress_pre() 149 g2(&rows[0], &rows[1], &rows[2], &rows[3], t1); in compress_pre() [all …]
|
| H A D | blake3_sse2.c | 108 g1(&rows[0], &rows[1], &rows[2], &rows[3], t0); in compress_pre() 110 g2(&rows[0], &rows[1], &rows[2], &rows[3], t1); in compress_pre() 114 g1(&rows[0], &rows[1], &rows[2], &rows[3], t2); in compress_pre() 117 g2(&rows[0], &rows[1], &rows[2], &rows[3], t3); in compress_pre() 128 g1(&rows[0], &rows[1], &rows[2], &rows[3], t0); in compress_pre() 132 g2(&rows[0], &rows[1], &rows[2], &rows[3], t1); in compress_pre() 137 g1(&rows[0], &rows[1], &rows[2], &rows[3], t2); in compress_pre() 141 g2(&rows[0], &rows[1], &rows[2], &rows[3], t3); in compress_pre() 151 g1(&rows[0], &rows[1], &rows[2], &rows[3], t0); in compress_pre() 155 g2(&rows[0], &rows[1], &rows[2], &rows[3], t1); in compress_pre() [all …]
|
| H A D | blake3_avx512.c | 135 g1(&rows[0], &rows[1], &rows[2], &rows[3], t0); in compress_pre() 137 g2(&rows[0], &rows[1], &rows[2], &rows[3], t1); in compress_pre() 141 g1(&rows[0], &rows[1], &rows[2], &rows[3], t2); in compress_pre() 144 g2(&rows[0], &rows[1], &rows[2], &rows[3], t3); in compress_pre() 155 g1(&rows[0], &rows[1], &rows[2], &rows[3], t0); in compress_pre() 159 g2(&rows[0], &rows[1], &rows[2], &rows[3], t1); in compress_pre() 164 g1(&rows[0], &rows[1], &rows[2], &rows[3], t2); in compress_pre() 168 g2(&rows[0], &rows[1], &rows[2], &rows[3], t3); in compress_pre() 178 g1(&rows[0], &rows[1], &rows[2], &rows[3], t0); in compress_pre() 182 g2(&rows[0], &rows[1], &rows[2], &rows[3], t1); in compress_pre() [all …]
|
| /freebsd-14.2/contrib/ncurses/menu/ |
| H A D | m_format.c | 60 set_menu_format(MENU *menu, int rows, int cols) in MENU_EXPORT() 65 if (rows < 0 || cols < 0) in MENU_EXPORT() 78 if (rows == 0) in MENU_EXPORT() 79 rows = menu->frows; in MENU_EXPORT() 86 menu->frows = (short)rows; in MENU_EXPORT() 89 assert(rows > 0 && cols > 0); in MENU_EXPORT() 95 menu->rows = (short)total_rows; in MENU_EXPORT() 106 if (rows > 0) in MENU_EXPORT() 107 _nc_Default_Menu.frows = (short)rows; in MENU_EXPORT() 127 if (rows) in menu_format() [all …]
|
| H A D | m_scale.c | 55 scale_menu(const MENU *menu, int *rows, int *cols) in MENU_EXPORT() 59 (void *)rows, in MENU_EXPORT() 67 if (rows) in MENU_EXPORT() 68 *rows = menu->height; in MENU_EXPORT()
|
| /freebsd-14.2/contrib/bsddialog/lib/ |
| H A D | bsddialog.h | 177 bsddialog_calendar(struct bsddialog_conf *conf, const char *text, int rows, 186 bsddialog_datebox(struct bsddialog_conf *conf, const char *text, int rows, 190 bsddialog_form(struct bsddialog_conf *conf, const char *text, int rows, 195 bsddialog_gauge(struct bsddialog_conf *conf, const char *text, int rows, 199 bsddialog_infobox(struct bsddialog_conf *conf, const char *text, int rows, 203 bsddialog_menu(struct bsddialog_conf *conf, const char *text, int rows, 218 bsddialog_msgbox(struct bsddialog_conf *conf, const char *text, int rows, 222 bsddialog_pause(struct bsddialog_conf *conf, const char *text, int rows, 235 bsddialog_textbox(struct bsddialog_conf *conf, const char *file, int rows, 239 bsddialog_timebox(struct bsddialog_conf *conf, const char *text, int rows, [all …]
|
| H A D | infobox.c | 36 infobox_autosize(struct bsddialog_conf *conf, int rows, int cols, int *h, in infobox_autosize() argument 41 if (cols == BSDDIALOG_AUTOSIZE || rows == BSDDIALOG_AUTOSIZE) { in infobox_autosize() 42 if (text_size(conf, rows, cols, text, NULL, 0, 1, &htext, in infobox_autosize() 50 if (rows == BSDDIALOG_AUTOSIZE) in infobox_autosize() 56 static int infobox_checksize(int rows, int cols) in infobox_checksize() argument 61 if (rows < VBORDERS) in infobox_checksize() 69 bsddialog_infobox(struct bsddialog_conf *conf, const char *text, int rows, in bsddialog_infobox() argument 75 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_infobox() 77 if (infobox_autosize(conf, rows, cols, &h, &w, text) != 0) in bsddialog_infobox()
|
| H A D | messagebox.c | 43 if (cols == BSDDIALOG_AUTOSIZE || rows == BSDDIALOG_AUTOSIZE || in message_autosize() 45 if (text_size(conf, rows, cols, text, &bs, 0, 1, &htext, in message_autosize() 55 if (rows == BSDDIALOG_AUTOSIZE) in message_autosize() 62 message_checksize(int rows, int cols, bool hastext, struct buttons bs) in message_checksize() argument 73 if (rows < HBORDERS + 2 /* buttons */) in message_checksize() 75 if (hastext && rows < HBORDERS + 2 /*buttons*/ + 1 /* text row */) in message_checksize() 110 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in do_message() 200 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in do_message() 202 if (message_autosize(conf, rows, cols, &h, &w, text, in do_message() 244 return (do_message(conf, text, rows, cols, bs)); in bsddialog_msgbox() [all …]
|
| H A D | barbox.c | 99 if (rows == BSDDIALOG_AUTOSIZE) in bar_autosize() 106 bar_checksize(int rows, int cols, struct buttons *bs) in bar_checksize() argument 123 if (rows < minheight) in bar_checksize() 139 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_gauge() 248 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in do_mixedgauge() 259 if (rows == BSDDIALOG_AUTOSIZE) in do_mixedgauge() 452 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_rangebox() 564 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_rangebox() 566 if (bar_autosize(conf, rows, cols, &h, &w, text, in bsddialog_rangebox() 619 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_pause() [all …]
|
| H A D | textbox.c | 81 textbox_autosize(struct bsddialog_conf *conf, int rows, int cols, int *h, in textbox_autosize() argument 87 if (rows == BSDDIALOG_AUTOSIZE) in textbox_autosize() 92 textbox_checksize(int rows, int cols, int hpad, struct buttons bs) in textbox_checksize() argument 102 if (rows < 4 /* HBORDERS + button*/ + (hpad > 0 ? 1 : 0)) in textbox_checksize() 110 bsddialog_textbox(struct bsddialog_conf *conf, const char* file, int rows, in bsddialog_textbox() argument 157 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_textbox() 159 textbox_autosize(conf, rows, cols, &h, &w, hpad, wpad, padmargin, bs); in bsddialog_textbox() 246 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_textbox() 248 textbox_autosize(conf, rows, cols, &h, &w, hpad, wpad, in bsddialog_textbox()
|
| H A D | lib_util.c | 234 int i, x, startx, y, rows, cols; in draw_buttons() local 237 getmaxyx(window, rows, cols); in draw_buttons() 238 y = rows - 2; in draw_buttons() 448 if (*y >= *rows) { in print_string() 449 *rows = *y + 1; in print_string() 450 wresize(win, *rows, cols); in print_string() 487 getmaxyx(pad, rows, cols); in print_textpad() 529 if (y >= rows) { in print_textpad() 530 rows = y + 1; in print_textpad() 531 wresize(pad, rows, cols); in print_textpad() [all …]
|
| H A D | timebox.c | 77 if (cols == BSDDIALOG_AUTOSIZE || rows == BSDDIALOG_AUTOSIZE) { in datetime_autosize() 78 if (text_size(conf, rows, cols, text, &bs, 3, minw, &htext, in datetime_autosize() 86 if (rows == BSDDIALOG_AUTOSIZE) in datetime_autosize() 104 if (rows < 7) /* 2 button + 2 borders + 3 windows */ in datetime_checksize() 141 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_timebox() 143 if (datetime_autosize(conf, rows, cols, &h, &w, MINWTIME, text, in bsddialog_timebox() 255 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_timebox() 257 if (datetime_autosize(conf, rows, cols, &h, &w, in bsddialog_timebox() 358 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_datebox() 490 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_datebox() [all …]
|
| H A D | calendarbox.c | 250 calendar_autosize(struct bsddialog_conf *conf, int rows, int cols, int *h, in calendar_autosize() argument 255 if (cols == BSDDIALOG_AUTOSIZE || rows == BSDDIALOG_AUTOSIZE) { in calendar_autosize() 256 if (text_size(conf, rows, cols, text, &bs, MINHCAL, MINWCAL, in calendar_autosize() 264 if (rows == BSDDIALOG_AUTOSIZE) in calendar_autosize() 270 static int calendar_checksize(int rows, int cols, struct buttons bs) in calendar_checksize() argument 280 if (rows < MINHCAL + 2 + 2) /* 2 buttons + 2 borders */ in calendar_checksize() 287 bsddialog_calendar(struct bsddialog_conf *conf, const char *text, int rows, in bsddialog_calendar() argument 315 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_calendar() 317 if (calendar_autosize(conf, rows, cols, &h, &w, text, bs) != 0) in bsddialog_calendar() 472 if (set_widget_size(conf, rows, cols, &h, &w) != 0) in bsddialog_calendar() [all …]
|
| /freebsd-14.2/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-14.2/tools/pkgbase/ |
| H A D | metalog_reader.lua | 234 for _, v in ipairs(rows) do 235 local bol, offby = __eq(v, rows[1]) 283 local rows = files[filename] 287 if #rows > 1 and not metalogrows_all_equal(rows) then 290 local row = rows[1] 390 for filename, rows in sortedPairs(files) do 391 if #rows == 1 then goto continue end 392 local iseq, offby = metalogrows_all_equal(rows) 395 rows[1].attrs.type .. 398 if rows[1].attrs.type == "dir" then [all …]
|
| /freebsd-14.2/contrib/ncurses/form/ |
| H A D | frm_scale.c | 49 scale_form(const FORM *form, int *rows, int *cols) in FORM_EXPORT() 53 (void *)rows, in FORM_EXPORT() 62 if (rows) in FORM_EXPORT() 63 *rows = form->rows; in FORM_EXPORT()
|
| H A D | fld_info.c | 52 int *rows, int *cols, in FORM_EXPORT() 58 (void *)rows, (void *)cols, in FORM_EXPORT() 65 if (rows) in FORM_EXPORT() 66 *rows = field->rows; in FORM_EXPORT()
|
| /freebsd-14.2/sys/dev/sfxge/common/ |
| H A D | siena_sram.c | 87 size_t rows; in siena_sram_test() local 102 rows = SIENA_SRAM_ROWS - 1; in siena_sram_test() 103 EFX_POPULATE_OWORD_1(oword, FRF_AZ_SRM_RX_DC_BASE_ADR, rows); in siena_sram_test() 106 EFX_POPULATE_OWORD_1(oword, FRF_AZ_SRM_TX_DC_BASE_ADR, rows + 1); in siena_sram_test() 114 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { in siena_sram_test() 118 if ((wptr - rptr) < 64 && wptr < rows - 1) in siena_sram_test() 136 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { in siena_sram_test() 140 if ((wptr - rptr) < 64 && wptr < rows - 1) in siena_sram_test()
|
| /freebsd-14.2/contrib/dialog/ |
| H A D | editbox.c | 63 *rows = 0; in load_list() 130 for (n = 0; n < (*rows); ++n) { in free_list() 137 *rows = 0; in free_list() 229 } else if (target >= rows) { in scroll_to() 230 if (*this_row < rows - 1) { in scroll_to() 231 *this_row = rows - 1; in scroll_to() 232 *base_row = rows - 1; in scroll_to() 245 if (pagesize < rows) { in scroll_to() 324 int *rows, in dlg_editbox() argument 765 int rows; in dialog_editbox() local [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/sys/dev/syscons/ |
| H A D | scvtb.c | 49 sc_vtb_init(sc_vtb_t *vtb, int type, int cols, int rows, void *buf, int wait) in sc_vtb_init() argument 54 vtb->vtb_rows = rows; in sc_vtb_init() 55 vtb->vtb_size = cols*rows; in sc_vtb_init() 62 if ((buf == NULL) && (cols*rows != 0)) { in sc_vtb_init() 64 (vm_offset_t)malloc(cols*rows*sizeof(u_int16_t), in sc_vtb_init() 69 cols*rows*sizeof(u_int16_t)); in sc_vtb_init() 112 sc_vtb_size(int cols, int rows) in sc_vtb_size() argument 114 return (size_t)(cols*rows*sizeof(u_int16_t)); in sc_vtb_size()
|
| /freebsd-14.2/crypto/openssl/crypto/bio/ |
| H A D | bio_dump.c | 34 int i, j, rows, n; in BIO_dump_indent_cb() local 44 rows = len / dump_width; in BIO_dump_indent_cb() 45 if ((rows * dump_width) < len) in BIO_dump_indent_cb() 46 rows++; in BIO_dump_indent_cb() 47 for (i = 0; i < rows; i++) { in BIO_dump_indent_cb()
|
| /freebsd-14.2/usr.sbin/bsdconfig/timezone/ |
| H A D | timezone | 88 local height width rows 89 eval f_dialog_menu_size height width rows \ 108 $height $width $rows \ 365 $height $width $rows \ 423 $height $width $rows \
|
| /freebsd-14.2/contrib/bsddialog/ |
| H A D | bsddialog.c | 836 int i, rows, cols, retval, parsed, nargc, firstoptind; in main() local 886 rows = (int)strtol(argv[1], NULL, 10); in main() 1041 return (bsddialog_infobox(conf, text, rows, cols)); in infobox_builder() 1080 return (bsddialog_msgbox(conf, text, rows, cols)); in msgbox_builder() 1094 output = bsddialog_pause(conf, text, rows, cols, secs); in pause_builder() 1129 return (bsddialog_textbox(conf, text, rows, cols)); in textbox_builder() 1137 return (bsddialog_yesno(conf, text, rows, cols)); in yesno_builder() 1194 if (rows == 2) { in calendar_builder() 1205 rows = 0; in calendar_builder() 1208 return (date(conf, text, rows, cols, argc, argv, false)); in calendar_builder() [all …]
|