Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/zip/
DDeInflate.java45 byte[] out1, byte[] out2, boolean nowrap) in checkStream() argument
49 Arrays.fill(out2, (byte)0); in checkStream()
61 int n = inf.inflate(out2); in checkStream()
64 !Arrays.equals(Arrays.copyOf(in, len), Arrays.copyOf(out2, len)) || in checkStream()
65 inf.inflate(out2) != 0) { in checkStream()
67 m, n, len, Arrays.equals(in, out2)); in checkStream()
73 ByteBuffer in, ByteBuffer out1, ByteBuffer out2, in checkByteBuffer() argument
88 int n = inf.inflate(out2); in checkByteBuffer()
90 out2.flip(); in checkByteBuffer()
91 out2.get(result, 0, n); in checkByteBuffer()
[all …]
/libcore/luni/src/test/java/libcore/java/security/
DSecureRandomTest.java75 byte[] out2 = new byte[20]; in test_SecureRandom()
78 sr.nextBytes(out2); in test_SecureRandom()
79 assertFalse(Arrays.equals(out1, out2)); in test_SecureRandom()
87 sr.nextBytes(out2); in test_SecureRandom()
88 assertFalse(Arrays.equals(out1, out2)); in test_SecureRandom()
92 sr.nextBytes(out2); in test_SecureRandom()
93 assertFalse(Arrays.equals(out1, out2)); in test_SecureRandom()
/libcore/ojluni/src/test/java/net/Socks/
DSocksServer.java237 OutputStream out2 = new BufferedOutputStream(dest.getOutputStream()); in getRequestV4() local
248 out2.close(); in getRequestV4()
251 out2.write(b); in getRequestV4()
252 out2.flush(); in getRequestV4()
331 OutputStream out2 = new BufferedOutputStream(dest.getOutputStream()); in doConnect() local
343 out2.close(); in doConnect()
346 out2.write(b); in doConnect()
347 out2.flush(); in doConnect()
376 OutputStream out2 = dest.getOutputStream(); in doBind() local
388 out2.close(); in doBind()
[all …]
/libcore/luni/src/test/java/tests/security/cert/
DX509CertSelectorTest.java2102 DerOutputStream out2 = new DerOutputStream(); in test_addSubjectAlternativeNameLintLbyte_array2() local
2103 san2.getName().encode(out2); in test_addSubjectAlternativeNameLintLbyte_array2()
2104 selector.addSubjectAlternativeName(2, out2.toByteArray()); in test_addSubjectAlternativeNameLintLbyte_array2()