Lines Matching defs:capacity
215 * range). range of View is 0 to capacity() (not represented as an actual range). This maps to a
253 // UGLY: _C2LinearRangeAspect requires a bona-fide object for capacity to prevent spoofing, so
331 uint32_t capacity,
337 c2_status_t err = mAllocator->newLinearAllocation(capacity, usage, &alloc);
455 * @param capacity size of linear allocation
459 void getLinearParams(uint32_t capacity, C2MemoryUsage usage,
510 AllocParams(C2MemoryUsage usage, uint32_t capacity)
511 : data{ALLOC_LINEAR, usage, {[0] = capacity}} {}
618 uint32_t capacity, C2MemoryUsage usage, std::vector<uint8_t> *params) {
619 AllocParams c2Params(usage, capacity);
664 uint32_t capacity, C2MemoryUsage usage,
671 mAllocator->getLinearParams(capacity, usage, ¶ms);
684 *block = _C2BlockFactory::CreateLinearBlock(alloc, poolData, 0, capacity);
755 uint32_t capacity,
759 return mImpl->fetchLinearBlock(capacity, usage, block);