/src/games/rain/ |
rain.c | 78 int xpos[5], ypos[5]; local in function:main 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[j] - 2, "| O |") [all...] |
/src/games/testpat/ |
testpat.c | 55 int xpos, ypos, spacing_residual, spacing_start, spacing_end; local in function:main 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 < col + grid_x - 1) && (xpos < x_limit)) [all...] |
/src/lib/libcurses/ |
getstr.c | 165 int c, xpos, oldx, remain; local in function:__wgetnstr 173 xpos = oldx = win->curx; 187 mvwaddch(win, win->cury, xpos, ' '); 188 if (xpos > oldx) 190 xpos - 1, ' '); 191 if (win->curx > xpos - 1) 192 wmove(win, win->cury, xpos - 1); 193 xpos--; 201 if (win->curx > xpos) 202 wmove(win, win->cury, xpos - 1) [all...] |
/src/sys/dev/dec/ |
vsxxxvar.h | 39 u_int8_t xpos; member in struct:vsxxx_softc::__anon8e5fa074010a::__anon8e5fa0740208
|
vsxxx.c | 128 x = sc->sc_report.ms.xpos;
|
/src/games/colorbars/ |
colorbars.c | 101 for (int xpos = 0; xpos < spacing; xpos++) local in function:main 102 mvprintw(line, xoffs + xpos, " ");
|
/src/games/atc/ |
update.c | 130 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 = sp->airport[p.orig_no].x [all...] |
struct.h | 96 int xpos; member in struct:plane
|
graphics.c | 95 (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);
|
input.c | 487 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,
|
/src/games/worms/ |
worms.c | 189 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],
|
/src/sys/dev/ic/ |
dc503reg.h | 77 volatile uint16_t xpos; member in struct:dc503reg
|
/src/sys/arch/arc/arc/ |
arcbios.c | 293 bios_display_info(int *xpos, int *ypos, int *xsize, int *ysize) 296 *xpos = arc_displayinfo.CursorXPosition;
|
/src/sys/arch/vax/vsa/ |
spx.c | 367 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) 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) 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, ypos); spxg_delay() [all...] |
smg.c | 615 ss->ss_cursor->xpos =
|
/src/sys/external/bsd/drm2/dist/include/uapi/drm/ |
vmwgfx_drm.h | 515 * @xpos: X position of cursor. 526 __s32 xpos; member in struct:drm_vmw_cursor_bypass_arg
|
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_tv.c | 1099 int xsize, ysize, xpos, ypos; local in function:intel_tv_get_config 1143 xpos = tmp >> 16; 1156 xpos, mode.hdisplay - xsize - xpos); 1436 int xpos, ypos; local in function:intel_tv_pre_enable 1546 xpos = conn_state->tv.margins.left; 1552 I915_WRITE(TV_WIN_POS, (xpos<<16)|ypos);
|
/src/bin/ksh/ |
lex.c | 789 int xpos; local in function:readhere 801 xpos = Xsavepos(xs, xp); 818 xp = Xrestpos(xs, xp, xpos);
|
/src/sys/arch/pmax/ibus/ |
pm.c | 603 pcc->xpos = x + PCC_X_OFFSET;
|