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

1234

/openbsd-current/lib/libform/
H A Dfrm_scale.c41 | Function : int scale_form( const FORM *form, int *rows, int *cols )
50 scale_form(const FORM *form, int *rows, int *cols) argument
55 (void *)cols));
65 if (cols)
66 *cols = form->cols;
H A Dfld_info.c42 | int *rows, int *cols,
53 int *rows, int *cols,
59 (void *)rows, (void *)cols,
68 if (cols)
69 *cols = field->cols;
52 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;
159 if (check_len >= field->cols)
160 check_len = field->cols;
164 pos += field->cols;
180 if (!Only_Padding(form->w, field->cols, field->pad))
H A Dfld_link.c74 New_Field->cols = field->cols;
H A Dfld_dup.c69 New_Field->cols = field->cols;
H A Dfld_def.c44 0, /* cols */
262 | Function : FIELD *new_field( int rows, int cols,
266 | Description : Create a new field with this many 'rows' and 'cols',
277 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) argument
285 T((T_CALLED("new_field(%d,%d,%d,%d,%d,%d)"), rows, cols, frow, fcol, nrow, nbuf));
287 cols > 0 &&
298 New_Field->cols = (short)cols;
300 New_Field->dcols = cols;
/openbsd-current/lib/libmenu/
H A Dm_scale.c57 scale_menu(const MENU *menu, int *rows, int *cols) argument
62 (void *)cols));
71 if (cols)
72 *cols = menu->width;
H A Dm_format.c49 | Function : int set_menu_format(MENU *menu, int rows, int cols)
62 set_menu_format(MENU *menu, int rows, int cols) argument
65 T((T_CALLED("set_menu_format(%p,%d,%d)"), (void *)menu, rows, cols));
67 if (rows < 0 || cols < 0)
82 if (cols == 0)
83 cols = menu->fcols;
89 menu->fcols = (short)cols;
91 assert(rows > 0 && cols > 0);
92 total_rows = (menu->nitems - 1) / cols + 1;
94 minimum(menu->nitems, cols)
127 menu_format(const MENU *menu, int *rows, int *cols) argument
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Denum5.C10 enum colours { red = 1000, green, blue } __attribute__ ((packed)) cols; variable in typeref:enum:colours
19 if (sizeof (cols) != 2)
/openbsd-current/usr.bin/vi/vi/
H A Dvs_relative.c40 vip->sc_smap->coff : (vip->sc_smap->soff - 1) * sp->cols) +
56 size_t cols, screens; local
75 cols = vs_columns(sp, NULL, lno, cnop, NULL);
77 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...]
/openbsd-current/games/boggle/boggle/
H A Dprtable.c68 int a, b, cols, loc, maxlen, nrows, z; local
75 cols = d_cols;
77 cols = width / maxlen;
78 if (cols == 0)
79 cols = NCOLS;
80 nrows = (num - 1) / cols + 1;
/openbsd-current/sys/dev/ic/
H A Dmonitors.h39 u_int16_t cols; /* Columns */ member in struct:monitor
/openbsd-current/usr.bin/mandoc/
H A Dout.c134 assert(tbl->cols == NULL);
135 tbl->cols = mandoc_calloc((size_t)sp_first->opts->cols,
153 tbl->cols[++maxcol].spacing = SIZE_MAX;
154 col = tbl->cols + icol;
184 rmargin ? (rmargin + sp->opts->cols / 2)
185 / (sp->opts->cols + 1) : 0);
216 if (maxcol < sp_first->opts->cols - 1)
217 maxcol = sp_first->opts->cols - 1;
219 col = tbl->cols
[all...]
H A Dout.h56 struct roffcol *cols; /* master column specifiers */ member in struct:rofftbl
H A Dtbl_term.c180 if (tp->tbl.cols == NULL) {
197 for (ic = 0; ic + 1 < sp->opts->cols; ic++)
198 tsz += tp->tbl.cols[ic].width +
199 tp->tbl.cols[ic].spacing;
200 if (sp->opts->cols)
201 tsz += tp->tbl.cols[sp->opts->cols - 1].width;
230 term_setcol(tp, sp->opts->cols + 2);
244 for (ic = 0; ic < sp->opts->cols; ic++) {
249 coloff += tp->tbl.cols[i
[all...]
/openbsd-current/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dscreen.py89 self.cols = c
102 self.w = [ [SPACE] * self.cols for _ in range(self.rows)]
143 top_bot = u'+' + u'-'*self.cols + u'+\n'
151 self.fill_region (1,1,self.rows,self.cols, ch)
160 cs = constrain (cs, 1, self.cols)
161 ce = constrain (ce, 1, self.cols)
204 c = constrain (c, 1, self.cols)
230 c = constrain (c, 1, self.cols)
231 for ci in range (self.cols, c, -1):
245 c = constrain (c, 1, self.cols)
[all...]
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/scripts/
H A Dgen_dynamic_list.py77 cols = line.split(' ')
78 if len(cols) == 3 and cols[1] in func_symbols :
79 functions.append(cols[2])
/openbsd-current/gnu/lib/libreadline/
H A Dterminal.c250 _rl_set_screen_size (rows, cols)
251 int rows, cols;
253 if (rows == 0 || cols == 0)
257 _rl_screenwidth = cols;
266 rl_set_screen_size (rows, cols)
267 int rows, cols;
269 _rl_set_screen_size (rows, cols);
273 rl_get_screen_size (rows, cols)
274 int *rows, *cols;
278 if (cols)
[all...]
/openbsd-current/usr.bin/column/
H A Dcolumn.c233 static struct field *cols = NULL; local
293 cols = ereallocarray(cols, maxcols,
294 sizeof(*cols));
307 cols[col].width = width;
314 if ((cols[col].content = strdup(s)) == NULL)
332 table[entries][col] = cols[col];
/openbsd-current/sys/arch/armv7/exynos/
H A Dcrosec_kbd.c53 /* XXX: assumes 8 rows, 13 cols, FDT */
131 sc->keyboard.cols = info.cols;
133 sc->keyboard.state = (uint8_t *)malloc(info.rows*info.cols,
178 uint8_t state[sc->keyboard.cols];
179 cros_ec_scan_keyboard(sc, state, sc->keyboard.cols);
180 for (col = 0; col < sc->keyboard.cols; col++) {
182 int off = row*sc->keyboard.cols;
H A Dcrosecvar.h44 int cols; member in struct:cros_ec_softc::__anon8339
/openbsd-current/usr.bin/ssh/
H A Dprogressmeter.c132 int file_len, cols; local
177 file_len = cols = win_size - 36;
179 asmprintf(&buf, INT_MAX, &cols, "%-*s", file_len, file);
181 if (cols < file_len)
182 xextendf(&buf, NULL, "%*s", file_len - cols, "");
228 cols = win_size - 1;
229 asmprintf(&obuf, INT_MAX, &cols, " %s", buf);
/openbsd-current/sys/dev/pci/bktr/
H A Dbktr_core.c320 static void yuvpack_prog( bktr_ptr_t bktr, char i_flag, int cols,
322 static void yuv422_prog( bktr_ptr_t bktr, char i_flag, int cols,
324 static void yuv12_prog( bktr_ptr_t bktr, char i_flag, int cols,
326 static void rgb_prog( bktr_ptr_t bktr, char i_flag, int cols,
328 static void rgb_vbi_prog( bktr_ptr_t bktr, char i_flag, int cols,
405 bktr->cols = 640;
1007 count = bktr->rows * bktr->cols *
1588 bktr->cols = geo->columns;
1645 x_size must be greater than or equal to 1.666*METEORSETGEO width (cols)
1648 x_size must be greater than or equal to 1.666*METEORSETGEO width (cols)
2443 split(bktr_reg_t *bktr, u_int **dma_prog, int width, u_int operation, int pixel_width, u_int *target_buffer, int cols) argument
2531 rgb_vbi_prog(bktr_ptr_t bktr, char i_flag, int cols, int rows, int interlace ) argument
2698 rgb_prog( bktr_ptr_t bktr, char i_flag, int cols, int rows, int interlace ) argument
2848 yuvpack_prog( bktr_ptr_t bktr, char i_flag, int cols, int rows, int interlace ) argument
2961 yuv422_prog(bktr_ptr_t bktr, char i_flag, int cols, int rows, int interlace) argument
3077 yuv12_prog( bktr_ptr_t bktr, char i_flag, int cols, int rows, int interlace ) argument
3190 int rows, cols, interlace; local
[all...]
/openbsd-current/libexec/tradcpp/
H A Dplace.h56 void place_addcolumns(struct place *, unsigned cols);
/openbsd-current/lib/libcurses/base/
H A Dlib_slk.c82 _nc_format_slks(NCURSES_SP_DCLx int cols) argument
92 gap = (cols - 3 * (3 + 4 * max_length)) / 2;
104 gap = cols - (int) (SP_PARM->_slk->maxlab * max_length) - 6;
115 gap = (cols - (SP_PARM->_slk->maxlab * max_length) - 5)
140 _nc_slk_initialize(WINDOW *stwin, int cols) argument
218 res = _nc_format_slks(NCURSES_SP_ARGx cols);

Completed in 167 milliseconds

1234