pos 648 bsp/drv/dev/base/kd.c int c, pos = 0; pos 662 bsp/drv/dev/base/kd.c if (pos > 0) { pos 665 bsp/drv/dev/base/kd.c pos--; pos 674 bsp/drv/dev/base/kd.c pos++; pos 675 bsp/drv/dev/base/kd.c if (pos > LINE_MAX) { pos 140 bsp/drv/dev/video/vga.c int pos, s; pos 142 bsp/drv/dev/video/vga.c pos = row * sc->cols + col; pos 145 bsp/drv/dev/video/vga.c crtc_write(0x0e, (u_char)((pos >> 8) & 0xff)); pos 146 bsp/drv/dev/video/vga.c crtc_write(0x0f, (u_char)(pos & 0xff)); pos 64 bsp/hal/x86/pc/diag.c int pos = pos_y * screen_x + pos_x; pos 67 bsp/hal/x86/pc/diag.c outb(VID_PORT + 1, (u_int)pos >> 8); pos 70 bsp/hal/x86/pc/diag.c outb(VID_PORT + 1, (u_int)pos & 0xff); pos 36 usr/lib/libc/stdio/fgetpos.c fgetpos(fp, pos) pos 38 usr/lib/libc/stdio/fgetpos.c fpos_t *pos; pos 40 usr/lib/libc/stdio/fgetpos.c return((*pos = (fpos_t)ftell(fp)) == (fpos_t)-1); pos 39 usr/lib/libc/stdio/fsetpos.c fsetpos(iop, pos) pos 41 usr/lib/libc/stdio/fsetpos.c const fpos_t *pos; pos 43 usr/lib/libc/stdio/fsetpos.c return (fseek(iop, (long)*pos, SEEK_SET)); pos 44 usr/lib/libc/stdio/ftell.c fpos_t pos; pos 50 usr/lib/libc/stdio/ftell.c pos = __sseek(fp, (fpos_t)0, SEEK_CUR); pos 51 usr/lib/libc/stdio/ftell.c if (pos == -(fpos_t)1) pos 52 usr/lib/libc/stdio/ftell.c return (pos); pos 60 usr/lib/libc/stdio/ftell.c pos -= fp->_r; pos 62 usr/lib/libc/stdio/ftell.c pos -= fp->_ur; pos 69 usr/lib/libc/stdio/ftell.c pos += fp->_p - fp->_bf._base; pos 71 usr/lib/libc/stdio/ftell.c return (pos); pos 80 usr/sample/tetris/shapes.c fits_in(const struct shape *shape, int pos) pos 84 usr/sample/tetris/shapes.c if (board[pos] || board[pos + *o++] || board[pos + *o++] || pos 85 usr/sample/tetris/shapes.c board[pos + *o]) pos 95 usr/sample/tetris/shapes.c place(const struct shape *shape, int pos, cell onoff) pos 99 usr/sample/tetris/shapes.c board[pos] = onoff; pos 100 usr/sample/tetris/shapes.c board[pos + *o++] = onoff; pos 101 usr/sample/tetris/shapes.c board[pos + *o++] = onoff; pos 102 usr/sample/tetris/shapes.c board[pos + *o] = onoff; pos 119 usr/sample/tetris/tetris.c int pos, c; pos 177 usr/sample/tetris/tetris.c pos = A_FIRST*B_COLS + (B_COLS/2)-1; pos 183 usr/sample/tetris/tetris.c place(curshape, pos, 1); pos 186 usr/sample/tetris/tetris.c place(curshape, pos, 0); pos 192 usr/sample/tetris/tetris.c if (fits_in(curshape, pos + B_COLS)) { pos 193 usr/sample/tetris/tetris.c pos += B_COLS; pos 201 usr/sample/tetris/tetris.c place(curshape, pos, 1); pos 210 usr/sample/tetris/tetris.c pos = A_FIRST*B_COLS + (B_COLS/2)-1; pos 211 usr/sample/tetris/tetris.c if (!fits_in(curshape, pos)) pos 227 usr/sample/tetris/tetris.c place(curshape, pos, 1); pos 236 usr/sample/tetris/tetris.c place(curshape, pos, 0); pos 241 usr/sample/tetris/tetris.c if (fits_in(curshape, pos - 1)) pos 242 usr/sample/tetris/tetris.c pos--; pos 249 usr/sample/tetris/tetris.c if (fits_in(new, pos)) pos 255 usr/sample/tetris/tetris.c if (fits_in(curshape, pos + 1)) pos 256 usr/sample/tetris/tetris.c pos++; pos 261 usr/sample/tetris/tetris.c while (fits_in(curshape, pos + B_COLS)) { pos 262 usr/sample/tetris/tetris.c pos += B_COLS; pos 223 usr/server/fs/fifofs/fifo_vnops.c u_int pos, nbytes; pos 250 usr/server/fs/fifofs/fifo_vnops.c pos = np->fn_start; pos 252 usr/server/fs/fifofs/fifo_vnops.c *p++ = np->fn_buf[pos]; pos 253 usr/server/fs/fifofs/fifo_vnops.c if (++pos > PIPE_BUF) pos 254 usr/server/fs/fifofs/fifo_vnops.c pos = 0; pos 257 usr/server/fs/fifofs/fifo_vnops.c np->fn_start = pos; pos 268 usr/server/fs/fifofs/fifo_vnops.c u_int pos, nfree, nbytes, count = 0; pos 287 usr/server/fs/fifofs/fifo_vnops.c pos = np->fn_start + np->fn_size; pos 288 usr/server/fs/fifofs/fifo_vnops.c if (pos >= PIPE_BUF) pos 289 usr/server/fs/fifofs/fifo_vnops.c pos -= PIPE_BUF; pos 293 usr/server/fs/fifofs/fifo_vnops.c np->fn_buf[pos] = *p++; pos 294 usr/server/fs/fifofs/fifo_vnops.c if (++pos > PIPE_BUF) pos 295 usr/server/fs/fifofs/fifo_vnops.c pos = 0;