Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 3 of 3) sorted by relevance

/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java93 ByteBuffer scratch = ByteBuffer.allocate(applicationBufferSize); in connect() local
115 scratch, in connect()
122 scratch, in connect()
162 ByteBuffer scratch, in handshakeCompleted() argument
189 SSLEngineResult unwrapResult = engine.unwrap(input, scratch); in handshakeCompleted()
191 assertEquals(0, scratch.position()); in handshakeCompleted()
/libcore/ojluni/src/main/java/java/io/
DRandomAccessFile.java69 private final byte[] scratch = new byte[8]; field in RandomAccessFile
324 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()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java2478 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()