/frameworks/base/core/java/android/util/ |
Xml.java | 80 public static void parse(InputStream in, Encoding encoding, 86 source.setEncoding(encoding.expatName); 134 public enum Encoding { 143 Encoding(String expatName) { 149 * Finds an encoding by name. Returns UTF-8 if you pass {@code null}. 151 public static Encoding findEncodingByName(String encodingName) 154 return Encoding.UTF_8; 157 for (Encoding encoding : Encoding.values()) [all...] |
/external/webkit/WebKitTools/simplejson/ |
decoder.py | 68 def scanstring(s, end, encoding=None, _b=BACKSLASH, _m=STRINGCHUNK.match): 69 if encoding is None: 70 encoding = DEFAULT_ENCODING 83 content = unicode(content, encoding) 112 encoding = getattr(context, 'encoding', None) 113 return scanstring(match.string, match.end(), encoding) 129 encoding = getattr(context, 'encoding', None) 132 key, end = scanstring(s, end, encoding) [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/pkcs10/ |
CertificationRequestInfo.java | 60 private byte [] encoding; field in class:CertificationRequestInfo 70 // private constructor with encoding given 72 SubjectPublicKeyInfo subjectPublicKeyInfo, List attributes, byte [] encoding) { 74 this.encoding = encoding; 110 if (encoding == null) { 111 encoding = ASN1.encode(this); 113 return encoding;
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/pkcs7/ |
ContentInfo.java | 57 private byte[] encoding; field in class:ContentInfo 64 private ContentInfo(int[] oid, Object content, byte[] encoding) { 67 this.encoding = encoding; 86 if (encoding == null) { 87 encoding = ASN1.encode(this); 90 // public API, so encoding is not copied. The classes which use 91 // this class should copy encoding before passing it out. 92 return encoding;
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/tsp/ |
TimeStampReq.java | 64 private byte [] encoding; field in class:TimeStampReq 79 Extensions extensions, byte [] encoding) { 81 this.encoding = encoding; 108 if (encoding == null) { 109 encoding = ASN1.encode(this); 111 return encoding;
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
EncodingInfo.java | 25 * Holds information about a given encoding, which is the Java name for the 26 * encoding, the equivalent ISO name. 40 * will answer if a character is in the encoding, and do so for a given 49 * Actually figuring out if a code point is in the encoding is expensive. So the 64 * Not all characters in an encoding are in on contiguous group, 69 * definately in the encoding, although for chars 70 * above this point they might be in the encoding. 73 * are in the encoding. 79 * The ISO encoding name. 92 * is in this encoding [all...] |
/packages/apps/Email/src/org/apache/commons/io/output/ |
LockableFileWriter.java | 40 * The encoding may also be specified, and defaults to the platform default.
137 * Constructs a LockableFileWriter with a file encoding.
140 * @param encoding the encoding to use, null means platform default
144 public LockableFileWriter(File file, String encoding) throws IOException {
145 this(file, encoding, false, null);
149 * Constructs a LockableFileWriter with a file encoding.
152 * @param encoding the encoding to use, null means platform default
158 public LockableFileWriter(File file, String encoding, boolean append, [all...] |
/external/webkit/WebCore/platform/text/mac/ |
TextCodecMac.cpp | 59 if (CharsetTable[i].encoding != lastEncoding) { 60 lastEncoding = CharsetTable[i].encoding; 77 if (CharsetTable[i].encoding != lastEncoding) { 78 registrar(CharsetTable[i].name, newTextCodecMac, &CharsetTable[i].encoding); 79 lastEncoding = CharsetTable[i].encoding; 83 TextCodecMac::TextCodecMac(TECTextEncodingID encoding) 84 : m_encoding(encoding) 102 cachedConverter.encoding = m_encoding; 111 bool cachedEncodingEqual = cachedConverter.encoding == m_encoding; 112 cachedConverter.encoding = invalidEncoding [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/ |
Cache.java | 42 * whether provided form is PEM encoding or not.<br> 57 * generated on the base of the encoding with the SIMILAR prefix or not. 59 * But it prevents us from use of expensive full encoding 62 * 2. If predetermination ends with success, the whole encoding 76 // value generated on the base of the prefix of encoding 78 // value generated on the base of the tail of encoding 100 // The hash-encoding-object correspondence is made by means of index 102 // corresponds to the encoding contained in encodings[N] which corresponds 180 * similar encoding or not (by means of <code>contains(long)</code> method), 186 * of the encoding [all...] |
/external/apache-http/src/org/apache/commons/codec/net/ |
RFC1522Codec.java | 31 * describes techniques to allow the encoding of non-ASCII text in 48 * Applies an RFC 1522 compliant encoding scheme to the given string of text with the 58 * @throws EncoderException thrown if there is an error conidition during the Encoding 63 * encoding names</a> 117 throw new DecoderException("RFC 1522 violation: encoding token not found"); 119 String encoding = text.substring(from, to); local 120 if (!getEncoding().equalsIgnoreCase(encoding)) { 122 encoding + " encoded content"); 132 * Returns the codec name (referred to as encoding in the RFC 1522) 139 * Encodes an array of bytes using the defined encoding schem [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
GeneralSubtree.java | 32 * The class encapsulates the ASN.1 DER encoding/decoding work 62 private byte[] encoding; field in class:GeneralSubtree 122 if (encoding == null) { 123 encoding = ASN1.encode(this); 125 return encoding;
|
NameConstraints.java | 39 * The class encapsulates the ASN.1 DER encoding/decoding work 67 private byte[] encoding; field in class:NameConstraints 109 // @param encoding: byte[] 112 GeneralSubtrees excludedSubtrees, byte[] encoding) { 114 this.encoding = encoding; 117 public static NameConstraints decode(byte[] encoding) throws IOException { 118 return (NameConstraints) ASN1.decode(encoding); 126 if (encoding == null) { 127 encoding = ASN1.encode(this) [all...] |
/dalvik/libcore/xml/src/main/java/org/w3c/dom/ls/ |
LSInput.java | 20 * encoding), a base URI, and/or a character stream. 63 * of the encoding attribute will be ignored. 71 * of the encoding attribute will be ignored. 78 * <br> If the application knows the character encoding of the byte 79 * stream, it should set the encoding attribute. Setting the encoding in 80 * this way will override any encoding specified in an XML declaration 87 * <br> If the application knows the character encoding of the byte 88 * stream, it should set the encoding attribute. Setting the encoding in [all...] |
/external/icu4c/i18n/ |
csdetect.h | 42 void setDeclaredEncoding(const char *encoding, int32_t len) const;
|
inputext.cpp | 57 void InputText::setDeclaredEncoding(const char* encoding, int32_t len) 59 if(encoding) { 61 len = uprv_strlen(encoding); 67 uprv_strncpy(fDeclaredEncoding, encoding, len);
|
/external/icu4c/samples/uresb/ |
resources.mak | 27 $(GENRB) $(GENRBOPT) --encoding cp1251 $?
|
/external/iproute2/include/linux/hdlc/ |
ioctl.h | 51 unsigned short encoding; member in struct:__anon2509
|
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
SDL_wave.h | 48 Uint16 encoding; member in struct:WaveFMT
|
/external/webkit/WebCore/loader/ |
CachedCSSStyleSheet.h | 50 virtual String encoding() const;
|
CachedScript.h | 48 virtual String encoding() const;
|
/external/webkit/WebCore/platform/text/qt/ |
TextCodecQt.cpp | 66 static PassOwnPtr<TextCodec> newTextCodecQt(const TextEncoding& encoding, const void*) 68 return new TextCodecQt(encoding); 84 TextCodecQt::TextCodecQt(const TextEncoding& encoding) 85 : m_encoding(encoding)
|
/packages/apps/Email/src/org/apache/commons/io/ |
CopyUtils.java | 47 * For byte-to-char methods, a <code>copy</code> variant allows the encoding
49 * encourage you to always specify the encoding because relying on the platform
100 * method variants to specify the encoding, each row may
148 * The platform's default encoding is used for the byte-to-char conversion.
162 * <code>Writer</code>, using the specified encoding.
165 * @param encoding The name of a supported character encoding. See the
167 * Charset Registry</a> for a list of valid encoding types.
173 String encoding)
176 copy(in, output, encoding);
[all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCertPath.java | 171 String encoding) 177 if (encoding.equalsIgnoreCase("PkiPath")) 203 else if (encoding.equalsIgnoreCase("PKCS7") || encoding.equalsIgnoreCase("PEM")) 218 throw new CertificateException("unsupported encoding: " + encoding); 235 * certification path, with the default encoding 248 * the default encoding. 251 * @exception CertificateEncodingException if an encoding error occurs 270 * the specified encoding [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/openssl/ |
PEMWriter.java | 104 byte[] encoding; 111 encoding = ((X509Certificate)o).getEncoded(); 123 encoding = ((X509CRL)o).getEncoded(); 175 encoding = bOut.toByteArray(); 181 encoding = ((PublicKey)o).getEncoded(); 186 encoding = ((X509V2AttributeCertificate)o).getEncoded(); 191 encoding = ((PKCS10CertificationRequest)o).getEncoded(); 196 encoding = ((ContentInfo)o).getEncoded(); 206 writeEncoded(encoding);
|
/frameworks/base/core/tests/coretests/src/android/pim/vcard/ |
VNodeBuilder.java | 46 * If there's no other information available, this class uses this charset for encoding 190 private String handleOneValue(String value, String targetCharset, String encoding) { 191 if (encoding != null) { 192 encoding = encoding.toUpperCase(); 193 if (encoding.equals("BASE64") || encoding.equals("B")) { 198 } else if (encoding.equals("QUOTED-PRINTABLE")) { 261 // Unknown encoding. Fall back to default. 278 String encoding = paramMap.getAsString("ENCODING"); local [all...] |