Searched refs:is (Results 101 - 125 of 712) sorted by relevance

1234567891011>>

/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/
H A DDynamicMethodMarshallerImpl.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
65 // Assume that cls is not Remote, !isAnyClass(cls), and
67 // Then return whether cls is an RMI-IIOP abstract interface.
70 // Either cls is an interface that extends IDLEntity, or else
84 // throw an exception that is a subclass of RemoteException.
99 // Check that some exceptionType is a subclass of RemoteException
111 Object read( InputStream is ) ;
133 public Object read( InputStream is )
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCipherInputStream.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
31 * A CipherInputStream is composed of an InputStream and a Cipher so
37 * <p> For example, if the Cipher is initialized for decryption, the
50 * <p> It is crucial for a programmer using this class not to use
52 * new method or constructor that is later added to one of the super
76 engine. the size 512 bytes is somewhat randomly chosen */
132 * <br>Note: if the specified input stream or cipher is
135 * @param is th
138 CipherInputStream(InputStream is, Cipher c) argument
152 CipherInputStream(InputStream is) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jgss/spi/
H A DGSSContextSpi.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 * This interface is implemented by a mechanism specific instance of a GSS
45 * -after it is established
52 * and the context flags before the context is fully established. The
53 * isProtReady method is used to indicate that these services are
60 * depending on whether a token is received or is being sent. The mechanism
64 * entirely by the mechanism. It is possibl
191 initSecContext(InputStream is, int mechTokenSize) argument
231 acceptSecContext(InputStream is, int mechTokenSize) argument
263 wrap(InputStream is, OutputStream os, MessageProp msgProp) argument
312 unwrap(InputStream is, OutputStream os, MessageProp msgProp) argument
356 getMIC(InputStream is, OutputStream os, MessageProp msgProp) argument
373 verifyMIC(InputStream is, InputStream msgStr, MessageProp mProp) argument
[all...]
/openjdk7/jdk/test/java/security/cert/CertPathValidator/OCSP/
H A DFailoverToCRL.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
29 * Note that the certificate validity is from Mar 16 14:55:35 2009 GMT to
193 ByteArrayInputStream is =
195 Certificate targetCert = cf.generateCertificate(is);
208 ByteArrayInputStream is =
210 Certificate trusedCert = cf.generateCertificate(is);
222 ByteArrayInputStream is =
226 Collection<? extends CRL> crls = cf.generateCRLs(is);
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DURLConnection.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
43 * The abstract class <code>URLConnection</code> is the superclass
47 * general, creating a connection to a URL is a multistep process:
61 * <li>The connection object is created by invoking the
64 * <li>The actual connection to the remote object is made, using the
95 * the contents after the connection is made to the remote object:
114 * <code>getContentType</code> method is used by the
134 * In JDK 1.1.6 and later, <code>fileNameMap</code> is privat
1419 guessContentTypeFromStream(InputStream is) argument
1584 checkfpx(InputStream is) argument
1745 readBytes(int c[], int len, InputStream is) argument
1766 skipForward(InputStream is, long toSkip) argument
[all...]
/openjdk7/hotspot/test/testlibrary/
H A DClassFileInstaller.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
44 InputStream is = cl.getResourceAsStream(pathName);
50 Files.copy(is, p, StandardCopyOption.REPLACE_EXISTING);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/ior/
H A DTaggedProfileFactoryFinderImpl.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
47 public Identifiable handleMissingFactory( int id, InputStream is) argument
49 return new GenericTaggedProfile( id, is ) ;
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DByteArrayImageSource.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
55 InputStream is =
59 return getDecoder(is);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/parser/
H A DJAXPParser.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
91 * TODO: this class is completely stand-alone, so it shouldn't be
107 * when it fails to resolve an entity, which is often quite
109 * schema contains a reference to www.w3.org, and there is no
112 * occurs nor what it is accessing.
127 InputSource is=null;
131 is = this.getEntityResolver().resolveEntity(publicId,systemId);
132 if( is!
[all...]
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DB6393710.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
84 InputStream is = s.getInputStream ();
86 ok = readAndCheck (is, "401 Unauthorized") &&
87 readAndCheck (is, "200 OK");
107 static boolean readAndCheck (InputStream is, String expected) throws IOException { argument
113 while ((c=is.read()) != -1) {
136 InputStream is = t.getRequestBody();
139 while (is
[all...]
/openjdk7/jdk/test/java/lang/ProcessBuilder/
H A DFeelingLucky.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
27 * that is not suitable for use as a regression test, because it must
39 final InputStream is = minedProcess.getInputStream();
41 while ((c = is.read()) >= '0' && c <= '9')
/openjdk7/jdk/test/java/net/Authenticator/
H A DAuthNPETest.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 InputStream is; field in class:AuthNPETest.BasicServer
62 InputStream is = s.getInputStream ();
65 while (is.read(buf) > 0) ;
121 static void read (InputStream is) throws IOException { argument
124 while ((c=is.read()) != -1) {
142 InputStream is = urlc.getInputStream ();
143 read (is);
[all...]
H A DBasicTest3.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 * @summary BasicAuthentication is zeroing out the given password
41 InputStream is; field in class:BasicTest3.BasicServer3
62 InputStream is = s.getInputStream ();
65 while (is.read(buf) > 0) ;
120 static void read (InputStream is) throws IOException { argument
123 while ((c=is.read()) != -1) {
141 InputStream is
[all...]
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DStream.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
44 InputStream is = sc.socket().getInputStream();
47 int n = is.read(b);
/openjdk7/jdk/test/sun/security/util/Oid/
H A DOidFormat.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 for (int[] is: goodInts) {
96 testGood(is);
107 for (int[] is: badInts) {
108 testBad(is);
128 DerInputStream is = new DerInputStream(os.toByteArray());
129 ObjectIdentifier oid2 = is.getOID();
143 DerInputStream is
[all...]
/openjdk7/jdk/test/java/util/Collections/
H A DEmptyCollectionSerialization.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
43 InputStream is = new ByteArrayInputStream(serializedForm);
44 ObjectInputStream ois = new ObjectInputStream(is);
/openjdk7/jdk/test/java/util/jar/JarFile/
H A DTurkCert.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
43 InputStream is = jf.getInputStream(je);
45 while (is.read(b) != -1) {
/openjdk7/jdk/test/javax/management/ImplementationVersion/
H A DImplVersionReader.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 public ImplVersionReader(Process p, InputStream is) { argument
39 in = new BufferedReader(new InputStreamReader(is));
/openjdk7/jdk/test/javax/management/remote/mandatory/version/
H A DImplVersionReader.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 public ImplVersionReader(Process p, InputStream is) { argument
39 in = new BufferedReader(new InputStreamReader(is));
/openjdk7/jdk/test/lib/testlibrary/
H A DClassFileInstaller.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
44 InputStream is = cl.getResourceAsStream(pathName);
50 Files.copy(is, p, StandardCopyOption.REPLACE_EXISTING);
/openjdk7/jdk/test/sun/net/www/protocol/http/
H A DTunnelThroughProxy.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 InputStream is = uc.getInputStream();
41 is.close();
/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/com/sun/sample/scriptpad/
H A DMain.java33 * This source code is provided to illustrate the usage of a given feature
47 * This is the entry point of "Scriptpad" sample. This class creates
73 * This class is compiled into a jar file. The jar file
76 InputStream is = Main.class.getResourceAsStream("/resources/" + name);
80 engine.eval(new InputStreamReader(is));
/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest3.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
55 c2.getAttributes().put ("name", "This is the http handler");
77 InputStream is = t.getRequestBody();
86 checkBody (is, body1);
90 checkBody (is, body2);
93 checkBody (is, body3);
96 checkBody (is, body4);
104 static void checkBody (InputStream is, Strin argument
[all...]
H A DTest4.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
53 c2.getAttributes().put ("name", "This is the http handler");
75 InputStream is = t.getRequestBody();
83 checkBody (is, body1);
87 checkBody (is, body2);
91 checkBody (is, body3);
94 checkBody (is, body4);
102 static void checkBody (InputStream is, Strin argument
[all...]
H A DTest5.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
54 c2.getAttributes().put ("name", "This is the http handler");
76 InputStream is = t.getRequestBody();
84 checkBody (is, body1);
87 checkBody (is, body2);
90 checkBody (is, body3);
93 checkBody (is, body4);
101 static void checkBody (InputStream is, Strin argument
[all...]

Completed in 60 milliseconds

1234567891011>>