Searched refs:maskBuffer (Results 1 – 3 of 3) sorted by relevance
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketReader.java | 79 private final byte[] maskBuffer = new byte[2048]; field in WebSocketReader 169 int toRead = (int) Math.min(frameLength - frameBytesRead, maskBuffer.length); in readControlFrame() 170 int read = source.read(maskBuffer, 0, toRead); in readControlFrame() 172 toggleMask(maskBuffer, read, maskKey, frameBytesRead); in readControlFrame() 173 buffer.write(maskBuffer, 0, read); in readControlFrame() 285 toRead = Math.min(toRead, maskBuffer.length); in read() 286 read = source.read(maskBuffer, 0, (int) toRead); in read() 288 toggleMask(maskBuffer, read, maskKey, frameBytesRead); in read() 289 sink.write(maskBuffer, 0, (int) read); in read()
|
D | WebSocketWriter.java | 61 private final byte[] maskBuffer; field in WebSocketWriter 72 maskBuffer = isClient ? new byte[2048] : null; in WebSocketWriter() 218 int toRead = (int) Math.min(byteCount, maskBuffer.length); in writeMaskedSynchronized() 219 int read = source.read(maskBuffer, 0, toRead); in writeMaskedSynchronized() 221 toggleMask(maskBuffer, read, maskKey, written); in writeMaskedSynchronized() 222 sink.write(maskBuffer, 0, read); in writeMaskedSynchronized()
|
/external/openthread/src/lib/spinel/ |
D | radio_spinel_impl.hpp | 2104 uint8_t maskBuffer[kChannelMaskBufferSize]; in GetRadioChannelMask() local 2107 const uint8_t *maskData = maskBuffer; in GetRadioChannelMask() 2108 spinel_size_t maskLength = sizeof(maskBuffer); in GetRadioChannelMask() 2111 SPINEL_DATATYPE_DATA_S, maskBuffer, &maskLength)); in GetRadioChannelMask()
|