/dragonfly/games/rain/ |
H A D | rain.c | 56 int xpos[5], ypos[5]; in main() local 88 ypos[j] = random() % lines + 2; in main() 98 mvaddch(ypos[j], xpos[j], 'o'); in main() 101 mvaddch(ypos[j], xpos[j], 'O'); in main() 104 mvaddch(ypos[j] - 1, xpos[j], '-'); in main() 106 mvaddch(ypos[j] + 1, xpos[j], '-'); in main() 109 mvaddch(ypos[j] - 2, xpos[j], '-'); in main() 113 mvaddch(ypos[j] + 2, xpos[j], '-'); in main() 116 mvaddch(ypos[j] - 2, xpos[j], ' '); in main() 120 mvaddch(ypos[j] + 2, xpos[j], ' '); in main() [all …]
|
/dragonfly/sys/dev/misc/syscons/ |
H A D | sctermvar.h | 268 int ypos; in sc_term_tab() local 275 ypos = scp->ypos; in sc_term_tab() 278 scp->ypos = ypos + 1; in sc_term_tab() 343 scp->ypos++; in sc_term_gen_print() 381 scp->ypos++; in sc_term_gen_print() 395 scp->ypos++; in sc_term_gen_print() 428 int ypos; in sc_term_gen_scroll() local 441 ypos = scp->ypos - 1; in sc_term_gen_scroll() 442 if (ypos <= 0) in sc_term_gen_scroll() 443 ypos = 0; in sc_term_gen_scroll() [all …]
|
H A D | scterm.c | 60 scp->ypos = y; in sc_move_cursor() 61 scp->cursor_pos = scp->ypos*scp->xsize + x; in sc_move_cursor()
|
H A D | scterm-sc.c | 190 tcp->saved_ypos = scp->ypos; in scterm_scan_esc() 278 sc_move_cursor(scp, 0, scp->ypos + n); in scterm_scan_esc() 285 sc_move_cursor(scp, 0, scp->ypos - n); in scterm_scan_esc() 316 sc_term_ins_line(scp, scp->ypos, tcp->param[0], in scterm_scan_esc() 321 sc_term_del_line(scp, scp->ypos, tcp->param[0], in scterm_scan_esc() 453 tcp->saved_ypos = scp->ypos; in scterm_scan_esc()
|
H A D | syscons.h | 266 int ypos; /* current Y position */ member
|
H A D | syscons.c | 1088 ptr->mv_row = scp->ypos; in scioctl() 3082 sc_move_cursor(sc->old_scp, sc->old_scp->xpos, sc->old_scp->ypos); in exchange_scr() 3097 sc_move_cursor(scp, scp->xpos, scp->ypos); in exchange_scr() 3354 scp->ypos = row; in scinit() 3680 scp->xpos = scp->ypos = 0; in init_scp()
|
H A D | scvidctl.c | 911 old_ypos = scp->ypos; in sc_update_render()
|
/dragonfly/games/atc/ |
H A D | update.c | 111 pp->ypos += displacement[pp->dir].dy; in update() 114 pp->ypos == sp->beacon[pp->delayd_no].y) { in update() 123 pp->ypos == sp->airport[pp->dest_no].y && in update() 135 pp->ypos == sp->exit[pp->dest_no].y) { in update() 153 pp->ypos == sp->airport[i].y) { in update() 164 pp->ypos < 1 || pp->ypos >= sp->height - 1) { in update() 167 pp->ypos == sp->exit[i].y) { in update() 323 p.ypos = sp->exit[rnd2].y; in addplane() 338 p.ypos = sp->airport[p.orig_no].y; in addplane() 381 ABS(p1->xpos - p2->xpos) <= dist && ABS(p1->ypos - p2->ypos) <= dist) in too_close()
|
H A D | graphics.c | 80 wmove(cleanradar, pp->ypos, pp->xpos * 2); in erase_all() 81 wmove(radar, pp->ypos, pp->xpos * 2); in erase_all() 83 wmove(cleanradar, pp->ypos, pp->xpos * 2 + 1); in erase_all() 84 wmove(radar, pp->ypos, pp->xpos * 2 + 1); in erase_all() 97 wmove(radar, pp->ypos, pp->xpos * 2); in draw_all()
|
H A D | input.c | 448 ydiff = sp->beacon[c].y - p.ypos; in delayb() 568 sp->beacon[c].y - p.ypos); in benum() 574 sp->exit[c].y - p.ypos); in benum() 580 sp->airport[c].y - p.ypos); in benum()
|
H A D | struct.h | 86 int ypos; member
|
/dragonfly/sys/dev/misc/syscons/fred/ |
H A D | fred_saver.c | 115 clear_fred(sc_softc_t *sc, int xpos, int ypos, int dxdir, int xoff, int yoff, in clear_fred() argument 125 (ypos + y)*sc->cur_scp->xsize + xpos + xoff, in clear_fred() 132 draw_fred(sc_softc_t *sc, int xpos, int ypos, int dxdir, int xoff, int yoff, in draw_fred() argument 155 (ypos + y)*sc->cur_scp->xsize in draw_fred() 161 (ypos + y)*sc->cur_scp->xsize in draw_fred() 172 clear_string(sc_softc_t *sc, int xpos, int ypos, int xoff, char *s, int len) in clear_string() argument 177 ypos*sc->cur_scp->xsize + xpos + xoff, len - xoff, in clear_string() 182 draw_string(sc_softc_t *sc, int xpos, int ypos, int xoff, char *s, int len) in draw_string() argument 188 ypos*sc->cur_scp->xsize + xpos + x, in draw_string()
|
/dragonfly/sys/dev/misc/syscons/logo/ |
H A D | logo_saver.c | 82 static int xpos = 0, ypos = 0; in logo_update() local 88 if ((ypos + logo_h + yinc > scrh) || (ypos + yinc < 0)) in logo_update() 91 ypos += yinc; in logo_update() 94 logo_blit(adp, xpos, ypos); in logo_update()
|
/dragonfly/contrib/ncurses/ncurses/base/ |
H A D | lib_addch.c | 121 newline_forces_scroll(WINDOW *win, NCURSES_SIZE_T *ypos) in newline_forces_scroll() argument 125 if (*ypos >= win->_regtop && *ypos <= win->_regbottom) { in newline_forces_scroll() 126 if (*ypos == win->_regbottom) { in newline_forces_scroll() 127 *ypos = win->_regbottom; in newline_forces_scroll() 129 } else if (*ypos < win->_maxy) { in newline_forces_scroll() 130 *ypos = (NCURSES_SIZE_T) (*ypos + 1); in newline_forces_scroll() 132 } else if (*ypos < win->_maxy) { in newline_forces_scroll() 133 *ypos = (NCURSES_SIZE_T) (*ypos + 1); in newline_forces_scroll()
|
/dragonfly/games/worms/ |
H A D | worms.c | 164 short *xpos, *ypos; member 248 w->ypos = ip; in main() 280 mvaddch(y = w->ypos[h] = bottom, in main() 286 y = w->ypos[h]; in main() 293 y1 = w->ypos[h]; in main() 314 ref[w->ypos[h] = y][w->xpos[h] = x]++; in main()
|
/dragonfly/contrib/ncurses/ncurses/widechar/ |
H A D | lib_add_wch.c | 118 newline_forces_scroll(WINDOW *win, NCURSES_SIZE_T *ypos) in newline_forces_scroll() argument 122 if (*ypos >= win->_regtop && *ypos == win->_regbottom) { in newline_forces_scroll() 123 *ypos = win->_regbottom; in newline_forces_scroll() 126 *ypos = (NCURSES_SIZE_T) (*ypos + 1); in newline_forces_scroll()
|
/dragonfly/contrib/wpa_supplicant/src/crypto/ |
H A D | aes-gcm.c | 148 u8 *ypos = y; in aes_gctr() local 158 aes_encrypt(aes, cb, ypos); in aes_gctr() 159 xor_block(ypos, xpos); in aes_gctr() 161 ypos += AES_BLOCK_SIZE; in aes_gctr() 170 *ypos++ = *xpos++ ^ tmp[i]; in aes_gctr()
|
/dragonfly/sys/dev/misc/syscons/snake/ |
H A D | snake_saver.c | 84 diry = (scp->ypos ? in snake_saver() 87 savs[f] = scp->xpos + scp->ypos*scp->xsize; in snake_saver()
|
/dragonfly/sys/dev/drm/i915/ |
H A D | intel_tv.c | 992 int xpos = 0x0, ypos = 0x0; in intel_tv_pre_enable() local 1089 ypos += conn_state->tv.margins.top; in intel_tv_pre_enable() 1094 I915_WRITE(TV_WIN_POS, (xpos<<16)|ypos); in intel_tv_pre_enable()
|