Searched refs:release_counter (Results 1 – 1 of 1) sorted by relevance
/external/skia/tests/ |
D | PixelRefTest.cpp | 20 int release_counter; in test_dont_leak_install() local 25 release_counter = 1; in test_dont_leak_install() 26 success = bm.installPixels(info, nullptr, 0, nullptr, decrement_counter_proc, &release_counter); in test_dont_leak_install() 29 REPORTER_ASSERT(reporter, 0 == release_counter); in test_dont_leak_install() 32 release_counter = 1; in test_dont_leak_install() 33 success = bm.installPixels(info, nullptr, 0, nullptr, decrement_counter_proc, &release_counter); in test_dont_leak_install() 36 REPORTER_ASSERT(reporter, 0 == release_counter); in test_dont_leak_install() 39 release_counter = 1; in test_dont_leak_install() 40 success = bm.installPixels(info, nullptr, 0, nullptr, decrement_counter_proc, &release_counter); in test_dont_leak_install() 43 REPORTER_ASSERT(reporter, 0 == release_counter); in test_dont_leak_install()
|