Home
last modified time | relevance | path

Searched refs:xpos (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/dev/syscons/
H A Dsctermvar.h96 if (n > scp->xsize - scp->xpos) in sc_term_ins_char()
97 n = scp->xsize - scp->xpos; in sc_term_ins_char()
98 count = scp->xsize - (scp->xpos + n); in sc_term_ins_char()
112 if (n > scp->xsize - scp->xpos) in sc_term_del_char()
113 n = scp->xsize - scp->xpos; in sc_term_del_char()
114 count = scp->xsize - (scp->xpos + n); in sc_term_del_char()
134 sc_move_cursor(scp, scp->xpos, n - 1); in sc_term_row()
145 sc_move_cursor(scp, scp->xpos, scp->ypos - n); in sc_term_up()
158 sc_move_cursor(scp, scp->xpos, scp->ypos + n); in sc_term_down()
166 sc_move_cursor(scp, scp->xpos - n, scp->ypos); in sc_term_left()
[all …]
H A Dscterm.c55 scp->xpos = x; in sc_move_cursor()
57 scp->cursor_pos = scp->ypos*scp->xsize + scp->xpos; in sc_move_cursor()
H A Dscterm-sc.c208 tcp->saved_xpos = scp->xpos; in scterm_scan_esc()
369 if (n > scp->xsize - scp->xpos) in scterm_scan_esc()
370 n = scp->xsize - scp->xpos; in scterm_scan_esc()
472 tcp->saved_xpos = scp->xpos; in scterm_scan_esc()
H A Dsyscons.c518 scp->ypos * scp->xsize + scp->xpos); in sc_set_vesa_mode()
529 scp->xpos = 0; in sc_set_vesa_mode()
1014 ptr->mv_col = scp->xpos; in sctty_ioctl()
2991 sc_move_cursor(sc->old_scp, sc->old_scp->xpos, sc->old_scp->ypos); in exchange_scr()
3005 sc_move_cursor(scp, scp->xpos, scp->ypos); in exchange_scr()
3341 scp->xpos = col; in scinit()
3661 scp->xpos = scp->ypos = 0; in init_scp()
H A Dscterm-teken.c295 tp.tp_col = scp->xpos; in scteken_sync_internal()
H A Dsyscons.h283 int xpos; /* current X position */ member
/freebsd/contrib/wpa/src/crypto/
H A Dfips_prf_wolfssl.c41 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 Dfips_prf_openssl.c66 u8 *xpos = x; in fips186_2_prf() local
92 WPA_PUT_BE32(xpos, _t[0]); in fips186_2_prf()
93 WPA_PUT_BE32(xpos + 4, _t[1]); in fips186_2_prf()
94 WPA_PUT_BE32(xpos + 8, _t[2]); in fips186_2_prf()
95 WPA_PUT_BE32(xpos + 12, _t[3]); in fips186_2_prf()
96 WPA_PUT_BE32(xpos + 16, _t[4]); in fips186_2_prf()
101 carry += xkey[k] + xpos[k]; in fips186_2_prf()
106 xpos += 20; in fips186_2_prf()
H A Daes-gcm.c106 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 Dfips_prf_internal.c22 u8 *xpos = x; in fips186_2_prf() local
50 os_memcpy(xpos, _t, 20); in fips186_2_prf()
55 carry += xkey[k] + xpos[k]; in fips186_2_prf()
60 xpos += SHA1_MAC_LEN; in fips186_2_prf()
/freebsd/sys/net80211/
H A Dieee80211_crypto_gcm.c163 const uint8_t *xpos = x; in ghash() local
170 xor_block(y, xpos, AES_BLOCK_LEN); in ghash()
171 xpos += 16; in ghash()
180 if (x + xlen > xpos) { in ghash()
182 size_t last = x + xlen - xpos; in ghash()
183 memcpy(tmp, xpos, last); in ghash()
209 const uint8_t *xpos = x; in aes_gctr() local
222 xor_block(ypos, xpos, AES_BLOCK_LEN); in aes_gctr()
223 xpos += AES_BLOCK_LEN; in aes_gctr()
228 last = x + xlen - xpos; in aes_gctr()
[all …]
/freebsd/sys/dev/syscons/daemon/
H A Ddaemon_saver.c125 clear_daemon(sc_softc_t *sc, int xpos, int ypos, int dxdir, int xoff, int yoff, in clear_daemon() argument
134 (ypos + y)*sc->cur_scp->xsize + xpos + xoff, in clear_daemon()
141 draw_daemon(sc_softc_t *sc, int xpos, int ypos, int dxdir, int xoff, int yoff, in draw_daemon() argument
167 + xpos + x, in draw_daemon()
173 + xpos + DAEMON_MAX_WIDTH in draw_daemon()
183 clear_string(sc_softc_t *sc, int xpos, int ypos, int xoff, char *s, int len) in clear_string() argument
188 ypos*sc->cur_scp->xsize + xpos + xoff, len - xoff, in clear_string()
193 draw_string(sc_softc_t *sc, int xpos, int ypos, int xoff, u_char *s, int len) in draw_string() argument
199 ypos*sc->cur_scp->xsize + xpos + x, in draw_string()
/freebsd/sys/dev/syscons/logo/
H A Dlogo_saver.c93 static int xpos = 0, ypos = 0; in logo_update() local
97 if ((xpos + logo_w + xinc > scrw) || (xpos + xinc < 0)) in logo_update()
101 xpos += xinc; in logo_update()
105 logo_blit(adp, xpos, ypos); in logo_update()
/freebsd/crypto/openssl/apps/
H A Dengine.c158 int xpos = 0; in util_verbose() local
196 if (xpos == 0) in util_verbose()
198 xpos = BIO_puts(out, indent); in util_verbose()
201 xpos += BIO_printf(out, ", "); in util_verbose()
206 if ((xpos > (int)strlen(indent)) && in util_verbose()
207 (xpos + (int)strlen(name) > line_wrap)) { in util_verbose()
209 xpos = BIO_puts(out, indent); in util_verbose()
211 xpos += BIO_printf(out, "%s", name); in util_verbose()
219 xpos = 0; in util_verbose()
229 if (xpos > 0) in util_verbose()
/freebsd/tools/sched/
H A Dschedgraph.py669 def draw(self, canvas, xpos, ypos, item): argument
715 def draw(self, canvas, xpos, ypos): argument
717 l = canvas.create_oval(xpos - XY_POINT, ypos,
718 xpos + XY_POINT, ypos - (XY_POINT * 2),
721 Event.draw(self, canvas, xpos, ypos, l)
723 return xpos
730 def draw(self, canvas, xpos, ypos): argument
733 return (xpos)
743 l = canvas.create_rectangle(xpos, ypos,
744 xpos + delta, ypos - 10, fill=color, width=0,
[all …]
/freebsd/sys/dev/syscons/snake/
H A Dsnake_saver.c89 dirx = (scp->xpos ? 1 : -1); in snake_saver()
93 savs[f] = scp->xpos + scp->ypos*scp->xsize; in snake_saver()