Searched refs:xpos (Results 1 - 25 of 30) sorted by relevance

12

/netbsd-current/games/rain/
H A Drain.c78 int xpos[5], ypos[5]; local
108 xpos[j] = random() % cols + 2;
123 (void)mvaddch(ypos[j], xpos[j], 'o');
126 (void)mvaddch(ypos[j], xpos[j], 'O');
129 (void)mvaddch(ypos[j] - 1, xpos[j], '-');
130 (void)mvaddstr(ypos[j], xpos[j] - 1, "|.|");
131 (void)mvaddch(ypos[j] + 1, xpos[j], '-');
134 (void)mvaddch(ypos[j] - 2, xpos[j], '-');
135 (void)mvaddstr(ypos[j] - 1, xpos[j] - 1, "/ \\");
136 (void)mvaddstr(ypos[j], xpos[
[all...]
/netbsd-current/games/testpat/
H A Dtestpat.c55 int xpos, ypos, spacing_residual, spacing_start, spacing_end; local
153 xpos = col;
154 while ((xpos < col + grid_x - 1) && (xpos <
156 mvaddch(line + grid_y - 1, xpos, 113 |
158 xpos++;
160 if (xpos < x_limit)
161 mvaddch(line + grid_y - 1, xpos, 110 |
189 xpos = col;
190 while ((xpos < co
[all...]
/netbsd-current/lib/libcurses/
H A Dgetstr.c165 int c, xpos, oldx, remain; local
170 xpos = oldx = win->curx;
184 mvwaddch(win, win->cury, xpos, ' ');
185 if (xpos > oldx)
187 xpos - 1, ' ');
188 if (win->curx > xpos - 1)
189 wmove(win, win->cury, xpos - 1);
190 xpos--;
198 if (win->curx > xpos)
199 wmove(win, win->cury, xpos
[all...]
/netbsd-current/external/bsd/wpa/dist/src/crypto/
H A Dfips_prf_wolfssl.c41 u8 *xpos = x; local
67 WPA_PUT_BE32(xpos, _t[0]);
68 WPA_PUT_BE32(xpos + 4, _t[1]);
69 WPA_PUT_BE32(xpos + 8, _t[2]);
70 WPA_PUT_BE32(xpos + 12, _t[3]);
71 WPA_PUT_BE32(xpos + 16, _t[4]);
76 carry += xkey[k] + xpos[k];
81 xpos += 20;
H A Dfips_prf_openssl.c53 u8 *xpos = x; local
79 WPA_PUT_BE32(xpos, _t[0]);
80 WPA_PUT_BE32(xpos + 4, _t[1]);
81 WPA_PUT_BE32(xpos + 8, _t[2]);
82 WPA_PUT_BE32(xpos + 12, _t[3]);
83 WPA_PUT_BE32(xpos + 16, _t[4]);
88 carry += xkey[k] + xpos[k];
93 xpos += 20;
H A Dfips_prf_internal.c22 u8 *xpos = x; local
53 os_memcpy(xpos, _t, 20);
58 carry += xkey[k] + xpos[k];
63 xpos += SHA1_MAC_LEN;
H A Daes-gcm.c106 const u8 *xpos = x; local
113 xor_block(y, xpos);
114 xpos += 16;
123 if (x + xlen > xpos) {
125 size_t last = x + xlen - xpos;
126 os_memcpy(tmp, xpos, last);
147 const u8 *xpos = x; local
159 xor_block(ypos, xpos);
160 xpos += AES_BLOCK_SIZE;
165 last = x + xlen - xpos;
[all...]
/netbsd-current/sys/dev/dec/
H A Dvsxxxvar.h39 u_int8_t xpos; member in struct:vsxxx_softc::__anon9738::__anon9739
H A Dvsxxx.c128 x = sc->sc_report.ms.xpos;
/netbsd-current/games/colorbars/
H A Dcolorbars.c101 for (int xpos = 0; xpos < spacing; xpos++)
102 mvprintw(line, xoffs + xpos, " ");
/netbsd-current/external/bsd/ipf/dist/perl/
H A DIpfanaly.pl159 $xpos=0;
169 $xpos=($hour * 3600) + ($minute * 60) + ($sec) ;
170 # xpos is number of seconds since 00:00:00 on day......
171 $xpos=int($xpos / 60);
178 # print "to gatekeep at $xpos\n";
179 $value5=$inwards[$xpos] [1];
188 $inwards[$xpos][1]=$value5;
193 # print "from gatekeep at $xpos\n";
194 $value4=$outwards[$xpos] [
[all...]
/netbsd-current/games/atc/
H A Dupdate.c130 pp->xpos += displacement[pp->dir].dx;
133 if (pp->delayd && pp->xpos == sp->beacon[pp->delayd_no].x &&
142 if (pp->xpos == sp->airport[pp->dest_no].x &&
154 if (pp->xpos == sp->exit[pp->dest_no].x &&
172 if (pp->xpos == sp->airport[i].x &&
183 if (pp->xpos < 1 || pp->xpos >= sp->width - 1 ||
186 if (pp->xpos == sp->exit[i].x &&
376 p.xpos = sp->exit[rnd2].x;
391 p.xpos
[all...]
H A Dstruct.h96 int xpos; member in struct:plane
H A Dgraphics.c95 (void)wmove(cleanradar, pp->ypos, pp->xpos * 2);
96 (void)wmove(radar, pp->ypos, pp->xpos * 2);
98 (void)wmove(cleanradar, pp->ypos, pp->xpos * 2 + 1);
99 (void)wmove(radar, pp->ypos, pp->xpos * 2 + 1);
112 (void)wmove(radar, pp->ypos, pp->xpos * 2);
H A Dinput.c487 xdiff = sp->beacon[bn].x - p.xpos;
618 p.new_dir = DIR_FROM_DXDY(sp->beacon[n].x - p.xpos,
624 p.new_dir = DIR_FROM_DXDY(sp->exit[n].x - p.xpos,
630 p.new_dir = DIR_FROM_DXDY(sp->airport[n].x - p.xpos,
/netbsd-current/crypto/external/bsd/openssl.old/dist/apps/
H A Dengine.c149 int xpos = 0; local
187 if (xpos == 0)
189 xpos = BIO_puts(out, indent);
192 xpos += BIO_printf(out, ", ");
197 if ((xpos > (int)strlen(indent)) &&
198 (xpos + (int)strlen(name) > line_wrap)) {
200 xpos = BIO_puts(out, indent);
202 xpos += BIO_printf(out, "%s", name);
210 xpos = 0;
220 if (xpos >
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/apps/
H A Dengine.c158 int xpos = 0; local
196 if (xpos == 0)
198 xpos = BIO_puts(out, indent);
201 xpos += BIO_printf(out, ", ");
206 if ((xpos > (int)strlen(indent)) &&
207 (xpos + (int)strlen(name) > line_wrap)) {
209 xpos = BIO_puts(out, indent);
211 xpos += BIO_printf(out, "%s", name);
219 xpos = 0;
229 if (xpos >
[all...]
/netbsd-current/games/worms/
H A Dworms.c189 short *xpos, *ypos; member in struct:worm
459 w->xpos = ip;
504 if ((x = w->xpos[h = w->head]) < 0) {
506 x = w->xpos[h] = 0, c | w->attr);
512 if (w->xpos[w->head = h] >= 0) {
515 x1 = w->xpos[h];
547 ref[w->ypos[h] = y][w->xpos[h] = x]++;
551 mvaddch(w->ypos[prev], w->xpos[prev],
/netbsd-current/sys/dev/ic/
H A Ddc503reg.h77 volatile uint16_t xpos; member in struct:dc503reg
/netbsd-current/external/bsd/nvi/dist/motif_l/
H A Dm_vi.c354 int col, color, xpos;
359 xpos = XPOS( __vi_screen, start_col );
382 xpos,
390 xpos = XPOS( __vi_screen, col );
404 xpos,
1187 int xpos, ypos;
1195 xpos = COLUMN( __vi_screen, ev->x );
1204 ipb.val2 = xpos;
1215 selection_anchor = Linear( __vi_screen, ypos, xpos );
1248 int xpos, ypo
346 int col, color, xpos; local
1174 int xpos, ypos; local
1235 int xpos, ypos, pos; local
[all...]
/netbsd-current/external/bsd/nvi/dist/gtk/
H A Dgtkviscreen.c662 gint y, x, len, blen, xpos; local
672 for (x = 0, xpos = 0; xpos <= xmin; ++x)
673 xpos += CHAR_WIDTH(NULL, *(line+x));
675 xpos -= CHAR_WIDTH(NULL, *(line+x));
676 for (; xpos < xmax; x+=len, xpos+= blen) {
723 gdk_draw_rectangle(vi->text_area, bg, 1, xpos * vi->ch_width,
731 xpos * vi->ch_width,
749 xpos * v
[all...]
/netbsd-current/sys/arch/arc/arc/
H A Darcbios.c293 bios_display_info(int *xpos, int *ypos, int *xsize, int *ysize) argument
296 *xpos = arc_displayinfo.CursorXPosition;
/netbsd-current/sys/arch/vax/vsa/
H A Dspx.c367 static void SPX_blkset(u_int xpos, u_int ypos,
369 static void SPXg_blkset(u_int xpos, u_int ypos,
543 SPX_blkset(u_int xpos, u_int ypos, u_int xdim, u_int ydim, char color) argument
549 SPX_REG(SPX_XSTART) = xpos << 16;
551 SPX_REG(SPX_XEND) = (xpos + xdim) << 16;
558 SPX_REG(SPX_DSTPIX) = temp + LINEAR(xpos, ypos);
570 SPXg_blkset(u_int xpos, u_int ypos, u_int xdim, u_int ydim, char color) argument
576 SPXg_REG(SPX_XSTART) = xpos << 16; spxg_delay();
578 SPXg_REG(SPX_XEND) = (xpos + xdim) << 16; spxg_delay();
583 SPXg_REG(SPX_DSTPIX) = temp + LINEAR(xpos, ypo
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/include/uapi/drm/
H A Dvmwgfx_drm.h515 * @xpos: X position of cursor.
526 __s32 xpos; member in struct:drm_vmw_cursor_bypass_arg
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_tv.c1099 int xsize, ysize, xpos, ypos; local
1143 xpos = tmp >> 16;
1156 xpos, mode.hdisplay - xsize - xpos);
1436 int xpos, ypos; local
1546 xpos = conn_state->tv.margins.left;
1552 I915_WRITE(TV_WIN_POS, (xpos<<16)|ypos);

Completed in 400 milliseconds

12