Searched refs:totalRequiredSize (Results 1 – 1 of 1) sorted by relevance
123 const size_t totalRequiredSize = static_cast<size_t>(pos + size); in checkAndPrepareWriting() local126 if (mOriginalBuffer.size() < totalRequiredSize) { in checkAndPrepareWriting()135 if (totalRequiredSize <= tailPosition) { in checkAndPrepareWriting()143 const size_t extendSize = totalRequiredSize - in checkAndPrepareWriting()144 std::min(mAdditionalBuffer.size() + mOriginalBuffer.size(), totalRequiredSize); in checkAndPrepareWriting()