/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/util/ |
H A D | Surrogate.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 // Range of UCS-4 values that need surrogates in UTF-16 80 * surrogate pair in UTF-16. 163 * @param in The source buffer, from which one more character 166 * @return Either a parsed UCS-4 character, in which case the isPair() 168 * -1, in which case error() will return a descriptive result 171 public int parse(char c, CharBuffer in) { argument 173 if (!in [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/ |
H A D | DTDHandlerBase.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 public void startDTD(InputEntity in) throws SAXException { argument
|
H A D | InputEntity.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 entities are in a stack. 50 * whether it's in an external (parsed) entity or not. The XML 1.0 spec 51 * is inconsistent in explaining EOL handling; this is the sensible way. 69 // for system and public IDs in diagnostics 139 public void init(InputSource in, String name, InputEntity stack, argument 143 input = in; 145 reader = in [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ |
H A D | BMMimeMultipart.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 90 private InputStream in = null; field in class:BMMimeMultipart 173 if (in == null) { 175 in = ds.getInputStream(); 176 if (!(in instanceof ByteArrayInputStream) && 177 !(in instanceof BufferedInputStream) && 178 !(in instanceof SharedInputStream)) 179 in [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | MIMEParser.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 63 private final InputStream in; field in class:MIMEParser 90 MIMEParser(InputStream in, String boundary, MIMEConfig config) { argument 91 this.in = in; 230 // Consider all the whitespace in boundary+whitespace+"\r\n" 236 // Check for \n or \r\n in boundary+whitespace+"\n" or boundary+whitespace+"\r\n" 244 return adjustBuf(chunkLen+1, len-chunkLen-1); // boundary string in [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/ |
H A D | XMLStreamBuffer.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 * respect to the methods on the class, which are non-modifying in terms 79 * in this mode there are restrictions about how you can consume such 108 * Fragmented array to hold content information in a shared char[] 120 * Number of trees in this stream buffer. 190 * Get the in-scope namespaces. 194 * The in-scope namespaces will be empty if the buffer is not a 197 * The in 418 createNewBufferFromXMLReader(XMLReader reader, InputStream in) argument 436 createNewBufferFromXMLReader(XMLReader reader, InputStream in, String systemId) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/sax/ |
H A D | SAXBufferCreator.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 public MutableXMLStreamBuffer create(XMLReader reader, InputStream in) throws IOException, SAXException { argument 69 return create(reader, in, null); 72 public MutableXMLStreamBuffer create(XMLReader reader, InputStream in, String systemId) throws IOException, SAXException { argument 88 s.setByteStream(in); 91 reader.parse(new InputSource(in));
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/ |
H A D | XMLStreamReaderFactory.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 case someone hits an issue with pooling in the production system. 138 public static XMLStreamReader create(@Nullable String systemId, InputStream in, boolean rejectDTDs) { argument 139 return get().doCreate(systemId,in,rejectDTDs); 142 public static XMLStreamReader create(@Nullable String systemId, InputStream in, @Nullable String encoding, boolean rejectDTDs) { argument 144 ? create(systemId, in, rejectDTDs) 145 : get().doCreate(systemId,in,encodin 184 doCreate(String systemId, InputStream in, boolean rejectDTDs) argument 186 doCreate(String systemId, InputStream in, @NotNull String encoding, boolean rejectDTDs) argument 286 doCreate(String systemId, InputStream in, boolean rejectDTDs) argument 306 doCreate(String systemId, Reader in, boolean rejectDTDs) argument 330 reuse(XMLStreamReader xsr, InputSource in) argument 355 doCreate(String systemId, InputStream in, boolean rejectDTDs) argument 363 doCreate(String systemId, Reader in, boolean rejectDTDs) argument 390 doCreate(String systemId, InputStream in, boolean rejectDTDs) argument 398 doCreate(String systemId, Reader in, boolean rejectDTDs) argument 421 doCreate(String systemId, InputStream in, boolean rejectDTDs) argument 425 doCreate(String systemId, Reader in, boolean rejectDTDs) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/ |
H A D | DispatchImpl.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 126 * @param msg message passed in from the client program on the invocation 127 * @return The Message created returned as the Interface in actuallity a 151 //not. Need a way to put this in the test harness or other way to do this 169 public final T doInvoke(T in, RequestContext rc, ResponseContextReceiver receiver){ argument 172 checkNullAllowed(in, rc, binding, mode); 174 Packet message = createPacket(in); 194 // its some other exception resulting from user error, wrap it in 202 invoke(T in) argument 206 invokeOneWay(T in) argument 236 checkNullAllowed(@ullable Object in, RequestContext rc, WSBinding binding, Service.Mode mode) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ |
H A D | XMLHTTPBindingCodec.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 180 public void decode(InputStream in, String contentType, Packet packet) throws IOException { argument 189 xmlCodec.decode(in, contentType, packet); 191 packet.setMessage(new XMLMultiPart(contentType, in, binding)); 198 fiCodec.decode(in, contentType, packet); 200 xmlCodec.decode(in, contentType, packet); 202 packet.setMessage(new UnknownContent(contentType, in)); 298 // Always encode using Fast Infoset if in optimisiti 311 transformDataSource(DataSource in, boolean isFastInfoset, boolean useFastInfoset, WSBinding binding) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/client/ |
H A D | HttpTransportPipe.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 * TODO: XML/HTTP differ in handling status codes. 267 private void checkStatusCode(InputStream in, HttpClientTransport con) throws IOException { argument 276 if (isErrorCode(statusCode) && in == null) { 286 if (statusCode == HttpURLConnection.HTTP_INTERNAL_ERROR && in == null) { 293 if (in != null) { 294 in.close();
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ |
H A D | ServerConnectionImpl.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 67 private LWHSInputStream in; field in class:ServerConnectionImpl 123 if (in == null) { 124 in = new LWHSInputStream(httpExchange.getRequestBody()); 126 return in; 136 LWHSInputStream(InputStream in) { argument 137 super(in); 143 all.readAll(in, 400000 [all...] |
/openjdk7/jdk/src/windows/classes/java/net/ |
H A D | DualStackPlainSocketImpl.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 278 static native void localAddress(int fd, InetAddressContainer in) throws SocketException; argument
|
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/ |
H A D | RSACipher.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 253 private void update(byte[] in, int inOfs, int inLen) { argument 254 if ((inLen == 0) || (in == null)) { 261 System.arraycopy(in, inOfs, buffer, bufOfs, inLen); 305 protected byte[] engineUpdate(byte[] in, int inOfs, int inLen) { argument 306 update(in, inOfs, inLen); 311 protected int engineUpdate(byte[] in, int inOfs, int inLen, byte[] out, argument 313 update(in, inOf 318 engineDoFinal(byte[] in, int inOfs, int inLen) argument 325 engineDoFinal(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument [all...] |
/openjdk7/jdk/test/java/io/Serializable/subclass/ |
H A D | XObjectInputStream.java | 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 XObjectInputStream(InputStream in) argument 36 super(in); 37 dis = new DataInputStream(in); 59 //Read in class of object to currentDescriptor 116 return in.available(); 167 in.close(); 178 * Get the ObjectStreamClass that describes the fields in the stream. 186 * in thi 240 read(ObjectInputStream in) argument [all...] |
/openjdk7/jdk/test/java/net/Socks/ |
H A D | SocksServer.java | 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 private InputStream in; field in class:SocksServer.ClientHandler 76 Tunnel(InputStream in, OutputStream out) { argument 77 tin = in; 102 in = client.getInputStream(); 120 int ver = in.read(); 121 int ulen = in.read(); 125 readBuf(in, buf); 128 ulen = in [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | BaseFileManager.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 226 // bad character in input 276 public ByteBuffer makeByteBuffer(InputStream in) argument 278 int limit = in.available(); 282 while (in.available() != 0) { 288 int count = in.read(result.array(),
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javah/ |
H A D | Gen.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 194 InputStream in; 197 // regrettably, there's no API to get the length in bytes 200 in = file.openInputStream(); 201 a = readBytes(in); 223 protected byte[] readBytes(InputStream in) throws IOException { argument 225 byte[] array = new byte[in.available() + 1]; 228 while ((n = in [all...] |
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/ |
H A D | inflate.c | 8 * by Oracle in the LICENSE file that accompanied this code. 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 27 * For conditions of distribution and use, see copyright notice in zlib.h 40 * - Use pointers for available input and output checking in inffast.c 41 * - Remove input and output counters in inffast.c 43 * - Remove unnecessary second byte pull from length extra in inffast.c 44 * - Unroll direct copy to three copies per loop in inffast.c 48 * - Correct filename to inffixed.h for fixed tables in inflate.c 49 * - Make hbuf[] unsigned char to match parameter type in inflat 588 unsigned in, out; /* save starting available input and output */ local [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/dk/ |
H A D | AesDkCrypto.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 51 * Algorithm profile described in [KCRYPTO]: 71 * | encryption/decryption functions, AES in CBC-CTS mode | 135 protected byte[] randomToKey(byte[] in) { argument 137 return in; 154 // get an instance of the AES Cipher in CTS mode 297 * Encrypt AES in CBC-CTS mode using derived keys. 342 // AES in JC [all...] |
H A D | ArcFourCrypto.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 * Support for ArcFour in Kerberos 39 * as defined in RFC 4757. 62 protected byte[] randomToKey(byte[] in) { argument 64 return in; 336 // is always sent in big-endian rather than little-endian order.
|
H A D | DkCrypto.java | 18 * notice appear in all copies and that both that copyright notice and 19 * this permission notice appear in supporting documentation, and that 20 * the name of FundsXpress. not be used in advertising or publicity pertaining 49 * Implements Derive Key cryptography functionality as defined in RFC 3961. 64 protected abstract int getKeySeedLength(); // in bits 66 protected abstract byte[] randomToKey(byte[] in); argument 71 public abstract int getChecksumLength(); // in bytes 541 /* input length is in bits */ 542 static byte[] nfold(byte[] in, int outbits) { argument 544 int inbits = in [all...] |
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | DerInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 * that found in X.509 certificates. DER is a subset of BER/1, which has 90 * be read as DER input in the new stream 127 * @param do_skip true if the existing data in the input stream should 164 * @return the integer held in this DER input stream. 176 * @return the integer held in this DER input stream. 190 * @return the integer held in this DER value as a BigInteger. 202 * @return the integer held in thi 534 getLength(InputStream in) argument 545 getLength(int lenByte, InputStream in) argument [all...] |
H A D | ObjectIdentifier.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 * string name used instead of (or in addition to) the numerical id. 44 * meaning to identifiers below the 1.3.6.1.4.1.42.2.17 node in the 77 * Below are all 4 cases in a serialization/deserialization process: 91 * the 4th case, non-huge OID is still supportable in old versions, while 228 * The encoding of the ID in the stream uses "DER", a BER/1 subset. 234 * @param in DER-encoded data holding an object ID 237 public ObjectIdentifier (DerInputStream in) throw argument 494 pack(byte[] in, int ioffset, int ilength, int iw, int ow) argument 537 pack7Oid(byte[] in, int ioffset, int ilength, byte[] out, int ooffset) argument 557 pack8(byte[] in, int ioffset, int ilength, byte[] out, int ooffset) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/java/ |
H A D | Scanner.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 41 * token in the input.<p> 49 * the file are encoded in each position value.<p> 86 protected ScannerInputReader in; field in class:Scanner 146 // The following two methods have been hand-inlined in 163 public Scanner(Environment env, InputStream in) throws IOException { argument 165 useInputStream(in); 172 protected void useInputStream(InputStream in) throw argument [all...] |