Home
last modified time | relevance | path

Searched refs:ccol (Results 1 – 12 of 12) sorted by relevance

/netbsd-src/sys/dev/wscons/
H A Dwsemul_dumb.c74 u_int nrows, ncols, crow, ccol; member
82 int ccol, int crow, long defattr) in wsemul_dumb_cnattach() argument
93 edp->ccol = ccol; in wsemul_dumb_cnattach()
102 void *cookie, int ccol, int crow, void *cbcookie, long defattr) in wsemul_dumb_attach() argument
116 edp->ccol = ccol; in wsemul_dumb_attach()
134 (*edp->emulops->cursor)(edp->emulcookie, 0, edp->crow, edp->ccol); in wsemul_dumb_output()
143 if (edp->ccol > 0) in wsemul_dumb_output()
144 edp->ccol--; in wsemul_dumb_output()
148 edp->ccol = 0; in wsemul_dumb_output()
152 n = uimin(8 - (edp->ccol & 7), in wsemul_dumb_output()
[all …]
H A Dwsemul_sun.c84 u_int nrows, ncols, crow, ccol; member
112 #define COLS_LEFT (edp->ncols - edp->ccol - 1)
117 int ccol, int crow, long defattr) in wsemul_sun_cnattach() argument
130 edp->ccol = ccol; in wsemul_sun_cnattach()
173 void *cookie, int ccol, int crow, void *cbcookie, long defattr) in wsemul_sun_attach() argument
191 edp->ccol = ccol; in wsemul_sun_attach()
232 if (edp->ccol > 0) in wsemul_sun_output_normal()
233 edp->ccol--; in wsemul_sun_output_normal()
237 edp->ccol = 0; in wsemul_sun_output_normal()
241 n = uimin(8 - (edp->ccol & 7), COLS_LEFT); in wsemul_sun_output_normal()
[all …]
H A Dwsemul_vt100_subr.c123 ERASECOLS(vd, vd->ccol, COLS_LEFT(vd) + 1, vd->bkgdattr); in wsemul_vt100_ed()
141 ERASECOLS(vd, 0, vd->ccol + 1, vd->bkgdattr); in wsemul_vt100_ed()
167 ERASECOLS(vd, vd->ccol, COLS_LEFT(vd) + 1, vd->bkgdattr); in wsemul_vt100_el()
170 ERASECOLS(vd, 0, vd->ccol + 1, vd->bkgdattr); in wsemul_vt100_el()
393 help = NCOLS(vd) - (vd->ccol + n); in wsemul_vt100_handle_csi()
395 COPYCOLS(vd, vd->ccol, vd->ccol + n, help); in wsemul_vt100_handle_csi()
396 ERASECOLS(vd, vd->ccol, n, vd->bkgdattr); in wsemul_vt100_handle_csi()
417 vd->ccol += uimin(DEF1_ARG(vd, 0), COLS_LEFT(vd)); in wsemul_vt100_handle_csi()
420 vd->ccol -= uimin(DEF1_ARG(vd, 0), vd->ccol); in wsemul_vt100_handle_csi()
424 vd->ccol = uimin(DEF1_ARG(vd, 0) - 1, vd->ncols -1); in wsemul_vt100_handle_csi()
[all …]
H A Dwsemul_vt100.c142 const struct wsscreen_descr *type, void *cookie, int ccol, int crow, in wsemul_vt100_init() argument
154 vd->ccol = ccol; in wsemul_vt100_init()
217 int ccol, int crow, long defattr) in wsemul_vt100_cnattach() argument
224 wsemul_vt100_init(edp, type, cookie, ccol, crow, defattr); in wsemul_vt100_cnattach()
242 void *cookie, int ccol, int crow, void *cbcookie, long defattr) in wsemul_vt100_attach() argument
252 wsemul_vt100_init(edp, type, cookie, ccol, crow, defattr); in wsemul_vt100_attach()
280 *ccolp = vd->ccol; in wsemul_vt100_detach()
326 vd->ccol = vd->crow = 0; in wsemul_vt100_resetop()
421 vd->ccol = 0; in wsemul_vt100_output_normal()
438 COPYCOLS(vd, vd->ccol, vd->ccol + 1, COLS_LEFT(vd)); in wsemul_vt100_output_normal()
[all …]
H A Dvt100_base.h35 u_int nrows, ncols, crow, ccol; member
83 if ((d)->ccol > ((d)->ncols >> 1) - 1) \
84 (d)->ccol = ((d)->ncols >> 1) - 1; \
89 #define COLS_LEFT(d) (NCOLS(d) - (d)->ccol - 1)
H A Dwsdisplay.c316 const struct wsscreen_descr *type, void *cookie, int ccol, in wsscreen_attach() argument
346 ccol, crow, scr, defattr); in wsscreen_attach()
379 u_int ccol, crow; /* XXX */ in wsscreen_detach() local
387 &ccol, &crow); in wsscreen_detach()
444 int ccol, crow; in wsdisplay_addscreen() local
470 scrdesc, &cookie, &ccol, &crow, &defattr); in wsdisplay_addscreen()
475 cookie, ccol, crow, defattr); in wsdisplay_addscreen()
922 int ccol, int crow, long defattr) in wsdisplay_cnattach() argument
930 KASSERT(ccol < type->ncols); in wsdisplay_cnattach()
939 ccol, crow, in wsdisplay_cnattach()
[all …]
/netbsd-src/games/boggle/boggle/
H A Dmach.c64 static int ccol, crow, maxw; variable
220 move(crow, ccol); in get_line()
321 ccol = LIST_COL; in startwords()
341 ccol += (maxw + 5); in addword()
342 colstarts[ncolstarts++] = ccol; in addword()
344 move(crow, ccol); in addword()
347 move(++crow, ccol); in addword()
361 move(crow, ccol); in badword()
381 move(crow, ccol); in showword()
386 move(crow, ccol); in showword()
[all …]
/netbsd-src/external/bsd/byacc/dist/
H A Dwarshall.c30 unsigned *ccol = cword; in transitive_closure() local
36 if (*ccol & (1U << i)) in transitive_closure()
48 ccol += rowsize; in transitive_closure()
/netbsd-src/games/tetris/
H A Dscreen.c297 int i, ccol, j; in scr_update() local
356 ccol = -1; in scr_update()
361 if (i != ccol) { in scr_update()
385 ccol = i + 1; in scr_update()
/netbsd-src/games/rogue/
H A Dmove.c627 short crow = rogue.row, ccol = rogue.col, turns = 0; in turn_passage() local
630 if ((dir != 'h') && can_turn(crow, ccol + 1)) { in turn_passage()
634 if ((dir != 'l') && can_turn(crow, ccol - 1)) { in turn_passage()
638 if ((dir != 'k') && can_turn(crow + 1, ccol)) { in turn_passage()
642 if ((dir != 'j') && can_turn(crow - 1, ccol)) { in turn_passage()
/netbsd-src/share/man/tools/
H A Dnewsp.errs368 ccol
/netbsd-src/external/gpl2/groff/dist/
H A DNEWS52 ccol n { ... }