/external/chromium/net/ftp/ |
ftp_directory_listing_buffer.cc | 20 // A very simple-minded character encoding detection. 22 // like TLD, the UI language/default encoding of a client, etc). In that case, 33 const char* encoding = ucsdet_getName(match, &status); local 39 return encoding; 105 std::string encoding(encoding_.empty() ? "ascii" : encoding_); 106 return base::CodepageToUTF16(from, encoding.c_str(),
|
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
HTMLDocument.java | 28 public HTMLDocument (final String title, final String encoding) 35 // specify encoding META before anything else: 36 if ((encoding != null) && (encoding.length () != 0)) 42 .set (Attribute.CONTENT, "text/html; charset=" + encoding);
|
/external/expat/amiga/ |
expat_vectors.c | 33 extern XML_Parser _Expat_XML_ParserCreate_MM(struct ExpatIFace *, const XML_Char * encoding, const XML_Memory_Handling_Suite * memsuite, const XML_Char * namespaceSeparator); 34 extern XML_Parser _Expat_XML_ExternalEntityParserCreate(struct ExpatIFace *, XML_Parser parser, const XML_Char * context, const XML_Char * encoding); 80 extern enum XML_Status _Expat_XML_SetEncoding(struct ExpatIFace *, XML_Parser parser, const XML_Char * encoding); 85 extern XML_Bool _Expat_XML_ParserReset(struct ExpatIFace *, XML_Parser parser, const XML_Char * encoding); 182 XML_Parser _Expat_XML_ParserCreate(struct ExpatIFace * Self, const XML_Char *encoding) 184 return XML_ParserCreate(encoding); 187 XML_Parser _Expat_XML_ParserCreateNS(struct ExpatIFace * Self, const XML_Char *encoding, XML_Char nsSep) 189 return XML_ParserCreateNS(encoding, nsSep); 192 XML_Parser _Expat_XML_ParserCreate_MM(struct ExpatIFace * Self, const XML_Char *encoding, const XML_Memory_Handling_Suite *memsuite, const XML_Char *namespaceSeparator) 194 return XML_ParserCreate_MM(encoding, memsuite, namespaceSeparator) [all...] |
/external/webkit/WebKit/win/Interfaces/ |
IWebDataSource.idl | 125 @result Returns either the override encoding, as set on the WebView for this 126 dataSource or the encoding from the response. 214 HRESULT overrideEncoding([out, retval] BSTR* encoding); 215 HRESULT setOverrideEncoding([in] BSTR encoding);
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_ps3.c | 78 iwr.u.encoding.flags = i + 1; 80 iwr.u.encoding.pointer = (caddr_t) params->wep_key[i]; 81 iwr.u.encoding.length = params->wep_key_len[i]; 83 iwr.u.encoding.flags = IW_ENCODE_NOKEY |
|
/libcore/luni/src/main/java/java/security/cert/ |
CertificateFactorySpi.java | 94 * default encoding scheme is applied. 109 * InputStream} in the specified encoding. 113 * encoding. 114 * @param encoding 115 * the encoding of the data in the input stream. 122 public CertPath engineGenerateCertPath(InputStream inStream, String encoding) 129 * encoding is the default encoding. 147 * (as Strings). The first element is the default encoding.
|
/libcore/luni/src/main/java/org/apache/xml/serializer/ |
ToSAXHandler.java | 49 String encoding) 53 setEncoding(encoding); 55 public ToSAXHandler(ContentHandler handler, String encoding) 58 setEncoding(encoding);
|
XSLOutputAttributes.java | 36 * encoding 73 * @return the character encoding to be used in the output document. 146 * Sets the character encoding coming from the xsl:output encoding stylesheet attribute. 147 * @param encoding the character encoding 149 public void setEncoding(String encoding); 190 * <li> "encoding" 213 * <li> "encoding" 228 * <li> "encoding" [all...] |
/external/bouncycastle/ |
Android.mk | 24 LOCAL_JAVACFLAGS := -encoding UTF-8 74 LOCAL_JAVACFLAGS := -encoding UTF-8
|
/external/chromium/third_party/icu/source/test/letest/ |
PortableFontInstance.h | 75 virtual const char *getNameString(le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language) const; 77 virtual const LEUnicode16 *getUnicodeNameString(le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language) const;
|
/external/icu4c/test/letest/ |
PortableFontInstance.h | 75 virtual const char *getNameString(le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language) const; 77 virtual const LEUnicode16 *getUnicodeNameString(le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language) const;
|
/external/webkit/WebKit/win/ |
WebDataSource.h | 105 /* [retval][out] */ BSTR *encoding); 108 /* [in] */ BSTR encoding);
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CRLImpl.java | 81 private byte[] encoding; field in class:X509CRLImpl 129 public X509CRLImpl(byte[] encoding) throws IOException { 130 this((CertificateList) CertificateList.ASN1.decode(encoding)); 142 if (encoding == null) { 143 encoding = crl.getEncoded(); 145 byte[] result = new byte[encoding.length]; 146 System.arraycopy(encoding, 0, result, 0, encoding.length);
|
X509CertImpl.java | 91 // encoding of the certificate 93 private volatile byte[] encoding; field in class:X509CertImpl 132 * @param encoding byte array containing ASN.1 encoded form of certificate. 135 public X509CertImpl(byte[] encoding) throws IOException { 136 this((Certificate) Certificate.ASN1.decode(encoding)); 467 if (encoding == null) { 468 encoding = certificate.getEncoded(); 470 byte[] result = new byte[encoding.length]; 471 System.arraycopy(encoding, 0, result, 0, encoding.length) [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertificateFactorySpi.java | 111 public CertPath engineGenerateCertPath(InputStream inStream, String encoding) 116 if (encoding.length() == 0) { 118 throw new IllegalArgumentException("Encoding is empty");
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
XmlSerializer.java | 92 * Set to use binary output stream with given encoding. 94 void setOutput (OutputStream os, String encoding) 99 * <p><b>WARNING</b> no information about encoding is available! 105 * Write <?xml declaration with encoding (if encoding not null) 109 void startDocument (String encoding, Boolean standalone)
|
/external/webkit/WebCore/platform/mac/ |
WebCoreNSStringExtras.mm | 105 TextEncoding encoding; 106 error = UpgradeScriptInfoToTextEncoding(kTextScriptDontCare, lang, region, NULL, &encoding); 110 return encoding;
|
/external/webkit/WebCore/platform/network/ |
FormDataBuilder.cpp | 81 TextEncoding encoding; local 85 if ((encoding = TextEncoding(*it)).isValid()) 86 return encoding; 90 return frame->loader()->encoding(); 115 // so we should test popular servers to find out if there is an encoding form they can handle. 199 void FormDataBuilder::addFilenameToMultiPartHeader(Vector<char>& buffer, const TextEncoding& encoding, const String& filename) 204 appendQuotedString(buffer, encoding.encode(filename.characters(), filename.length(), QuestionMarksForUnencodables));
|
/external/webkit/WebCore/platform/network/cf/ |
ResourceRequestCFNet.cpp | 130 CFStringEncoding encoding = CFStringConvertIANACharSetNameToEncoding(encodingName.get()); local 131 if (encoding != kCFStringEncodingInvalidId) 132 CFArrayAppendValue(encodingFallbacks.get(), reinterpret_cast<const void*>(encoding)); 176 CFStringEncoding encoding = reinterpret_cast<CFIndex>(CFArrayGetValueAtIndex(encodingFallbacks.get(), i)); local 177 if (encoding != kCFStringEncodingInvalidId) 178 m_responseContentDispositionEncodingFallbackArray.append(CFStringConvertEncodingToIANACharSetName(encoding));
|
/external/webkit/WebKit/mac/WebView/ |
WebPDFDocumentExtras.mm | 124 NSStringEncoding encoding = (length > 1 && bytes[0] == 0xFE && bytes[1] == 0xFF) ? NSUnicodeStringEncoding : NSUTF8StringEncoding; 125 NSString *script = [[NSString alloc] initWithBytes:bytes length:length encoding:encoding];
|
/external/bluetooth/glib/glib/ |
giochannel.c | 55 /* This needs to be as wide as the largest character in any possible encoding */ 62 #define USE_BUF(channel) ((channel)->encoding ? (channel)->encoded_read_buf \ 90 channel->encoding = g_strdup ("UTF-8"); 144 g_free (channel->encoding); 478 if (channel->encoding) 598 if (channel->encoding) 937 " channel's encoding.\n"); 946 /* If there's anything here, it's because the encoding is UTF-8, 1046 * The buffering state can only be set if the channel's encoding 1047 * is %NULL. For any other encoding, the channel must be buffered [all...] |
/external/libxml2/include/libxml/ |
parser.h | 73 const xmlChar *encoding; /* the encoding string for entity */ member in struct:_xmlParserInput 191 const xmlChar *encoding; /* the declared encoding, if any */ member in struct:_xmlParserCtxt 248 int charset; /* encoding of the in-memory content 799 #include <libxml/encoding.h> [all...] |
/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='"
|
/libcore/luni/src/main/java/java/net/ |
URLConnection.java | 246 * Returns the content encoding type specified by the response header field 247 * {@code content-encoding} or {@code null} if this field is not set. 249 * @return the value of the response header field {@code content-encoding}. 252 return getHeaderField("Content-Encoding"); 742 // Check for Unicode BOM encoding indicators 743 String encoding = "US-ASCII"; local 747 encoding = "UTF-16LE"; 752 encoding = "UTF-16BE"; 759 encoding = "UTF-8"; 766 encoding = "UTF-32BE" [all...] |