/freebsd/contrib/llvm-project/llvm/lib/Support/BLAKE3/ |
H A D | blake3_sse41.c | 83 INLINE void compress_pre(__m128i rows[4], const uint32_t cv[8], in compress_pre() 86 rows[0] = loadu((uint8_t *)&cv[0]); in compress_pre() 87 rows[1] = loadu((uint8_t *)&cv[4]); in compress_pre() 88 rows[2] = set4(IV[0], IV[1], IV[2], IV[3]); in compress_pre() 89 rows[3] = set4(counter_low(counter), counter_high(counter), in compress_pre() 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() 105 diagonalize(&rows[0], &rows[2], &rows[3]); 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() [all …]
|
H A D | blake3_sse2.c | 89 INLINE void compress_pre(__m128i rows[4], const uint32_t cv[8], in compress_pre() 92 rows[0] = loadu((uint8_t *)&cv[0]); in compress_pre() 93 rows[1] = loadu((uint8_t *)&cv[4]); in compress_pre() 94 rows[2] = set4(IV[0], IV[1], IV[2], IV[3]); in compress_pre() 95 rows[3] = set4(counter_low(counter), counter_high(counter), in compress_pre() 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() 111 diagonalize(&rows[0], &rows[2], &rows[3]); 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() [all …]
|
H A D | blake3_avx512.c | 116 INLINE void compress_pre(__m128i rows[4], const uint32_t cv[8], in compress_pre() 119 rows[0] = loadu_128((uint8_t *)&cv[0]); in compress_pre() 120 rows[1] = loadu_128((uint8_t *)&cv[4]); in compress_pre() 121 rows[2] = set4(IV[0], IV[1], IV[2], IV[3]); in compress_pre() 122 rows[3] = set4(counter_low(counter), counter_high(counter), in compress_pre() 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() 138 diagonalize(&rows[0], &rows[2], &rows[3]); 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() [all …]
|
/freebsd/contrib/ncurses/menu/ |
H A D | m_format.c | 60 set_menu_format(MENU *menu, int rows, int cols) in MENU_EXPORT() 63 T((T_CALLED("set_menu_format(%p,%d,%d)"), (void *)menu, rows, 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() 97 menu->arows = (short)minimum(total_rows, rows); in MENU_EXPORT() 106 if (rows > 0) in MENU_EXPORT() [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/contrib/bsddialog/lib/ |
H A D | bsddialog.h | 189 bsddialog_calendar(struct bsddialog_conf *conf, const char *text, int rows, 193 bsddialog_checklist(struct bsddialog_conf *conf, const char *text, int rows, 198 bsddialog_datebox(struct bsddialog_conf *conf, const char *text, int rows, 202 bsddialog_form(struct bsddialog_conf *conf, const char *text, int rows, 207 bsddialog_gauge(struct bsddialog_conf *conf, const char *text, int rows, 211 bsddialog_infobox(struct bsddialog_conf *conf, const char *text, int rows, 215 bsddialog_menu(struct bsddialog_conf *conf, const char *text, int rows, 220 bsddialog_mixedgauge(struct bsddialog_conf *conf, const char *text, int rows, 225 bsddialog_mixedlist(struct bsddialog_conf *conf, const char *text, int rows, 230 bsddialog_msgbox(struct bsddialog_conf *conf, const char *text, int rows, [all...] |
H A D | messagebox.c | 58 if (set_widget_size(d->conf, d->rows, d->cols, &d->h, &d->w) != 0) in message_size_position() 60 if (set_widget_autosize(d->conf, d->rows, d->cols, &d->h, &d->w, in message_size_position() 96 do_message(struct bsddialog_conf *conf, const char *text, int rows, int cols, in do_message() argument 105 if (prepare_dialog(conf, text, rows, cols, &d) != 0) in do_message() 198 bsddialog_msgbox(struct bsddialog_conf *conf, const char *text, int rows, 201 return (do_message(conf, text, rows, cols, OK_LABEL, NULL)); in bsddialog_yesno() 205 bsddialog_yesno(struct bsddialog_conf *conf, const char *text, int rows, 208 return (do_message(conf, text, rows, cols, "Yes", "No")); in bsddialog_infobox() 212 bsddialog_infobox(struct bsddialog_conf *conf, const char *text, int rows, in bsddialog_infobox() 218 if (prepare_dialog(conf, text, rows, col in bsddialog_infobox() 193 bsddialog_msgbox(struct bsddialog_conf * conf,const char * text,int rows,int cols) bsddialog_msgbox() argument 200 bsddialog_yesno(struct bsddialog_conf * conf,const char * text,int rows,int cols) bsddialog_yesno() argument 207 bsddialog_infobox(struct bsddialog_conf * conf,const char * text,int rows,int cols) bsddialog_infobox() argument [all...] |
H A D | lib_util.c | 678 text_size(struct bsddialog_conf *conf, int rows, int cols, const char *text, in text_size() argument 690 if (rows == BSDDIALOG_AUTOSIZE || rows == BSDDIALOG_FULLSCREEN) { in text_size() 693 maxhtext = rows - BORDERS - rowsnotext; in text_size() 799 set_widget_size(struct bsddialog_conf *conf, int rows, int cols, int *h, int *w) in set_widget_size() argument 806 if (rows == BSDDIALOG_FULLSCREEN) in set_widget_size() 808 else if (rows < BSDDIALOG_FULLSCREEN) in set_widget_size() 810 else if (rows > BSDDIALOG_AUTOSIZE) /* fixed rows */ in set_widget_size() 811 *h = MIN(rows, maxheigh in set_widget_size() 829 set_widget_autosize(struct bsddialog_conf * conf,int rows,int cols,int * h,int * w,const char * text,int * rowstext,struct buttons * bs,int hnotext,int minw) set_widget_autosize() argument 1126 print_string(WINDOW * win,int * rows,int cols,int * y,int * x,wchar_t * str,bool color) print_string() argument 1183 int i, j, z, rows, cols, x, y, tablen; print_textpad() local 1327 prepare_dialog(struct bsddialog_conf * conf,const char * text,int rows,int cols,struct dialog * d) prepare_dialog() argument [all...] |
/freebsd/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() 100 sp->rows = half; /* Old. */ in vs_split() 101 sp->roff += new->rows; in vs_split() 107 memcpy(_HMAP(sp), _HMAP(sp) + new->rows, in vs_split() 108 (sp->t_maxrows - new->rows) * sizeof(SMAP)); in vs_split() 110 new->rows = half; /* New. */ in vs_split() 111 sp->rows -= half; /* Old. */ in vs_split() 112 new->roff = sp->roff + sp->rows; in vs_split() [all …]
|
/freebsd/tools/pkgbase/ |
H A D | metalog_reader.lua | 219 function metalogrows_all_equal(rows, ignore_name, ignore_tags) 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 .. [all …]
|
/freebsd/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()
|
H A D | fld_def.c | 276 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) in new_field() argument 284 T((T_CALLED("new_field(%d,%d,%d,%d,%d,%d)"), rows, cols, frow, fcol, nrow, nbuf)); in new_field() 285 if (rows > 0 && in new_field() 296 New_Field->rows = (short)rows; in new_field() 298 New_Field->drows = rows + nrow; in new_field()
|
/freebsd/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/contrib/dialog/ |
H A D | editbox.c | 56 load_list(const char *file, char ***list, int *rows) in load_list() argument 63 *rows = 0; in load_list() 118 grow_list(list, rows, (int) need + 1); in load_list() 126 free_list(char ***list, int *rows) in free_list() argument 130 for (n = 0; n < (*rows); ++n) { in free_list() 137 *rows = 0; in free_list() 211 scroll_to(int pagesize, int rows, int *base_row, int *this_row, int target) in scroll_to() argument 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() [all …]
|
/freebsd/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/contrib/bsddialog/utility/ |
H A D | util_builders.c | 49 return (bsddialog_infobox(conf, text, rows, cols)); in infobox_builder() 57 return (bsddialog_msgbox(conf, text, rows, cols)); in msgbox_builder() 65 return (bsddialog_yesno(conf, text, rows, cols)); in yesno_builder() 74 return (bsddialog_textbox(conf, text, rows, cols)); in textbox_builder() 91 output = bsddialog_gauge(conf, text, rows, cols, perc, STDIN_FILENO, in gauge_builder() 125 output = bsddialog_mixedgauge(conf, text, rows, cols, mainperc, in mixedgauge_builder() 142 output = bsddialog_pause(conf, text, rows, cols, &secs); in pause_builder() 166 output = bsddialog_rangebox(conf, text, rows, cols, min, max, &value); in rangebox_builder() 198 rv = bsddialog_datebox(conf, text, rows, cols, &yy, &mm, &dd); in date() 200 rv = bsddialog_calendar(conf, text, rows, col in date() [all...] |
/freebsd/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() 193 column->width = max (column->width, (int) strlen (column->rows[i].data)); in column_compute_width() 294 tmp = realloc (c->rows, (c->num_rows + 1) * sizeof (*tmp)); in add_column_entry() 299 c->rows = tmp; in add_column_entry() [all …]
|
/freebsd/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/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/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar2133.c | 538 + AH5416(ah)->ah_ini_bank0.rows * sizeof(uint32_t) in ar2133RfAttach() 539 + AH5416(ah)->ah_ini_bank1.rows * sizeof(uint32_t) in ar2133RfAttach() 540 + AH5416(ah)->ah_ini_bank2.rows * sizeof(uint32_t) in ar2133RfAttach() 541 + AH5416(ah)->ah_ini_bank3.rows * sizeof(uint32_t) in ar2133RfAttach() 542 + AH5416(ah)->ah_ini_bank6.rows * sizeof(uint32_t) in ar2133RfAttach() 543 + AH5416(ah)->ah_ini_bank7.rows * sizeof(uint32_t) in ar2133RfAttach() 561 priv->Bank0Data = bankData, bankData += AH5416(ah)->ah_ini_bank0.rows; in ar2133RfAttach() 562 priv->Bank1Data = bankData, bankData += AH5416(ah)->ah_ini_bank1.rows; in ar2133RfAttach() 563 priv->Bank2Data = bankData, bankData += AH5416(ah)->ah_ini_bank2.rows; in ar2133RfAttach() 564 priv->Bank3Data = bankData, bankData += AH5416(ah)->ah_ini_bank3.rows; in ar2133RfAttach() [all …]
|
/freebsd/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/usr.sbin/bsdconfig/startup/ |
H A D | startup | 60 local height width rows 61 eval f_dialog_menu_size height width rows \ 80 $height $width $rows \
|
/freebsd/usr.sbin/bsdconfig/networking/ |
H A D | networking | 62 local height width rows 63 eval f_dialog_menu_size height width rows \ 82 $height $width $rows \
|
/freebsd/usr.sbin/bsdconfig/mouse/ |
H A D | mouse | 62 local height width rows 63 eval f_dialog_menu_size height width rows \ 82 $height $width $rows \
|