/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/ |
H A D | SerializerConstants.java | 26 package com.sun.xml.internal.ws.encoding.soap;
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | ASRep.java | 58 public ASRep(DerValue encoding) throws Asn1Exception, argument 60 init(encoding); 63 private void init(DerValue encoding) throws Asn1Exception, argument 65 init(encoding, Krb5.KRB_AS_REP);
|
H A D | TGSRep.java | 59 public TGSRep(DerValue encoding) throws Asn1Exception, argument 61 init(encoding); 64 private void init(DerValue encoding) throws Asn1Exception, argument 66 init(encoding, Krb5.KRB_TGS_REP);
|
H A D | KrbCredInfo.java | 108 * @param encoding a Der-encoded data. 113 public KrbCredInfo(DerValue encoding) argument 115 if (encoding.getTag() != DerValue.tag_Sequence) { 128 key = EncryptionKey.parse(encoding.getData(), (byte)0x00, false); 129 if (encoding.getData().available() > 0) 130 prealm = Realm.parse(encoding.getData(), (byte)0x01, true); 131 if (encoding.getData().available() > 0) 132 pname = PrincipalName.parse(encoding.getData(), (byte)0x02, true); 133 if (encoding.getData().available() > 0) 134 flags = TicketFlags.parse(encoding [all...] |
H A D | ETypeInfo2.java | 80 * @param encoding a DER-encoded data. 85 public ETypeInfo2(DerValue encoding) throws Asn1Exception, IOException { argument 88 if (encoding.getTag() != DerValue.tag_Sequence) { 93 der = encoding.getData().getDerValue(); 101 if (encoding.getData().available() > 0) { 102 if ((encoding.getData().peekByte() & 0x1F) == 0x01) { 103 der = encoding.getData().getDerValue(); 110 if (encoding.getData().available() > 0) { 111 if ((encoding.getData().peekByte() & 0x1F) == 0x02) { 112 der = encoding [all...] |
H A D | LastReqEntry.java | 52 * @param encoding a Der-encoded data. 56 public LastReqEntry(DerValue encoding) throws Asn1Exception, IOException { argument 57 if (encoding.getTag() != DerValue.tag_Sequence) { 61 der = encoding.getData().getDerValue(); 68 lrValue = KerberosTime.parse(encoding.getData(), (byte)0x01, false); 69 if (encoding.getData().available() > 0)
|
H A D | KRBSafeBody.java | 89 * @param encoding a Der-encoded data. 93 public KRBSafeBody(DerValue encoding) throws Asn1Exception, IOException { argument 95 if (encoding.getTag() != DerValue.tag_Sequence) { 98 der = encoding.getData().getDerValue(); 104 timestamp = KerberosTime.parse(encoding.getData(), (byte)0x01, true); 105 if ((encoding.getData().peekByte() & 0x1F) == 0x02) { 106 der = encoding.getData().getDerValue(); 109 if ((encoding.getData().peekByte() & 0x1F) == 0x03) { 110 der = encoding.getData().getDerValue(); 113 sAddress = HostAddress.parse(encoding [all...] |
H A D | ETypeInfo.java | 66 * @param encoding a DER-encoded data. 71 public ETypeInfo(DerValue encoding) throws Asn1Exception, IOException { argument 74 if (encoding.getTag() != DerValue.tag_Sequence) { 79 der = encoding.getData().getDerValue(); 87 if (encoding.getData().available() > 0) { 88 der = encoding.getData().getDerValue(); 93 // encoding from of a string. As RFC 4120 says: 98 // It's known that this field is using the same encoding as 109 if (encoding.getData().available() > 0) 118 * @exception Asn1Exception on encoding error [all...] |
H A D | MethodData.java | 61 * @param encoding a Der-encoded data. 65 public MethodData(DerValue encoding) throws Asn1Exception, IOException { argument 67 if (encoding.getTag() != DerValue.tag_Sequence) { 70 der = encoding.getData().getDerValue(); 77 if (encoding.getData().available() > 0) { 78 der = encoding.getData().getDerValue(); 84 if (encoding.getData().available() > 0)
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | CheckCaseInsensitiveEncAliases.java | 26 @summary Test to validate case insensitivity of encoding alias names 39 // Try various encoding names in mixed cases 40 // Tests subset of encoding names provided within bugID 4216191 87 public static void tryToEncode( String encoding) throws Exception argument 91 byte[] bytes = ENCODE_STRING.getBytes( encoding ); 92 System.out.println( "Encoding \"" + encoding + "\" recognized" ); 96 throw new Exception("Encoding \"" + encoding + "\" NOT recognized");
|
H A D | DecoderOverflow.java | 51 static void test(String encoding) throws Exception { argument 53 Charset cs = Charset.forName(encoding); 55 ByteBuffer in = ByteBuffer.wrap(text.getBytes(encoding)); 63 " encoding=" + encoding);
|
H A D | TestConverterDroppedCharacters.java | 50 static void tryEncoding(String encoding) argument 59 System.out.println("Testing " + encoding); 68 OutputStreamWriter ow = new OutputStreamWriter(fout, encoding); 73 /* Now read it back with the same encoding. */ 76 InputStreamReader ir = new InputStreamReader(fin, encoding); 83 System.out.println("ERROR with encoding " + encoding 90 System.out.println("Successfully tested " + encoding);
|
/openjdk7/corba/make/com/sun/corba/se/spi/ |
H A D | Makefile | 41 SUBDIRS = activation costransactions encoding extension legacy logging monitoring copyobject 43 SUBDIRS = activation encoding extension legacy logging monitoring copyobject
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/transport/ |
H A D | IORTransformer.java | 29 import com.sun.corba.se.spi.encoding.CorbaInputObject ; 30 import com.sun.corba.se.spi.encoding.CorbaOutputObject ;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/stax/events/ |
H A D | StartDocumentEvent.java | 54 public StartDocumentEvent(String encoding){ argument 55 this(encoding, null); 58 public StartDocumentEvent(String encoding, String version){ argument 59 if (encoding != null) { 60 _encoding = encoding; 79 * Returns the encoding style of the XML data 80 * @return the character encoding, defaults to "UTF-8" 87 * the encoding declaration of the document 103 * the encoding declaration of the document. 136 public void setEncoding(String encoding) { argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/ |
H A D | Encodings.java | 50 * to override encoding names and provide the last printable character 51 * for each encoding. 77 * Returns a writer for the specified encoding based on 81 * @param encoding The encoding 84 * to support this encoding 86 static Writer getWriter(OutputStream output, String encoding) argument 90 final EncodingInfo ei = _encodingInfos.findEncoding(toUpperCaseFast(encoding)); 100 return new BufferedWriter(new OutputStreamWriter(output, encoding)); 106 * encoding 128 getEncodingInfo(String encoding) argument 212 getMimeEncoding(String encoding) argument 271 convertJava2MimeEncoding(String encoding) argument 287 convertMime2JavaEncoding(String encoding) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | DistributionPointName.java | 127 * @param encoding the DER-encoded value. 130 public DistributionPointName(DerValue encoding) throws IOException { argument 132 if (encoding.isContextSpecific(TAG_FULL_NAME) && 133 encoding.isConstructed()) { 135 encoding.resetTag(DerValue.tag_Sequence); 136 fullName = new GeneralNames(encoding); 138 } else if (encoding.isContextSpecific(TAG_RELATIVE_NAME) && 139 encoding.isConstructed()) { 141 encoding.resetTag(DerValue.tag_Set); 142 relativeName = new RDN(encoding); [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | WaveFileFormat.java | 86 AudioFormat.Encoding encoding = format.getEncoding(); 88 if( encoding.equals(AudioFormat.Encoding.ALAW) ) { 90 } else if( encoding.equals(AudioFormat.Encoding.ULAW) ) { 92 } else if( encoding.equals(AudioFormat.Encoding.PCM_SIGNED) || 93 encoding.equals(AudioFormat.Encoding.PCM_UNSIGNED) ) {
|
/openjdk7/jdk/test/tools/launcher/ |
H A D | I18NJarTest.java | 54 private static final String encoding = System.getProperty("sun.jnu.encoding", ""); field in class:I18NJarTest 80 if (encoding.equals("MS932") || encoding.equals("UTF-8")) { 83 ", encoding " + encoding); 85 System.out.println("Warning: current encoding is " + encoding +
|
/openjdk7/hotspot/src/cpu/sparc/vm/ |
H A D | register_sparc.hpp | 42 inline Register as_Register(int encoding) { argument 43 return (Register)(intptr_t) encoding; 61 friend Register as_Register(int encoding); 71 int encoding() const { assert(is_valid(), "invalid register"); return value(); } function in class:RegisterImpl 76 bool is_even() const { return (encoding() & 1) == 0; } 77 bool is_in() const { return (encoding() >> log_set_size) == iset_no; } 78 bool is_local() const { return (encoding() >> log_set_size) == lset_no; } 79 bool is_out() const { return (encoding() >> log_set_size) == oset_no; } 80 bool is_global() const { return (encoding() >> log_set_size) == gset_no; } 83 Register successor() const { return as_Register(encoding() 220 as_FloatRegister(int encoding) argument 240 int encoding() const { assert(is_valid(), "invalid register"); return value(); } function in class:FloatRegisterImpl 243 int encoding(Width w) const { function in class:FloatRegisterImpl [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/ |
H A D | CStringUtilities.java | 46 private static String encoding = System.getProperty("file.encoding", "US-ASCII"); field in class:CStringUtilities 77 return new String(bytes, encoding); 79 throw new RuntimeException("Error converting bytes to String using " + encoding + " encoding", e);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ |
H A D | MimePartDataSource.java | 76 String encoding = part.getEncoding(); 77 if (encoding != null) 78 return MimeUtility.decode(is, encoding);
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xni/parser/ |
H A D | XMLInputSource.java | 118 * @param encoding The encoding of the byte stream, if known. 122 String encoding) { 127 fEncoding = encoding; 143 * @param encoding The original encoding of the byte stream 148 String encoding) { 153 fEncoding = encoding; 206 * the encoding is auto-detected, then the encoding shoul 120 XMLInputSource(String publicId, String systemId, String baseSystemId, InputStream byteStream, String encoding) argument 146 XMLInputSource(String publicId, String systemId, String baseSystemId, Reader charStream, String encoding) argument 245 setEncoding(String encoding) argument [all...] |
/openjdk7/jdk/test/java/net/URLConnection/ |
H A D | GetXmlContentType.java | 104 for (String encoding : encodings) { 105 try (InputStream is = new ByteArrayInputStream(toBOMBytes(encoding))) { 108 System.out.println("Wrong MIME type: " + encoding + " --> " + mime); 117 static byte[] toBOMBytes(String encoding) throws Exception { argument 120 switch (encoding) { 139 bos.write(XML_HEADER.getBytes(encoding));
|
/openjdk7/langtools/test/tools/javac/4846262/ |
H A D | Test.sh | 65 "${TESTJAVA}${FS}bin${FS}native2ascii" ${TESTTOOLVMOPTS} -reverse -encoding IBM1047 ${TESTSRC}${FS}Test.java Test.java 67 "${TESTJAVA}${FS}bin${FS}javac" ${TESTTOOLVMOPTS} -J-Duser.language=en -J-Duser.region=US -J-Dfile.encoding=IBM1047 Test.java 2>Test.tmp 69 "${TESTJAVA}${FS}bin${FS}native2ascii" ${TESTTOOLVMOPTS} -encoding IBM1047 Test.tmp Test.out
|