Searched refs:encoding (Results 101 - 125 of 138) sorted by relevance

123456

/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/charset/
H A DNativeConverter.java22 * 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 DToXMLSAXHandler.java471 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 DToXMLStream.java78 String encoding = xmlListener.getEncoding();
79 setEncoding(encoding);
128 String encoding = Encodings.getMimeEncoding(getEncoding());
145 writer.write("\" encoding=\"");
146 writer.write(encoding);
H A DToStream.java66 * 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 DKeyStoreSpiTest.java447 // 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 DKeyStore2Test.java1329 // 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 DCertPath.java35 * 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 DStringEncoder.java26 * 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 DInputStreamReader.java37 * 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 DHttpURLConnectionImpl.java1173 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 DJDKDSASigner.java262 byte[] encoding)
265 ASN1InputStream aIn = new ASN1InputStream(encoding);
261 derDecode( byte[] encoding) argument
H A DJDKX509CertificateFactory.java450 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 DPKIXCertPathValidatorResultTest.java328 byte[] encoding = { 0x01 };
330 TestUtils.getPolicyTree(), testPublicKey, encoding);
H A DCertificateTest.java65 * 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 DProperties.java72 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 DGeneralName.java47 * 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 DKXmlParser.java58 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 DBerInputStream.java59 // 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 DAudioSystem.java336 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 DRuntime.java565 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 Dorg_apache_harmony_xml_ExpatParser.cpp853 * @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 DPropertiesTest.java469 // 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 DX509CertificateTest.java667 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 DCharset.java48 * 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 DDriver.java280 final String encoding = source.getEncoding();
305 pp.setInput(stream, encoding);

Completed in 5381 milliseconds

123456