Searched refs:sizeNeeded (Results 1 – 1 of 1) sorted by relevance
401 size_t sizeNeeded = GraphicBuffer::getFlattenedSize(); in flatten() local402 if (size < sizeNeeded) return NO_MEMORY; in flatten()430 buffer = static_cast<void*>(static_cast<uint8_t*>(buffer) + sizeNeeded); in flatten()431 size -= sizeNeeded; in flatten()489 const size_t sizeNeeded = (flattenWordCount + numInts) * sizeof(int); in unflatten() local490 if (size < sizeNeeded) return NO_MEMORY; in unflatten()558 buffer = static_cast<void const*>(static_cast<uint8_t const*>(buffer) + sizeNeeded); in unflatten()559 size -= sizeNeeded; in unflatten()580 const size_t sizeNeeded = static_cast<size_t>(3 + numIntsInToken) * sizeof(int); in flattenBufferHubBuffer() local581 if (size < sizeNeeded) { in flattenBufferHubBuffer()[all …]