/dragonfly/games/rain/ |
H A D | rain.c | 56 int xpos[5], ypos[5]; in main() local 87 xpos[j] = random() % cols + 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 | 100 n = scp->xsize - scp->xpos; in sc_term_ins_char() 116 n = scp->xsize - scp->xpos; in sc_term_del_char() 277 scp->xpos = 0; in sc_term_tab() 295 if ((i = scp->xpos & ~7) == scp->xpos) in sc_term_backtab() 339 scp->xpos += cnt - i; in sc_term_gen_print() 342 scp->xpos = 0; in sc_term_gen_print() 362 if (scp->xpos > 0) { in sc_term_gen_print() 363 scp->xpos--; in sc_term_gen_print() 378 scp->xpos += (8 - scp->xpos % 8u); in sc_term_gen_print() 380 scp->xpos = 0; in sc_term_gen_print() [all …]
|
H A D | scterm-sc.c | 189 tcp->saved_xpos = scp->xpos; in scterm_scan_esc() 349 if (n > scp->xsize - scp->xpos) in scterm_scan_esc() 350 n = scp->xsize - scp->xpos; in scterm_scan_esc() 452 tcp->saved_xpos = scp->xpos; in scterm_scan_esc()
|
H A D | scterm.c | 59 scp->xpos = x; in sc_move_cursor()
|
H A D | syscons.h | 265 int xpos; /* current X position */ member
|
H A D | syscons.c | 1087 ptr->mv_col = scp->xpos; 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() 3353 scp->xpos = col; in scinit() 3680 scp->xpos = scp->ypos = 0; in init_scp()
|
H A D | scvidctl.c | 910 old_xpos = scp->xpos; in sc_update_render()
|
/dragonfly/contrib/wpa_supplicant/src/crypto/ |
H A D | fips_prf_wolfssl.c | 41 u8 *xpos = x; in fips186_2_prf() local 67 WPA_PUT_BE32(xpos, _t[0]); in fips186_2_prf() 68 WPA_PUT_BE32(xpos + 4, _t[1]); in fips186_2_prf() 69 WPA_PUT_BE32(xpos + 8, _t[2]); in fips186_2_prf() 70 WPA_PUT_BE32(xpos + 12, _t[3]); in fips186_2_prf() 71 WPA_PUT_BE32(xpos + 16, _t[4]); in fips186_2_prf() 76 carry += xkey[k] + xpos[k]; in fips186_2_prf() 81 xpos += 20; in fips186_2_prf()
|
H A D | fips_prf_openssl.c | 53 u8 *xpos = x; in fips186_2_prf() local 79 WPA_PUT_BE32(xpos, _t[0]); in fips186_2_prf() 80 WPA_PUT_BE32(xpos + 4, _t[1]); in fips186_2_prf() 81 WPA_PUT_BE32(xpos + 8, _t[2]); in fips186_2_prf() 82 WPA_PUT_BE32(xpos + 12, _t[3]); in fips186_2_prf() 83 WPA_PUT_BE32(xpos + 16, _t[4]); in fips186_2_prf() 88 carry += xkey[k] + xpos[k]; in fips186_2_prf() 93 xpos += 20; in fips186_2_prf()
|
H A D | aes-gcm.c | 106 const u8 *xpos = x; in ghash() local 113 xor_block(y, xpos); in ghash() 114 xpos += 16; in ghash() 123 if (x + xlen > xpos) { in ghash() 125 size_t last = x + xlen - xpos; in ghash() 126 os_memcpy(tmp, xpos, last); in ghash() 147 const u8 *xpos = x; in aes_gctr() local 159 xor_block(ypos, xpos); in aes_gctr() 160 xpos += AES_BLOCK_SIZE; in aes_gctr() 165 last = x + xlen - xpos; in aes_gctr() [all …]
|
H A D | fips_prf_internal.c | 22 u8 *xpos = x; in fips186_2_prf() local 53 os_memcpy(xpos, _t, 20); in fips186_2_prf() 58 carry += xkey[k] + xpos[k]; in fips186_2_prf() 63 xpos += SHA1_MAC_LEN; in fips186_2_prf()
|
/dragonfly/games/atc/ |
H A D | update.c | 110 pp->xpos += displacement[pp->dir].dx; in update() 113 if (pp->delayd && pp->xpos == sp->beacon[pp->delayd_no].x && in update() 122 if (pp->xpos == sp->airport[pp->dest_no].x && in update() 134 if (pp->xpos == sp->exit[pp->dest_no].x && in update() 152 if (pp->xpos == sp->airport[i].x && in update() 163 if (pp->xpos < 1 || pp->xpos >= sp->width - 1 || in update() 166 if (pp->xpos == sp->exit[i].x && in update() 322 p.xpos = sp->exit[rnd2].x; in addplane() 337 p.xpos = sp->airport[p.orig_no].x; 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 | 446 xdiff = sp->beacon[c].x - p.xpos; in delayb() 567 p.new_dir = DIR_FROM_DXDY(sp->beacon[c].x - p.xpos, in benum() 573 p.new_dir = DIR_FROM_DXDY(sp->exit[c].x - p.xpos, in benum() 579 p.new_dir = DIR_FROM_DXDY(sp->airport[c].x - p.xpos, in benum()
|
H A D | struct.h | 85 int xpos; 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 156 + xpos + x, in draw_fred() 162 + xpos + FRED_MAX_WIDTH 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/games/worms/ |
H A D | worms.c | 164 short *xpos, *ypos; member 243 w->xpos = ip; in main() 279 if ((x = w->xpos[h = w->head]) < 0) { in main() 281 x = w->xpos[h] = 0, in main() 289 if (w->xpos[w->head = h] >= 0) { in main() 292 x1 = w->xpos[h]; in main() 314 ref[w->ypos[h] = y][w->xpos[h] = x]++; in main()
|
/dragonfly/sys/dev/misc/syscons/logo/ |
H A D | logo_saver.c | 82 static int xpos = 0, ypos = 0; in logo_update() local 86 if ((xpos + logo_w + xinc > scrw) || (xpos + xinc < 0)) in logo_update() 90 xpos += xinc; in logo_update() 94 logo_blit(adp, xpos, ypos); in logo_update()
|
/dragonfly/games/colorbars/ |
H A D | colorbars.c | 100 for (int xpos = 0; xpos < spacing; xpos++) in main() local 101 mvprintw(line, xoffs + xpos, " "); in main()
|
/dragonfly/contrib/gdb-7/gdb/tui/ |
H A D | tui-source.c | 294 int xpos; in tui_set_source_content_nil() local 301 xpos = 1; in tui_set_source_content_nil() 303 xpos = (line_width - 1) / 2 - warning_length; in tui_set_source_content_nil() 305 for (i = 0; i < xpos; i++) in tui_set_source_content_nil() 310 for (i = xpos + warning_length; i < line_width; i++) in tui_set_source_content_nil()
|
/dragonfly/sys/dev/misc/syscons/snake/ |
H A D | snake_saver.c | 83 dirx = (scp->xpos ? 1 : -1); 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 1088 xpos += conn_state->tv.margins.left; in intel_tv_pre_enable() 1094 I915_WRITE(TV_WIN_POS, (xpos<<16)|ypos); in intel_tv_pre_enable()
|