Home
last modified time | relevance | path

Searched refs:ncols (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/contrib/openzfs/cmd/raidz_test/
H A Draidz_bench.c72 int fn, ncols; in run_gen_bench_impl() local
82 ncols = rto_opts.rto_dcols + fn + 1; in run_gen_bench_impl()
88 rto_opts.rto_ashift, ncols+1, ncols, in run_gen_bench_impl()
93 BENCH_ASHIFT, ncols, fn+1); in run_gen_bench_impl()
115 d_bw * (double)(ncols), in run_gen_bench_impl()
144 int fn, ncols, nbad; in run_rec_bench_impl() local
162 ncols = rto_opts.rto_dcols + PARITY_PQR; in run_rec_bench_impl()
176 BENCH_ASHIFT, ncols+1, ncols, in run_rec_bench_impl()
181 BENCH_ASHIFT, ncols, PARITY_PQR); in run_rec_bench_impl()
207 d_bw * (double)ncols, in run_rec_bench_impl()
/freebsd/usr.sbin/bsdconfig/
H A Dbsdconfig132 local x=$longest_cmd ncols=1
136 ncols=$(( $ncols + 1 ))
139 f_dprintf "ncols=[%u] x=[%u]" $ncols $x
145 awk -v ncols=$ncols -v size=$longest_cmd '
163 cur_col = (( n - 1 ) % ncols ) + 1
167 if ( cur_col == ncols ) print_row()
170 if ( cur_col < ncols ) print_row()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math_impl.h48 const unsigned ncols = rr->rr_cols; in raidz_rec_q_coeff() local
51 coeff[MUL_Q_X] = gf_exp2(255 - (ncols - x - 1)); in raidz_rec_q_coeff()
57 const unsigned ncols = rr->rr_cols; in raidz_rec_r_coeff() local
60 coeff[MUL_R_X] = gf_exp4(255 - (ncols - x - 1)); in raidz_rec_r_coeff()
66 const unsigned ncols = rr->rr_cols; in raidz_rec_pq_coeff() local
72 b = gf_exp2(255 - (ncols - x - 1)); in raidz_rec_pq_coeff()
82 const unsigned ncols = rr->rr_cols; in raidz_rec_pr_coeff() local
89 b = gf_exp4(255 - (ncols - x - 1)); in raidz_rec_pr_coeff()
99 const unsigned ncols = rr->rr_cols; in raidz_rec_qr_coeff() local
105 nx = gf_exp2(ncols - x - 1); in raidz_rec_qr_coeff()
[all …]
H A Dvdev_draid.c561 uint64_t ncols = vdc->vdc_children; in vdev_draid_get_perm() local
562 uint64_t poff = pindex % (vdc->vdc_nperms * ncols); in vdev_draid_get_perm()
564 *base = vdc->vdc_perms + (poff / ncols) * ncols; in vdev_draid_get_perm()
565 *iter = poff % ncols; in vdev_draid_get_perm()
/freebsd/sys/teken/
H A Dteken_subr.h242 teken_subr_cursor_backward(teken_t *t, unsigned int ncols) in teken_subr_cursor_backward() argument
245 if (ncols > t->t_cursor.tp_col) in teken_subr_cursor_backward()
248 t->t_cursor.tp_col -= ncols; in teken_subr_cursor_backward()
285 teken_subr_cursor_forward(teken_t *t, unsigned int ncols) in teken_subr_cursor_forward() argument
288 if (t->t_cursor.tp_col + ncols >= t->t_winsize.tp_col) in teken_subr_cursor_forward()
291 t->t_cursor.tp_col += ncols; in teken_subr_cursor_forward()
316 teken_subr_cursor_next_line(teken_t *t, unsigned int ncols) in teken_subr_cursor_next_line() argument
320 teken_subr_cursor_down(t, ncols); in teken_subr_cursor_next_line()
353 teken_subr_cursor_previous_line(teken_t *t, unsigned int ncols) in teken_subr_cursor_previous_line() argument
357 teken_subr_cursor_up(t, ncols); in teken_subr_cursor_previous_line()
[all …]
/freebsd/sys/dev/fb/
H A Dsplash_bmp.c222 int ncols; /* number of colours */ member
523 bmp_info.ncols = (bmf->bmfi.bmiHeader.biClrUsed); in bmp_Init()
525 if (bmp_info.ncols == 0) { /* uses all of them */ in bmp_Init()
526 bmp_info.ncols = 1 << bmf->bmfi.bmiHeader.biBitCount; in bmp_Init()
530 (bmp_info.ncols > (1 << sdepth))) { in bmp_Init()
533 bmp_info.width, bmp_info.height, bmp_info.ncols); in bmp_Init()
538 for (pind = 0; pind < bmp_info.ncols; pind++) { in bmp_Init()
/freebsd/usr.bin/who/
H A Dwho.c243 int col, ncols, num; in quick() local
245 ncols = ttywidth(); in quick()
251 if (++col < ncols / (16 + 1)) in quick()
/freebsd/cddl/usr.sbin/dwatch/
H A Ddwatch484 local x=$longest_profile_name ncols=1
488 ncols=$(( $ncols + 1 ))
505 -v ncols=$ncols \
/freebsd/contrib/mandoc/
H A Dmdoc.h124 size_t ncols; /* -column arg count */ member
H A Dmdoc_term.c626 size_t ncols, dcol; in termp_it_pre() local
692 ncols = bl->norm->Bl.ncols; in termp_it_pre()
693 dcol = ncols < 5 ? term_len(p, 4) : in termp_it_pre()
694 ncols == 5 ? term_len(p, 3) : term_len(p, 1); in termp_it_pre()
702 nn->prev && i < (int)ncols; in termp_it_pre()
716 if (i >= (int)ncols) in termp_it_pre()
H A Dmdoc_validate.c756 n->norm->Bl.ncols = argv->sz; in post_bl_norm()
1751 cols = (int)nbl->norm->Bl.ncols; in post_it()
1940 nh->norm->Bl.ncols = argv->sz; in post_bl_head()
H A Dmdoc_markdown.c1318 nc = bln->norm->Bl.ncols; in md_post_It()
H A Dmdoc_man.c1099 for (icol = 0; icol < n->norm->Bl.ncols; icol++) in pre_bl()
/freebsd/lib/libdpv/
H A Ddialog_util.c493 dialog_prompt_wrappedlines(char *prompt, int ncols, uint8_t nlstate) in dialog_prompt_wrappedlines() argument
542 if (n > ncols) { in dialog_prompt_wrappedlines()
/freebsd/contrib/file/magic/Magdir/
H A Dmathematica188 # ncols; number of columns in the matrix like: 1 3 4 5 9 43
192 # real; Real part of the matrix consists of mrows * ncols numbers
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A Dregcomp.c1391 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in isinsets() local
1394 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in isinsets()
1408 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in samesets() local
1412 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in samesets()
/freebsd/contrib/nvi/regex/
H A Dregcomp.c1283 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in isinsets() local
1286 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in isinsets()
1300 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in samesets() local
1304 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in samesets()
/freebsd/tests/sys/cddl/zfs/include/
H A Dlibtest.kshlib3177 typeset -i ncols=$2
3183 typeset -i ioff=$(( (offset + ncols - 1) / ncols ))
/freebsd/contrib/ncurses/
H A Dconfigure26865 int ncols,
26878 int ncols,
26882 : NCursesPanel (nlines, ncols, begin_y, begin_x)
H A Daclocal.m41839 int ncols,
1852 int ncols,
1856 : NCursesPanel (nlines, ncols, begin_y, begin_x)