Lines Matching refs:counts
271 return sum([get_pool_count(counts)
272 for counts in self._pools.values()])
440 for board, counts in self.items():
441 spares = counts.get_total(_SPARE_POOL)
442 total = counts.get_total()
575 counts = inventory[board]
576 if counts.get_broken() != 0:
577 board_buffer_counts[board] = counts.get_spares_buffer()
578 broken_list.extend(counts.get_broken_list())
648 counts = inventory[board]
654 counts.get_spares_buffer(),
655 counts.get_broken(),
656 counts.get_working(),
657 counts.get_total(_SPARE_POOL),
658 counts.get_total())
722 for board, counts in inventory.items():
725 broken = counts.get_broken(pool)
728 working = counts.get_working(pool)
729 total = counts.get_total(pool)
951 for counts in inventory.values():
964 total_broken += counts.get_broken()