Home
last modified time | relevance | path

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

/NextBSD/usr.sbin/bsdconfig/
HDbsdconfig133 local x=$longest_cmd ncols=1
137 ncols=$(( $ncols + 1 ))
140 f_dprintf "ncols=[%u] x=[%u]" $ncols $x
146 awk -v ncols=$ncols -v size=$longest_cmd '
164 cur_col = (( n - 1 ) % ncols ) + 1
168 if ( cur_col == ncols ) print_row()
171 if ( cur_col < ncols ) print_row()
/NextBSD/sys/teken/
HDteken_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 …]
/NextBSD/sys/dev/fb/
HDsplash_bmp.c234 int ncols; /* number of colours */ member
558 bmp_info.ncols = (bmf->bmfi.bmiHeader.biClrUsed); in bmp_Init()
560 if (bmp_info.ncols == 0) { /* uses all of them */ in bmp_Init()
561 bmp_info.ncols = 1 << bmf->bmfi.bmiHeader.biBitCount; in bmp_Init()
565 (bmp_info.ncols > (1 << sdepth))) { in bmp_Init()
568 bmp_info.width, bmp_info.height, bmp_info.ncols); in bmp_Init()
573 for (pind = 0; pind < bmp_info.ncols; pind++) { in bmp_Init()
/NextBSD/contrib/apr-util/dbd/
HDapr_dbd_odbc.c145 int ncols; /* number of columns */ member
491 SQLSMALLINT ncols; in odbc_create_results() local
499 rc = SQLNumResultCols(hstmt, &ncols); in odbc_create_results()
501 (*res)->ncols = ncols; in odbc_create_results()
506 (*res)->colnames = apr_pcalloc(pool, ncols * sizeof(char *)); in odbc_create_results()
507 (*res)->colptrs = apr_pcalloc(pool, ncols * sizeof(void *)); in odbc_create_results()
508 (*res)->colsizes = apr_pcalloc(pool, ncols * sizeof(SQLINTEGER)); in odbc_create_results()
509 (*res)->coltypes = apr_pcalloc(pool, ncols * sizeof(SQLSMALLINT)); in odbc_create_results()
510 (*res)->colinds = apr_pcalloc(pool, ncols * sizeof(SQLLEN)); in odbc_create_results()
511 (*res)->colstate = apr_pcalloc(pool, ncols * sizeof(int)); in odbc_create_results()
[all …]
/NextBSD/contrib/binutils/binutils/
HDdwarf.c2815 int ncols; member
2839 int prev = fc->ncols; in frame_need_space()
2841 if (reg < fc->ncols) in frame_need_space()
2844 fc->ncols = reg + 1; in frame_need_space()
2845 fc->col_type = xcrealloc (fc->col_type, fc->ncols, sizeof (short int)); in frame_need_space()
2846 fc->col_offset = xcrealloc (fc->col_offset, fc->ncols, sizeof (int)); in frame_need_space()
2848 while (prev < fc->ncols) in frame_need_space()
2862 if (*max_regs < fc->ncols) in frame_display_row()
2863 *max_regs = fc->ncols; in frame_display_row()
2890 for (r = 0; r < fc->ncols; r++) in frame_display_row()
[all …]
/NextBSD/usr.bin/who/
HDwho.c241 int col, ncols, num; in quick() local
243 ncols = ttywidth(); in quick()
249 if (++col < ncols / (16 + 1)) in quick()
/NextBSD/lib/libdpv/
HDdialog_util.c489 dialog_prompt_wrappedlines(char *prompt, int ncols, uint8_t nlstate) in dialog_prompt_wrappedlines() argument
538 if (n > ncols) { in dialog_prompt_wrappedlines()
/NextBSD/contrib/groff/src/preproc/tbl/
HDtable.cpp156 virtual int divert(int ncols, const string *mw, int *sep);
294 void do_divert(int alphabetic, int ncols, const string *mw, int *sep);
298 int divert(int ncols, const string *mw, int *sep);
327 int divert(int ncols, const string *mw, int *sep);
654 int block_entry::divert(int ncols, const string *mw, int *sep) in divert() argument
656 do_divert(0, ncols, mw, sep); in divert()
660 void block_entry::do_divert(int alphabetic, int ncols, const string *mw, in do_divert() argument
687 as_string(ncols + 1)); in do_divert()
775 int alphabetic_block_entry::divert(int ncols, const string *mw, int *sep) in divert() argument
777 do_divert(1, ncols, mw, sep); in divert()
/NextBSD/contrib/mdocml/
HDmdoc_term.c613 size_t ncols, dcol; in termp_it_pre() local
681 ncols = bl->norm->Bl.ncols; in termp_it_pre()
682 dcol = ncols < 5 ? term_len(p, 4) : in termp_it_pre()
683 ncols == 5 ? term_len(p, 3) : term_len(p, 1); in termp_it_pre()
691 nn->prev && i < (int)ncols; in termp_it_pre()
702 if (i >= (int)ncols) in termp_it_pre()
HDmdoc.h313 size_t ncols; /* -column arg count */ member
HDmdoc_validate.c541 n->norm->Bl.ncols = argv->sz; in pre_bl()
1182 cols = (int)nbl->norm->Bl.ncols; in post_it()
1393 nh->norm->Bl.ncols = argv->sz; in post_bl_head()
HDmdoc_html.c955 for (i = 0; i < (int)n->norm->Bl.ncols; i++) { in mdoc_bl_pre()
958 if (i < (int)n->norm->Bl.ncols - 1) in mdoc_bl_pre()
HDmdoc_man.c1014 for (icol = 0; icol < n->norm->Bl.ncols; icol++) in pre_bl()
/NextBSD/contrib/llvm/lib/Support/
HDregcomp.c1265 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in isinsets() local
1268 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in isinsets()
1282 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in samesets() local
1286 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in samesets()
/NextBSD/contrib/nvi/regex/
HDregcomp.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()
/NextBSD/contrib/gdb/gdb/
HDmips-tdep.c4443 int ncols = (mips_regsize (gdbarch) == 8 ? 4 : 8); /* display cols per row */ in print_gp_register_row() local
4450 col < ncols && regnum < NUM_REGS + NUM_PSEUDO_REGS; regnum++) in print_gp_register_row()
4470 col < ncols && regnum < NUM_REGS + NUM_PSEUDO_REGS; regnum++) in print_gp_register_row()
/NextBSD/contrib/ncurses/
HDconfigure19150 int ncols,
19163 int ncols,
19167 : NCursesPanel (nlines, ncols, begin_y, begin_x)
HDaclocal.m41042 int ncols,
1055 int ncols,
1059 : NCursesPanel (nlines, ncols, begin_y, begin_x)