Searched refs:kMaxObjects (Results 1 – 4 of 4) sorted by relevance
49 kMaxObjects = 4 * (1 << 10), in onDraw() enumerator51 A* objects[kMaxObjects]; in onDraw()56 const int kSwitchThreshPeriod = loops / (2 * kMaxObjects); in onDraw()67 (kMaxObjects == count || del < delThresh)) { in onDraw()111 kMaxObjects = 4 * (1 << 10), in onDraw() enumerator113 SkAutoTDelete<B> objects[kMaxObjects]; in onDraw()116 uint32_t idx = r.nextRangeU(0, kMaxObjects-1); in onDraw()
27 template<uint32_t kMaxObjects, size_t kTotalBytes>71 SkASSERT(fNumObjects < kMaxObjects);73 if (kMaxObjects == fNumObjects) {133 Rec fRecs[kMaxObjects];
30 template<uint32_t kMaxObjects, size_t kBytes> void test_allocator(skiatest::Reporter* reporter) { in test_allocator()32 SkSmallAllocator<kMaxObjects, kBytes> alloc; in test_allocator()33 for (uint32_t i = 0; i < kMaxObjects; ++i) { in test_allocator()
5507 const int kMaxObjects = 10000; in UNINITIALIZED_TEST() local5509 Handle<FixedArray> objects[kMaxObjects]; in UNINITIALIZED_TEST()5510 for (int i = 0; (i < kMaxObjects) && old_space->CanExpand(Page::kPageSize); in UNINITIALIZED_TEST()