| /openbsd/src/sys/dev/wscons/ |
| D | wsemul_dumb.c | 70 u_int nrows, ncols, crow, ccol; member 77 wsemul_dumb_cnattach(const struct wsscreen_descr *type, void *cookie, int ccol, in wsemul_dumb_cnattach() argument 90 edp->ccol = ccol; in wsemul_dumb_cnattach() 103 int ccol, int crow, void *cbcookie, uint32_t defattr) in wsemul_dumb_attach() argument 117 edp->ccol = ccol; in wsemul_dumb_attach() 170 (edp->emulcookie, 0, edp->crow, edp->ccol); in wsemul_dumb_output() 188 if (edp->ccol > 0) in wsemul_dumb_output() 189 edp->ccol--; in wsemul_dumb_output() 193 edp->ccol = 0; in wsemul_dumb_output() 197 n = min(8 - (edp->ccol & 7), in wsemul_dumb_output() [all …]
|
| D | wsemul_sun.c | 104 u_int nrows, ncols, crow, ccol; member 158 #define COLS_LEFT (edp->ncols - 1 - edp->ccol) 163 const struct wsscreen_descr *type, void *cookie, int ccol, int crow, in wsemul_sun_init() argument 172 edp->ccol = ccol; in wsemul_sun_init() 196 wsemul_sun_cnattach(const struct wsscreen_descr *type, void *cookie, int ccol, in wsemul_sun_cnattach() argument 203 wsemul_sun_init(edp, type, cookie, ccol, crow, defattr); in wsemul_sun_cnattach() 241 int ccol, int crow, void *cbcookie, uint32_t defattr) in wsemul_sun_attach() argument 254 wsemul_sun_init(edp, type, cookie, ccol, crow, defattr); in wsemul_sun_attach() 285 if (edp->ccol > 0) in wsemul_sun_output_lowchars() 286 edp->ccol--; in wsemul_sun_output_lowchars() [all …]
|
| D | wsemul_vt100.c | 137 const struct wsscreen_descr *type, void *cookie, int ccol, int crow, in wsemul_vt100_init() argument 146 edp->ccol = ccol; in wsemul_vt100_init() 152 wsemul_vt100_cnattach(const struct wsscreen_descr *type, void *cookie, int ccol, in wsemul_vt100_cnattach() argument 159 wsemul_vt100_init(edp, type, cookie, ccol, crow, defattr); in wsemul_vt100_cnattach() 201 void *cookie, int ccol, int crow, void *cbcookie, uint32_t defattr) in wsemul_vt100_attach() argument 212 wsemul_vt100_init(edp, type, cookie, ccol, crow, defattr); in wsemul_vt100_attach() 240 *ccolp = edp->ccol; in wsemul_vt100_detach() 270 edp->ccol = edp->crow = 0; in wsemul_vt100_resetop() 276 edp->ccol); in wsemul_vt100_resetop() 384 edp->ccol = 0; in wsemul_vt100_output_normal() [all …]
|
| D | wsemul_vt100_subr.c | 133 ERASECOLS(edp->ccol, COLS_LEFT + 1, edp->bkgdattr)); in wsemul_vt100_ed() 156 ERASECOLS(0, edp->ccol + 1, edp->bkgdattr)); in wsemul_vt100_ed() 202 ERASECOLS(edp->ccol, COLS_LEFT + 1, edp->bkgdattr)); in wsemul_vt100_el() 206 ERASECOLS(0, edp->ccol + 1, edp->bkgdattr)); in wsemul_vt100_el() 449 help = NCOLS - (edp->ccol + n); in wsemul_vt100_handle_csi() 452 COPYCOLS(edp->ccol, edp->ccol + n, help)); in wsemul_vt100_handle_csi() 457 ERASECOLS(edp->ccol, n, edp->bkgdattr)); in wsemul_vt100_handle_csi() 472 edp->ccol += min(DEF1_ARG(0), COLS_LEFT); in wsemul_vt100_handle_csi() 475 edp->ccol -= min(DEF1_ARG(0), edp->ccol); in wsemul_vt100_handle_csi() 480 edp->ccol = min(DEF1_ARG(0), edp->ncols) - 1; in wsemul_vt100_handle_csi() [all …]
|
| D | wsemul_vt100var.h | 37 u_int nrows, ncols, crow, ccol; member 116 if (edp->ccol > (edp->ncols >> 1) - 1) \ 117 edp->ccol = (edp->ncols >> 1) - 1; \ 132 #define COLS_LEFT (NCOLS - edp->ccol - 1)
|
| D | wsdisplay.c | 276 const struct wsscreen_descr *type, void *cookie, int ccol, int crow, in wsscreen_attach() argument 303 ccol, crow, scr, defattr); in wsscreen_attach() 325 int ccol, crow; /* XXX */ in wsscreen_detach() local 332 &ccol, &crow); in wsscreen_detach() 379 int ccol, crow; in wsdisplay_addscreen() local 393 scrdesc, &cookie, &ccol, &crow, &defattr); in wsdisplay_addscreen() 398 cookie, ccol, crow, defattr); in wsdisplay_addscreen() 801 wsdisplay_cnattach(const struct wsscreen_descr *type, void *cookie, int ccol, in wsdisplay_cnattach() argument 810 KASSERT(ccol < type->ncols); in wsdisplay_cnattach() 829 (*wsemul->cnattach)(type, cookie, ccol, crow, defattr); in wsdisplay_cnattach()
|
| /openbsd/src/games/boggle/boggle/ |
| D | mach.c | 55 static int ccol, crow, maxw; variable 240 move(crow, ccol); in get_line() 345 ccol = LIST_COL; in startwords() 365 ccol += (maxw + 5); in addword() 366 colstarts[ncolstarts++] = ccol; in addword() 368 move(crow, ccol); in addword() 371 move(++crow, ccol); in addword() 385 move(crow, ccol); in badword() 405 move(crow, ccol); in showword() 410 move(crow, ccol); in showword() [all …]
|
| /openbsd/src/usr.bin/yacc/ |
| D | warshall.c | 45 unsigned int *rowj, *rp, *rend, *ccol, *relend, *cword, *rowi; in transitive_closure() local 54 ccol = cword; in transitive_closure() 58 if (*ccol & (1 << i)) { in transitive_closure() 67 ccol += rowsize; in transitive_closure()
|
| /openbsd/src/games/tetris/ |
| D | screen.c | 370 int i, ccol, j; in scr_update() local 428 ccol = -1; in scr_update() 433 if (i != ccol) { in scr_update() 448 ccol = i + 1; in scr_update()
|
| /openbsd/src/sys/arch/amd64/amd64/ |
| D | efifb.c | 169 int console = 0, ccol = 0, crow = 0; in efifb_attach() local 209 ccol = ri->ri_ccol; in efifb_attach() 215 wsdisplay_cnattach(&efifb_std_descr, ri->ri_active, ccol, crow, in efifb_attach()
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/java/ |
| D | lex.c | 1770 int c, ccol, cline = 1; 1818 for (ccol = 1; ccol <= col+3; ccol++) 1822 (base [ccol-1] == '\t' ? '\t' : ' ') : ' ');
|