Lines Matching refs:policySum
63 uint64_t policySum = 0; in TestConcurrentTimesConsistent() local
66 if (i < vec.size()) policySum += vec[i]; in TestConcurrentTimesConsistent()
68 ASSERT_LE(concurrentTime.active[i], policySum); in TestConcurrentTimesConsistent()
69 policySum -= concurrentTime.active[i]; in TestConcurrentTimesConsistent()
71 policySum = 0; in TestConcurrentTimesConsistent()
74 if (i < vec.size()) policySum += vec[vec.size() - 1 - i]; in TestConcurrentTimesConsistent()
81 ASSERT_LE(activeSum, policySum); in TestConcurrentTimesConsistent()
82 policySum -= activeSum; in TestConcurrentTimesConsistent()
90 uint64_t policySum = 0; in TestUidTimesConsistent() local
100 policySum += concurrentSum; in TestUidTimesConsistent()
104 EXPECT_EQ(activeSum, policySum); in TestUidTimesConsistent()