Searched refs:is (Results 126 - 150 of 712) sorted by relevance

1234567891011>>

/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/ior/
H A DIdentifiableFactoryFinderBase.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 public abstract Identifiable handleMissingFactory( int id, InputStream is ) ;
68 public Identifiable create(int id, InputStream is) argument
73 return factory.create( is ) ;
75 return handleMissingFactory( id, is ) ;
H A DOldJIDLObjectKeyTemplate.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
52 * value 1. Anything below 1 is considered an invalid value.
59 InputStream is, OctetSeqHolder osh )
61 this( orb, magic, scid, is );
63 osh.value = readObjectKey( is ) ;
75 * WARNING: This code is sensitive to changes in CDRInputStream
76 * getPosition. It assumes that the CDRInputStream is an
81 osh.value.length > ((CDRInputStream)is)
58 OldJIDLObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is, OctetSeqHolder osh ) argument
100 OldJIDLObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is) argument
[all...]
H A DGenericTaggedProfile.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 GenericTaggedProfile( int id, InputStream is )
51 super( id, is ) ;
52 this.orb = (ORB)(is.orb()) ;
101 InputStream is = (InputStream)(os.create_input_stream()) ;
102 return org.omg.IOP.TaggedProfileHelper.read( is ) ;
H A DTaggedComponentFactoryFinderImpl.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
57 public Identifiable handleMissingFactory( int id, InputStream is ) {
58 return new GenericTaggedComponent( id, is ) ;
67 InputStream is = (InputStream)(os.create_input_stream() ) ;
69 is.read_ulong() ;
71 return (TaggedComponent)create( comp.tag, is ) ;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/util/
H A DDataSourceSource.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 implementation is clunky --- weak against unexpected
63 // will return the same object, which is what's expeted out of
66 private InputStream is; field in class:DataSourceSource
111 if(is==null)
112 is = source.getInputStream();
113 return is;
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DB6431193.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
52 InputStream is = t.getRequestBody();
53 read(is);
55 String response = "This is the response";
76 InputStream is = url.openStream();
77 read (is);
H A DB6341616.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 * @summary Server doesnt send response if there is a RuntimeException in validate of BasicAuthFilter
62 InputStream is = urlc.getInputStream();
64 while (is.read()!= -1) {
92 InputStream is = t.getRequestBody();
95 while (is.read () != -1) ;
96 is.close();
H A DB6744329.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 InputStream is = urlc.getInputStream();
56 while (is.read()!= -1) {
82 InputStream is = t.getRequestBody();
85 while (is.read () != -1) ;
86 is.close();
96 * below, which is caught by server, and connection
/openjdk7/jdk/test/java/net/URLConnection/
H A DSetIfModifiedSince.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 InputStream is; field in class:SetIfModifiedSince.XServer
54 is = s.getInputStream ();
55 BufferedReader r = new BufferedReader(new InputStreamReader(is));
86 InputStream is = urlc.getInputStream ();
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DAcceptSecContextToken.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
77 InputStream is)
80 int tokenId = ((is.read()<<8) | is.read());
87 new sun.security.util.DerValue(is).toByteArray();
99 System.out.println("\n\nSub-Session key from AP-REP is: " +
75 AcceptSecContextToken(Krb5Context context, Credentials serviceCreds, KrbApReq apReq, InputStream is) argument
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DX509CertPath.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 * That is, the issuer of one certificate is the subject of the following
75 * The names of our encodings. PkiPath is the default.
102 * that is not an <code>X509Certificate</code>
111 ("List is not all X509Certificates: "
116 // Assumes that the resulting List is thread-safe. This is tru
132 X509CertPath(InputStream is) argument
146 X509CertPath(InputStream is, String encoding) argument
167 parsePKIPATH(InputStream is) argument
210 parsePKCS7(InputStream is) argument
251 readAllBytes(InputStream is) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jar/
H A DJarImageSource.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
64 InputStream is = null;
77 is = f.getInputStream(e);
82 ImageDecoder id = decoderForType(is, mimeType);
84 id = getDecoder(is);
/openjdk7/jdk/src/share/classes/sun/net/www/content/text/
H A Dplain.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
42 InputStream is = uc.getInputStream();
/openjdk7/langtools/test/tools/javac/TryWithResources/
H A DT7178324.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 try (FileInputStream is = new FileInputStream(f)) {
/openjdk7/jdk/test/sun/security/provider/certpath/DisabledAlgorithms/
H A DCPValidatorIntermediate.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
186 ByteArrayInputStream is;
188 is = new ByteArrayInputStream(certStr.getBytes());
189 Certificate cert = cf.generateCertificate(is);
203 ByteArrayInputStream is =
205 Certificate cert = cf.generateCertificate(is);
209 is = new ByteArrayInputStream(trustAnchor_SHA1withRSA_512.getBytes());
210 cert = cf.generateCertificate(is);
[all...]
H A DCPBuilder.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
329 ByteArrayInputStream is =
331 Certificate cert = cf.generateCertificate(is);
335 is = new ByteArrayInputStream(trustAnchor_SHA1withRSA_512.getBytes());
336 cert = cf.generateCertificate(is);
351 ByteArrayInputStream is =
353 Certificate cert = cf.generateCertificate(is);
372 ByteArrayInputStream is
[all...]
H A DCPValidatorTrustAnchor.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
110 ByteArrayInputStream is;
112 is = new ByteArrayInputStream(selfSignedCertStr.getBytes());
113 Certificate selfSignedCert = cf.generateCertificate(is);
127 ByteArrayInputStream is =
129 Certificate selfSignedCert = cf.generateCertificate(is);
148 "unexpect exception, it is valid cert", cpve);
/openjdk7/jdk/src/share/classes/sun/security/jgss/
H A DGSSToken.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
45 * is assumed that the array will be large enough to hold the 4 bytes of
56 * is assumed that the array will be large enough to hold the 4 bytes of
143 * @param is the InputStream to read from
148 public static final int readInt(InputStream is) throws IOException { argument
149 return (((0xFF & is.read()) << 8)
150 | (0xFF & is.read()));
168 * @param is th
174 readFully(InputStream is, byte[] buffer) argument
191 readFully(InputStream is, byte[] buffer, int offset, int len) argument
[all...]
/openjdk7/jdk/test/sun/net/www/protocol/jar/
H A DB4957695.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
45 void readOneRequest(InputStream is) throws IOException { argument
47 while ((r = is.read()) != -1) {
87 static void read (InputStream is) throws IOException { argument
89 while ((c=is.read()) != -1) {
106 InputStream is = urlc.getInputStream();
107 read (is);
108 is
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/ior/
H A DIORFactories.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
80 /** Create an empty IOR for the given orb and typeid. The result is mutable.
87 /** Create an empty IOR for the given orb with a null typeid. The result is mutable.
96 public static IOR makeIOR( InputStream is )
98 return new IORImpl( is ) ;
102 * is mutable.
111 public static IORTemplate makeIORTemplate( InputStream is )
113 return new IORTemplateImpl( is ) ;
[all...]
/openjdk7/jdk/test/java/net/Authenticator/
H A DBasicTest.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 fix for bug #4244472 is incomplete - HTTP authorization still needs work
35 * Note, this is not a general purpose test for Basic Authentication because
47 InputStream is; field in class:BasicTest.BasicServer
68 InputStream is = s.getInputStream ();
69 while (is.available() > 0) {
70 is.read (buf);
141 static void read (InputStream is) throw argument
[all...]
H A DB4759514.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
30 * @summary Digest Authentication is erroniously quoting the nc value, contrary to RFC 2617
78 static void read (InputStream is) throws IOException { argument
80 while ((c=is.read()) != -1) {
89 InputStream is = urlc.getInputStream ();
90 read (is);
91 is.close();
H A DB4921848.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 static void read (InputStream is) throws IOException { argument
68 while ((c=is.read()) != -1) {
80 InputStream is = urlc.getInputStream ();
81 read (is);
82 is.close();
/openjdk7/jdk/test/java/awt/FullScreen/UninitializedDisplayModeChangeTest/
H A DUninitializedDisplayModeChangeTest.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
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/Serializable/subclass/
H A DTest.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
30 * is incomplete. Only test that readObjectOverride is called.
36 * is not in the security policy and security is enabled, that
37 * a security excepiton is thrown when constructing the
61 private void readObject(ObjectInputStream is) argument
64 is
[all...]

Completed in 51 milliseconds

1234567891011>>