Searched refs:totalBytesNeeded (Results 1 – 2 of 2) sorted by relevance
133 const size_t totalBytesNeeded = event->numBytesWritten + size; in overflows() local134 if (totalBytesNeeded > MAX_PULL_EVENT_PAYLOAD) { in overflows()140 if (event->bufSize < MAX_PULL_EVENT_PAYLOAD && totalBytesNeeded > event->bufSize) { in overflows()143 } while (event->bufSize <= totalBytesNeeded); in overflows()
760 final int totalBytesNeeded = index + numBytes; in hasEnoughSpace() local762 if (totalBytesNeeded > mMaxSize) { in hasEnoughSpace()768 if (mBytes.length < mMaxSize && totalBytesNeeded > mBytes.length) { in hasEnoughSpace()772 } while (newSize <= totalBytesNeeded); in hasEnoughSpace()