Home
last modified time | relevance | path

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

12345678910

/src/contrib/llvm-project/llvm/lib/Support/BLAKE3/
H A Dblake3_sse41.c83 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 Dblake3_sse2.c89 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 Dblake3_avx512.c116 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 …]
/src/contrib/ncurses/menu/
H A Dm_format.c60 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 Dm_scale.c55 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()
/src/contrib/bsddialog/lib/
H A Dbsddialog.h190 bsddialog_calendar(struct bsddialog_conf *conf, const char *text, int rows,
194 bsddialog_checklist(struct bsddialog_conf *conf, const char *text, int rows,
199 bsddialog_datebox(struct bsddialog_conf *conf, const char *text, int rows,
203 bsddialog_form(struct bsddialog_conf *conf, const char *text, int rows,
208 bsddialog_gauge(struct bsddialog_conf *conf, const char *text, int rows,
212 bsddialog_infobox(struct bsddialog_conf *conf, const char *text, int rows,
216 bsddialog_menu(struct bsddialog_conf *conf, const char *text, int rows,
221 bsddialog_mixedgauge(struct bsddialog_conf *conf, const char *text, int rows,
226 bsddialog_mixedlist(struct bsddialog_conf *conf, const char *text, int rows,
231 bsddialog_msgbox(struct bsddialog_conf *conf, const char *text, int rows,
[all …]
H A Dmessagebox.c58 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, in bsddialog_msgbox() argument
201 return (do_message(conf, text, rows, cols, OK_LABEL, NULL)); in bsddialog_msgbox()
205 bsddialog_yesno(struct bsddialog_conf *conf, const char *text, int rows, in bsddialog_yesno() argument
208 return (do_message(conf, text, rows, cols, "Yes", "No")); in bsddialog_yesno()
212 bsddialog_infobox(struct bsddialog_conf *conf, const char *text, int rows, in bsddialog_infobox() argument
218 if (prepare_dialog(conf, text, rows, cols, &d) != 0) in bsddialog_infobox()
H A Dlib_util.c679 text_size(struct bsddialog_conf *conf, int rows, int cols, const char *text, in text_size() argument
691 if (rows == BSDDIALOG_AUTOSIZE || rows == BSDDIALOG_FULLSCREEN) { in text_size()
694 maxhtext = rows - BORDERS - rowsnotext; in text_size()
800 set_widget_size(struct bsddialog_conf *conf, int rows, int cols, int *h, int *w) in set_widget_size() argument
807 if (rows == BSDDIALOG_FULLSCREEN) in set_widget_size()
809 else if (rows < BSDDIALOG_FULLSCREEN) in set_widget_size()
811 else if (rows > BSDDIALOG_AUTOSIZE) /* fixed rows */ in set_widget_size()
812 *h = MIN(rows, maxheight); /* rows is at most maxheight */ in set_widget_size()
830 set_widget_autosize(struct bsddialog_conf *conf, int rows, int cols, int *h, in set_widget_autosize() argument
836 if (rows == BSDDIALOG_AUTOSIZE || cols == BSDDIALOG_AUTOSIZE || in set_widget_autosize()
[all …]
H A Dbarbox.c118 bsddialog_gauge(struct bsddialog_conf *conf, const char *text, int rows, in bsddialog_gauge() argument
128 if (prepare_dialog(conf, text, rows, cols, &d) != 0) in bsddialog_gauge()
247 if (set_widget_size(d->conf, d->rows, d->cols, &d->h, &d->w) != 0) in mixedgauge_size_position()
249 if (set_widget_autosize(d->conf, d->rows, d->cols, &d->h, &d->w, in mixedgauge_size_position()
262 do_mixedgauge(struct bsddialog_conf *conf, const char *text, int rows, int cols, in do_mixedgauge() argument
278 if (prepare_dialog(conf, text, rows, cols, &d) != 0) in do_mixedgauge()
352 bsddialog_mixedgauge(struct bsddialog_conf *conf, const char *text, int rows, in bsddialog_mixedgauge() argument
358 retval = do_mixedgauge(conf, text, rows, cols, mainperc, nminibars, in bsddialog_mixedgauge()
365 bsddialog_progressview (struct bsddialog_conf *conf, const char *text, int rows, in bsddialog_progressview() argument
402 retval = do_mixedgauge(conf, text, rows, cols, mainperc, in bsddialog_progressview()
[all …]
/src/contrib/nvi/vi/
H A Dvs_split.c53 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 …]
/src/tools/pkgbase/
H A Dmetalog_reader.lua219 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 …]
/src/contrib/ncurses/form/
H A Dfrm_scale.c49 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 Dfld_info.c52 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 Dfld_def.c276 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()
/src/sys/dev/sfxge/common/
H A Dsiena_sram.c87 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()
/src/contrib/dialog/
H A Deditbox.c56 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 …]
/src/contrib/bsddialog/utility/
H A Dutil_builders.c49 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, cols, &yy, &mm, &dd); in date()
[all …]
/src/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()
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 …]
/src/sys/dev/syscons/
H A Dscvtb.c49 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()
/src/crypto/openssl/crypto/bio/
H A Dbio_dump.c34 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()
/src/sys/dev/ath/ath_hal/ar5416/
H A Dar2133.c538 + 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 …]
/src/usr.sbin/bsdconfig/timezone/
H A Dtimezone88 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 \
/src/usr.sbin/bsdconfig/startup/
H A Dstartup60 local height width rows
61 eval f_dialog_menu_size height width rows \
80 $height $width $rows \
H A Drcadd66 local height width rows
67 eval f_dialog_menu_size height width rows \
82 $height $width $rows \
/src/usr.sbin/bsdconfig/networking/
H A Dnetworking62 local height width rows
63 eval f_dialog_menu_size height width rows \
82 $height $width $rows \

12345678910