Lines Matching defs:pos
48 int i, pos, last, planepos, start_offset, end_offset, offset;
66 pos = 0;
69 while (pos < width) {
71 while (pos < last && pos < width)
72 word = (word<<1) | color2bit[line[pos++]&0x0f];
98 pos = VGLAdpInfo.va_line_width*y + x/8;
101 VGLPlane[i][planepos] |= dst->Bitmap[pos+planepos] & mask[end_offset];
103 VGLPlane[i][0] |= dst->Bitmap[pos] & ~mask[start_offset];
104 bcopy(&VGLPlane[i][0], dst->Bitmap + pos, width);
107 offset = VGLSetSegment(pos + planepos);
110 offset = VGLSetSegment(pos);
116 pos += len;
120 offset = VGLSetSegment(pos);
130 for (planepos=0, pos=i; pos<width; planepos++, pos+=4)
131 address[planepos] = line[pos];
137 pos = dst->VXsize * y + x;
139 offset = VGLSetSegment(pos);
143 pos += i;
151 pos = (dst->VXsize * y + x) * dst->PixelBytes;
153 offset = VGLSetSegment(pos);
157 pos += i;
180 int i, bit, pos, count, planepos, start_offset, end_offset, offset;
199 pos = VGLAdpInfo.va_line_width*y + x/8;
201 offset = VGLSetSegment(pos);
204 pos += len;
226 pos = 0;
229 while (pos < width) {
230 for (; bit >= 0 && pos < width; bit--, pos++) {
231 line[pos] = (VGLPlane[0][planepos] & (1<<bit) ? 1 : 0) |
245 for (planepos=0, pos=i; pos<width; planepos++, pos+=4)
246 line[pos] = address[planepos];
252 pos = src->VXsize * y + x;
254 offset = VGLSetSegment(pos);
258 pos += i;
266 pos = (src->VXsize * y + x) * src->PixelBytes;
268 offset = VGLSetSegment(pos);
272 pos += i;