/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/sun/net/www/protocol/jar/ |
H A D | B6449504.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 64 * shows the bug, where the jar file is closed after the 67 InputStream is = j1.getInputStream (); 73 * is ready to be read, after the connect() above, but we 76 InputStream is = j2.getInputStream (); 77 readAndClose (is); 81 static void readAndClose (InputStream is) throws IOException { argument 82 while (is [all...] |
/openjdk7/corba/src/share/classes/org/omg/CORBA/portable/ |
H A D | ValueFactory.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 36 * The ValueFactory interface is the native mapping for the IDL 37 * type CORBA::ValueFactory. The read_value() method is called by 41 * is.read_value(java.io.Serializable) with a uninitialized valuetype 42 * to use for unmarshaling. The value returned by the stream is 53 * @param is an InputStream object--from which the value will be read. 54 * @return a Serializable object--the value read off of "is" Input stream. 56 Serializable read_value(org.omg.CORBA_2_3.portable.InputStream is); argument [all...] |
/openjdk7/jdk/test/java/io/PipedInputStream/ |
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) {
|
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();
|
/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/test/javax/management/ImplementationVersion/ |
H A D | ImplVersionReader.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 public ImplVersionReader(Process p, InputStream is) { argument 39 in = new BufferedReader(new InputStreamReader(is));
|
/openjdk7/jdk/test/javax/management/remote/mandatory/version/ |
H A D | ImplVersionReader.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 public ImplVersionReader(Process p, InputStream is) { argument 39 in = new BufferedReader(new InputStreamReader(is));
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | IOUtils.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 41 * until EOF is detected. 46 * bytes are read. Ignored when length is -1 or Integer.MAX_VALUE 48 * @throws IOException Any IO error or a premature EOF is detected 50 public static byte[] readFully(InputStream is, int length, boolean readAll) argument 65 int cc = is.read(output, pos, bytesToRead);
|
/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/corba/src/share/classes/com/sun/corba/se/impl/ior/ |
H A D | TaggedProfileFactoryFinderImpl.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 47 public Identifiable handleMissingFactory( int id, InputStream is) argument 49 return new GenericTaggedProfile( id, is ) ;
|
H A D | TaggedProfileTemplateFactoryFinderImpl.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 49 public Identifiable handleMissingFactory( int id, InputStream is) argument
|
H A D | JIDLObjectKeyTemplate.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 49 public JIDLObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is ) 51 super( orb, magic, scid, is.read_long(), JIDL_ORB_ID, JIDL_OAID ); 53 setORBVersion( is ) ; 59 public JIDLObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is, argument 62 super( orb, magic, scid, is.read_long(), JIDL_ORB_ID, JIDL_OAID ); 64 osh.value = readObjectKey( is ) ; 66 setORBVersion( is ) ; [all...] |
H A D | POAObjectKeyTemplate.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 52 public POAObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is ) 54 super( orb, magic, scid, is.read_long(), is.read_string(), 55 new ObjectAdapterIdArray( POANameHelper.read( is ) ) ) ; 57 setORBVersion( is ) ; 63 public POAObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is, argument 66 super( orb, magic, scid, is [all...] |
/openjdk7/corba/src/share/classes/org/omg/CORBA/ |
H A D | CustomMarshal.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 32 * An abstract value type that is meant to 33 * be used by the ORB, not the user. Semantically it is treated 37 * <tt>CustomMarshal</tt> operations. The manner in which this is done is 45 * This is the method invoked for Marshalling. 52 * This is the method invoked for Unmarshalling. 54 * @param is 56 unmarshal(DataInputStream is) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | NoCloseInputStream.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 38 public NoCloseInputStream(InputStream is) { argument 39 super(is);
|
/openjdk7/jdk/test/java/awt/FullScreen/UninitializedDisplayModeChangeTest/ |
H A D | UninitializedDisplayModeChangeTest.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 * @summary Tests that no exception is thrown when display mode is changed 103 InputStream is; field in class:UninitializedDisplayModeChangeTest.StreamProcessor 105 StreamProcessor(String inputType, InputStream is) { argument 107 this.is = is; 111 InputStreamReader isr = new InputStreamReader(is); [all...] |
/openjdk7/jdk/test/java/io/FileInputStream/ |
H A D | LargeFileAvailable.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 42 // space is available, so the test can proceed. 47 // A full disk is considered fatal. 75 private static long skipBytes(InputStream is, long toSkip, long avail) argument 77 long skip = is.skip(toSkip); 90 if (is.available() != expected) { 92 + is.available() + " but expected " + expected);
|
/openjdk7/jdk/test/java/net/URLConnection/ |
H A D | SetIfModifiedSince.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 39 InputStream is; field in class:SetIfModifiedSince.XServer 54 is = s.getInputStream (); 55 BufferedReader r = new BufferedReader(new InputStreamReader(is)); 86 InputStream is = urlc.getInputStream ();
|
H A D | URLConnectionHeaders.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 42 InputStream is; field in class:URLConnectionHeaders.XServer 57 is = s.getInputStream (); 58 BufferedReader r = new BufferedReader(new InputStreamReader(is));
|
/openjdk7/jdk/test/sun/net/www/http/HttpClient/ |
H A D | CookieHttpClientTest.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 27 * @summary Cookiemanager does not store cookies if url is read 72 static void readOneRequest(InputStream is) throws IOException { argument 74 while ((r = is.read()) != -1) {
|
/openjdk7/jdk/test/sun/net/www/http/KeepAliveStream/ |
H A D | KeepAliveStreamCloseWithWrongContentLength.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 39 InputStream is; field in class:KeepAliveStreamCloseWithWrongContentLength.XServer 50 InputStream is = s.getInputStream(); 53 is.read(); 63 // Note: If this line is missing, everything works fine. 85 InputStream is = urlc.getInputStream (); 89 c=is.read(); 91 is [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xs/ |
H A D | XSLoader.java | 15 * distributed under the License is distributed on an "AS IS" BASIS, 33 * parameters. Using the configuration, it is possible to change the 39 * <br> The following list of boolean parameters is defined: 48 * handler is notified. </dd> 60 * is not defined by this specification. 69 * @param is The list of <code>LSInput</code>s from which the XML 73 public XSModel loadInputList(LSInputList is); argument 77 * reference. If the URI contains a fragment identifier, the behavior is 87 * @param is The <code>LSInput</code> from which the source 88 * document is t 91 load(LSInput is) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/ |
H A D | CatalogReader.java | 18 * distributed under the License is distributed on an "AS IS" BASIS, 53 * @param catalog The catalog for which this reader is called. 58 * @throws UnknownCatalogFormatException if the catalog format is 61 * (For example, if it is supposed to be XML and isn't well-formed.) 71 * @param catalog The catalog for which this reader is called. 72 * @param is The input stream that is to be read. 74 * @throws UnknownCatalogFormatException if the catalog format is 77 * (For example, if it is supposed to be XML and isn't well-formed.) 79 public void readCatalog(Catalog catalog, InputStream is) argument [all...] |
H A D | TR9401CatalogReader.java | 18 * distributed under the License is distributed on an "AS IS" BASIS, 44 * <dd><p>Sets the debug level. A value of 0 is assumed if the 45 * property is not set or is not a number.</p></dd> 57 * Start parsing an OASIS TR9401 Open Catalog file. The file is 62 * identifiers. There is no delegate entry for system identifiers 66 * @param is The input stream from which to read the TR9401 Catalog 71 public void readCatalog(Catalog catalog, InputStream is) argument 74 catfile = is;
|