Searched refs:is (Results 1 - 25 of 965) sorted by relevance

1234567891011>>

/openjdk9/nashorn/test/script/error/
H A Dhash_comment_nse.js5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
32 # this is a comment
/openjdk9/langtools/test/tools/javac/TryWithResources/
H A DT7022711.java13 try (DataInputStream is = new DataInputStream(new FileInputStream("x"))) {
15 is.getChar(); // method not found
21 DataInputStream is = new DataInputStream(new FileInputStream("x"));
22 try (is) {
24 is.getChar(); // method not found
/openjdk9/nashorn/test/script/basic/
H A DJDK-8073653.js5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
34 This is line 1.
35 This is line 2.
37 This is line 3.
38 This is line 4.
40 This is line 5.
41 This is line 6.
43 This is lin
[all...]
H A DNASHORN-705.js1 #this-line-is-ignored
6 * This code is free software; you can redistribute it and/or modify it
10 * This code is distributed in the hope that it will be useful, but WITHOUT
13 * version 2 for more details (a copy is included in the LICENSE file that
/openjdk9/langtools/test/tools/javac/diags/examples/
H A DVarargsArgumentMismatch.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
29 void m(String s, Integer... is) {} argument
/openjdk9/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DMimeUtility.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
32 * This is a utility class that provides various MIME related
42 * methods. A brief description on handling such headers is given below: <p>
50 * In Java, Strings contain (16 bit) Unicode characters. ASCII is a
52 * that contains only ASCII characters is already mail-safe. If the
54 * additional complexity in this step is that since Unicode is not
86 * If the <code>mail.mime.decodetext.strict</code> System property is
150 decode(InputStream is, String encoding) argument
[all...]
/openjdk9/jdk/src/java.base/share/classes/jdk/internal/util/xml/impl/
H A DReaderUTF8.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
37 * The UCS-2 subset of UTF-8 transformation is described in RFC-2279 #2
47 private InputStream is; field in class:ReaderUTF8
52 * @param is A byte input stream.
54 public ReaderUTF8(InputStream is) { argument
55 this.is = is;
71 if ((val = is
[all...]
H A DReaderUTF16.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
37 private InputStream is; field in class:ReaderUTF16
45 * @param is A byte input stream.
48 public ReaderUTF16(InputStream is, char bo) { argument
60 this.is = is;
76 if ((val = is.read()) < 0) {
79 cbuf[off++] = (char) ((val << 8) | (is
[all...]
/openjdk9/jdk/src/java.base/share/classes/sun/net/www/content/text/
H A DPlainTextInputStream.java5 * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
34 * for now its use is more semantic.
44 PlainTextInputStream(InputStream is) { argument
45 super(is);
/openjdk9/jdk/test/java/io/DataInputStream/
H A DOpsAfterClose.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
35 READ { boolean check(DataInputStream is) {
37 int read = is.read();
46 READ_BUF { boolean check(DataInputStream is) {
49 int read = is.read(buf);
57 READ_BUF_OFF { boolean check(DataInputStream is) {
61 int read = is.read(buf, 0, len);
69 AVAILABLE { boolean check(DataInputStream is) {
235 check(DataInputStream is) argument
262 testDataInputStream(DataInputStream is) argument
[all...]
/openjdk9/jdk/test/java/util/zip/ZipFile/
H A DFinalizeInflater.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
50 private static void read(InputStream is) argument
53 Wrapper wrapper = new Wrapper(is);
56 while(is.read(buffer)>0){}
63 InputStream is; field in class:FinalizeInflater.Wrapper
64 public Wrapper(InputStream is) { argument
65 this.is = is;
[all...]
/openjdk9/jdk/test/java/io/PipedInputStream/
H A DFasterWriter.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
28 * is data available in the pipe.
35 static PipedInputStream is; field in class:FasterWriter
49 is = new PipedInputStream();
50 os = new PipedOutputStream(is);
57 is.read();
/openjdk9/jdk/test/java/net/URLClassLoader/getresourceasstream/
H A DTest.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
37 InputStream is = clazz.getResourceAsStream ("Test\u00a3.class");
38 is.read();
39 is = clazz.getResourceAsStream ("Rest\u00a3.class");
40 is.read();
/openjdk9/jdk/test/java/net/httpclient/http2/server/
H A DOutgoingPushPromise.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
30 // a thread is then created to produce the DataFrames from the InputStream
34 final InputStream is; field in class:OutgoingPushPromise
40 InputStream is) {
44 this.is = is;
37 OutgoingPushPromise(int parentStream, URI uri, HttpHeadersImpl headers, InputStream is) argument
/openjdk9/jdk/test/java/io/PipedOutputStream/
H A DMultipleConnect.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
38 PipedInputStream is = new PipedInputStream();
39 os.connect(is);
41 is.connect(os2);
/openjdk9/jdk/test/java/net/URLClassLoader/
H A DB5077773.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
31 /* This test will fail if the file below is removed from rt.jar */
32 InputStream is = loader.getResourceAsStream ("javax/swing/text/rtf/charsets/mac.txt");
33 if (is == null) {
38 while ((is.read()) != -1) {
/openjdk9/jdk/test/java/security/cert/CertPathBuilder/selfIssued/
H A DKeyUsageMatters.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
57 * path build if the delegated CRL issuer is a self-issued certificate, for
58 * it is hard to identify it from its issuer by the "issuer" field only.
64 * the CAs have the keyCertSign bit set only, it is expected to work before
185 ByteArrayInputStream is =
187 Certificate selfSignedCert = cf.generateCertificate(is);
202 ByteArrayInputStream is;
204 is
[all...]
H A DStatusLoopDependency.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
57 * path build if the delegated CRL issuer is a self-issued certificate, for
58 * it is hard to identify it from its issuer by the "issuer" field only.
62 * CRL issuer from its issuer, there is a potential loop to find the correct
66 * CRL issuers. If the delegated CRL issuer issues itself status, there is
191 ByteArrayInputStream is =
193 Certificate selfSignedCert = cf.generateCertificate(is);
208 ByteArrayInputStream is;
[all...]
/openjdk9/hotspot/src/share/tools/IdealGraphVisualizer/Data/test/unit/src/com/sun/hotspot/igv/data/
H A DInputMethodTest.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
27 import static org.hamcrest.CoreMatchers.is;
76 assertThat(m.getBytecodes().size(), is(7));
78 assertThat(m.getBytecodes().get(0).getBci(), is(0));
79 assertThat(m.getBytecodes().get(1).getBci(), is(1));
80 assertThat(m.getBytecodes().get(2).getBci(), is(2));
81 assertThat(m.getBytecodes().get(3).getBci(), is(5));
83 assertThat(m.getBytecodes().get(0).getName(), is("iload_
[all...]
/openjdk9/jdk/test/java/io/InputStream/
H A DOpsAfterClose.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
35 READ { boolean check(InputStream is) {
37 int read = is.read();
46 READ_BUF { boolean check(InputStream is) {
49 int read = is.read(buf);
57 READ_BUF_OFF { boolean check(InputStream is) {
61 int read = is.read(buf, 0, len);
69 AVAILABLE { boolean check(InputStream is) {
116 check(InputStream is) argument
205 testInputStream(InputStream is) argument
[all...]
/openjdk9/jdk/test/java/security/cert/CertPathValidator/indirectCRL/
H A DCircularCRLTwoLevel.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
157 ByteArrayInputStream is;
159 is = new ByteArrayInputStream(targetCertStr.getBytes());
160 Certificate targetCert = cf.generateCertificate(is);
162 is = new ByteArrayInputStream(subCaCertStr.getBytes());
163 Certificate subCaCert = cf.generateCertificate(is);
165 is = new ByteArrayInputStream(selfSignedCertStr.getBytes());
166 Certificate selfSignedCert = cf.generateCertificate(is);
[all...]
H A DCircularCRLTwoLevelRevoked.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
158 ByteArrayInputStream is;
160 is = new ByteArrayInputStream(targetCertStr.getBytes());
161 Certificate targetCert = cf.generateCertificate(is);
163 is = new ByteArrayInputStream(subCaCertStr.getBytes());
164 Certificate subCaCert = cf.generateCertificate(is);
166 is = new ByteArrayInputStream(selfSignedCertStr.getBytes());
167 Certificate selfSignedCert = cf.generateCertificate(is);
[all...]
/openjdk9/jdk/test/sun/net/www/protocol/http/
H A DResponseCacheStream.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
41 req.setResponseEntityBody ("Hello, This is the response body. Let's make it as long as possible since we need to test the cache mechanism.");
67 * Aborts the attempt to cache the response. If an IOException is
106 InputStream is = urlc.getInputStream();
107 System.out.println("is is " + is.getClass() + ". And markSupported: " + is
[all...]
/openjdk9/hotspot/test/compiler/c2/
H A DTest6930043.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
40 int[] is = a;
41 if (is == null) return 0;
43 i_1_ += is[idx = i_2_];
49 int[] is = a;
50 if (is == null) return 0;
52 result += is[index];
53 // result += is[id
[all...]
/openjdk9/jdk/test/java/nio/channels/FileChannel/
H A DMode.java5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
46 FileInputStream is = new FileInputStream(testFile);
47 FileChannel channel = is.getChannel();
55 is.close();
59 FileOutputStream is = new FileOutputStream(testFile);
60 FileChannel channel = is.getChannel();
68 is.close();

Completed in 221 milliseconds

1234567891011>>