/openjdk7/jdk/src/share/classes/sun/net/www/ |
H A D | MeteredStream.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 48 public MeteredStream(InputStream is, ProgressSource pi, long expected) argument 50 super(is); 64 * don't close automatically when mark is set and is valid; 89 // if expected length is known, we could determine if 99 * Returns true if the mark is valid, false otherwise 107 // mark is se [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/mailto/ |
H A D | MailToURLConnection.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 InputStream is = null; field in class:MailToURLConnection 94 } else if (is != null) {
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/ |
H A D | XSLoaderImpl.java | 15 * distributed under the License is distributed on an "AS IS" BASIS, 70 * parameters. Using the configuration, it is possible to change the 76 * <br> The following list of boolean parameters is defined: 85 * handler is notified. </dd> 99 * is not defined by this specification. 121 * @param is The list of <code>LSInput</code>s from which the XML 125 public XSModel loadInputList(LSInputList is) { argument 126 final int length = is.getLength(); 130 fSchemaLoader.loadGrammar(fSchemaLoader.dom2xmlInputSource(is.item(i))); 142 * reference. If the URI contains a fragment identifier, the behavior is 165 load(LSInput is) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/ |
H A D | ElemDesc.java | 15 * distributed under the License is distributed on an "AS IS" BASIS, 28 * This class is in support of SerializerToHTML, and acts as a sort 39 * formatting of the document. This is used as a bitvector; more than one flag 42 * currently assigned multiple mnemonics; it is the caller's 127 * "is (this element described by these flags)". 132 * test is performed as a bitwise AND, not an equality test, so a 143 boolean is(int flags) method in class:ElemDesc 166 * Find out if a flag is set in a given attribute of this element 172 * @return True if the flag is set in the attribute. Returns false 173 * if the attribute is no [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/ior/ |
H A D | IORImpl.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 // XXX remove this once getProfile is gone 74 /** An IOR is represented as a list of profiles. 78 * is included here. 94 /* This variable is set directly from the constructors that take 96 * is derived from the list of TaggedProfile instances on the first 126 /** Construct an empty IOR. This is needed for null object references. 189 public IORImpl(InputStream is) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/ |
H A D | CorbaResponseWaitingRoomImpl.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 135 // The waiter is removed in releaseReply in the same 198 public void responseReceived(InputObject is) argument 200 CDRInputObject inputObject = (CDRInputObject) is; 212 // This is an interesting case. It could mean that someone sent us a 246 messageMediator.setInputObject(is); 248 call.inputObject = is; 289 // IMPORTANT: If inputObject is nul [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/servicecontext/ |
H A D | ServiceContexts.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 private static boolean isDebugging( InputStream is ) 72 ORB orb = (ORB)(is.orb()) ; 96 * bytes of the service contexts here. That is 100 private void createMapFromInputStream(InputStream is) argument 102 orb = (ORB)(is.orb()) ; 106 int numValid = is.read_long() ; 112 int scId = is [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ImageDecoder.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 43 public ImageDecoder(InputStreamImageSource src, InputStream is) { argument 45 input = is;
|
/openjdk7/jdk/src/share/classes/java/util/prefs/ |
H A D | XmlSupport.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 86 * Export the specified preferences node and, if subTree is true, all 128 * specified XML element which is assumed to represent a node 129 * in the specified XML document which is assumed to conform to 130 * PREFS_DTD. If subTree is true, create children of the specified 134 * @throws BackingStoreException if it is not possible to read 144 // Node is locked to export its contents and get a 145 // copy of children, then lock is release 195 importPreferences(InputStream is) argument 371 importMap(InputStream is, Map m) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/regex/ |
H A D | UnicodeProp.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 34 public boolean is(int ch) { 40 public boolean is(int ch) { 46 public boolean is(int ch) { 52 public boolean is(int ch) { 58 public boolean is(int ch) { 64 public boolean is(int ch) { 71 public boolean is(in 235 public abstract boolean is(int ch); method in class:UnicodeProp [all...] |
/openjdk7/jdk/src/macosx/classes/apple/laf/ |
H A D | JRSUIState.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 87 public boolean is(Property property) { method in class:JRSUIState
|
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | ARCFOURCipher.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 40 * than 40 bits, but that is too insecure for us to permit. 52 // because int arithmetic is much faster than in Java than bytes. 55 // state indices i and j. Called is and js to avoid collision with 56 // local variables. 'is' is set to -1 after a call to doFinal() 57 private int is, js; field in class:ARCFOURCipher 68 // core key setup code. initializes S, is, an [all...] |
/openjdk7/jaxws/src/share/jaf_classes/com/sun/activation/registries/ |
H A D | MailcapFile.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 * is indexed by the command name and references a List of 86 * @param is the input stream 88 public MailcapFile(InputStream is) throws IOException { argument 91 parse(new BufferedReader(new InputStreamReader(is, "iso-8859-1"))); 196 * This merge will only effect the hashtable that is 228 * # this is a comment 380 // a parameter list is presen [all...] |
H A D | MimeTypeFile.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 61 public MimeTypeFile(InputStream is) throws IOException { argument 62 parse(new BufferedReader(new InputStreamReader(is, "iso-8859-1"))); 93 * A mime.types entry is one of two forms: 100 * # this is a test 147 // check to see if this is a comment line? 151 // is it a new format line or old format?
|
/openjdk7/jaxws/src/share/jaf_classes/javax/activation/ |
H A D | MailcapCommandMap.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 * is based on mailcap files 71 * When a mailcap file is 78 * with the name <i>name</i>. When the <i>name</i> is <code> 82 * name. The command implementation is specified by a fully qualified 86 * When the command name is <code>fallback-entry</code>, the value of 123 * The default database is shared between all instances 320 * @param is InputStrea 322 MailcapCommandMap(InputStream is) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/dtd/bindinfo/ |
H A D | BindInfo.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 124 /** CodeModel object that is used by this binding file. */ 233 * If there is no declaration with a given name, 296 private static Document parse( Model model, InputSource is, ErrorReceiver receiver ) throws AbortException { argument 318 reader.parse(is);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ |
H A D | InternetHeaders.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 * InternetHeaders is a utility class that manages RFC822 style 49 * is positioned at the start of the body. The lines are stored 53 * This class is mostly intended for service providers. MimeMessage 67 * SMTP). Received headers may have been folded. The application is 92 * stream is left positioned at the start of the body. The 98 * @param is RFC822 input stream 100 public InternetHeaders(InputStream is) throw argument 115 load(InputStream is) argument [all...] |
/openjdk7/jdk/test/java/net/Authenticator/ |
H A D | B4933582.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 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...] |
H A D | B6870935.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 36 /* This is one simple test of the RFC2617 digest authentication behavior 39 * if the password is wrong 54 InputStream is; field in class:B6870935.DigestServer 83 is = s1.getInputStream (); 85 is.read (); 91 is = s1.getInputStream (); 93 is [all...] |
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/http/ChunkedOutputStream/ |
H A D | Test.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 60 // this is needed (count++ doesn't work), 'cause we 141 static void readAndCompare (InputStream is, String cmp) throws IOException { argument 146 while ((c=is.read(buf, off, len)) != -1) { 168 InputStream is = urlc.getInputStream(); 169 readAndCompare (is, str1); 170 is.close(); 185 InputStream is [all...] |
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/ |
H A D | HttpTransaction.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 62 * Get the value of a request header whose name is specified by the 73 * Get the value of a response header whose name is specified by the 111 * Get the value of a request trailer whose name is specified by 173 * connection is completely closed. 217 * The content length is set to the length of the string 228 * The content length is set to the gven length 242 * @param is th 244 setResponseEntityBody(InputStream is) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/ |
H A D | WrapToken.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 * 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/security/provider/ |
H A D | X509Factory.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 72 * the data read from the input stream <code>is</code>. 74 * @param is an input stream with the certificate data. 81 public Certificate engineGenerateCertificate(InputStream is) argument 84 if (is == null) { 91 byte[] encoding = readOneBlock(is); 131 * If the given X509Certificate or X509CertImpl is already present 132 * in the cert cache, the cached object is returne 329 engineGenerateCertificates(InputStream is) argument 353 engineGenerateCRL(InputStream is) argument 390 engineGenerateCRLs( InputStream is) argument 409 parseX509orPKCS7Cert(InputStream is) argument 442 parseX509orPKCS7CRL(InputStream is) argument 481 readOneBlock(InputStream is) argument 610 readBERInternal(InputStream is, ByteArrayOutputStream bout, int tag) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/text/normalizer/ |
H A D | UBiDiProps.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 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/src/share/classes/sun/tools/jar/ |
H A D | Manifest.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 37 * This is OBSOLETE. DO NOT USE THIS. Use java.util.jar.Manifest 71 public Manifest(InputStream is) throws IOException { argument 72 this(is, true); 79 public Manifest(InputStream is, boolean compute) throws IOException { argument 80 if (!is.markSupported()) { 81 is = new BufferedInputStream(is); [all...] |