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

12345678

/netbsd-current/external/gpl2/groff/dist/src/devices/grohtml/
H A Dhtml-table.h65 typedef struct cols { struct
69 struct cols *next;
70 } cols; typedef in typeref:struct:cols
77 cols *get_column (int coln);
79 int modify_column (cols *c, int hstart, int hend, char align);
87 int is_gap (cols *c);
93 int get_right (cols *c);
102 cols *columns; /* column entries */
104 cols *last_col; /* last column started */
107 void remove_cols (cols *
[all...]
H A Dhtml-table.cpp251 cols *c;
267 void html_table::remove_cols (cols *c)
269 cols *p;
286 cols *p = NULL;
287 cols *c;
360 int html_table::get_right (cols *c)
385 cols *c = columns;
386 cols *b = columns;
474 cols *c;
518 cols *
[all...]
/netbsd-current/games/boggle/boggle/
H A Dprtable.c71 int a, b, cols, loc, maxlen, nrows, z; local
78 cols = d_cols;
80 cols = width / maxlen;
81 if (cols == 0)
82 cols = NCOLS;
83 nrows = (num - 1) / cols + 1;
/netbsd-current/external/bsd/nvi/dist/vi/
H A Dvs_relative.c48 vip->sc_smap->coff : (vip->sc_smap->soff - 1) * sp->cols) +
64 size_t cols, screens; local
83 cols = vs_columns(sp, NULL, lno, cnop, NULL);
85 screens = (cols / sp->cols + (cols % sp->cols ? 1 : 0));
157 if (!leftright && curoff >= sp->cols) { \
160 scno -= scno % sp->cols; \
162 curoff -= sp->cols; \
[all...]
H A Dvs_split.c92 new->cols = sp->cols;
216 size_t cols; local
221 if (sp->cols / 2 <= MINIMUM_SCREEN_COLS) {
252 cols = sp->cols / 2;
253 new->cols = sp->cols - cols - 1;
254 sp->cols
[all...]
/netbsd-current/sys/arch/amiga/dev/
H A Dite_rh.c107 ip->cols = md->TX;
129 int pos = ip->curx + ip->cury * ip->cols;
155 RZ3AlphaErase(ip->grf, 0, top, bottom - top, ip->cols);
159 RZ3AlphaCopy(ip->grf, 0, top+lines, 0, top, ip->cols, bottom-top-lines+1);
160 RZ3AlphaErase(ip->grf, 0, bottom - lines + 1, ip->cols, lines);
173 RZ3AlphaErase(ip->grf, 0, top, bottom - top, ip->cols);
177 RZ3AlphaCopy(ip->grf, 0, top, 0, top+lines, ip->cols, bottom-top-lines+1);
178 RZ3AlphaErase(ip->grf, 0, top, ip->cols, lines);
201 fb += 4 * (dy * ip->cols + dx);
230 memcpy(fb + (sy - count) * ip->cols, f
[all...]
H A Dite_cl.c112 ip->cols = md->cols;
126 flag = ip->curx + ip->cury * ip->cols;
165 cp = fb + ((dy * ip->cols) + dx);
187 (sy * ip->cols) + sx;
188 src = dst + (ip->rows*ip->cols);
206 fb = (unsigned char*)__UNVOLATILE(ip->grf->g_fbkva) + sy * ip->cols;
211 memcpy(fb - (count * ip->cols), fb,
212 (ip->bottom_margin + 1 - sy) * ip->cols);
215 memcpy(fb + (count * ip->cols), f
[all...]
H A Dite_et.c115 ip->cols = md->cols;
129 flag = ip->curx + ip->cury * ip->cols;
170 cp = fb + ((dy * ip->cols) + dx);
192 dst = (volatile unsigned char*)ip->grf->g_fbkva + (sy * ip->cols) + sx;
193 src = dst + (ip->rows*ip->cols);
212 fb = (volatile unsigned char*)ip->grf->g_fbkva + sy * ip->cols;
217 etbcopy(fb, fb - (count * ip->cols),
218 (ip->bottom_margin + 1 - sy) * ip->cols);
221 etbcopy(fb, fb + (count * ip->cols),
[all...]
H A Dite_rt.c111 ip->cols = md->TX;
128 int pos = ip->curx + ip->cury * ip->cols;
158 retina_clear (ip, top, 0, bottom - top, ip->cols);
286 retina_clear (ip, top, 0, bottom - top, ip->cols);
409 fb += 4 * (dy * ip->cols + dx);
422 fb += 2 * (sy * ip->cols + sx);
427 fb += 2 * ip->cols;
449 memcpy(fb + (sy - count) * ip->cols, fb + sy * ip->cols,
450 4 * (ip->bottom_margin - sy + 1) * ip->cols);
[all...]
H A Dite_cv.c144 ip->cols = md->cols;
154 cv_rowc = malloc(sizeof(short) * (ip->rows + 1) * (ip->cols + 2),
164 cv_rowc[i] = i * ip->cols;
167 for (i = 0; i < ip->rows * ip->cols; i++)
172 for (i = 0; i < ip->rows * ip->cols; i++) {
189 flag = ip->curx + ip->cury * ip->cols;
239 (((sy * ip->cols) + sx) << 2));
246 dst = &console_buffer[(sy * ip->cols) + sx];
304 len = ip->cols
[all...]
H A Dite_cv3d.c144 ip->cols = md->cols;
154 cv3d_rowc = malloc(sizeof(short) * (ip->rows + 1) * (ip->cols + 2),
164 cv3d_rowc[i] = i * ip->cols;
167 for (i = 0; i < ip->rows * ip->cols; i++)
172 for (i = 0; i < ip->rows * ip->cols; i++) {
189 flag = ip->curx + ip->cury * ip->cols;
239 (((sy * ip->cols) + sx) << 2));
246 dst = &console_buffer[(sy * ip->cols) + sx];
304 len = ip->cols
[all...]
/netbsd-current/usr.bin/tabs/
H A Dtabs.c87 int i, n, inc = 8, stops[NSTOPS], nstops, last, cols, margin = 0; local
207 cols = 0;
213 0 <= cols && cols <= INT_MAX)
214 cols = (int)num;
216 if (cols == 0) {
218 cols = ws.ws_col;
220 cols = tigetnum("cols");
221 if (cols
[all...]
/netbsd-current/sys/dev/ic/
H A Dmonitors.h38 u_int16_t cols; /* Columns */ member in struct:monitor
/netbsd-current/external/bsd/nvi/dist/motif_l/
H A Dm_motif.h30 r = (lin) / scr->cols; \
31 c = ((lin) - r * (scr->cols)) % scr->cols;
33 ( (y) * scr->cols + (x) )
61 cols; member in struct:__anon5899
H A Dm_func.c106 len = __vi_screen->cols - __vi_screen->curx;
127 len = __vi_screen->cols * rows;
137 width = __vi_screen->ch_width * __vi_screen->cols;
175 memmove(to, from, __vi_screen->cols * rows);
176 memset(from, ' ', __vi_screen->cols);
181 memmove(to, from, __vi_screen->cols * rows);
182 memset(from, COLOR_STANDARD, __vi_screen->cols);
185 width = __vi_screen->ch_width * __vi_screen->cols;
/netbsd-current/usr.bin/column/
H A Dcolumn.c206 int cols, *len; member in struct:_tbl
218 char **cols, **ncols; local
221 cols = ecalloc((maxcols = DEFCOLS), sizeof(*cols));
225 (cols[coloff] = strtok(p, separator)) != NULL; p = NULL)
227 ncols = erealloc(cols, (maxcols +
231 cols = ncols;
233 (void)memset(cols + maxcols, 0,
234 DEFCOLS * sizeof(*cols));
241 for (t->cols
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/sim/ppc/
H A Doptions.c217 int cols; local
225 cols = 78 / (max_len + 2);
226 if (cols < 0)
227 cols = 1;
231 const char *const prefix = ((i % cols) == 0) ? "\n" : "";
234 || (((i + 1) % cols) == 0))
/netbsd-current/external/gpl3/gdb/dist/sim/ppc/
H A Doptions.c205 int cols; local
213 cols = 78 / (max_len + 2);
214 if (cols < 0)
215 cols = 1;
219 const char *const prefix = ((i % cols) == 0) ? "\n" : "";
222 || (((i + 1) % cols) == 0))
/netbsd-current/games/rain/
H A Drain.c62 static long cols; variable
108 xpos[j] = random() % cols + 2;
120 x = random() % cols + 2;
156 cols = COLS - 4;
158 if (cols == 0) cols++;
/netbsd-current/sys/external/bsd/compiler_rt/dist/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])
/netbsd-current/lib/libform/
H A Dpost.c44 int rows, cols, status; local
58 if (scale_form(form, &rows, &cols) != E_OK)
62 || (cols > getmaxx(form->scrwin)))) {
H A Dfield.c135 if (fp->buffers[i].length > fp->cols)
136 fp->buffers[i].string[fp->cols] = '\0';
170 if (fp->buffers[i].length > fp->cols)
171 fp->buffers[i].string[fp->cols] = '\0';
274 field_info(FIELD *field, int *rows, int *cols, int *frow, int *fcol, argument
281 *cols = field->cols;
301 *dcols = field->cols;
399 if (((field->opts & O_STATIC) == O_STATIC) && (len > field->cols)
401 len = field->cols;
745 _formi_create_field(FIELD *prototype, int rows, int cols, int frow, int fcol, int nrows, int nbuf) argument
775 new_field(int rows, int cols, int frow, int fcol, int nrows, int nbuf) argument
[all...]
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-sql/
H A Dschema-map.c379 at_row.cols[0], at_row.cols[1], at_row.cols[2],
380 at_row.cols[3] ? at_row.cols[3] : "",
381 at_row.cols[4] ? at_row.cols[4] : "",
382 at_row.cols[5] ? at_row.cols[5] : "",
383 at_row.cols[
[all...]
/netbsd-current/external/bsd/nvi/dist/gtk/
H A Dgtkviscreen.c71 #define CharAt(scr,y,x) scr->chars + (y) * scr->cols + x
72 #define FlagAt(scr,y,x) (scr->reverse + (y) * scr->cols + x)
73 #define ColAt(scr,y,x) (scr->endcol + (y) * scr->cols + x)
98 endcol = vi->endcol + row*vi->cols;
110 vi->cols - col)) {
111 MEMMOVE(p, e, vi->cols - col);
112 memset(FlagAt(vi,row,col), COLOR_STANDARD, vi->cols - col);
113 mark_lines(vi, row, col, row+1, vi->cols);
132 line = vi->chars + vi->cury*vi->cols;
133 endcol = vi->endcol + vi->cury*vi->cols;
608 gint rows, cols; local
[all...]
/netbsd-current/external/bsd/mdocml/dist/
H A Dtbl_term.c181 if (tp->tbl.cols == NULL) {
197 for (ic = 0; ic < sp->opts->cols; ic++) {
198 coloff += tp->tbl.cols[ic].width;
200 coloff += tp->tbl.cols[ic].spacing;
209 for (ic = 0; ic + 1 < sp->opts->cols; ic++)
210 tsz += tp->tbl.cols[ic].width +
211 tp->tbl.cols[ic].spacing;
212 if (sp->opts->cols)
213 tsz += tp->tbl.cols[sp->opts->cols
[all...]

Completed in 189 milliseconds

12345678