Home
last modified time | relevance | path

Searched refs:kMaxObjects (Results 1 – 4 of 4) sorted by relevance

/external/skia/bench/
DGrMemoryPoolBench.cpp49 kMaxObjects = 4 * (1 << 10), in onDraw() enumerator
51 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() enumerator
113 SkAutoTDelete<B> objects[kMaxObjects]; in onDraw()
116 uint32_t idx = r.nextRangeU(0, kMaxObjects-1); in onDraw()
/external/skia/src/core/
DSkSmallAllocator.h27 template<uint32_t kMaxObjects, size_t kTotalBytes>
71 SkASSERT(fNumObjects < kMaxObjects);
73 if (kMaxObjects == fNumObjects) {
133 Rec fRecs[kMaxObjects];
/external/skia/tests/
DSmallAllocatorTest.cpp30 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()
/external/v8/test/cctest/heap/
Dtest-heap.cc5507 const int kMaxObjects = 10000; in UNINITIALIZED_TEST() local
5509 Handle<FixedArray> objects[kMaxObjects]; in UNINITIALIZED_TEST()
5510 for (int i = 0; (i < kMaxObjects) && old_space->CanExpand(Page::kPageSize); in UNINITIALIZED_TEST()