Lines Matching refs:AllocParams
501 union AllocParams { union in _C2BufferPoolAllocator
509 AllocParams() : data{ALLOC_NONE, {0, 0}, {0}} {} in AllocParams() function
510 AllocParams(C2MemoryUsage usage, uint32_t capacity) in AllocParams() function
512 AllocParams( in AllocParams() function
543 AllocParams c2Params; in allocate()
544 memcpy(&c2Params, params.data(), std::min(sizeof(AllocParams), params.size())); in allocate()
599 AllocParams newAlloc; in compatible()
600 AllocParams oldAlloc; in compatible()
601 memcpy(&newAlloc, newParams.data(), std::min(sizeof(AllocParams), newParams.size())); in compatible()
602 memcpy(&oldAlloc, oldParams.data(), std::min(sizeof(AllocParams), oldParams.size())); in compatible()
619 AllocParams c2Params(usage, capacity); in getLinearParams()
620 params->assign(c2Params.array, c2Params.array + sizeof(AllocParams)); in getLinearParams()
626 AllocParams c2Params(usage, width, height, format); in getGraphicParams()
627 params->assign(c2Params.array, c2Params.array + sizeof(AllocParams)); in getGraphicParams()