Searched refs:reserveCount (Results 1 – 3 of 3) sorted by relevance
/external/skia/tests/ |
D | TArrayTest.cpp | 326 Array* array, int reserveCount) { in test_array_reserve() argument 328 REPORTER_ASSERT(reporter, array->capacity() >= reserveCount); in test_array_reserve() 330 REPORTER_ASSERT(reporter, array->capacity() >= reserveCount); in test_array_reserve() 332 REPORTER_ASSERT(reporter, array->capacity() >= reserveCount); in test_array_reserve() 333 while (array->size() < reserveCount) { in test_array_reserve() 340 REPORTER_ASSERT(reporter, array->capacity() >= reserveCount); in test_array_reserve() 347 for (int reserveCount : {1, 2, 10, 100}) { in test_reserve() 349 Array array1(reserveCount); in test_reserve() 350 test_array_reserve(reporter, &array1, reserveCount); in test_reserve() 354 array2.reserve_back(reserveCount); in test_reserve() [all …]
|
/external/skia/src/gpu/graphite/render/ |
D | DynamicInstancesPatchAllocator.h | 33 unsigned int reserveCount) in DynamicInstancesPatchAllocator() argument 38 fInstances.reserve(reserveCount); in DynamicInstancesPatchAllocator()
|
/external/skia/include/private/base/ |
D | SkTArray.h | 53 explicit SkTArray(int reserveCount) : SkTArray() { this->reserve_back(reserveCount); } in SkTArray() argument 656 explicit SkSTArray(int reserveCount) : SkSTArray() { in SkSTArray() argument 657 this->reserve_back(reserveCount); in SkSTArray()
|