Searched refs:is (Results 226 - 250 of 712) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest6.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
88 InputStream is = t.getRequestBody();
92 while ((c=is.read ()) != -1) {
102 is.close();
H A DTest6a.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
90 InputStream is = t.getRequestBody();
94 while ((c=is.read ()) != -1) {
104 is.close();
H A DTest7.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
88 InputStream is = t.getRequestBody();
92 while ((c=is.read ()) != -1) {
102 is.close();
H A DTest7a.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
95 InputStream is = t.getRequestBody();
99 while ((c=is.read ()) != -1) {
109 is.close();
H A DTest8.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
87 InputStream is = t.getRequestBody();
91 while ((c=is.read ()) != -1) {
104 is.close();
/openjdk7/jdk/test/java/net/URLConnection/
H A DURLConnectionHeaders.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
42 InputStream is; field in class:URLConnectionHeaders.XServer
57 is = s.getInputStream ();
58 BufferedReader r = new BufferedReader(new InputStreamReader(is));
/openjdk7/jdk/test/sun/security/tools/jarsigner/
H A DJarSigningNonAscii.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
93 InputStream is = jf.getInputStream(je);
95 while ((n = is.read(buffer, 0, buffer.length)) != -1) {
99 is.close();
/openjdk7/langtools/test/tools/apt/Compile/
H A DClassDeclApf2.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
39 * This class is used to test the the interaction of -XclassesAsDecls
72 void drain(InputStream is, OutputStream os) { argument
74 while (is.available() > 0 )
75 os.write(is.read());
/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelByteBuffer/RandomFileInputStream/
H A DAvailable.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();
91 throw new RuntimeException("is.available() return unexpected value!");
95 is.close();
H A DMarkSupported.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 if(!is.markSupported())
94 is.close();
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DClassPath.java222 InputStream is = null;
225 is = getClass().getClassLoader().getResourceAsStream(name + suffix);
228 if(is != null)
229 return is;
264 InputStream is = getInputStream(name, suffix);
266 if(is == null)
269 DataInputStream dis = new DataInputStream(is);
270 byte[] bytes = new byte[is.available()];
272 dis.close(); is.close();
324 /** @return base path of found class, i.e. class is containe
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/
H A DExceptionHandlerImpl.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
67 Exception read( InputStream is ) ;
146 public Exception read( InputStream is )
149 Object[] args = new Object[] { is } ;
172 public Exception read( InputStream is )
174 is.read_string() ; // read and ignore!
175 return (Exception)is.read_value( getExceptionClass() ) ;
205 /* The following check is no
[all...]
/openjdk7/hotspot/make/windows/
H A Dcreate.bat6 REM This code is free software; you can redistribute it and/or modify it
10 REM This code is distributed in the hope that it will be useful, but WITHOUT
13 REM version 2 for more details (a copy is included in the LICENSE file that
26 REM This is the interactive build setup script (as opposed to the batch
30 REM the vm.vcproj file in the buildspace, which is then used in Visual C++.
42 echo Make sure cl.exe is in your PATH before running this script.
48 echo Make sure grep.exe is in your PATH before running this script. Either cygwin or MKS should work.
113 echo does not exist, or the variable is not set.
122 echo does not exist, or the variable is not set.
129 echo does not exist, or the variable is no
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/
H A DCatalogReader.java18 * 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...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/ior/
H A DIORTemplateImpl.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
49 * This class is a container of TaggedProfileTemplates.
127 public IORTemplateImpl( InputStream is )
129 ORB orb = (ORB)(is.orb()) ;
133 oktemp = orb.getObjectKeyFactory().createTemplate( is ) ;
134 EncapsulationUtility.readIdentifiableSequence( this, finder, is ) ;
H A DTaggedProfileTemplateFactoryFinderImpl.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
49 public Identifiable handleMissingFactory( int id, InputStream is) argument
/openjdk7/corba/src/share/classes/org/omg/PortableServer/ServantLocatorPackage/
H A DCookieHolder.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
29 * The native type PortableServer::ServantLocator::Cookie is mapped
30 * to java.lang.Object. A CookieHolder class is provided for passing
46 public void _read( org.omg.CORBA.portable.InputStream is) { argument
/openjdk7/jdk/src/share/classes/java/beans/
H A DXMLDecoder.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
40 * The <code>XMLDecoder</code> class is used to read XML documents
41 * created using the <code>XMLEncoder</code> and is used just like
117 * @param owner the owner of this stream. <code>null</code> is a legal
135 * If the input source {@code is} is {@code null},
136 * no exception is thrown and no parsing is performe
144 XMLDecoder(InputSource is) argument
161 XMLDecoder(InputSource is, Object owner, ExceptionListener el, ClassLoader cl) argument
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Filter/src/com/sun/hotspot/igv/filter/
H A DRemoveFilter.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
69 for (InputSlot is : f.getInputSlots()) {
70 inputSlots.add(is);
72 for (InputSlot is : inputSlots) {
73 f.removeSlot(is);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/util/
H A DAPTClassLoader.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
87 InputStream is = getResourceAsStream(sb.toString());
88 if (is==null)
95 while((len=is.read(buf))>=0)
114 is.close();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/
H A DEnvelopeFactory.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
83 InputSource is = SAXSource.sourceToInputSource(src);
84 if (is.getEncoding()== null && soapPart.getSourceCharsetEncoding() != null) {
85 is.setEncoding(soapPart.getSourceCharsetEncoding());
96 src = new SAXSource(rejectFilter, is);
H A DStringDataContentHandler.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
78 InputStreamReader is = null;
82 is = new InputStreamReader(ds.getInputStream(), enc);
100 while ((count = is.read(buf, pos, buf.length - pos)) != -1) {
116 is.close();
159 // If the charset parameter is absent, use US-ASCII.
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DStringDataContentHandler.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
78 InputStreamReader is;
82 is = new InputStreamReader(ds.getInputStream(), enc);
100 while ((count = is.read(buf, pos, buf.length - pos)) != -1) {
116 is.close();
161 // If the charset parameter is absent, use US-ASCII.
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/
H A DSourceReaderFactory.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
81 InputStream is = streamSource.getInputStream();
83 if (is != null) {
84 // Wrap input stream in Reader if charset is specified
87 source.getSystemId(), new InputStreamReader(is, charsetName), rejectDTDs);
91 source.getSystemId(), is, rejectDTDs);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DASCIIUtility.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
38 // Private constructor so that this class is not instantiated
134 public static byte[] getBytes(InputStream is) throws IOException { argument
136 bab.write(is);
140 public static void copyStream(InputStream is, OutputStream out) throws IOException { argument
145 while ((len = is.read(buf, 0, size)) != -1)

Completed in 47 milliseconds

1234567891011>>