Searched refs:scratch (Results 1 – 3 of 3) sorted by relevance
93 ByteBuffer scratch = ByteBuffer.allocate(applicationBufferSize); in connect() local115 scratch, in connect()122 scratch, in connect()162 ByteBuffer scratch, in handshakeCompleted() argument189 SSLEngineResult unwrapResult = engine.unwrap(input, scratch); in handshakeCompleted()191 assertEquals(0, scratch.position()); in handshakeCompleted()
69 private final byte[] scratch = new byte[8]; field in RandomAccessFile324 return (read(scratch, 0, 1) != -1) ? scratch[0] & 0xff : -1; in read()477 scratch[0] = (byte) (b & 0xff); in write()478 write(scratch, 0, 1); in write()
2478 byte[] scratch = new byte[8192]; in test_SSLSocket_ClientGetsAlertDuringHandshake_HasGoodExceptionMessage()2479 server.getInputStream().read(scratch); in test_SSLSocket_ClientGetsAlertDuringHandshake_HasGoodExceptionMessage()2574 byte[] scratch = new byte[8192]; in test_SSLSocket_ServerGetsAlertDuringHandshake_HasGoodExceptionMessage()2575 client.getInputStream().read(scratch); in test_SSLSocket_ServerGetsAlertDuringHandshake_HasGoodExceptionMessage()