Searched refs:is (Results 201 - 225 of 712) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/net/Authenticator/
H A DB4722333.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
97 static void read (InputStream is) throws IOException { argument
100 while ((c=is.read()) != -1) {
112 InputStream is = urlc.getInputStream ();
113 read (is);
114 is.close();
H A DB4962064.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
68 static void read (InputStream is) throws IOException { argument
71 while ((c=is.read()) != -1) {
83 InputStream is = urlc.getInputStream ();
84 read (is);
85 is.close();
H A DB4933582.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
65 /* check the auth string is premptively set from last time */
95 ObjectInputStream is = new ObjectInputStream (f);
96 s = (String) is.readObject();
103 static void read (InputStream is) throws IOException { argument
106 while ((c=is.read()) != -1) {
117 InputStream is = urlc.getInputStream ();
118 read (is);
[all...]
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DUBiDiProps.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 original version of this source code and documentation is copyrighted *
31 * Agreement between IBM and Sun. This technology is protected by multiple *
59 InputStream is=ICUData.getStream(DATA_FILE_NAME);
60 BufferedInputStream b=new BufferedInputStream(is, 4096 /* data buffer size */);
63 is.close();
67 private void readData(InputStream is) throws IOException { argument
68 DataInputStream inputStream=new DataInputStream(is);
[all...]
/openjdk7/jdk/test/sun/net/www/protocol/http/
H A DB6299712.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 * - a global ResponseCache instance is installed, which return DeployCacheResponse
45 * - the whole result is that the first call will be served by our simple
46 * http server and is redirected to "/redirect". The successive call will be done
48 * The NPE will be thrown on the second round if the bug is there.
155 protected InputStream is; field in class:DeployCacheResponse
158 DeployCacheResponse(InputStream is, Map headers) { argument
159 this.is
[all...]
H A DB6518816.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
62 * we send approx 100MB and if more than 90MB is retained
63 * then the bug is still there
87 InputStream is = uc.getInputStream();
90 throw new RuntimeException("Failed: Part 1, Response code is not 200");
92 while (is.read() != -1) ;
93 is.close();
144 InputStream is
[all...]
H A DBasicLongCredentials.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
70 InputStream is = urlc.getInputStream();
72 while (is.read()!= -1) { c ++; }
97 InputStream is = t.getRequestBody();
98 while (is.read () != -1) ;
99 is.close();
H A DB5017051.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
51 * appropriate Authorization header. This tests ensures that there is only one Cookie header
87 throw new RuntimeException("Failed: Part 1, Response code is not 200");
108 throw new RuntimeException("Failed: Part 2, Response code is not 200");
146 InputStream is = t.getRequestBody();
149 while (is.read () != -1) ;
150 is.close();
168 InputStream is
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/spi/
H A DFactoryFinder.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
66 * used in order. If using the first argument is successful, the second
69 * This method is package private so that this code can be shared.
74 * @param factoryId the name of the factory to find, which is
76 * @param fallbackClassName the implementation class name, which is
78 * is found; <code>null</code> to indicate that
79 * there is no fallback class name
80 * @exception WebServiceException if there is a
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Filter/src/com/sun/hotspot/igv/filter/
H A DRemoveInputsFilter.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
61 for (InputSlot is : f.getInputSlots()) {
62 if (z >= r.getStartingIndex() && z <= r.getEndIndex() && is.getConnections().size() > 0) {
64 List<Connection> conns = is.getConnections();
74 is.removeAllConnections();
75 is.setShortName("X");
76 is.setName(sb.toString());
77 last.add(is);
[all...]
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/
H A DCloseKeepAliveCached.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
105 InputStream is = sslSocket.getInputStream ();
108 new InputStreamReader(is));
163 InputStream is = http.getInputStream ();
164 while (is.read() != -1);
165 is.close();
169 is = http.getInputStream ();
170 while (is
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/file/
H A DFileURLConnection.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
56 InputStream is; field in class:FileURLConnection
73 * Note: the semantics of FileURLConnection object is that the
86 throw new FileNotFoundException(filename + " exists, but is not accessible");
90 is = new BufferedInputStream(new FileInputStream(filename));
96 is = new MeteredStream(is, pi, file.length());
190 if (is
[all...]
/openjdk7/jdk/test/java/net/ResponseCache/
H A Dfile2.130 InputStream is = s.getInputStream ();
31 BufferedReader r = new BufferedReader(new InputStreamReader(is));
74 InputStream is = null;
77 is = http.getInputStream();
81 BufferedReader r = new BufferedReader(new InputStreamReader(is));
104 is = http.getInputStream();
108 DataInputStream dis = new DataInputStream(is);
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DWrapToken.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 * call. It is a MessageToken except that it also contains plaintext
40 * that are peculiar to it and different from a MICToken, which is
41 * another type of MessageToken. All data in a WrapToken is prepended
42 * by a random counfounder of 8 bytes. All data in a WrapToken is
45 * data is replaced by (confounder || data || padding).
56 * The padding used with a WrapToken. All data is padded to the
57 * next multiple of 8 bytes, even if its length is alread
82 private InputStream is = null; field in class:WrapToken
149 WrapToken(Krb5Context context, InputStream is, MessageProp prop) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DRequest.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 private InputStream is; field in class:Request
51 is = rawInputStream;
68 return is;
84 int c = is.read();
134 int firstc = is.read();
138 int c = is.read();
153 while ((c = is
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/
H A DWsimportOptions.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
68 * type is made to {@link org.xml.sax.EntityResolver} so that XJC can be
69 * used even if resolver.jar is not available in the classpath.
97 * This object is also configured through options.
171 /** -Xno-addressing-databinding option to disable addressing namespace data binding. This is
289 * There is supposed to be one handler chain per generated SEI.
290 * TODO: There is possible bug, how to associate a @HandlerChain
324 public void addWSDL(InputSource is) { argument
332 addSchema(InputSource is) argument
356 addWSDLBindFile(InputSource is) argument
360 addSchemmaBindFile(InputSource is) argument
376 absolutize(InputSource is) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DXMLUtils.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 * when Properties is loaded.
83 " is not supported. This java installation can read" +
101 InputSource is = new InputSource(in);
102 return db.parse(is);
185 InputSource is;
186 is = new InputSource(new StringReader(PROPS_DTD));
187 is
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/istack/internal/tools/
H A DParallelWorldClassLoader.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
61 * <tt>/foo/X.class</tt> (note that X is defined in the root package, not
83 * (note that X is defined in the package foo, not
112 InputStream is = null;
117 is = con.getInputStream();
122 if (is==null)
129 while((len=is.read(buf))>=0)
153 if (is !
[all...]
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DFixedLengthInputStream.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
70 InputStream is = uc.getInputStream();
71 while(is.read(ba) != -1);
72 is.close();
109 InputStream is = t.getRequestBody();
113 while((read = is.read(ba)) != -1) {
116 is.close();
/openjdk7/jdk/src/share/classes/sun/net/www/
H A DMimeLauncher.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
35 InputStream is; field in class:MimeLauncher
39 InputStream is, String tempFileTemplate, String threadName) throws ApplicationLaunchException {
43 this.is = is;
70 // uniqueness. There's a subtle behavior here: if there is anything
121 while ((i = is.read(buf)) >= 0) {
129 is
38 MimeLauncher(MimeEntry M, java.net.URLConnection uc, InputStream is, String tempFileTemplate, String threadName) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/
H A DCharInfo.java15 * distributed under the License is distributed on an "AS IS" BASIS,
83 /** This flag is an optimization for HTML entities. It false if entities
93 /** Array of values is faster access than a set of bits
98 /** Array of values is faster access than a set of bits
105 /** An array of bits to record if the character is in the set.
106 * Although information in this array is complete, the
107 * isSpecialAttrASCII array is used first because access to its values
108 * is common and faster.
115 * This constant is used to shift an integer to quickly
116 * calculate which element its bit is store
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DJPEGImageDecoder.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
68 private native void readImage(InputStream is, byte buf[]) argument
73 public JPEGImageDecoder(InputStreamImageSource src, InputStream is) { argument
74 super(src, is);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DDLSSample.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
35 * This class is used to store the sample data itself.
36 * A sample is encoded as PCM audio stream
37 * and in DLS Level 1 files it is always a mono 8/16 bit stream.
39 * It is stored inside a "wave" List Chunk inside DLS files.
66 InputStream is = data.getInputStream();
67 if (is == null)
69 return new AudioInputStream(is, forma
[all...]
H A DSF2Sample.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
71 "Input stream is not a valid RIFF stream!");
75 "Input stream is not a valid SoundFont!");
98 InputStream is = data.getInputStream();
99 if (is == null)
101 return new AudioInputStream(is, format, data.capacity());
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/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
39 // Private constructor so that this class is not instantiated
138 * this is an expensive operation that require an additional
143 public static byte[] getBytes(InputStream is) throws IOException { argument
146 bos.write(is);
148 is.close();

Completed in 50 milliseconds

1234567891011>>