Lines Matching defs:count
103 int count = num_pix;
114 count += x;
115 if(count <= 0)
125 if(x + count > xmax)
127 int rest = x + count - xmax - 1;
128 count -= rest;
129 if(count <= 0)
134 memset(covers + count, 0, rest * sizeof(cover_type));
143 while(--count);
153 int count = num_pix;
164 count += x;
165 if(count <= 0)
175 if(x + count > xmax)
177 int rest = x + count - xmax - 1;
178 count -= rest;
179 if(count <= 0)
184 memset(covers + count, 0, rest * sizeof(cover_type));
196 while(--count);
205 int count = num_pix;
216 count += y;
217 if(count <= 0)
227 if(y + count > ymax)
229 int rest = y + count - ymax - 1;
230 count -= rest;
231 if(count <= 0)
236 memset(covers + count, 0, rest * sizeof(cover_type));
245 while(--count);
254 int count = num_pix;
265 count += y;
266 if(count <= 0)
276 if(y + count > ymax)
278 int rest = y + count - ymax - 1;
279 count -= rest;
280 if(count <= 0)
285 memset(covers + count, 0, rest * sizeof(cover_type));
297 while(--count);