/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/ |
H A D | WsimportOptions.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 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/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ |
H A D | BMMimeMultipart.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 46 * The MimeMultipart class is an implementation of the abstract Multipart 49 * A MimeMultipart is obtained from a MimePart whose primary type 50 * is "multipart" (by invoking the part's <code>getContent()</code> method) 53 * The default multipart subtype is "mixed". The other multipart 57 * content. The intent is that service providers, mail JavaBean writers 62 * handler is treated just like any other type handler, thereby 89 // cached inputstream which is possibl 302 readHeaders(InputStream is) argument 335 readBody( InputStream is, byte[] pattern, long[] posVector, ByteOutputStream baos, SharedInputStream sin) argument 346 skipPreamble( InputStream is, byte[] pattern, SharedInputStream sin) argument 360 readNext(InputStream is, byte[] buff, int patternLength, BitSet eof, long[] posVector, SharedInputStream sin) argument 391 find(InputStream is, byte[] pattern, SharedInputStream sin) argument 434 find( InputStream is, byte[] pattern, long[] posVector, ByteOutputStream out, SharedInputStream sin) argument 594 skipLWSPAndCRLF(InputStream is) argument 736 setInputStream(InputStream is) argument [all...] |
H A D | MimeMultipart.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 45 * The MimeMultipart class is an implementation 48 * A MimeMultipart is obtained from a MimeBodyPart whose primary type 49 * is "multipart" (by invoking the part's <code>getContent()</code> method) 52 * The default multipart subtype is "mixed". The other multipart 56 * content. The intent is that service providers, mail JavaBean writers 61 * handler is treated just like any other type handler, thereby 87 * Defaults to true; set to false when our constructor is 493 createInternetHeaders(InputStream is) argument 524 createMimeBodyPart(InputStream is) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/ |
H A D | FastInfosetReflection.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 189 public static Source FastInfosetSource_new(InputStream is) argument 195 return (Source) fiFastInfosetSource_new.newInstance(new Object[] { is }); 208 InputStream is) throws Exception 213 fiFastInfosetSource_setInputStream.invoke(source, new Object[] { is }); 207 FastInfosetSource_setInputStream(Source source, InputStream is) argument
|
/openjdk7/jdk/test/java/net/Authenticator/ |
H A D | B4769350.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 33 * networking stack and cached when the HTTP handler is invoked, and previous 45 static void read (InputStream is) throws IOException { argument 47 while ((c=is.read()) != -1) { 68 InputStream is = urlc.getInputStream (); 69 read (is); 70 is.close(); 204 * succeed, and the authenticator is calle [all...] |
/openjdk7/jdk/test/java/net/Socks/ |
H A D | SocksServer.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 63 // This is the bulk of the work (protocol handler) 106 private void readBuf(InputStream is, byte[] buf) throws IOException { argument 111 i = is.read(buf, count, l - count);
|
/openjdk7/jdk/test/java/net/ipv6tests/ |
H A D | Tests.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 31 * and throws an exception if there is any problem. 137 /* check the time got is within 50% of the time expected */ 281 * Throws a RuntimeException if the boolean condition is false 293 private static void simpleRead (InputStream is, int start) throws Exception { argument 296 int x = is.read (b); 298 x += is.read (b,1,1);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/ |
H A D | AccessFlags.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 35 * <p><b>This is NOT part of any supported API. 75 public boolean is(int mask) { method in class:AccessFlags
|
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/ |
H A D | MessageToken.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 39 * This class is a base class for other token definitions that pertain to 70 * As always, this is preceeded by a GSSHeader. 115 * value KG_USAGE_SEAL. Padding is still to 8-byte multiples, and the 116 * IV for encrypting application data is zero. 149 * it is read. 156 * @throws GSSException if there is a problem parsing the token 172 * it is rea 180 MessageToken(int tokenId, Krb5Context context, InputStream is, MessageProp prop) argument 639 MessageTokenHeader(InputStream is, MessageProp prop) argument [all...] |
H A D | MessageToken_v2.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 * This class is a base class for new GSS token definitions, as defined 85 * This class is the super class of WrapToken_v2 and MicToken_v2. The token's 87 * tokenData fields. Since there is no easy way to find out the exact length 92 * super class only write the tokenHeader, and the content writing is inside 153 * it is read. 160 * @throws GSSException if there is a problem parsing the token 173 * complete the token. Please note there is n 186 MessageToken_v2(int tokenId, Krb5Context context, InputStream is, MessageProp prop) argument 552 MessageTokenHeader(InputStream is, MessageProp prop, int tokId) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | KRBError.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 105 private void readObject(ObjectInputStream is) argument 108 init(new DerValue((byte[])is.readObject())); 204 * According to RFC 4120, e-data field in a KRB-ERROR message is 205 * a METHOD-DATA when errorCode is KDC_ERR_PREAUTH_REQUIRED, 211 * if (errorCode is KDC_ERR_PREAUTH_REQUIRED) { 233 // RFC 4120 does not guarantee that eData is METHOD-DATA when 234 // errorCode is KDC_ERR_PREAUTH_FAILE [all...] |
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | ObjectIdentifier.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 70 * serialVersionUID is unchanged. Old field "component" is changed to 90 * Therfore, for the first 3 cases, exact compatibility is preserved. In 91 * the 4th case, non-huge OID is still supportable in old versions, while 92 * huge OID is not. 104 private int componentLen = -1; // how much is used. 109 private void readObject(ObjectInputStream is) argument [all...] |
/openjdk7/jdk/test/java/util/concurrent/locks/Lock/ |
H A D | TimedAcquireLeak.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 31 // Note: this file is now out of sync with the jsr166 CVS repository due to the fix for 7092140 65 static String outputOf(InputStream is) throws IOException { argument 66 return outputOf(new InputStreamReader(is, "UTF-8")); 70 static Future<String> futureOutputOf(final InputStream is) { argument 73 return outputOf(is); }});} 178 // Job's job is to: 210 // On the other hand, jmap is muc [all...] |
/openjdk7/jdk/test/java/util/zip/ |
H A D | InflateIn_DeflateOut.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 149 private static void check(InputStream is, OutputStream os) argument 162 check(readFully(is, buf, buf.length)); 174 if (!readFully(is, buf, buf.length)) { 187 check(readLineIfAvailable(is, sb)); 215 private static void checkLOP(InputStream is, OutputStream os) argument 228 if (!readLineIfAvailable(is, buf)) { 231 check(readLineIfAvailable(is, bu [all...] |
H A D | zip.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 65 throw new Error("Fatal: Resource for jar is missing"); 430 InputStream is = new BufferedInputStream(new FileInputStream(file)); 431 while ((len = is.read(buf, 0, buf.length)) != -1) { 434 is.close(); 456 InputStream is = new BufferedInputStream(new FileInputStream(f)); 462 while ((r = is.read(buf)) != -1) { 466 is 542 extractFile(InputStream is, ZipEntry e) argument [all...] |
/openjdk7/jdk/test/sun/net/www/httptest/ |
H A D | HttpServer.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 61 * for handling requests. One thread is created to handle requests, 63 * @param cb the callback object which is invoked to handle each 74 * the same as the 4 arg constructor, where the port argument is set to zero. 75 * @param cb the callback object which is invoked to handle each 92 * handle incoming requests, and each thread is allowed 94 * @param cb the callback object which is invoked to handle 120 * This is a 286 readNormalData(InputStream is, int len) argument 296 readCRLF(InputStream is) argument 307 readChunkedData(InputStream is) argument 327 readChunkLen(InputStream is) argument 353 readLine(InputStream is) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | Request.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 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/jdk/src/share/classes/sun/net/www/ |
H A D | MessageHeader.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 59 public MessageHeader (InputStream is) throws java.io.IOException { argument 60 parseHeader(is); 144 * @return true if there is a change 244 // check if the key is in the excludeList. 324 * the key/val is simply tacked onto the end. 358 * Nothing is done if the key doesn't exist. 399 /** Set's the value of a key only if there is n 432 parseHeader(InputStream is) argument 440 mergeHeader(InputStream is) argument [all...] |
H A D | MimeEntry.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 60 // Default action is UNKNOWN so clients can decide what the default 67 // PlatformMimeTable classes or, in last case, is called by the public 93 // This is the one called by the public constructor. 213 * <li>A string -- the string is loaded into the browser directly. 219 public Object launch(java.net.URLConnection urlc, InputStream is, MimeTable mt) throws ApplicationLaunchException { argument 222 // REMIND: is this really the right thing to do? 224 return is; [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/ftp/ |
H A D | FtpURLConnection.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 71 * in a abstract layer. Here is an example of how to use the class : 75 * InputStream is = con.getInputStream();<p> 77 * is.close();</code> 87 InputStream is = null; field in class:FtpURLConnection 107 * not set. This is to ensure backward compatibility. 117 * Since that's the only class that needs to see that, it is an inner class. 140 * Since that's the only class that needs to see that, it is a [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/ |
H A D | SAXParserImpl.java | 15 * distributed under the License is distributed on an "AS IS" BASIS, 60 * This is the implementation specific class for the 136 // Note: there is a compatibility problem here with default values: 137 // JAXP default is false while SAX 2 default is true! 145 // Avoid setting the XInclude processing feature if the value is false. 152 // If the secure processing feature is on set a security manager. 156 * By default, secure processing is set, no external access is allowed. 157 * However, we need to check if it is activel 312 parse(InputSource is, DefaultHandler dh) argument 327 parse(InputSource is, HandlerBase hb) argument [all...] |
/openjdk7/corba/src/share/classes/org/omg/CORBA/ |
H A D | Any.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 * An <code>Any</code> object is used as a component of a 38 * arguments or return values in requests, and which is used to define 50 * second field of the <code>TypeCode</code> object is itself a 76 * <LI> the type of the element contained in the <code>Any</code> object is not 78 * <LI> the method <code>extract_X</code> is called before 125 * value if there is one. The method 126 * is provide 155 read_value(InputStream is, TypeCode t) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | GifImageDecoder.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 30 * The algorithm is copyright of CompuServe. 75 public GifImageDecoder(InputStreamImageSource src, InputStream is) { argument 76 super(src, is); 298 // If there is a local colormap, it will override what we 299 // have here. If there is not a local colormap, the rules 325 input.mark(Integer.MAX_VALUE); // set this mark in case this is an animated GIF 410 // Fix for 6301050: the interlacing is ignore [all...] |
/openjdk7/jdk/src/share/classes/java/util/jar/ |
H A D | JarVerifier.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 108 * file is being parsed. 341 * the given file in the jar. this array is not cloned. 418 // MANIFEST.MF is always treated as signed and verified, 428 private InputStream is; field in class:JarVerifier.VerifierStream 435 InputStream is, 438 this.is = is; 433 VerifierStream(Manifest man, JarEntry je, InputStream is, JarVerifier jv) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tools/script/shell/ |
H A D | Main.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 35 * This is the main class for Java script shell. 54 // Each -e or -f or interactive mode is represented 97 // is treated as script file name and rest of the non-option 325 * @param reader Reader from which is script is read 349 * @param is InputStream from which script is rea 352 evaluateStream(ScriptEngine se, InputStream is, String name, String encoding) argument [all...] |