| /development/samples/ApiDemos/src/com/example/android/apis/view/ |
| WebView1.java | 38 final String encoding = "utf-8"; local 43 wv.loadData("<a href='x'>Hello World! - 1</a>", mimeType, encoding); 46 wv.loadData("<a href='x'>Hello World! - 2</a>", mimeType, encoding); 49 wv.loadData("<a href='x'>Hello World! - 3</a>", mimeType, encoding); 52 wv.loadData("<a href='x'>Hello World! - 4</a>", mimeType, encoding); 55 wv.loadData("<a href='x'>Hello World! - 5</a>", mimeType, encoding); 58 wv.loadData("<a href='x'>Hello World! - 6</a>", mimeType, encoding); 61 wv.loadData("<a href='x'>Hello World! - 7</a>", mimeType, encoding); 64 wv.loadData("<a href='x'>Hello World! - 8</a>", mimeType, encoding); 67 wv.loadData("<a href='x'>Hello World! - 9</a>", mimeType, encoding); [all...] |
| /libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
| MyFailingCertificate.java | 7 public MyFailingCertificate(String type, byte[] encoding) { 8 super(type, encoding);
|
| /libcore/luni/src/main/java/org/xml/sax/ |
| InputSource.java | 24 * with a specified encoding), and/or a character stream.</p> 34 * encoding declaration found in that stream. 37 * encoding specified in the InputSource or else (if no encoding is 38 * specified) autodetecting the character encoding using an algorithm 81 * the character encoding, if known.</p> 105 * character encoding.</p> 181 * <p>If the application knows the character encoding of the 183 * the encoding using the setEncoding method.</p> 203 * <p>The getEncoding method will return the character encoding 332 private String encoding; field in class:InputSource [all...] |
| /libcore/luni/src/main/java/org/apache/xml/serializer/ |
| Encodings.java | 54 * Returns a writer for the specified encoding based on 59 * @param encoding The encoding MIME name, not a Java name for the encoding. 62 * to support this encoding 65 static Writer getWriter(OutputStream output, String encoding) 71 if (_encodings[i].name.equalsIgnoreCase(encoding)) 93 return new OutputStreamWriter(output, encoding); 97 throw new UnsupportedEncodingException(encoding); 103 * encoding, never null, although the encoding name [all...] |
| /hardware/ril/mock-ril/src/cpp/ |
| node_util.h | 22 enum encoding {ASCII, UTF8, BINARY}; enum 24 enum encoding ParseEncoding(v8::Handle<v8::Value> encoding_v, 25 enum encoding _default = BINARY); 30 enum encoding encoding = BINARY); 36 enum encoding encoding = BINARY);
|
| /libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
| EDIPartyName.java | 32 * The class encapsulates the ASN.1 DER encoding/decoding work 60 private byte[] encoding; field in class:EDIPartyName 76 // @param encoding: byte[] 79 byte[] encoding) { 82 this.encoding = encoding; 106 if (encoding == null) { 107 encoding = ASN1.encode(this); 109 return encoding;
|
| OtherName.java | 34 * The class encapsulates the ASN.1 DER encoding/decoding work 54 private byte[] encoding; field in class:OtherName 69 // @param encoding: byte[] 71 private OtherName(String typeID, byte[] value, byte[] encoding) { 74 this.encoding = encoding; 98 if (encoding == null) { 99 encoding = ASN1.encode(this); 101 return encoding;
|
| PrivateKeyUsagePeriod.java | 33 * The class encapsulates the ASN.1 DER encoding/decoding work 54 private byte[] encoding; field in class:PrivateKeyUsagePeriod 69 // @param encoding: byte[] 72 Date notAfterDate, byte[] encoding) { 75 this.encoding = encoding; 99 if (encoding == null) { 100 encoding = ASN1.encode(this); 102 return encoding;
|
| CRLDistributionPoints.java | 34 * The class encapsulates the ASN.1 DER encoding/decoding work 71 private byte[] encoding; field in class:CRLDistributionPoints 80 public CRLDistributionPoints(List distributionPoints, byte[] encoding) { 85 this.encoding = encoding; 89 if (encoding == null) { 90 encoding = ASN1.encode(this); 92 return encoding; 95 public static CRLDistributionPoints decode(byte[] encoding) 97 CRLDistributionPoints cdp = (CRLDistributionPoints) ASN1.decode(encoding); [all...] |
| ORAddress.java | 30 * The class encapsulates the ASN.1 DER encoding/decoding work 51 private byte[] encoding; field in class:ORAddress 63 if (encoding == null) { 64 encoding = ASN1.encode(this); 66 return encoding;
|
| GeneralNames.java | 35 * The class encapsulates the ASN.1 DER encoding/decoding work 55 private byte[] encoding; field in class:GeneralNames 75 // @param encoding: byte[] 77 private GeneralNames(List generalNames, byte[] encoding) { 79 this.encoding = encoding; 115 encoding = null; 128 encoding = null; 145 if (encoding == null) { 146 encoding = ASN1.encode(this) [all...] |
| InfoAccessSyntax.java | 30 * The class encapsulates the ASN.1 DER encoding/decoding work 57 private InfoAccessSyntax(List accessDescriptions, byte[] encoding) 63 this.encoding = encoding; 75 if (encoding == null) { 76 encoding = ASN1.encode(this); 78 return encoding; 81 public static InfoAccessSyntax decode(byte[] encoding) throws IOException { 82 return ((InfoAccessSyntax) ASN1.decode(encoding));
|
| ReasonCode.java | 66 public ReasonCode(byte[] encoding) throws IOException { 67 super(encoding); 68 this.code = ((byte[]) ASN1.decode(encoding))[0]; 80 if (encoding == null) { 81 encoding = ASN1.encode(new byte[] {(byte) code}); 83 return encoding;
|
| PolicyConstraints.java | 34 * The class encapsulates the ASN.1 DER encoding/decoding work 63 private byte[] encoding; field in class:PolicyConstraints 94 public PolicyConstraints(byte[] encoding) throws IOException { 95 super(encoding); 96 PolicyConstraints pc = (PolicyConstraints) ASN1.decode(encoding); 105 // @param encoding: byte[] 108 BigInteger inhibitPolicyMapping, byte[] encoding) { 110 this.encoding = encoding; 118 if (encoding == null) [all...] |
| AccessDescription.java | 27 * The class encapsulates the ASN.1 DER encoding/decoding work 47 private byte [] encoding; field in class:AccessDescription 55 byte[] encoding) { 58 this.encoding = encoding; 66 if (encoding == null) { 67 encoding = ASN1.encode(this); 69 return encoding;
|
| /external/apache-http/src/org/apache/http/client/utils/ |
| URLEncodedUtils.java | 50 * A collection of utilities for encoding URLs. 68 * @param encoding 69 * encoding to use while parsing the query 71 public static List <NameValuePair> parse (final URI uri, final String encoding) { 76 parse(result, new Scanner(query), encoding); 83 * {@link HttpEntity}. The encoding is taken from the entity's 84 * Content-Encoding header. 98 final Header encoding = entity.getContentEncoding(); local 102 encoding != null ? encoding.getValue() : null) [all...] |
| /external/webkit/WebKit/chromium/public/ |
| WebSearchableFormData.h | 40 // SearchableFormData encapsulates a URL and encoding of an INPUT field that 56 // Encoding used to encode the form parameters; never empty. 57 const WebString& encoding() const function in class:WebKit::WebSearchableFormData
|
| /external/tinyxml/ |
| tinyxmlparser.cpp | 120 /*static*/ int TiXmlBase::IsAlpha( unsigned char anyByte, TiXmlEncoding /*encoding*/ ) 124 // to figure out alhabetical vs. not across encoding. So take a very 127 // if ( encoding == TIXML_ENCODING_UTF8 ) 141 /*static*/ int TiXmlBase::IsAlphaNum( unsigned char anyByte, TiXmlEncoding /*encoding*/ ) 145 // to figure out alhabetical vs. not across encoding. So take a very 148 // if ( encoding == TIXML_ENCODING_UTF8 ) 166 void Stamp( const char* now, TiXmlEncoding encoding ); 187 void TiXmlParsingData::Stamp( const char* now, TiXmlEncoding encoding ) 253 if ( encoding == TIXML_ENCODING_UTF8 ) 277 if ( encoding == TIXML_ENCODING_UTF8 [all...] |
| /packages/apps/Email/src/org/apache/commons/io/ |
| IOUtils.java | 54 * encoding and the other which allows you to specify an encoding. You are
55 * encouraged to always specify an encoding because relying on the platform
224 * using the default character encoding of the platform.
242 * using the specified character encoding.
244 * Character encoding names can be found at
251 * @param encoding the encoding to use, null means platform default
257 public static byte[] toByteArray(Reader input, String encoding)
260 copy(input, output, encoding);
[all...] |
| /libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/ |
| CertificationRequest.java | 28 * The class implements the ASN.1 DER encoding and decoding of the PKCS#10 53 private byte[] encoding; field in class:CertificationRequest 63 // private constructor with encoding given 65 AlgorithmIdentifier algId, byte[] signature, byte[] encoding) { 67 this.encoding = encoding; 98 if (encoding == null) { 99 encoding = CertificationRequest.ASN1.encode(this); 101 return encoding;
|
| /external/libxml2/include/libxml/ |
| DOCBparser.h | 52 const char *encoding, 57 const char *encoding); 60 const char *encoding, 65 const char *encoding); 86 const char *encoding);
|
| xmlsave.h | 15 #include <libxml/encoding.h> 45 const char *encoding, 49 const char *encoding, 54 const char *encoding, 61 const char *encoding,
|
| /external/nist-sip/java/gov/nist/javax/sip/header/ |
| AlertInfo.java | 67 * Return value encoding in canonical form. 68 * @return The value of the header in canonical encoding. 71 StringBuffer encoding = new StringBuffer(); local 73 encoding.append(LESS_THAN).append(uri.encode()).append(GREATER_THAN); 75 encoding.append(string); 78 encoding.append(SEMICOLON).append(parameters.encode()); 80 return encoding.toString();
|
| /external/webkit/WebCore/platform/text/ |
| TextEncodingDetectorICU.cpp | 50 // Tiger came with ICU 3.2 and does not have the encoding detector. 69 // "the context" (parent-encoding, referrer encoding, etc). 72 // encoding with a highest confidence among the detector-specific 82 const char* encoding = 0; 86 // allocation in a given encoding. The size of a chunk passed to 108 encoding = hintEncodingName; 115 // a child frame in Shift_JIS and both frames do NOT specify the encoding 117 if (!encoding && matchesCount > 0) 118 encoding = ucsdet_getName(matches[0], &status) [all...] |
| /external/webkit/WebCore/wml/ |
| WMLPostfieldElement.cpp | 70 static inline CString encodedString(const TextEncoding& encoding, const String& data) 72 return encoding.encode(data.characters(), data.length(), EntitiesForUnencodables); 75 void WMLPostfieldElement::encodeData(const TextEncoding& encoding, CString& name, CString& value) 77 name = encodedString(encoding, this->name()); 78 value = encodedString(encoding, this->value());
|