Searched refs:countDiff (Results 1 – 2 of 2) sorted by relevance
80 int countDiff = promiseChecker.fFulfillCount - promiseChecker.fReleaseCount; in check_fulfill_and_release_cnts() local82 if (countDiff != 0) { in check_fulfill_and_release_cnts()85 REPORTER_ASSERT(reporter, 0 == countDiff); in check_fulfill_and_release_cnts()86 } else if (countDiff != 1 && in check_fulfill_and_release_cnts()89 REPORTER_ASSERT(reporter, 0 == countDiff || 1 == countDiff); in check_fulfill_and_release_cnts()90 } else if (countDiff < 0) { in check_fulfill_and_release_cnts()92 REPORTER_ASSERT(reporter, countDiff >= 0); in check_fulfill_and_release_cnts()
88 int countDiff = promiseChecker.fFulfillCount - promiseChecker.fReleaseCount; in check_fulfill_and_release_cnts() local90 if (countDiff != 0) { in check_fulfill_and_release_cnts()93 REPORTER_ASSERT(reporter, 0 == countDiff); in check_fulfill_and_release_cnts()94 } else if (countDiff != 1 && in check_fulfill_and_release_cnts()97 REPORTER_ASSERT(reporter, 0 == countDiff || 1 == countDiff); in check_fulfill_and_release_cnts()98 } else if (countDiff < 0) { in check_fulfill_and_release_cnts()100 REPORTER_ASSERT(reporter, countDiff >= 0); in check_fulfill_and_release_cnts()