Searched refs:cols (Results 1 - 25 of 125) sorted by relevance

12345

/freebsd-11-stable/contrib/ncurses/form/
H A Dfrm_scale.c39 | Function : int scale_form( const FORM *form, int *rows, int *cols )
48 scale_form(const FORM *form, int *rows, int *cols) argument
53 (void *)cols));
63 if (cols)
64 *cols = form->cols;
H A Dfld_info.c40 | int *rows, int *cols,
51 int *rows, int *cols,
57 (void *)rows, (void *)cols,
66 if (cols)
67 *cols = field->cols;
50 field_info(const FIELD *field, int *rows, int *cols, int *frow, int *fcol, int *nrow, int *nbuf) argument
H A Dfrm_data.c154 pos = form->begincol + field->cols;
158 if (check_len >= field->cols)
159 check_len = field->cols;
163 pos += field->cols;
179 if (!Only_Padding(form->w, field->cols, field->pad))
H A Dfld_dup.c67 New_Field->cols = field->cols;
H A Dfld_link.c72 New_Field->cols = field->cols;
/freebsd-11-stable/contrib/ncurses/menu/
H A Dm_scale.c54 scale_menu(const MENU * menu, int *rows, int *cols) argument
59 (void *)cols));
68 if (cols)
69 *cols = menu->width;
H A Dm_format.c46 | Function : int set_menu_format(MENU *menu, int rows, int cols)
59 set_menu_format(MENU * menu, int rows, int cols) argument
63 T((T_CALLED("set_menu_format(%p,%d,%d)"), (void *)menu, rows, cols));
65 if (rows < 0 || cols < 0)
78 if (cols == 0)
79 cols = menu->fcols;
85 menu->fcols = (short)cols;
87 assert(rows > 0 && cols > 0);
88 total_rows = (menu->nitems - 1) / cols + 1;
90 minimum(menu->nitems, cols)
123 menu_format(const MENU * menu, int *rows, int *cols) argument
[all...]
/freebsd-11-stable/contrib/groff/src/devices/grohtml/
H A Dhtml-table.h63 typedef struct cols { struct
67 struct cols *next;
68 } cols; typedef in typeref:struct:cols
75 cols *get_column (int coln);
77 int modify_column (cols *c, int hstart, int hend, char align);
85 int is_gap (cols *c);
91 int get_right (cols *c);
100 cols *columns; /* column entries */
102 cols *last_col; /* last column started */
105 void remove_cols (cols *
[all...]
H A Dhtml-table.cpp249 cols *c;
265 void html_table::remove_cols (cols *c)
267 cols *p;
284 cols *p = NULL;
285 cols *c;
358 int html_table::get_right (cols *c)
383 cols *c = columns;
384 cols *b = columns;
472 cols *c;
516 cols *
[all...]
/freebsd-11-stable/lib/libutil/
H A Dhexdump.c48 int cols; local
58 cols = flags & HD_COLUMN_MASK;
60 cols = 16;
63 for (i = 0; i < length; i+= cols) {
71 for (j = 0; j < cols; j++) {
82 for (j = 0; j < cols; j++) {
/freebsd-11-stable/sys/dev/nand/
H A Dnandbus.h34 uint8_t cols; member in struct:nandbus_ivar
/freebsd-11-stable/contrib/nvi/vi/
H A Dvs_relative.c42 vip->sc_smap->coff : (vip->sc_smap->soff - 1) * sp->cols) +
58 size_t cols, screens; local
77 cols = vs_columns(sp, NULL, lno, cnop, NULL);
79 screens = (cols / sp->cols + (cols % sp->cols ? 1 : 0));
151 if (!leftright && curoff >= sp->cols) \
154 scno -= scno % sp->cols; \
156 curoff -= sp->cols; \
[all...]
H A Dvs_split.c87 new->cols = sp->cols;
211 size_t cols; local
216 if (sp->cols / 2 <= MINIMUM_SCREEN_COLS) {
247 cols = sp->cols / 2;
248 new->cols = sp->cols - cols - 1;
249 sp->cols
[all...]
/freebsd-11-stable/contrib/dialog/
H A Dcolumns.c125 unsigned cols = split_row(*value, offsets, widths); local
126 if (numcols < cols)
127 numcols = cols;
128 for (n = 0; n < cols; ++n) {
140 unsigned cols = split_row(*value, offsets, widths); local
147 for (n = 0; n < cols; ++n) {
H A Dinputstr.c478 * end-value of the cols[] array.
486 const int *cols = dlg_index_columns(string); local
487 result = cols[limit];
503 const int *cols = dlg_index_columns(string); local
506 while (result > 0 && (cols[result] - cols[offset]) > limit)
646 const int *cols = dlg_index_columns(string); local
655 if ((cols[offset] - cols[n]) < x_last
656 && (offset == limit || (cols[offse
707 const int *cols = dlg_index_columns(string); local
[all...]
/freebsd-11-stable/usr.sbin/mpsutil/
H A Dmpsutil.c155 int cols; local
165 cols = flags & HD_COLUMN_MASK;
167 cols = 16;
170 for (i = 0; i < length; i+= cols) {
178 for (j = 0; j < cols; j++) {
180 k = i + (cols - 1 - j);
192 for (j = 0; j < cols; j++) {
194 k = i + (cols - 1 - j);
/freebsd-11-stable/sys/dev/virtio/console/
H A Dvirtio_console.h46 uint16_t cols; member in struct:virtio_console_config
/freebsd-11-stable/contrib/mdocml/
H A Dtbl_html.c85 if (h->tbl.cols == NULL) {
96 for (ic = 0; ic < sp->opts->cols; ic++)
97 print_otag(h, TAG_COL, "shw", h->tbl.cols[ic].width);
136 for (ic = 0; ic < sp->opts->cols; ic++) {
155 assert(h->tbl.cols);
156 free(h->tbl.cols);
157 h->tbl.cols = NULL;
H A Dout.c123 assert(NULL == tbl->cols);
124 tbl->cols = mandoc_calloc((size_t)sp->opts->cols,
145 tbl->cols[++maxcol].spacing = SIZE_MAX;
146 col = tbl->cols + icol;
165 rmargin ? (rmargin + sp->opts->cols / 2)
166 / (sp->opts->cols + 1) : 0);
179 col = tbl->cols + icol;
200 col = tbl->cols + icol;
242 col = tbl->cols
[all...]
H A Dtbl_term.c91 if (tp->tbl.cols == NULL) {
104 for (ic = 0; ic < sp->opts->cols; ic++) {
105 coloff += tp->tbl.cols[ic].width;
107 coloff += tp->tbl.cols[ic].spacing;
116 for (ic = 0; ic + 1 < sp->opts->cols; ic++)
117 tsz += tp->tbl.cols[ic].width +
118 tp->tbl.cols[ic].spacing;
119 if (sp->opts->cols)
120 tsz += tp->tbl.cols[sp->opts->cols
[all...]
/freebsd-11-stable/contrib/libreadline/
H A Dterminal.c309 _rl_set_screen_size (rows, cols)
310 int rows, cols;
317 if (cols > 0)
319 _rl_screenwidth = cols;
324 if (rows > 0 || cols > 0)
329 rl_set_screen_size (rows, cols)
330 int rows, cols;
332 _rl_set_screen_size (rows, cols);
336 rl_get_screen_size (rows, cols)
337 int *rows, *cols;
[all...]
/freebsd-11-stable/usr.bin/column/
H A Dcolumn.c220 int cols, *len; member in struct:_tbl
232 wchar_t **cols; local
237 if ((cols = calloc((maxcols = DEFCOLS), sizeof(*cols))) == NULL)
243 (cols[coloff] = wcstok(p, separator, &last));
246 if (!(cols = realloc(cols, ((u_int)maxcols +
259 for (t->cols = coloff; --coloff >= 0;) {
260 t->list[coloff] = cols[coloff];
261 t->len[coloff] = width(cols[colof
[all...]
/freebsd-11-stable/sys/arm/samsung/exynos/
H A Dchrome_kb.c126 int cols; member in struct:ckb_softc
259 for (i = 0; i < sc->cols; i++)
313 if (col >= 0 && col < sc->cols &&
315 return sc->keymap[row * sc->cols + col];
326 if (col >= 0 && col < sc->cols &&
328 sc->keymap[row * sc->cols + col] = key;
365 sc->cols,
366 sc->scan, sc->cols)) {
378 for (i = 0; i < sc->cols; i++) {
679 * Requires sc->cols an
[all...]
/freebsd-11-stable/contrib/xz/src/xz/
H A Dmessage.c576 const char *cols[5] = { local
584 tuklib_mbstr_fw(cols[0], 6), cols[0],
585 tuklib_mbstr_fw(cols[1], 35), cols[1],
586 tuklib_mbstr_fw(cols[2], 9), cols[2],
587 cols[3],
588 cols[4]);
658 const char *cols[ local
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dfm.c180 fm_printf(int depth, int c, int cols, const char *format, ...) argument
190 if (c + width >= cols) {
203 return ((c + width) % cols);
218 fm_nvprintr(nvlist_t *nvl, int d, int c, int cols) argument
239 c = fm_printf(d, c, cols, " %s=", name);
243 c = fm_printf(d + 1, c, cols, " 1");
248 c = fm_printf(d + 1, c, cols, b ? "1" : "0");
253 c = fm_printf(d + 1, c, cols, "%x", i8);
258 c = fm_printf(d + 1, c, cols, "%x", i8);
263 c = fm_printf(d + 1, c, cols, "
[all...]

Completed in 477 milliseconds

12345