Lines Matching defs:count
836 // wait until feed count reaches the required value
1260 std::size_t count = 0;
1267 count = 0;
1269 // count of white/black pixels depending on the color searched
1274 count++;
1279 count++;
1283 // at end of line, if count >= 3%, line is not fully of the desired color
1285 // count*100/pixels < 3
1287 auto found_percentage = (count * 100 / image.get_width());
1293 DBG(DBG_data, "%s: pixels=%zu, count=%zu (%zu%%)\n", __func__,
1294 image.get_width(), count, found_percentage);
1301 count = 0;
1303 // count of white/black pixels depending on the color searched
1307 count++;
1311 count++;
1316 // at end of area, if count >= 3%, area is not fully of the desired color
1318 auto found_percentage = count * 100 / (image.get_width() * image.get_height());
1323 DBG(DBG_data, "%s: pixels=%zu, count=%zu (%zu%%)\n", __func__, image.get_width(),
1324 count, found_percentage);
1347 unsigned count = 0;
1353 count++;
1356 if (count > 0) {
1357 avg[ch] /= count;
4386 unsigned int count;
4413 count=0;
4414 /* count models of the same names if several scanners attached */
4418 count++;
4422 if(count>1)
5166 config.count = 0;