Searched refs:wrap (Results 126 - 150 of 439) sorted by relevance

1234567891011>>

/openjdk10/jdk/test/java/nio/channels/DatagramChannel/
H A DSelectWhenRefused.java99 ByteBuffer bb = ByteBuffer.wrap("Greetings!".getBytes());
/openjdk10/jdk/test/java/nio/charset/coders/
H A DBashCache.java60 cs.decode(ByteBuffer.wrap(new byte[] {
H A DIOCoders.java76 if (!ascii.decode(ByteBuffer.wrap(bos.toByteArray()))
/openjdk10/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DCloseTest.java60 sc.write(ByteBuffer.wrap(msg.getBytes("UTF-8")));
/openjdk10/jdk/test/java/util/Spliterator/
H A DSpliteratorLateBindingTest.java146 db.add("CharBuffer.wrap().chars().spliterator() ADD",
147 () -> new IntSource<>(CharBuffer.wrap("ABCD").limit(3), charsSource, bs -> bs.limit(4), true));
148 db.add("CharBuffer.wrap().chars().spliterator() REMOVE",
149 () -> new IntSource<>(CharBuffer.wrap("ABCD"), charsSource, bs -> bs.limit(3), true));
150 db.add("CharBuffer.wrap().codePoints().spliterator() ADD",
151 () -> new IntSource<>(CharBuffer.wrap("ABCD").limit(3), pointsSource, bs -> bs.limit(4), true));
152 db.add("CharBuffer.wrap().codePoints().spliterator() REMOVE",
153 () -> new IntSource<>(CharBuffer.wrap("ABCD"), pointsSource, bs -> bs.limit(3), true));
/openjdk10/jdk/test/sun/nio/cs/
H A DNIOJISAutoDetectTest.java72 cd.decode(ByteBuffer.wrap(new byte[] {(byte)'A'}));
78 cd.decode(ByteBuffer.wrap(bytes));
245 ByteBuffer bb = ByteBuffer.wrap(new byte[] { 'a', 0x1b, 0x24, 0x40 });
246 CharBuffer cb = CharBuffer.wrap(new char[10]);
H A DTest6392804.java55 CoderResult cr = dec.decode(ByteBuffer.wrap(bytes), cb, true);
H A DTestStringCodingUTF8.java138 ByteBuffer bb = ByteBuffer.wrap(ba, off, len);
139 CharBuffer cb = CharBuffer.wrap(ca);
163 ByteBuffer bb = ByteBuffer.wrap(ba);
164 CharBuffer cb = CharBuffer.wrap(ca, off, len);
H A DTestMiscEUC_JP.java41 CharBuffer cb = dec.decode(ByteBuffer.wrap(euc));
H A DFindCanEncodeBugs.java43 try { enc.encode(CharBuffer.wrap(new char[]{c})); return true; }
H A DFindASCIICodingBugs.java74 ByteBuffer bb = enc.encode(CharBuffer.wrap(new char[]{'A'}));
/openjdk10/jdk/test/javax/net/ssl/sanity/pluggability/
H A DMySSLEngineImpl.java48 public SSLEngineResult wrap(ByteBuffer [] src, int off, int len, method in class:MySSLEngineImpl
/openjdk10/jdk/test/javax/net/ssl/SSLEngine/
H A DLargeBufs.java108 result1 = ssle1.wrap(appOut1, oneToTwo);
109 result2 = ssle2.wrap(appOut2, twoToOne);
257 appOut1 = ByteBuffer.wrap(one);
258 appOut2 = ByteBuffer.wrap(two);
H A DExtendedKeyEngine.java90 result1 = ssle1.wrap(appOut1, oneToTwo);
91 result2 = ssle2.wrap(appOut2, twoToOne);
228 appOut1 = ByteBuffer.wrap("Hi Engine2, I'm SSLEngine1".getBytes());
229 appOut2 = ByteBuffer.wrap("Hello Engine1, I'm SSLEngine2".getBytes());
H A DArrays.java91 result1 = ssle1.wrap(appOutArray1, oneToTwo);
92 result2 = ssle2.wrap(appOut2, twoToOne);
220 ByteBuffer strBB = ByteBuffer.wrap(
239 appOut2 = ByteBuffer.wrap("Hello Engine1, I'm SSLEngine2".getBytes());
H A DNoAuthClientAuth.java49 * (wrap/unwrap) pass before any application data is consumed or
56 * wrap() ... ClientHello
58 * ... wrap() ServerHello/Certificate
60 * wrap() ... ClientKeyExchange
61 * wrap() ... ChangeCipherSpec
62 * wrap() ... Finished
66 * ... wrap() ChangeCipherSpec
67 * ... wrap() Finished
175 * Sit in a tight loop, both engines calling wrap/unwrap regardless
211 clientResult = clientEngine.wrap(clientOu
[all...]
/openjdk10/jdk/test/javax/net/ssl/templates/
H A DSSLEngineTemplate.java47 * (wrap/unwrap) pass before any application data is consumed or
54 * wrap() ... ClientHello
56 * ... wrap() ServerHello/Certificate
58 * wrap() ... ClientKeyExchange
59 * wrap() ... ChangeCipherSpec
60 * wrap() ... Finished
64 * ... wrap() ChangeCipherSpec
65 * ... wrap() Finished
170 * Sit in a tight loop, both engines calling wrap/unwrap regardless
206 clientResult = clientEngine.wrap(clientOu
[all...]
/openjdk10/jdk/test/sun/security/krb5/auto/
H A DRRC.java27 * @summary gss wrap for cfx doesn't handle rrc != 0
52 byte[] wrapped = c.wrap(msg, false);
/openjdk10/jdk/test/sun/security/ssl/EngineArgs/
H A DDebugReportsOneExtraByte.java49 * (wrap/unwrap) pass before any application data is consumed or
56 * wrap() ... ClientHello
58 * ... wrap() ServerHello/Certificate
60 * wrap() ... ClientKeyExchange
61 * wrap() ... ChangeCipherSpec
62 * wrap() ... Finished
66 * ... wrap() ChangeCipherSpec
67 * ... wrap() Finished
172 * Sit in a tight loop, both engines calling wrap/unwrap regardless
215 clientResult = clientEngine.wrap(clientOu
[all...]
/openjdk10/jdk/test/sun/security/ssl/SSLEngineImpl/
H A DSSLEngineDeadlock.java48 * (wrap/unwrap) pass before any application data is consumed or
55 * wrap() ... ClientHello
57 * ... wrap() ServerHello/Certificate
59 * wrap() ... ClientKeyExchange
60 * wrap() ... ChangeCipherSpec
61 * wrap() ... Finished
65 * ... wrap() ChangeCipherSpec
66 * ... wrap() Finished
181 * trigger a deadlock between the wrap/unwrap and the tasks. On our
200 * Sit in a tight loop, both engines calling wrap/unwra
[all...]
H A DCloseEngineException.java101 result1 = ssle1.wrap(appOut1, oneToTwo);
102 result2 = ssle2.wrap(appOut2, twoToOne);
237 appOut1 = ByteBuffer.wrap("Hi Engine2, I'm SSLEngine1".getBytes());
238 appOut2 = ByteBuffer.wrap("Hello Engine1, I'm SSLEngine2".getBytes());
/openjdk10/jdk/test/javax/crypto/Cipher/
H A DTestCipherMode.java72 // call wrap()/unwrap() and see if ISE is thrown.
74 c.wrap(key);
75 throw new Exception("ERROR: should throw ISE for wrap()");
77 System.out.println("expected ISE is thrown for wrap()");
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DAbstractLog.java166 report(diags.error(null, source, wrap(pos), errorKey));
187 report(diags.error(flag, source, wrap(pos), errorKey));
282 report(diags.warning(null, source, wrap(pos), warningKey));
363 report(diags.note(source, wrap(pos), noteKey));
400 private DiagnosticPosition wrap(int pos) { method in class:AbstractLog
/openjdk10/jdk/src/java.base/share/native/libzip/zlib/
H A Dinflate.c152 if (state->wrap) /* to support ill-conceived Java test suite */
153 strm->adler = state->wrap & 1;
185 int wrap; local
192 /* extract wrap request from windowBits parameter */
194 wrap = 0;
198 wrap = (windowBits >> 4) + 5;
214 state->wrap = wrap;
682 if (state->wrap == 0) {
688 if ((state->wrap
[all...]
/openjdk10/langtools/test/tools/javac/api/
H A DTestClientCodeWrapper.java334 return wrap(super.list(location, packageName, kinds, recurse));
364 return wrap(super.getJavaFileForInput(location, className, kind));
370 return wrap(super.getJavaFileForOutput(location, className, kind, sibling));
376 return wrap(super.getFileForInput(location, packageName, relativeName));
382 return wrap(super.getFileForOutput(location, packageName, relativeName, sibling));
433 public FileObject wrap(FileObject fo) { method in class:TestClientCodeWrapper.UserFileManager
446 public JavaFileObject wrap(JavaFileObject fo) { method in class:TestClientCodeWrapper.UserFileManager
452 public Iterable<JavaFileObject> wrap(Iterable<? extends JavaFileObject> list) { method in class:TestClientCodeWrapper.UserFileManager
455 wrapped.add(wrap(fo));

Completed in 132 milliseconds

1234567891011>>