Lines Matching defs:count
185 ($c:ident, $value:ident, $counter:ident, $count:ident) => {{
192 $count += 1;
240 ($format:ident, $result:ident, $count:ident) => {{
245 $count += 1;
251 ($format:ident, $iter:expr, $result:ident, $count:ident) => {{
254 round_up_truncated!($format, $result, $count);
255 return ($result, $count);
279 let mut count: usize = 0;
295 while counter < step && count < max_digits {
297 add_digit!(c, value, counter, count);
304 if count == max_digits {
308 round_up_nonzero!(format, integer, result, count);
309 round_up_nonzero!(format, fraction, result, count);
310 return (result, count);
319 // Required to get an accurate count.
320 if count == 0 {
323 add_digit!(c, value, counter, count);
332 while counter < step && count < max_digits {
334 add_digit!(c, value, counter, count);
341 if count == max_digits {
344 round_up_nonzero!(format, fraction, result, count);
345 return (result, count);
358 (result, count)