/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | Version.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 * Represents the build id, which is a string like "b13" or "hudson-250". 57 public static Version create(InputStream is) { argument 60 props.load(is);
|
/openjdk7/jdk/test/com/sun/net/httpserver/ |
H A D | Test3.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 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 D | Test4.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 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 D | Test5.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 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...] |
/openjdk7/jdk/test/java/io/InputStream/ |
H A D | OpsAfterClose.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 35 READ { boolean check(InputStream is) { 37 int read = is.read(); 46 READ_BUF { boolean check(InputStream is) { 49 int read = is.read(buf); 57 READ_BUF_OFF { boolean check(InputStream is) { 61 int read = is.read(buf, 0, len); 69 AVAILABLE { boolean check(InputStream is) { 116 check(InputStream is) argument 205 testInputStream(InputStream is) argument [all...] |
/openjdk7/jdk/test/java/io/Serializable/subclass/ |
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 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...] |
/openjdk7/jdk/test/java/net/Authenticator/ |
H A D | AuthNPETest.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 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 D | B4722333.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 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 D | B4759514.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 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 D | BasicTest.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 * @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 D | BasicTest3.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 * @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/tools/pack200/pack200-verifier/src/sun/tools/pack/verify/ |
H A D | ClassCompare.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 35 private static XMLKit.Element getXMLelement(InputStream is, argument 41 XMLKit.Element e = cr.readFrom(is); 72 // If they are the same there is nothing more to do.
|
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/ |
H A D | MicToken_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 39 * where HMAC is on { plaintext | 16-byte token-header } 53 public MicToken_v2(Krb5Context context, InputStream is, MessageProp prop) argument 55 super(Krb5Token.MIC_ID_v2, context, is, prop); 82 // debug("Application data to MicToken verify is [" + 95 // debug("Application data to MicToken cons is [" +
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ktab/ |
H A D | KeyTabInputStream.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 * This class implements a buffered input stream. It is used for parsing key table 54 public KeyTabInputStream(InputStream is) { argument 55 super(is); 67 if (index == 0) { //in native implementation, when the last entry is deleted, a byte 0 is left. 70 if (index < 0) { //in native implementation, when one of the entries is deleted, the entry length turns to be negative, and 99 // If index is zer [all...] |
/openjdk7/jdk/test/javax/sound/midi/Gervill/DLSSoundbankReader/ |
H A D | TestGetSoundbankInputStream2.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 InputStream is; field in class:TestGetSoundbankInputStream2.BadInputStream 48 public BadInputStream(InputStream is) argument 50 this.is = is; 54 return is.read(); 59 return is.read(b, off, len); 68 return is [all...] |
/openjdk7/jdk/test/javax/sound/midi/Gervill/SF2SoundbankReader/ |
H A D | TestGetSoundbankInputStream2.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 InputStream is; field in class:TestGetSoundbankInputStream2.BadInputStream 48 public BadInputStream(InputStream is) argument 50 this.is = is; 54 return is.read(); 59 return is.read(b, off, len); 68 return is [all...] |
/openjdk7/jdk/test/sun/net/www/ |
H A D | AuthHeaderTest.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 74 static void read (InputStream is) throws IOException { argument 77 while ((c=is.read()) != -1) { 88 InputStream is = urlc.getInputStream (); 89 read (is); 90 is.close();
|
/openjdk7/jdk/test/sun/net/www/protocol/jar/ |
H A D | B4957695.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 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/jdk/src/share/classes/sun/net/www/ |
H A D | MimeLauncher.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 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/bcel/internal/util/ |
H A D | SyntheticRepository.java | 69 * This repository is used in situations where a Class is created 72 * class path. By default, this is the value returned by 75 * It is designed to be used as a singleton, however it 175 private JavaClass loadClass(InputStream is, String className) argument 185 if(is != null) { 186 ClassParser parser = new ClassParser(is, className);
|
/openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/ |
H A D | StreamCharacterIterator.java | 15 * distributed under the License is distributed on an "AS IS" BASIS, 33 /** Underlying is */ 34 private final InputStream is; field in class:StreamCharacterIterator 42 /** @param is an InputStream, which is parsed */ 43 public StreamCharacterIterator(InputStream is) argument 45 this.is = is; 93 /** @return <tt>true</tt> iff if the specified index is after the end of the character stream */ 126 c = is [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/parsers/ |
H A D | XMLGrammarCachingConfiguration.java | 15 * distributed under the License is distributed on an "AS IS" BASIS, 123 * Grammar pool will be updated when the new validation engine is 139 * Grammar pool will be updated when the new validation engine is 204 * @exception IOException thrown if an error is encountered 220 * @param is The XMLInputSource containing this grammar's 222 * <strong>If a URI is included in the systemId field, the parser will not expand this URI or make it 227 * @exception IOException thrown if an error is encountered 231 is) throws XNIException, IOException { 234 return parseXMLSchema(is); 236 return parseDTD(is); 230 parseGrammar(String type, XMLInputSource is) argument 253 parseXMLSchema(XMLInputSource is) argument 289 parseDTD(XMLInputSource is) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/ |
H A D | FeatureState.java | 4 * This code is free software; you can redistribute it and/or modify it 10 * This code is distributed in the hope that it will be useful, but WITHOUT 13 * version 2 for more details (a copy is included in the LICENSE file that 57 public static FeatureState is(boolean value) { method in class:FeatureState
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/ |
H A D | TextCatalogReader.java | 18 * distributed under the License is distributed on an "AS IS" BASIS, 86 * Start parsing a text catalog file. The file is 114 public void readCatalog(Catalog catalog, InputStream is) argument 117 catfile = is; 185 * <p>Makes sure the catalog file is closed.</p> 228 // now 'ch' is the current char from the file
|
/openjdk7/jaxp/src/javax/xml/parsers/ |
H A D | SAXParser.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 54 * Once an instance of this class is obtained, XML can be parsed from 63 * to create is named <code>"javax.xml.parsers.SAXParserFactory"</code>. 64 * This property names a class that is a concrete subclass of this 65 * abstract class. If no property is defined, a platform default 68 * As the content is parsed by the underlying parser, methods of the 92 * <p><code>SAXParser</code> is reset to the same state as when it was created with 94 * <code>reset()</code> is designe 132 parse(InputStream is, HandlerBase hb) argument 160 parse( InputStream is, HandlerBase hb, String systemId) argument 188 parse(InputStream is, DefaultHandler dh) argument 213 parse( InputStream is, DefaultHandler dh, String systemId) argument 348 parse(InputSource is, HandlerBase hb) argument 379 parse(InputSource is, DefaultHandler dh) argument [all...] |