/openjdk7/langtools/test/tools/javac/diags/examples/ |
H A D | VarargsArgumentMismatch.java | 5 * 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 D | OpsAfterClose.java | 5 * 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 D | FinalizeInflater.java | 5 * 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 D | PlainTextInputStream.java | 5 * 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 D | T7022711.java | 12 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 D | OQLHelp.java | 5 * 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 D | FasterWriter.java | 5 * 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 D | ClosedWriter.java | 5 * 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 D | Test.java | 5 * 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 D | MultipleConnect.java | 5 * 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 D | B5077773.java | 5 * 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 D | KeyUsageMatters.java | 5 * 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 D | StatusLoopDependency.java | 5 * 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 D | UnicodeProp.java | 5 * 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 D | OpsAfterClose.java | 5 * 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 D | CircularCRLTwoLevel.java | 5 * 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 D | CircularCRLTwoLevelRevoked.java | 5 * 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 D | ResponseCacheStream.java | 5 * 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 D | Test6930043.java | 5 * 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 D | Mode.java | 5 * 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 D | TestGetSoundbankInputStream2.java | 5 * 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 D | TestGetSoundbankInputStream2.java | 5 * 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 D | B5105410.java | 5 * 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 D | MarkReset.java | 5 * 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 D | Skip.java | 5 * 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...] |