| /external/expat/amiga/include/libraries/ |
| expat.h | 165 const XML_Char *encoding, 180 XML_ParserCreate(const XML_Char *encoding); 183 XML_ParserCreateNS(const XML_Char *encoding, XML_Char namespaceSeparator); 187 XML_ParserCreate_MM(const XML_Char *encoding, 192 XML_ParserReset(XML_Parser parser, const XML_Char *encoding); 407 XML_SetEncoding(XML_Parser parser, const XML_Char *encoding); 461 const XML_Char *encoding);
|
| /frameworks/base/core/java/com/android/internal/util/ |
| FastXmlSerializer.java | 286 public void setOutput(OutputStream os, String encoding) throws IOException, 292 mCharset = Charset.forName(encoding).newEncoder(); 295 encoding).initCause(e)); 298 encoding).initCause(e)); 303 encoding == null 305 : new OutputStreamWriter(os, encoding)); 324 public void startDocument(String encoding, Boolean standalone) throws IOException, 326 append("<?xml version='1.0' encoding='utf-8' standalone='"
|
| /dalvik/libcore/logging/src/main/java/java/util/logging/ |
| XMLFormatter.java | 29 * {@code XMLFormatter} uses the output handler's encoding if it is specified, 30 * otherwise the default platform encoding is used instead. UTF-8 is the 31 * recommended encoding. 167 * strings, using the output handler's encoding if it is defined, otherwise 168 * using the default platform encoding. 177 String encoding = null; local 179 encoding = h.getEncoding(); 181 if (null == encoding) { 182 encoding = getSystemProperty("file.encoding"); [all...] |
| /dalvik/libcore/luni/src/main/java/java/io/ |
| PrintStream.java | 33 * confused with DataOutputStream which is used for encoding common data types 54 private String encoding; field in class:PrintStream 102 * stream and using the character encoding {@code enc} while writing. The 112 * the non-null string describing the desired character encoding. 116 * if the encoding specified by {@code enc} is not supported. 132 encoding = enc; 137 * virtual machine's default character set is used for character encoding. 154 * character set named {@code csn} is used for character encoding. 160 * the name of the character set used for character encoding. 169 * if the encoding specified by {@code csn} is not supported [all...] |
| /dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
| Extensions.java | 42 * The class encapsulates the ASN.1 DER encoding/decoding work 72 private byte[] encoding; field in class:Extensions 341 encoding = null; 367 if (encoding == null) { 368 encoding = ASN1.encode(this); 370 return encoding;
|
| /dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/ |
| ExpatReader.java | 274 String encoding = input.getEncoding(); local 277 parse(in, encoding, input.getPublicId(), input.getSystemId()); 293 parse(in, encoding, input.getPublicId(), systemId); 311 private void parse(InputStream in, String encoding, String publicId, 314 encoding,
|
| /external/webkit/WebCore/page/ |
| XSSAuditor.cpp | 73 String XSSAuditor::CachingURLCanonicalizer::canonicalizeURL(const String& url, const TextEncoding& encoding, bool decodeEntities, 77 && encoding == m_encoding && url == m_inputURL) 80 m_cachedCanonicalizedURL = canonicalize(decodeURL(url, encoding, decodeEntities, decodeURLEscapeSequencesTwice)); 82 m_encoding = encoding; 221 String XSSAuditor::decodeURL(const String& string, const TextEncoding& encoding, bool decodeEntities, bool decodeURLEscapeSequencesTwice) 229 String decodedResult = encoding.decode(utf8Url.data(), utf8Url.length()); 235 decodedResult = encoding.decode(utf8Url.data(), utf8Url.length()); 371 String decodedPageURL = m_cache.canonicalizeURL(pageURL, frame->document()->decoder()->encoding(), task.decodeEntities, task.decodeURLEscapeSequencesTwice); 380 String decodedFormData = m_cache.canonicalizeURL(formDataObj->flattenToString(), frame->document()->decoder()->encoding(), task.decodeEntities, task.decodeURLEscapeSequencesTwice);
|
| /external/webkit/WebKitTools/Scripts/webkitpy/ |
| BeautifulSoup.py | 36 the encoding of an HTML or XML document, and converting it to 107 def sob(unicode, encoding): 108 """Returns either the given Unicode string or its encoding.""" 109 if encoding is None: 112 return unicode.encode(encoding) 381 def substituteEncoding(self, str, encoding=None): 382 encoding = encoding or "utf-8" 383 return str.replace("%SOUP-ENCODING%", encoding) [all...] |
| /dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/ |
| DSAPrivateKeyImpl.java | 109 byte encoding[] = keySpec.getEncoded(); 115 .decode(encoding); 141 setEncoding(encoding);
|
| DSAPublicKeyImpl.java | 117 byte encoding[] = keySpec.getEncoded(); 123 .decode(encoding); 151 setEncoding(encoding);
|
| /dalvik/libcore/security/src/main/java/org/apache/harmony/security/x501/ |
| Name.java | 48 //ASN.1 DER encoding of Name 64 * Creates new <code>Name</code> instance from its DER encoding 66 * @param encoding - ASN.1 DER encoding 67 * @throws IOException - if encoding is wrong 69 public Name(byte[] encoding) throws IOException { 71 DerInputStream in = new DerInputStream(encoding); 73 if (in.getEndOffset() != encoding.length) { 229 * @return return encoding, no copying is performed
|
| /external/freetype/src/cff/ |
| cffcmap.c | 28 /***** CFF STANDARD (AND EXPERT) ENCODING CMAPS *****/ 38 CFF_Encoding encoding = &cff->encoding; local 41 cmap->gids = encoding->codes; 117 /***** CFF SYNTHETIC UNICODE ENCODING CMAP *****/
|
| /external/icu4c/samples/layout/ |
| cmaps.cpp | 98 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; local 100 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups));
|
| /external/icu4c/test/letest/ |
| cmaps.cpp | 92 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; local 94 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups));
|
| /external/webkit/WebCore/platform/network/mac/ |
| ResourceRequestMac.mm | 80 CFStringEncoding encoding = CFStringConvertNSStringEncodingToEncoding([(NSNumber *)[encodingFallbacks objectAtIndex:i] unsignedLongValue]); 81 if (encoding != kCFStringEncodingInvalidId) 82 m_responseContentDispositionEncodingFallbackArray.append(CFStringConvertEncodingToIANACharSetName(encoding));
|
| /external/webkit/WebKitTools/simplejson/ |
| encoder.py | 114 indent=None, separators=None, encoding='utf-8'): 119 encoding of keys that are not str, int, long, float or None. If 127 objects will be checked for circular references during encoding to 149 If encoding is not None, then all input strings will be 150 transformed into unicode using that encoding prior to JSON-encoding. 163 self.encoding = encoding 232 _encoding = self.encoding 278 _encoding = self.encoding [all...] |
| /external/libxml2/ |
| HTMLparser.c | 41 #include <libxml/encoding.h> 219 * running with UTF-8 encoding. 227 * Clean macros, not dependent of an ASCII context, expect UTF-8 encoding 298 * If the encoding is unspecified, in the case we find an ISO-Latin-1 299 * char, then the encoding converter is plugged in automatically. 316 * From rfc2044: encoding of the Unicode values on UTF-8: 378 * Assume it's a fixed length encoding (1) with 379 * a compatible encoding for the ASCII set, since 396 * input encoding didn't get properly advertized in the 397 * declaration header. Report the error and switch the encoding 3300 const xmlChar *encoding; local [all...] |
| Android.mk | 9 encoding.c \
|
| /external/emma/ant/ant14/com/vladium/emma/report/ |
| reportTask.java | 170 public void setEncoding (final String encoding) 172 m_reportCfg.setEncoding (encoding);
|
| /external/expat/lib/ |
| xmltok_ns.c | 8 const ENCODING * 14 const ENCODING * 29 static const ENCODING * const NS(encodings)[] = { 40 NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end, 48 NS(initScanContent)(const ENCODING *enc, const char *ptr, const char *end, 56 NS(XmlInitEncoding)(INIT_ENCODING *p, const ENCODING **encPtr, 71 static const ENCODING * 72 NS(findEncoding)(const ENCODING *enc, const char *ptr, const char *end) 92 const ENCODING *enc, 99 const ENCODING **encoding [all...] |
| /external/icu4c/i18n/ |
| ucsdet.cpp | 101 ucsdet_setDeclaredEncoding(UCharsetDetector *ucsd, const char *encoding, int32_t length, UErrorCode *status) 107 ((CharsetDetector *) ucsd)->setDeclaredEncoding(encoding,length);
|
| /frameworks/base/core/tests/coretests/src/android/widget/focus/ |
| ListWithMailMessages.java | 123 final String encoding = "utf-8"; field in class:ListWithMailMessages.MyAdapter 140 body.loadData(message.getBody(), mimeType, encoding); local
|
| /frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
| WebView.java | 113 public void loadData(String data, String mimeType, String encoding) { 117 String mimeType, String encoding, String failUrl) {
|
| /cts/tools/dasm/src/dasm/ |
| Main.java | 53 private static String encoding = null; field in class:Main 69 if (encoding == null) 72 ir = new InputStreamReader(fs, encoding); 219 encoding = args[i]; 232 .println("dasm [-d <outpath>] [-g] [-h] [-e <encoding>] <file>" 235 + " -e - codepage for inputfile encoding\n"
|
| /cts/tools/utils/cts/ |
| tools.py | 71 self.encoding = 'UTF-8' 106 doc.writexml(writer, addindent=' ', newl='\n', encoding=self.encoding) 172 doc.writexml(stream, addindent=' ', newl='\n', encoding='UTF-8')
|