/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/charset/ |
H A D | NativeConverter.java | 22 * encoding into an array of Unicode characters. This method allows 49 * encoding into an array of Unicode characters. This method allows 75 * external encoding into an array of bytes. This method allows 101 * external encoding into an array of bytes. This method allows 161 * Open the converter with the specified encoding 165 * @param encoding string representing encoding 169 public static final native long openConverter(String encoding); argument 313 * be converted to the target encoding 341 * @param enc encoding nam [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
H A D | ToXMLSAXHandler.java | 471 public ToXMLSAXHandler(ContentHandler handler, String encoding) argument 473 super(handler, encoding); 483 String encoding) 485 super(handler, lex, encoding); 480 ToXMLSAXHandler( ContentHandler handler, LexicalHandler lex, String encoding) argument
|
H A D | ToXMLStream.java | 78 String encoding = xmlListener.getEncoding(); 79 setEncoding(encoding); 128 String encoding = Encodings.getMimeEncoding(getEncoding()); 145 writer.write("\" encoding=\""); 146 writer.write(encoding);
|
H A D | ToStream.java | 66 * The encoding information associated with this serializer. 67 * Although initially there is no encoding, 69 * that every character is in the encoding. This is useful 71 * no associated encoding. A serializer in final output state 72 * will have an encoding, and will worry about whether 74 * characters in the output encoding. 163 * Flag to quickly tell if the encoding is UTF8. 411 // if the encoding is being set, try to get the 421 // We are trying to change the default or the non-default setting of the encoding to a different value 427 // encoding, bu 2093 writeAttrString( Writer writer, String string, String encoding) argument 3298 setEncoding(String encoding) argument [all...] |
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | KeyStoreSpiTest.java | 447 // MyCertificate encoding 448 private final byte[] encoding; field in class:MyCertificate 450 public MyCertificate(String type, byte[] encoding) { argument 453 this.encoding = encoding; 458 return encoding.clone();
|
H A D | KeyStore2Test.java | 1329 // MyCertificate encoding 1330 private final byte[] encoding; field in class:KeyStore2Test.MyCertificate 1332 public MyCertificate(String type, byte[] encoding) { argument 1335 this.encoding = encoding; 1340 return encoding.clone();
|
/dalvik/libcore/security/src/main/java/java/security/cert/ |
H A D | CertPath.java | 35 * supported encoding scheme (i.e. PkiPath or PKCS7) when serialized. 143 * Returns an encoding of the {@code CertPath} using the default encoding. 145 * @return default encoding of the {@code CertPath}. 147 * if the encoding fails. 153 * Returns an encoding of the {@code CertPath} using the specified encoding. 155 * @param encoding 156 * encoding that should be generated. 157 * @return default encoding o 161 getEncoded(String encoding) argument [all...] |
/dalvik/libcore/sql/src/main/java/SQLite/ |
H A D | StringEncoder.java | 26 * the character '\'' (0x27). The encoding consists of escaping 30 * With this encoding the data of original size n is increased to a 95 * Decodes the given string that is assumed to be a valid encoding 98 * @param s the given string encoding.
|
/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | InputStreamReader.java | 37 * provided character converter. The default encoding is taken from the 38 * "file.encoding" system property. {@code InputStreamReader} contains a buffer 57 * {@code in}. This constructor sets the character converter to the encoding 58 * specified in the "file.encoding" property and falls back to ISO 8859_1 67 String encoding = AccessController 69 "file.encoding", "ISO8859_1")); //$NON-NLS-1$//$NON-NLS-2$ 70 decoder = Charset.forName(encoding).newDecoder().onMalformedInput( 79 * identified by name by {@code enc}. If the encoding cannot be found, an 89 * if the encoding specified by {@code enc} cannot be found. 168 * Returns the name of the encoding use [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
H A D | HttpURLConnectionImpl.java | 1173 String encoding = resHeader.get("Transfer-Encoding"); 1174 if (encoding != null && encoding.toLowerCase().equals("chunked")) { 1228 String encoding = reqHeader.get("Transfer-Encoding"); 1229 if (httpVersion > 0 && encoding != null) { 1230 encoding = encoding.toLowerCase(); 1231 if ("chunked".equals(encoding)) { 1434 || (!lKey.equals("transfer-encoding") && !lKey.equals("content-length"))) {
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
H A D | JDKDSASigner.java | 262 byte[] encoding) 265 ASN1InputStream aIn = new ASN1InputStream(encoding); 261 derDecode( byte[] encoding) argument
|
H A D | JDKX509CertificateFactory.java | 450 String encoding) 453 return new PKIXCertPath(inStream, encoding); 448 engineGenerateCertPath( InputStream inStream, String encoding) argument
|
/dalvik/libcore/security/src/test/java/tests/security/cert/ |
H A D | PKIXCertPathValidatorResultTest.java | 328 byte[] encoding = { 0x01 }; 330 TestUtils.getPolicyTree(), testPublicKey, encoding);
|
H A D | CertificateTest.java | 65 * Meaningless cert encoding just for testing purposes 388 private byte[] encoding; field in class:CertificateTest.MyModifiablePublicKey 414 return this.encoding; 437 encoding = myEncoded;
|
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | Properties.java | 72 private static final String PROP_DTD = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" 261 * Loads properties from the specified {@code InputStream}. The encoding is 669 * as the encoding. The {@code OutputStream} is not closed at the end. A 690 * {@code encoding} defines which encoding should be used. The {@code 695 * @param encoding the code identifying the encoding that should be used to 700 String encoding) throws IOException { 702 if (os == null || encoding == null) { 707 * We can write to XML file using encoding paramete 699 storeToXML(OutputStream os, String comment, String encoding) argument [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
H A D | GeneralName.java | 47 * The class encapsulates the ASN.1 DER encoding/decoding work 126 private byte[] encoding; field in class:GeneralName 563 if (encoding == null) { 564 encoding = ASN1.encode(this); 566 return encoding; 924 result.encoding = in.getEncoded();
|
/dalvik/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlParser.java | 58 private String encoding; field in class:KXmlParser 410 && "encoding".equals(attributes[2 + 4])) { 411 encoding = attributes[3 + 4]; 1012 encoding = null; 1103 int i0 = s.indexOf("encoding"); 1143 encoding = _enc; 1148 "Invalid stream or encoding: " + e.toString(), 1164 return encoding;
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/ |
H A D | BerInputStream.java | 59 // Primary is used for decoding indefinite length encoding 83 * the encoding offset 85 * expected length of full encoding, this includes identifier, 132 // input stream has definite length encoding 229 * Returns the length of the encoding 231 public static int getLength(byte[] encoding) { argument 232 int length = encoding[1] & 0xFF; 238 length = encoding[2] & 0xFF; 240 length = (length << 8) + (encoding[i] & 0xFF);
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/ |
H A D | AudioSystem.java | 336 for (AudioFormat.Encoding encoding : encodings) { 337 result.add(encoding); 354 for (AudioFormat.Encoding encoding : encodings) { 355 result.add(encoding);
|
/dalvik/libcore/luni-kernel/src/main/java/java/lang/ |
H A D | Runtime.java | 565 if (System.getProperty("file.encoding", "UTF-8").equals("UTF-8")) { 585 if (System.getProperty("file.encoding", "UTF-8").equals("UTF-8")) { 757 String encoding = System.getProperty("file.encoding", "UTF-8"); field in class:ReaderInputStream 762 writer = new OutputStreamWriter(out, encoding); 764 // Should never happen, since UTF-8 and platform encoding must be 813 private String enc = System.getProperty("file.encoding", "UTF-8"); 826 // Should never happen, since platform encoding must be supported.
|
/dalvik/libcore/xml/src/main/native/ |
H A D | org_apache_harmony_xml_ExpatParser.cpp | 853 * @param javaEncoding the character encoding name 859 const char* encoding = env->GetStringUTFChars(javaEncoding, NULL); local 860 if (encoding == NULL) { 866 env->ReleaseStringUTFChars(javaEncoding, encoding); 873 env->ReleaseStringUTFChars(javaEncoding, encoding); 1016 * @param javaEncoding the character encoding name 1032 const char* encoding = env->GetStringUTFChars(javaEncoding, NULL); local 1035 parser = XML_ParserCreateNS(encoding, '|'); 1037 parser = XML_ParserCreate(encoding); 1039 env->ReleaseStringUTFChars(javaEncoding, encoding); [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | PropertiesTest.java | 469 // store in UTF-8 encoding 486 // store in ISO-8859-1 encoding 613 protected byte[] writePropertiesXML(String encoding) throws IOException { argument 615 PrintStream ps = new PrintStream(bout, true, encoding); 616 ps.println("<?xml version=\"1.0\" encoding=\"" + encoding + "\"?>");
|
/dalvik/libcore/security/src/test/java/tests/api/javax/security/cert/ |
H A D | X509CertificateTest.java | 667 private byte[] encoding; field in class:X509CertificateTest.MyModifiablePublicKey 693 return this.encoding; 716 encoding = myEncoded; 732 // cert = DER encoding of the ASN1.0 structure
|
/dalvik/libcore/nio_char/src/main/java/java/nio/charset/ |
H A D | Charset.java | 48 * sequence. It facilitates the encoding from a Unicode character sequence into 86 * The encoding of configuration files 671 * Returns true if this charset supports encoding, false otherwise. 673 * @return true if this charset supports encoding, false otherwise. 683 * The default action in case of encoding errors is 688 * @return the result of the encoding. 705 * The default action in case of encoding errors is 710 * @return the result of the encoding. 810 String encoding = AccessController 813 return System.getProperty("file.encoding"); // [all...] |
/dalvik/libcore/xml/src/main/java/org/xmlpull/v1/sax2/ |
H A D | Driver.java | 280 final String encoding = source.getEncoding(); 305 pp.setInput(stream, encoding);
|