HomeSort by relevance Sort by last modified time
    Searched refs:encoding (Results 201 - 225 of 567) sorted by null

1 2 3 4 5 6 7 891011>>

  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
Extension.java 37 * The class encapsulates the ASN.1 DER encoding/decoding work
97 private byte[] encoding; field in class:Extension
169 // @param encoding: byte[]
172 byte[] rawExtnValue, byte[] encoding,
176 this.encoding = encoding;
225 if (encoding == null) {
226 encoding = Extension.ASN1.encode(this);
228 return encoding;
418 // second - raw encoding of octet strin
    [all...]
Extensions.java 40 * The class encapsulates the ASN.1 DER encoding/decoding work
70 private byte[] encoding; field in class:Extensions
339 encoding = null;
365 if (encoding == null) {
366 encoding = ASN1.encode(this);
368 return 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);
  /libcore/luni/src/main/java/java/io/
PrintStream.java 31 * confused with DataOutputStream which is used for encoding common data types
52 private String encoding; field in class:PrintStream
100 * stream and using the character encoding {@code enc} while writing. The
110 * the non-null string describing the desired character encoding.
114 * if the encoding specified by {@code enc} is not supported.
130 encoding = enc;
135 * virtual machine's default character set is used for character encoding.
152 * character set named {@code csn} is used for character encoding.
158 * the name of the character set used for character encoding.
167 * if the encoding specified by {@code csn} is not supported
    [all...]
  /libcore/luni/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...]
  /libcore/luni/src/main/java/org/apache/harmony/xml/
ExpatReader.java 272 String encoding = input.getEncoding(); local
275 parse(in, encoding, input.getPublicId(), input.getSystemId());
291 parse(in, encoding, input.getPublicId(), systemId);
309 private void parse(InputStream in, String encoding, String publicId,
312 encoding,
  /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...]
  /external/chromium/third_party/icu/source/test/letest/
cmaps.cpp 92 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; local
94 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups));
  /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/nist-sip/java/gov/nist/javax/sip/header/ims/
PChargingFunctionAddresses.java 91 StringBuffer encoding = new StringBuffer(); local
96 encoding.append(duplicates.encode());
99 return encoding.toString();
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSAPrivateKeyImpl.java 107 byte[] encoding = keySpec.getEncoded();
113 .decode(encoding);
115 throw new InvalidKeySpecException("Failed to decode keySpec encoding: " + e);
136 setEncoding(encoding);
DSAPublicKeyImpl.java 109 byte[] encoding = keySpec.getEncoded();
115 .decode(encoding);
117 throw new InvalidKeySpecException("Failed to decode keySpec encoding: " + e);
140 setEncoding(encoding);
  /libcore/luni/src/main/java/org/apache/harmony/security/x501/
Name.java 45 //ASN.1 DER encoding of Name
61 * Creates new <code>Name</code> instance from its DER encoding
63 * @param encoding - ASN.1 DER encoding
64 * @throws IOException - if encoding is wrong
66 public Name(byte[] encoding) throws IOException {
68 DerInputStream in = new DerInputStream(encoding);
70 if (in.getEndOffset() != encoding.length) {
226 * @return return encoding, no copying is performed
  /external/nist-sip/java/gov/nist/javax/sip/header/
SIPDate.java 281 String encoding = ""; local
284 encoding += sipWkDay + Separators.COMMA + Separators.SP;
286 encoding += dayString + Separators.SP;
289 encoding += sipMonth + Separators.SP;
291 encoding += year
301 return encoding;
  /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/chromium/third_party/icu/source/i18n/
ucsdet.cpp 101 ucsdet_setDeclaredEncoding(UCharsetDetector *ucsd, const char *encoding, int32_t length, UErrorCode *status)
107 ((CharsetDetector *) ucsd)->setDeclaredEncoding(encoding,length);
  /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

Completed in 1235 milliseconds

1 2 3 4 5 6 7 891011>>