Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dnewwin.c60 __m_newwin(parent, nlines, ncols, begy, begx) in __m_newwin() argument
62 int nlines, ncols, begy, begx;
70 parent, nlines, ncols, begy, begx
81 if (ncols == 0) {
82 ncols = columns;
84 ncols -= begx;
93 || parent->_maxx < (begx-parent->_begx) + ncols)
102 if (ncols == 0)
103 ncols = parent->_maxx - (begx - parent->_begx);
112 if (columns < begx + ncols)
[all …]
H A Dnewpad.c45 (newpad)(nlines, ncols)
46 int nlines, ncols; variable
51 __m_trace("newpad(%d, %d)", nlines, ncols);
54 w = __m_newwin((WINDOW *) 0, nlines, ncols, -1, -1);
60 (subpad)(parent, nlines, ncols, begy, begx)
62 int nlines, ncols, begy, begx; variable
69 parent, nlines, ncols, begy, begx
73 w = subwin(parent, nlines, ncols, begy, begx);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dnewwin.c68 int nlines, int ncols, int begy, int begx) in __m_newwin() argument
84 if (ncols == 0) { in __m_newwin()
85 ncols = columns; in __m_newwin()
87 ncols -= begx; in __m_newwin()
97 parent->_maxx < (begx-parent->_begx) + ncols) in __m_newwin()
107 if (ncols == 0) in __m_newwin()
108 ncols = parent->_maxx - (begx - parent->_begx); in __m_newwin()
119 if (columns < begx + ncols) { in __m_newwin()
144 w->_base = (cchar_t *) malloc((size_t) (nlines * ncols) * in __m_newwin()
152 w->_line[y] = &w->_line[y-1][ncols]; in __m_newwin()
[all …]
H A Dnewpad.c53 newpad(int nlines, int ncols) in newpad() argument
57 w = __m_newwin((WINDOW *) 0, nlines, ncols, -1, -1); in newpad()
65 subpad(WINDOW *parent, int nlines, int ncols, int begy, int begx) in subpad() argument
69 w = subwin(parent, nlines, ncols, begy, begx); in subpad()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwinchnstr.c52 winchnstr(WINDOW *win, chtype *string, int ncols) in winchnstr() argument
60 if (ncols < 0) in winchnstr()
61 ncols = MAXINT; in winchnstr()
68 while ((counter < ncols) && maxcols > 0) { in winchnstr()
72 if (counter + eucw > ncols) in winchnstr()
87 if (counter < ncols) in winchnstr()
H A Dwinnstr.c51 winnstr(WINDOW *win, char *str, int ncols) in winnstr() argument
64 if (ncols < -1) in winnstr()
65 ncols = MAXINT; in winnstr()
67 while (counter < ncols) { in winnstr()
70 if (counter + eucw > ncols) in winnstr()
94 if (counter < ncols) in winnstr()
H A Dnewwin.c49 newwin(int nlines, int ncols, int by, int bx) in newwin() argument
56 if (ncols <= 0) in newwin()
57 ncols = COLS - bx; in newwin()
59 if ((by < 0) || (bx < 0) || ((win = _makenew(nlines, ncols, by, in newwin()
65 memSset(&win->_y[counter][0], (chtype) ' ', ncols); in newwin()
68 int i = ncols; in newwin()
H A Dwaddchnstr.c50 waddchnstr(WINDOW *win, chtype *string, int ncols) in waddchnstr() argument
59 if (ncols < 0) { in waddchnstr()
74 while ((*string) && (remcols > 0) && (ncols > 0)) { in waddchnstr()
77 if ((remcols < sw) || (ncols < ew)) in waddchnstr()
84 ncols -= ew; in waddchnstr()
H A Dwinnwstr.c42 winnwstr(WINDOW *win, wchar_t *wstr, int ncols) in winnwstr() argument
56 if (ncols < -1) in winnwstr()
57 ncols = MAXINT; in winnwstr()
59 while (counter < ncols) { in winnwstr()
89 if (counter < ncols) in winnwstr()
H A Dwinwchnstr.c43 winwchnstr(WINDOW *win, chtype *string, int ncols) in winwchnstr() argument
54 if (ncols < 0) in winwchnstr()
55 ncols = MAXINT; in winwchnstr()
62 while ((counter < ncols) && maxcols > 0) { in winwchnstr()
83 if (counter < ncols) in winwchnstr()
H A Dmakenew.c50 _makenew(int nlines, int ncols, int begy, int begx) in _makenew() argument
58 nlines, ncols, begy, begx); in _makenew()
94 win->_maxx = (short) ncols; in _makenew()
100 (nlines >= (LINES + SP->Yabove)) && (ncols >= COLS)); in _makenew()
116 ncols--; in _makenew()
119 *lastch++ = (short) ncols; in _makenew()
H A Dwaddwchnstr.c42 waddwchnstr(WINDOW *win, chtype *string, int ncols) in waddwchnstr() argument
64 if (ncols == -1) in waddwchnstr()
65 ncols = MAXINT; in waddwchnstr()
68 while ((ncols > 0) && (*string) && (counter > 0)) { in waddwchnstr()
102 ncols--; in waddwchnstr()
H A DV3.upd_old_y.c47 _update_old_y_area(WINDOW *win, int nlines, int ncols, in _update_old_y_area() argument
53 for (num_cols = ncols, col = start_col; num_cols > 0; in _update_old_y_area()
/illumos-gate/usr/src/cmd/raidz_test/
H A Draidz_bench.c75 int fn, ncols; in run_gen_bench_impl() local
85 ncols = rto_opts.rto_dcols + fn + 1; in run_gen_bench_impl()
88 BENCH_ASHIFT, ncols, fn+1); in run_gen_bench_impl()
109 d_bw * (double)(ncols), in run_gen_bench_impl()
138 int fn, ncols, nbad; in run_rec_bench_impl() local
156 ncols = rto_opts.rto_dcols + PARITY_PQR; in run_rec_bench_impl()
168 BENCH_ASHIFT, ncols, PARITY_PQR); in run_rec_bench_impl()
193 d_bw * (double)ncols, in run_rec_bench_impl()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz_math_impl.h47 const unsigned ncols = raidz_ncols(rm); in raidz_rec_q_coeff() local
50 coeff[MUL_Q_X] = gf_exp2(255 - (ncols - x - 1)); in raidz_rec_q_coeff()
56 const unsigned ncols = raidz_ncols(rm); in raidz_rec_r_coeff() local
59 coeff[MUL_R_X] = gf_exp4(255 - (ncols - x - 1)); in raidz_rec_r_coeff()
65 const unsigned ncols = raidz_ncols(rm); in raidz_rec_pq_coeff() local
71 b = gf_exp2(255 - (ncols - x - 1)); in raidz_rec_pq_coeff()
81 const unsigned ncols = raidz_ncols(rm); in raidz_rec_pr_coeff() local
88 b = gf_exp4(255 - (ncols - x - 1)); in raidz_rec_pr_coeff()
98 const unsigned ncols = raidz_ncols(rm); in raidz_rec_qr_coeff() local
104 nx = gf_exp2(ncols - x - 1); in raidz_rec_qr_coeff()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc.h124 size_t ncols; /* -column arg count */ member
H A Dmdoc_term.c628 size_t ncols, dcol; in termp_it_pre() local
694 ncols = bl->norm->Bl.ncols; in termp_it_pre()
695 dcol = ncols < 5 ? term_len(p, 4) : in termp_it_pre()
696 ncols == 5 ? term_len(p, 3) : term_len(p, 1); in termp_it_pre()
704 nn->prev && i < (int)ncols; in termp_it_pre()
718 if (i >= (int)ncols) in termp_it_pre()
/illumos-gate/usr/src/common/mc/zen_umc/
H A Dzen_umc_dump.c371 uint_t nbanks, ncols, nrm, nrm_sec; in zen_umc_restore_cs() local
385 "ucs_col_bits", DATA_TYPE_UINT8_ARRAY, &col_bits, &ncols, in zen_umc_restore_cs()
396 ncols > ZEN_UMC_MAX_COL_BITS || in zen_umc_restore_cs()
403 cs->ucs_ncol = ncols; in zen_umc_restore_cs()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vis.h261 var unsigned char *ncols['z'-'a'+2]; /* Cursor positions of marks */ variable
H A Dex_cmdsub.c774 extern unsigned char *ncols['z'-'a'+2];
777 ncols['t'-'a'] = cursor;
902 extern unsigned char *ncols['z'-'a'+2];
905 ncols['t'-'a'] = cursor;
/illumos-gate/usr/src/boot/common/
H A Dtem.c775 int ncols, width; in tem_prom_scroll_up() local
790 ncols = (tems.ts_p_dimension.width + (width - 1)) / width; in tem_prom_scroll_up()
793 0, ncols, 0, true); in tem_prom_scroll_up()
2514 int nrows, ncols, width, height, offset; in tem_pix_clear_prom_output() local
2521 ncols = (tems.ts_p_dimension.width + (width - 1)) / width; in tem_pix_clear_prom_output()
2524 tem_pix_cls_range(tem, 0, nrows, offset, 0, ncols, 0, false); in tem_pix_clear_prom_output()
2955 screen_pos_t col, int ncols, int offset_x, in tem_pix_cls_range() argument
2981 for (j = 0; j < ncols; j++) { in tem_pix_cls_range()
/illumos-gate/usr/src/cmd/format/
H A Dio.c1705 int ncols; in print_input_choices() local
1736 ncols = 60 / width; in print_input_choices()
1741 (++col == ncols) ? 0 : width); in print_input_choices()
1742 if (col == ncols) { in print_input_choices()
/illumos-gate/usr/src/uts/common/io/
H A Dtem.c836 int ncols, width; in tem_prom_scroll_up() local
851 ncols = (tems.ts_p_dimension.width + (width - 1))/ width; in tem_prom_scroll_up()
854 0, ncols, 0, B_TRUE, credp, called_from); in tem_prom_scroll_up()
H A Dtem_safe.c2067 int nrows, ncols, width, height, offset; in tem_safe_pix_clear_prom_output() local
2077 ncols = (tems.ts_p_dimension.width + (width - 1))/ width; in tem_safe_pix_clear_prom_output()
2080 tem_safe_pix_cls_range(tem, 0, nrows, offset, 0, ncols, 0, in tem_safe_pix_clear_prom_output()
2097 int nrows, ncols, width, height; in tem_safe_pix_clear_entire_screen() local
2116 ncols = (tems.ts_p_dimension.width + (width - 1))/ width; in tem_safe_pix_clear_entire_screen()
2118 tem_safe_pix_cls_range(tem, 0, nrows, tems.ts_p_offset.y, 0, ncols, in tem_safe_pix_clear_entire_screen()
2663 screen_pos_t col, int ncols, int offset_x, in tem_safe_pix_cls_range() argument
2693 for (j = 0; j < ncols; j++) { in tem_safe_pix_cls_range()
/illumos-gate/usr/src/lib/libjedec/common/
H A Dlibjedec_spd_lp4.c161 const uint8_t ncols = SPD_LP4_ADDR_NCOLS(data); in spd_parse_lp4_addr() local
164 spd_insert_range(si, SPD_KEY_NCOL_BITS, ncols, &spd_lp4_ncol_range); in spd_parse_lp4_addr()

12