Home
last modified time | relevance | path

Searched refs:countDiff (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DPromiseImageTest.cpp80 int countDiff = promiseChecker.fFulfillCount - promiseChecker.fReleaseCount; in check_fulfill_and_release_cnts() local
82 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()
/external/skqp/tests/
DPromiseImageTest.cpp88 int countDiff = promiseChecker.fFulfillCount - promiseChecker.fReleaseCount; in check_fulfill_and_release_cnts() local
90 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()