Lines Matching defs:pos
84 int pos = 0;
100 if (pos < offset)
101 out[pos++] = (pix & 0xC0) >> 6;
102 if (pos < offset)
103 out[pos++] = (pix & 0x30) >> 4;
104 if (pos < offset)
105 out[pos++] = (pix & 0x0C) >> 2;
106 if (pos < offset)
107 out[pos++] = (pix & 0x03);
113 if (pos < offset)
114 out[pos++] = (pix & 0xC0) >> 6;
115 if (pos < offset)
116 out[pos++] = (pix & 0x30) >> 4;
117 if (pos < offset)
118 out[pos++] = (pix & 0x0C) >> 2;
119 if (pos < offset)
120 out[pos++] = (pix & 0x03);
139 int pos = 0;
152 if (pos < offset)
153 out[pos++] = (pix & 0xF0) >> 4;
154 if (pos < offset)
155 out[pos++] = pix & 0xF;
161 if (pos < offset)
162 out[pos++] = (pix & 0xF0) >> 4;
163 if (pos < offset)
164 out[pos++] = pix & 0xF;
183 int pos = 0;
196 if (pos < offset) {
197 out[pos++] = pix;
203 if (pos < offset) {
204 out[pos++] = bytestream2_get_be16(gbc);
227 int pos = 0;
240 if (pos < offset)
241 out[pos] = pix;
242 pos += step;
243 if (pos >= offset && step > 1) {
244 pos -= offset;
245 pos++;
252 if (pos < offset)
253 out[pos] = pix;
254 pos += step;
255 if (pos >= offset && step > 1) {
256 pos -= offset;
257 pos++;