• Home
  • Raw
  • Download

Lines Matching refs:getResourceCount

335         SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes());  in Mock()
362 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_no_key()
374 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_no_key()
380 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_no_key()
386 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_no_key()
391 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_no_key()
431 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_purge_unlocked()
446 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_purge_unlocked()
454 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_purge_unlocked()
462 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_purge_unlocked()
479 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_purge_command_buffer_usage()
498 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_purge_command_buffer_usage()
510 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_purge_command_buffer_usage()
517 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_purge_command_buffer_usage()
523 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_purge_command_buffer_usage()
530 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_purge_command_buffer_usage()
569 REPORTER_ASSERT(reporter, 5 == cache->getResourceCount()); in test_budgeting()
582 REPORTER_ASSERT(reporter, 5 == cache->getResourceCount()); in test_budgeting()
597 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_budgeting()
611 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount()); in test_budgeting()
621 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_budgeting()
635 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_budgeting()
646 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_budgeting()
653 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_budgeting()
678 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_unbudgeted()
687 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_unbudgeted()
695 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_unbudgeted()
702 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_unbudgeted()
709 REPORTER_ASSERT(reporter, 3 == cache->getResourceCount()); in test_unbudgeted()
716 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_unbudgeted()
723 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_unbudgeted()
750 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_unbudgeted_to_scratch()
758 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_unbudgeted_to_scratch()
777 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_unbudgeted_to_scratch()
789 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_unbudgeted_to_scratch()
822 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_duplicate_scratch_key()
829 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_duplicate_scratch_key()
841 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_duplicate_scratch_key()
868 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_remove_scratch_key()
876 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_remove_scratch_key()
882 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_remove_scratch_key()
889 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_remove_scratch_key()
895 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_remove_scratch_key()
900 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_remove_scratch_key()
982 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_duplicate_unique_key()
993 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_duplicate_unique_key()
999 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_duplicate_unique_key()
1010 REPORTER_ASSERT(reporter, 2 == cache->getResourceCount()); in test_duplicate_unique_key()
1015 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_duplicate_unique_key()
1021 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_duplicate_unique_key()
1027 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount()); in test_duplicate_unique_key()
1035 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_duplicate_unique_key()
1117 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_purge_invalidated()
1259 REPORTER_ASSERT(reporter, cnt - i - 1 == cache->getResourceCount()); in test_time_purge()
1269 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_time_purge()
1294 REPORTER_ASSERT(reporter, cnt - i / 2 - 1 == cache->getResourceCount()); in test_time_purge()
1301 REPORTER_ASSERT(reporter, cnt / 2 - i - 1 == cache->getResourceCount()); in test_time_purge()
1307 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_time_purge()
1331 REPORTER_ASSERT(reporter, cnt - i / 2 - 1 == cache->getResourceCount()); in test_time_purge()
1337 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_time_purge()
1349 REPORTER_ASSERT(reporter, 10 == cache->getResourceCount()); in test_time_purge()
1351 REPORTER_ASSERT(reporter, 10 == cache->getResourceCount()); in test_time_purge()
1353 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount()); in test_time_purge()