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

1234567891011>>

/openjdk7/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
28 void m(String s, Integer... is) {} argument
/openjdk7/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...]
/openjdk7/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...]
/openjdk7/jdk/src/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);
/openjdk7/langtools/test/tools/javac/TryWithResources/
H A DT7022711.java12 try (DataInputStream is = new DataInputStream(new FileInputStream("x"))) {
14 is.getChar(); // method not found
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/server/
H A DOQLHelp.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
28 * The Original Code is HAT. The Initial Developer of the
29 * Original Code is Bill Foote, with contributions from others
49 InputStream is = getClass().getResourceAsStream("/com/sun/tools/hat/resources/oqlhelp.html");
52 is = new BufferedInputStream(is);
53 while ( (ch = is.read()) != -1) {
/openjdk7/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();
H A DClosedWriter.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 static PipedInputStream is; field in class:ClosedWriter
52 is = new PipedInputStream();
54 is.connect(os);
61 while (is.read() != -1) {
/openjdk7/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();
/openjdk7/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);
/openjdk7/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) {
/openjdk7/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
50 * path build if the delegated CRL issuer is a self-issued certificate, for
51 * it is hard to identify it from its issuer by the "issuer" field only.
57 * the CAs have the keyCertSign bit set only, it is expected to work before
178 ByteArrayInputStream is =
180 Certificate selfSignedCert = cf.generateCertificate(is);
195 ByteArrayInputStream is;
197 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
50 * path build if the delegated CRL issuer is a self-issued certificate, for
51 * it is hard to identify it from its issuer by the "issuer" field only.
55 * CRL issuer from its issuer, there is a potential loop to find the correct
59 * CRL issuers. If the delegated CRL issuer issues itself status, there is
184 ByteArrayInputStream is =
186 Certificate selfSignedCert = cf.generateCertificate(is);
201 ByteArrayInputStream is;
[all...]
/openjdk7/jdk/src/share/classes/java/util/regex/
H A DUnicodeProp.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 public boolean is(int ch) {
40 public boolean is(int ch) {
46 public boolean is(int ch) {
52 public boolean is(int ch) {
58 public boolean is(int ch) {
64 public boolean is(int ch) {
71 public boolean is(in
235 public abstract boolean is(int ch); method in class:UnicodeProp
[all...]
/openjdk7/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...]
/openjdk7/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
150 ByteArrayInputStream is;
152 is = new ByteArrayInputStream(targetCertStr.getBytes());
153 Certificate targetCert = cf.generateCertificate(is);
155 is = new ByteArrayInputStream(subCaCertStr.getBytes());
156 Certificate subCaCert = cf.generateCertificate(is);
158 is = new ByteArrayInputStream(selfSignedCertStr.getBytes());
159 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
151 ByteArrayInputStream is;
153 is = new ByteArrayInputStream(targetCertStr.getBytes());
154 Certificate targetCert = cf.generateCertificate(is);
156 is = new ByteArrayInputStream(subCaCertStr.getBytes());
157 Certificate subCaCert = cf.generateCertificate(is);
159 is = new ByteArrayInputStream(selfSignedCertStr.getBytes());
160 Certificate selfSignedCert = cf.generateCertificate(is);
[all...]
/openjdk7/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
40 req.setResponseEntityBody ("Hello, This is the response body. Let's make it as long as possible since we need to test the cache mechanism.");
66 * Aborts the attempt to cache the response. If an IOException is
105 InputStream is = urlc.getInputStream();
106 System.out.println("is is " + is.getClass() + ". And markSupported: " + is
[all...]
/openjdk7/hotspot/test/compiler/6930043/
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
41 int[] is = a;
42 if (is == null) return 0;
44 i_1_ += is[idx = i_2_];
50 int[] is = a;
51 if (is == null) return 0;
53 result += is[index];
54 // result += is[id
[all...]
/openjdk7/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();
/openjdk7/jdk/test/javax/sound/midi/Gervill/DLSSoundbankReader/
H A DTestGetSoundbankInputStream2.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
46 InputStream is; field in class:TestGetSoundbankInputStream2.BadInputStream
48 public BadInputStream(InputStream is) argument
50 this.is = is;
54 return is.read();
59 return is.read(b, off, len);
68 return is
[all...]
/openjdk7/jdk/test/javax/sound/midi/Gervill/SF2SoundbankReader/
H A DTestGetSoundbankInputStream2.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
46 InputStream is; field in class:TestGetSoundbankInputStream2.BadInputStream
48 public BadInputStream(InputStream is) argument
50 this.is = is;
54 return is.read();
59 return is.read(b, off, len);
68 return is
[all...]
/openjdk7/jdk/test/sun/net/www/protocol/jar/
H A DB5105410.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
32 InputStream is = urlc.getInputStream();
33 is.read();
34 is.close();
/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelByteBuffer/RandomFileInputStream/
H A DMarkReset.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
86 InputStream is = buff.getInputStream();
89 is.mark(1000);
90 int ret = is.available();
91 int a = is.read();
92 is.skip(75);
93 is.reset();
94 if(is
[all...]
H A DSkip.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
86 InputStream is = buff.getInputStream();
89 int ret = is.available();
90 long n = is.skip(75);
92 throw new RuntimeException("is.read shouldn't return -1!");
93 if(is.available() != ret - n)
95 "is.available() returns incorrect value ("
96 + is
[all...]

Completed in 65 milliseconds

1234567891011>>