Searched refs:totalBytesNeeded (Results 1 – 2 of 2) sorted by relevance
129 const size_t totalBytesNeeded = event->numBytesWritten + size; in overflows() local130 if (totalBytesNeeded > MAX_PULL_EVENT_PAYLOAD) { in overflows()136 if (event->bufSize < MAX_PULL_EVENT_PAYLOAD && totalBytesNeeded > event->bufSize) { in overflows()139 } while (event->bufSize <= totalBytesNeeded); in overflows()
914 final int totalBytesNeeded = index + numBytes; in hasEnoughSpace() local916 if (totalBytesNeeded > mMaxSize) { in hasEnoughSpace()922 if (mBytes.length < mMaxSize && totalBytesNeeded > mBytes.length) { in hasEnoughSpace()926 } while (newSize <= totalBytesNeeded); in hasEnoughSpace()