/freebsd/sys/contrib/openzfs/cmd/raidz_test/ |
H A D | raidz_bench.c | 72 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 D | bsdconfig | 132 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 D | vdev_raidz_math_impl.h | 48 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 D | vdev_draid.c | 561 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 D | teken_subr.h | 242 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 D | splash_bmp.c | 222 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 D | who.c | 243 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 D | dwatch | 484 local x=$longest_profile_name ncols=1 488 ncols=$(( $ncols + 1 )) 505 -v ncols=$ncols \
|
/freebsd/contrib/mandoc/ |
H A D | mdoc.h | 124 size_t ncols; /* -column arg count */ member
|
H A D | mdoc_term.c | 626 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 D | mdoc_validate.c | 756 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 D | mdoc_markdown.c | 1318 nc = bln->norm->Bl.ncols; in md_post_It()
|
H A D | mdoc_man.c | 1099 for (icol = 0; icol < n->norm->Bl.ncols; icol++) in pre_bl()
|
/freebsd/lib/libdpv/ |
H A D | dialog_util.c | 493 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 D | mathematica | 188 # 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 D | regcomp.c | 1391 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 D | regcomp.c | 1283 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 D | libtest.kshlib | 3177 typeset -i ncols=$2 3183 typeset -i ioff=$(( (offset + ncols - 1) / ncols ))
|
/freebsd/contrib/ncurses/ |
H A D | configure | 26865 int ncols, 26878 int ncols, 26882 : NCursesPanel (nlines, ncols, begin_y, begin_x)
|
H A D | aclocal.m4 | 1839 int ncols, 1852 int ncols, 1856 : NCursesPanel (nlines, ncols, begin_y, begin_x)
|