Searched refs:cols (Results 51 - 75 of 148) sorted by relevance

123456

/freebsd-current/contrib/ncurses/form/
H A Dfrm_post.c70 if ((form->cols > getmaxx(formwin)) || (form->rows > getmaxy(formwin)))
/freebsd-current/contrib/ncurses/menu/
H A Dm_new.c67 menu->cols = menu->fcols;
H A Dm_item_top.c78 item = menu->items[(menu->opt & O_ROWMAJOR) ? (row * menu->cols) : row];
H A Dm_global.c359 l *= menu->cols;
360 l += (menu->cols - 1) * menu->spc_cols; /* for the padding between the columns */
364 menu->cols,
396 int Number_Of_Columns = menu->cols;
452 Last_in_Column = (menu->cols - 1) * Number_Of_Rows + row;
/freebsd-current/contrib/mandoc/
H A Dtbl.h29 int cols; /* Number of columns. */ member in struct:tbl_opts
H A Dtbl_layout.c316 rp->last->col + 1 == tbl->opts.cols &&
372 if (tbl->opts.cols <= p->col)
373 tbl->opts.cols = p->col + 1;
/freebsd-current/contrib/bsddialog/utility/
H A Dbsddialog.c154 int i, rows, cols, retval, parsed, nargc, firstoptind; local
200 cols = BSDDIALOG_AUTOSIZE;
204 "expected <text> <rows> <cols>");
210 cols = (int)strtol(argv[2], NULL, 10);
247 retval = opt.dialogbuilder(&conf, text, rows, cols, argc, argv,
/freebsd-current/lib/libdpv/
H A Ddialog_util.c79 * This function is called automatically by dialog_maxrows/cols() to reflect
109 * This function is called automatically by dialog_maxrows/cols() to initialize
111 * than changes to terminal size, the dialog_maxrows/cols() functions only call
118 char *cols; local
152 if ((cols = strchr(rows, ',')) != NULL) {
154 *(cols++) = '\0';
155 if ((cp = strchr(cols, '\n')) != NULL)
163 cols, 0, USHRT_MAX, (const char **)NULL);
181 * Return the current maximum width (cols) for an [X]dialog(1) widget.
202 * Return the current maximum width (cols) fo
[all...]
/freebsd-current/contrib/nvi/vi/
H A Dvs_msg.c198 if (len > sp->cols - 2)
199 mlen = len = sp->cols - 2;
205 if (len + mlen > sp->cols - 2)
206 mlen = (sp->cols - 2) - len;
343 maxcols = sp->cols - 1;
411 * The max is sp->cols characters, and we may have already
414 if (len + vip->lcontinue > sp->cols)
415 len = sp->cols - vip->lcontinue;
853 sizeof(DIVIDESTR) - 1 > sp->cols ? sp->cols
[all...]
H A Dvi.h322 ((O_ISSET(sp, O_NUMBER) ? (sp)->cols - O_NUMBER_LENGTH : (sp)->cols))
361 ((sp)->cols != O_VAL(sp, O_COLUMNS))
/freebsd-current/contrib/xz/src/xz/
H A Dlist.c747 const char *cols[7] = { local
760 tuklib_mbstr_fw(cols[0], 5), cols[0],
761 tuklib_mbstr_fw(cols[1], 7), cols[1],
762 tuklib_mbstr_fw(cols[2], 11), cols[2],
763 tuklib_mbstr_fw(cols[3], 11), cols[3],
764 tuklib_mbstr_fw(cols[
[all...]
/freebsd-current/usr.sbin/mptutil/
H A Dmpt_cmd.c580 int cols; local
590 cols = flags & HD_COLUMN_MASK;
592 cols = 16;
595 for (i = 0; i < length; i+= cols) {
603 for (j = 0; j < cols; j++) {
614 for (j = 0; j < cols; j++) {
/freebsd-current/contrib/nvi/cl/
H A Dcl_funcs.c267 for (spcnt = (sp->coff + sp->cols) - x; spcnt > 0; --spcnt)
371 tsp->cl_private = subwin(stdscr, tsp->rows, tsp->cols,
552 if (psp->coff + psp->cols + 1 == tsp->coff)
555 if (tsp->coff + tsp->cols + 1 == psp->coff)
588 mvvline(sp->roff, sp->cols + sp->coff, '|', sp->rows);
590 mvvline(sp->roff, sp->cols + sp->coff, ACS_VLINE, sp->rows);
683 origp->cl_private = subwin(stdscr, origp->rows, origp->cols,
685 newp->cl_private = subwin(stdscr, newp->rows, newp->cols,
H A Dcl_main.c53 size_t rows, cols; local
100 if (cl_ssize(NULL, 0, &rows, &cols, NULL))
105 OG_VAL(gp, GO_COLUMNS) = OG_D_VAL(gp, GO_COLUMNS) = cols;
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/
H A Demitter.h62 ql_head(emitter_col_t) cols; member in struct:emitter_row_s
390 ql_foreach(col, &row->cols, link) {
399 ql_new(&row->cols);
405 ql_tail_insert(&row->cols, col, link);
/freebsd-current/contrib/ncurses/test/
H A Ddup_field.c130 make_field(int frow, int fcol, int rows, int cols) argument
132 FIELD *f = new_field(rows, cols, frow, fcol, 0, 1);
266 length -= (int) before->cols + before_col;
271 length += (int) before->cols;
H A Dmove_field.c134 make_field(int frow, int fcol, int rows, int cols) argument
136 FIELD *f = new_field(rows, cols, frow, fcol, 0, 1);
249 length -= (int) before->cols + before_col;
254 length += (int) before->cols;
/freebsd-current/contrib/nvi/ex/
H A Dex_screen.c113 if (col >= sp->cols - 1) {
H A Dex_print.c214 col < sp->cols && tlen--; ++col) {
229 if (col + tlen > sp->cols) {
244 if (col == sp->cols) {
/freebsd-current/contrib/bsddialog/lib/
H A Dtextbox.c90 if (set_widget_size(d->conf, d->rows, d->cols, &d->h, &d->w) != 0)
92 if (set_widget_autosize(d->conf, d->rows, d->cols, &d->h, &d->w,
130 int cols)
146 if (prepare_dialog(conf, "" /* fake */, rows, cols, &d) != 0)
129 bsddialog_textbox(struct bsddialog_conf *conf, const char *file, int rows, int cols) argument
H A Dmenubox.c424 if (set_widget_size(d->conf, d->rows, d->cols, &d->h, &d->w) != 0)
434 if (set_widget_autosize(d->conf, d->rows, d->cols, &d->h, &d->w,
502 do_mixedlist(struct bsddialog_conf *conf, const char *text, int rows, int cols, argument
512 if (prepare_dialog(conf, text, rows, cols, &d) != 0)
697 int cols, unsigned int menurows, unsigned int ngroups,
702 retval = do_mixedlist(conf, text, rows, cols, menurows, MIXEDLISTMODE,
710 int cols, unsigned int menurows, unsigned int nitems,
718 retval = do_mixedlist(conf, text, rows, cols, menurows, CHECKLISTMODE,
726 int cols, unsigned int menurows, unsigned int nitems,
734 retval = do_mixedlist(conf, text, rows, cols, menurow
696 bsddialog_mixedlist(struct bsddialog_conf *conf, const char *text, int rows, int cols, unsigned int menurows, unsigned int ngroups, struct bsddialog_menugroup *groups, int *focuslist, int *focusitem) argument
709 bsddialog_checklist(struct bsddialog_conf *conf, const char *text, int rows, int cols, unsigned int menurows, unsigned int nitems, struct bsddialog_menuitem *items, int *focusitem) argument
725 bsddialog_menu(struct bsddialog_conf *conf, const char *text, int rows, int cols, unsigned int menurows, unsigned int nitems, struct bsddialog_menuitem *items, int *focusitem) argument
741 bsddialog_radiolist(struct bsddialog_conf *conf, const char *text, int rows, int cols, unsigned int menurows, unsigned int nitems, struct bsddialog_menuitem *items, int *focusitem) argument
[all...]
H A Dformbox.c217 int width, oldwidth, nextwidth, cols; local
295 cols = nextwidth;
298 cols += wcwidth(item->pubwbuf[item->xposdraw - 1]);
299 if (cols > (int)item->fieldcols)
464 unsigned int n, cols; local
484 cols = wcwidth(item->pubwbuf[item->xposdraw]);
485 while (cols <= item->fieldcols &&
488 cols += wcwidth(item->pubwbuf[item->xposdraw + n]);
567 if (set_widget_size(d->conf, d->rows, d->cols, &d->h, &d->w) != 0)
576 if (set_widget_autosize(d->conf, d->rows, d->cols,
673 bsddialog_form(struct bsddialog_conf *conf, const char *text, int rows, int cols, unsigned int formheight, unsigned int nitems, struct bsddialog_formitem *items, int *focusitem) argument
[all...]
/freebsd-current/contrib/ncurses/ncurses/base/
H A Dlib_newterm.c247 int cols; local
255 cols = *(ptrCols(SP_PARM));
291 _nc_slk_initialize(StdScreen(SP_PARM), cols); local
/freebsd-current/sys/kern/
H A Dsubr_prf.c1158 int cols; local
1168 cols = flags & HD_COLUMN_MASK;
1170 cols = 16;
1173 for (i = 0; i < length; i+= cols) {
1181 for (j = 0; j < cols; j++) {
1192 for (j = 0; j < cols; j++) {
1213 int cols; local
1223 cols = flags & HD_COLUMN_MASK;
1225 cols = 16;
1228 for (i = 0; i < length; i+= cols) {
[all...]
/freebsd-current/contrib/bc/src/
H A Dhistory.c913 size_t cols, rows, i; local
921 // Read the response: ESC [ rows ; cols R.
941 cols = strtoul(ptr, NULL, 10);
943 if (BC_ERR(!cols)) return SIZE_MAX;
945 return cols <= UINT16_MAX ? cols : 0;
967 size_t start, cols; local
976 cols = bc_history_cursorPos();
977 if (BC_ERR(cols == SIZE_MAX)) return BC_HIST_DEF_COLS;
980 if (cols > star
[all...]

Completed in 187 milliseconds

123456