Lines Matching defs:kDefaultSize
244 static const size_t kDefaultSize = 100;
262 , fSize(kDefaultSize)
271 , fSize(kDefaultSize)
315 , fSize(kDefaultSize)
574 REPORTER_ASSERT(reporter, nullptr == cache->findAndRefScratchResource(key, TestResource::kDefaultSize, 0));
586 resource = static_cast<TestResource*>(cache->findAndRefScratchResource(key, TestResource::kDefaultSize, 0));
632 REPORTER_ASSERT(reporter, nullptr == cache->findAndRefScratchResource(scratchKey1, TestResource::kDefaultSize, 0));
679 REPORTER_ASSERT(reporter, cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0) == nullptr);
689 find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0);
703 find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0);
759 REPORTER_ASSERT(reporter, cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0) == nullptr);
763 GrGpuResource* find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0);
768 find = cache->findAndRefScratchResource(scratchKey2, TestResource::kDefaultSize, 0);
772 GrGpuResource* find2 = cache->findAndRefScratchResource(scratchKey2, TestResource::kDefaultSize, 0);
930 GrGpuResource* scratch = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0);
936 scratch = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0);