Home
last modified time | relevance | path

Searched refs:toWrite (Results 1 – 4 of 4) sorted by relevance

/unit/src/java/nginx/unit/websocket/
H A DWsFrameBase.java943 long toWrite = Math.min(payloadLength - payloadWritten, inputBuffer.remaining()); in getMoreData() local
944 toWrite = Math.min(toWrite, dest.remaining()); in getMoreData()
947 inputBuffer.limit(inputBuffer.position() + (int) toWrite); in getMoreData()
950 payloadWritten += toWrite; in getMoreData()
H A DAsyncChannelWrapperSecure.java221 int toWrite = r.bytesProduced(); in run() local
222 while (toWrite > 0) { in run()
226 toWrite -= socketWrite.intValue(); in run()
H A DWsRemoteEndpointImplBase.java843 int toWrite = payloadLeft; in write() local
846 toWrite = outputSpace; in write()
848 payload.limit(payload.position() + toWrite); in write()
855 for (int i = 0; i < toWrite; i++) { in write()
H A DWsWebSocketContainer.java528 int toWrite = request.limit(); in writeRequest() local
532 toWrite -= thisWrite.intValue(); in writeRequest()
534 while (toWrite > 0) { in writeRequest()
537 toWrite -= thisWrite.intValue(); in writeRequest()