Searched refs:encoding (Results 51 - 75 of 543) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DPAEncTSEnc.java75 * @param encoding a Der-encoded data.
79 public PAEncTSEnc(DerValue encoding) throws Asn1Exception, IOException { argument
81 if (encoding.getTag() != DerValue.tag_Sequence) {
84 pATimeStamp = KerberosTime.parse(encoding.getData(), (byte)0x00, false);
85 if (encoding.getData().available() > 0) {
86 der = encoding.getData().getDerValue();
92 if (encoding.getData().available() > 0)
H A DEncASRepPart.java76 public EncASRepPart(DerValue encoding) throws Asn1Exception, argument
78 init(encoding);
81 private void init(DerValue encoding) throws Asn1Exception, argument
83 init(encoding, Krb5.KRB_ENC_AS_REP_PART);
H A DEncTGSRepPart.java72 public EncTGSRepPart(DerValue encoding) throws Asn1Exception, argument
74 init(encoding);
77 private void init(DerValue encoding) throws Asn1Exception, argument
79 init(encoding, Krb5.KRB_ENC_TGS_REP_PART);
H A DAPRep.java73 public APRep(DerValue encoding) throws Asn1Exception, argument
75 init(encoding);
80 * @param encoding a single DER-encoded value.
86 private void init(DerValue encoding) throws Asn1Exception, argument
89 if (((encoding.getTag() & (byte) (0x1F)) != Krb5.KRB_AP_REP)
90 || (encoding.isApplication() != true)
91 || (encoding.isConstructed() != true)) {
94 DerValue der = encoding.getData().getDerValue();
H A DKRBPriv.java74 public KRBPriv(DerValue encoding) throws Asn1Exception, argument
76 init(encoding);
82 * @param encoding a single DER-encoded value.
88 private void init(DerValue encoding) throws Asn1Exception, argument
91 if (((encoding.getTag() & (byte)0x1F) != (byte)0x15)
92 || (encoding.isApplication() != true)
93 || (encoding.isConstructed() != true))
95 der = encoding.getData().getDerValue();
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DDOMInputImpl.java33 * encoding), and/or a character stream.
126 * @param encoding The encoding of the byte stream, if known.
131 String encoding) {
137 fEncoding = encoding;
154 * @param encoding The original encoding of the byte stream
160 String encoding) {
166 fEncoding = encoding;
183 * @param encoding Th
129 DOMInputImpl(String publicId, String systemId, String baseSystemId, InputStream byteStream, String encoding) argument
158 DOMInputImpl(String publicId, String systemId, String baseSystemId, Reader charStream, String encoding) argument
187 DOMInputImpl(String publicId, String systemId, String baseSystemId, String data, String encoding) argument
299 setEncoding(String encoding) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DBufferManagerRead.java26 package com.sun.corba.se.impl.encoding;
29 import com.sun.corba.se.impl.encoding.ByteBufferWithInfo;
H A DBufferManagerWriteGrow.java26 package com.sun.corba.se.impl.encoding;
29 import com.sun.corba.se.impl.encoding.ByteBufferWithInfo;
30 import com.sun.corba.se.impl.encoding.BufferManagerWrite;
31 import com.sun.corba.se.pept.encoding.OutputObject;
H A DBufferManagerWriteStream.java25 package com.sun.corba.se.impl.encoding;
34 import com.sun.corba.se.impl.encoding.BufferManagerWrite;
35 import com.sun.corba.se.impl.encoding.ByteBufferWithInfo;
36 import com.sun.corba.se.impl.encoding.CDROutputObject;
39 import com.sun.corba.se.pept.encoding.OutputObject;
/openjdk7/jdk/src/share/classes/com/sun/pept/ept/
H A DEPTFactory.java32 import com.sun.pept.encoding.Decoder;
33 import com.sun.pept.encoding.Encoder;
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DX509Factory.java91 byte[] encoding = readOneBlock(is);
92 if (encoding != null) {
93 X509CertImpl cert = (X509CertImpl)getFromCache(certCache, encoding);
97 cert = new X509CertImpl(encoding);
148 byte[] encoding;
150 encoding = ((X509CertImpl)c).getEncodedInternal();
152 encoding = c.getEncoded();
154 X509CertImpl newC = (X509CertImpl)getFromCache(certCache, encoding);
161 newC = new X509CertImpl(encoding);
162 encoding
201 getFromCache(Cache cache, byte[] encoding) argument
211 addToCache(Cache cache, byte[] encoding, Object value) argument
262 engineGenerateCertPath(InputStream inStream, String encoding) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DObjectIdentifier.java60 private byte[] encoding = null; field in class:ObjectIdentifier
75 * New version use the new filed "encoding" only.
80 * 2. old -> new: There's no "encoding" field, new readObject() reads
82 * 3. new -> new: "encoding" field exists, new readObject() uses it
113 if (encoding == null) { // from an old version
200 encoding = new byte[pos];
201 System.arraycopy(tmp, 0, encoding, 0, pos);
228 * The encoding of the ID in the stream uses "DER", a BER/1 subset.
244 * one byte of encoding. Verify that the tag of this datum
247 * Then get and check the length of the ID's encoding
601 check(byte[] encoding) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DHTTPInputSource.java103 * @param encoding The encoding of the byte stream, if known.
106 String baseSystemId, InputStream byteStream, String encoding) {
107 super(publicId, systemId, baseSystemId, byteStream, encoding);
123 * @param encoding The original encoding of the byte stream
127 String baseSystemId, Reader charStream, String encoding) {
128 super(publicId, systemId, baseSystemId, charStream, encoding);
105 HTTPInputSource(String publicId, String systemId, String baseSystemId, InputStream byteStream, String encoding) argument
126 HTTPInputSource(String publicId, String systemId, String baseSystemId, Reader charStream, String encoding) argument
/openjdk7/corba/make/com/sun/corba/se/spi/encoding/
H A DMakefile27 PACKAGE = com.sun.corba.se.spi.encoding
/openjdk7/corba/src/share/classes/com/sun/corba/se/pept/encoding/
H A DInputObject.java26 package com.sun.corba.se.pept.encoding;
43 * <p>A particular <em>encoding</em> would subclass
H A DOutputObject.java26 package com.sun.corba.se.pept.encoding;
35 * the encoding block to be encoded and sent in a message. </p>
43 * encoding.</p>
45 * <p>A particular <em>encoding</em> would subclass
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/ior/iiop/
H A DCodeSetsComponent.java30 import com.sun.corba.se.impl.encoding.CodeSetComponentInfo ;
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DAuFileFormat.java74 AudioFormat.Encoding encoding = format.getEncoding();
78 if( AudioFormat.Encoding.ALAW.equals(encoding) ) {
82 } else if( AudioFormat.Encoding.ULAW.equals(encoding) ) {
86 } else if( AudioFormat.Encoding.PCM_SIGNED.equals(encoding) ) {
H A DAuFileWriter.java71 AudioFormat.Encoding encoding = format.getEncoding();
73 if( (AudioFormat.Encoding.ALAW.equals(encoding)) ||
74 (AudioFormat.Encoding.ULAW.equals(encoding)) ||
75 (AudioFormat.Encoding.PCM_SIGNED.equals(encoding)) ||
76 (AudioFormat.Encoding.PCM_UNSIGNED.equals(encoding)) ) {
144 AudioFormat.Encoding encoding = AudioFormat.Encoding.PCM_SIGNED;
164 encoding = streamEncoding;
169 encoding = AudioFormat.Encoding.PCM_SIGNED;
174 encoding = AudioFormat.Encoding.PCM_SIGNED;
179 format = new AudioFormat( encoding,
[all...]
/openjdk7/jdk/src/share/classes/com/sun/pept/encoding/
H A DEncoder.java30 package com.sun.pept.encoding;
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dvmreg_x86.inline.hpp31 return VMRegImpl::as_VMReg(encoding() << 1 );
33 return VMRegImpl::as_VMReg(encoding() );
38 return VMRegImpl::as_VMReg((encoding() << 1) + ConcreteRegisterImpl::max_gpr);
42 return VMRegImpl::as_VMReg((encoding() << 3) + ConcreteRegisterImpl::max_fpr);
/openjdk7/jdk/src/share/classes/java/util/logging/
H A DStreamHandler.java53 * <li> java.util.logging.StreamHandler.encoding
54 * the name of the character set encoding to use (defaults to
55 * the default platform encoding).
78 setEncoding(manager.getStringProperty(cname +".encoding", null));
131 String encoding = getEncoding();
132 if (encoding == null) {
136 writer = new OutputStreamWriter(output, encoding);
139 // should have validated that the encoding is OK.
146 * Set (or change) the character encoding used by this <tt>Handler</tt>.
148 * The encoding shoul
158 setEncoding(String encoding) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/writer/
H A DFileCodeWriter.java59 public FileCodeWriter( File target, String encoding ) throws IOException {
60 this(target,false, encoding);
67 public FileCodeWriter( File target, boolean readOnly, String encoding ) throws IOException {
70 this.encoding = encoding;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/
H A DMimeUtility.java64 * the String into another charset and then do the transfer-encoding.
101 * an encoding that allows normal end of line conventions is appropriate.
103 * data, but will require an encoding that preserves CR and LF characters
105 * System property is set to <code>"true"</code>, such an encoding will
112 * specified in the <code>file.encoding</code> System property. Most
157 * Get the content-transfer-encoding that should be applied
164 * the bytes in its input stream are US-ASCII, then the encoding
166 * the encoding is "base64". If less than half of the bytes are
167 * non-US-ASCII, then the encoding is "quoted-printable".
170 * all the bytes of its input stream are US-ASCII, the encoding
298 decode(InputStream is, String encoding) argument
327 encode(OutputStream os, String encoding) argument
363 encode(OutputStream os, String encoding, String filename) argument
450 encodeText(String text, String charset, String encoding) argument
603 encodeWord(String word, String charset, String encoding) argument
616 encodeWord(String string, String charset, String encoding, boolean encodingWord) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/
H A DNetworkClient.java64 /* Name of encoding to use for output */
65 protected static String encoding; field in class:NetworkClient
76 encs[0] = System.getProperty("file.encoding", "ISO8859_1");
87 encoding = encs[0];
89 if (!isASCIISuperset (encoding)) {
90 encoding = "ISO8859_1";
93 encoding = "ISO8859_1";
99 * Test the named character encoding to verify that it converts ASCII
100 * characters correctly. We have to use an ASCII based encoding, or else
116 private static boolean isASCIISuperset (String encoding) throw argument
[all...]

Completed in 54 milliseconds

1234567891011>>