/openbsd/sys/dev/wscons/ |
H A D | wsemul_dumb.c | 90 edp->ccol = ccol; in wsemul_dumb_cnattach() 117 edp->ccol = ccol; in wsemul_dumb_attach() 188 if (edp->ccol > 0) in wsemul_dumb_output() 189 edp->ccol--; in wsemul_dumb_output() 193 edp->ccol = 0; in wsemul_dumb_output() 204 edp->ccol += n; in wsemul_dumb_output() 212 edp->ccol = 0; in wsemul_dumb_output() 227 edp->ccol++; in wsemul_dumb_output() 234 edp->ccol = 0; in wsemul_dumb_output() 300 *ccolp = edp->ccol; in wsemul_dumb_detach() [all …]
|
H A D | wsemul_sun.c | 172 edp->ccol = ccol; in wsemul_sun_init() 286 edp->ccol--; in wsemul_sun_output_lowchars() 290 edp->ccol = 0; in wsemul_sun_output_lowchars() 301 edp->ccol += n; in wsemul_sun_output_lowchars() 365 edp->ccol--; in wsemul_sun_output_normal() 370 edp->ccol = 0; in wsemul_sun_output_normal() 413 src = edp->ccol; in wsemul_sun_control() 431 edp->ccol = 0; in wsemul_sun_control() 442 edp->ccol -= min(NORMALIZE(ARG(0,1)), edp->ccol); in wsemul_sun_control() 839 pos = edp->ccol; in wsemul_sun_jump_scroll() [all …]
|
H A D | wsemul_vt100_subr.c | 449 help = NCOLS - (edp->ccol + n); in wsemul_vt100_handle_csi() 452 COPYCOLS(edp->ccol, edp->ccol + n, help)); in wsemul_vt100_handle_csi() 475 edp->ccol -= min(DEF1_ARG(0), edp->ccol); in wsemul_vt100_handle_csi() 517 COPYCOLS(edp->ccol + n, edp->ccol, help)); in wsemul_vt100_handle_csi() 536 if (edp->ccol == 0) in wsemul_vt100_handle_csi() 545 n = (edp->ccol - 1) & ~7; in wsemul_vt100_handle_csi() 546 edp->ccol = n; in wsemul_vt100_handle_csi() 563 edp->tabs[edp->ccol] = 0; in wsemul_vt100_handle_csi() 691 row + 1, edp->ccol + 1); in wsemul_vt100_handle_csi() 730 edp->ccol = 0; in wsemul_vt100_handle_csi() [all …]
|
H A D | wsemul_vt100.c | 148 edp->ccol = ccol; in wsemul_vt100_init() 278 edp->ccol); in wsemul_vt100_resetop() 362 edp->ccol = 0; in wsemul_vt100_output_normal() 388 COPYCOLS(edp->ccol, edp->ccol + 1, COLS_LEFT)); in wsemul_vt100_output_normal() 414 edp->ccol++; in wsemul_vt100_output_normal() 444 edp->ccol--; in wsemul_vt100_output_c0c1() 449 edp->ccol = 0; in wsemul_vt100_output_c0c1() 459 n = edp->ccol + min(8 - (edp->ccol & 7), COLS_LEFT); in wsemul_vt100_output_c0c1() 461 edp->ccol = n; in wsemul_vt100_output_c0c1() 555 edp->ccol = 0; in wsemul_vt100_output_esc() [all …]
|
H A 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)
|
H A D | wsdisplay.c | 281 const struct wsscreen_descr *type, void *cookie, int ccol, int crow, in wsscreen_attach() argument 308 ccol, crow, scr, defattr); in wsscreen_attach() 330 int ccol, crow; /* XXX */ in wsscreen_detach() local 337 &ccol, &crow); in wsscreen_detach() 384 int ccol, crow; in wsdisplay_addscreen() local 398 scrdesc, &cookie, &ccol, &crow, &defattr); in wsdisplay_addscreen() 403 cookie, ccol, crow, defattr); in wsdisplay_addscreen() 823 wsdisplay_cnattach(const struct wsscreen_descr *type, void *cookie, int ccol, in wsdisplay_cnattach() argument 832 KASSERT(ccol < type->ncols); in wsdisplay_cnattach() 851 (*wsemul->cnattach)(type, cookie, ccol, crow, defattr); in wsdisplay_cnattach()
|
/openbsd/games/boggle/boggle/ |
H A 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() 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() 515 move(crow, ccol); in showstr() [all …]
|
/openbsd/usr.bin/yacc/ |
H A 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/games/tetris/ |
H A 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/sys/arch/amd64/amd64/ |
H A 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/gnu/usr.bin/gcc/gcc/java/ |
H A D | lex.c | 1770 int c, ccol, cline = 1; 1818 for (ccol = 1; ccol <= col+3; ccol++) 1822 (base [ccol-1] == '\t' ? '\t' : ' ') : ' ');
|