/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
ToTextSAXHandler.java | 67 public ToTextSAXHandler(ContentHandler hdlr, LexicalHandler lex, String encoding) 69 super(hdlr, lex, encoding); 75 public ToTextSAXHandler(ContentHandler handler, String encoding) 77 super(handler,encoding);
|
ToTextStream.java | 277 final String encoding = getEncoding(); local 305 new Object[] { integralValue, encoding }); 316 // not in the encoding and not a high char in 318 if (encoding != null) { 319 /* The output encoding is known, 323 // not in the encoding, so write out a character reference 334 new Object[] { integralValue, encoding }); 341 /* The output encoding is not known,
|
/development/testrunner/ |
android_manifest.py | 109 self._dom.writexml(open(self._manifest_path, mode='w'), encoding='utf-8')
|
/external/icu4c/i18n/unicode/ |
ucsdet.h | 7 * encoding: US-ASCII 32 * charset or encoding of character data in an unknown text format. 93 * @param textIn the input text of unknown encoding. . 104 /** Set the declared encoding for charset detection. 105 * The declared encoding of an input text is an encoding obtained 109 * How and whether the declared encoding will be used during the 113 * @param encoding an encoding for the current data obtained from 116 * @param length the length of the encoding name, or -1 if the name strin [all...] |
/external/icu4c/test/intltest/ |
rbbitst.h | 59 UChar *ReadAndConvertFile(const char *fileName, int &ulen, const char *encoding, UErrorCode &status);
|
/external/webkit/WebCore/icu/unicode/ |
ucsdet.h | 7 * encoding: US-ASCII 32 * charset or encoding of character data in an unknown text format. 93 * @param textIn the input text of unknown encoding. . 104 /** Set the declared encoding for charset detection. 105 * The declared encoding of an input text is an encoding obtained 109 * How and whether the declared encoding will be used during the 113 * @param encoding an encoding for the current data obtained from 116 * @param length the length of the encoding name, or -1 if the name strin [all...] |
/external/webkit/WebKit/gtk/webkit/ |
webkitwebresource.h | 64 const gchar *encoding,
|
/external/webkit/WebKit/win/ |
WebDataSource.cpp | 89 /* [retval][out] */ BSTR* /*encoding*/) 96 /* [in] */ BSTR /*encoding*/) 220 String encoding = m_loader->overrideEncoding(); local 221 if (encoding.isNull()) 222 encoding = m_loader->response().textEncodingName(); 224 *name = BString(encoding).release();
|
/frameworks/base/include/media/ |
mediascanner.h | 82 void convertValues(uint32_t encoding); 85 // cached name and value strings, for native encoding support. 89 // default encoding based on MediaScanner::mLocale string
|
/frameworks/base/include/tts/ |
TtsEngine.h | 155 // @param[inout] encoding in: the desired audio sample format 162 virtual tts_result setAudioFormat(AudioSystem::audio_format& encoding, uint32_t& rate,
|
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/ |
ContentTypeParser.java | 131 public ContentTypeParser(java.io.InputStream stream, String encoding) { 132 try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); } 143 public void ReInit(java.io.InputStream stream, String encoding) { 144 try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
|
/dalvik/libcore/luni/src/main/java/java/net/ |
URLConnection.java | 206 * Gets the content encoding type specified by the response header field 207 * {@code content-encoding} or {@code null} if this field is not set. 209 * @return the value of the response header field {@code content-encoding}. 212 return getHeaderField("Content-Encoding"); //$NON-NLS-1$ 684 // Check for Unicode BOM encoding indicators 685 String encoding = "ASCII"; local 689 encoding = "UTF-16LE"; 694 encoding = "UTF-16BE"; 701 encoding = "UTF-8"; 708 encoding = "UTF-32BE" [all...] |
/external/expat/lib/ |
expat.h | 180 parameter will be NULL for text declarations. The encoding 188 const XML_Char *encoding, 202 /* Constructs a new parser; encoding is the encoding specified by the 206 XML_ParserCreate(const XML_Char *encoding); variable 220 XML_ParserCreateNS(const XML_Char *encoding, XML_Char namespaceSeparator); 233 XML_ParserCreate_MM(const XML_Char *encoding, 247 XML_ParserReset(XML_Parser parser, const XML_Char *encoding); 477 The convert function may be NULL if the encoding is a single-byte 478 encoding, that is if map[b] >= -1 for all bytes b [all...] |
xmlparse.c | 171 version of the name (in the document encoding) is shared with the 181 const char *rawName; /* tagName in the original encoding */ 183 TAG_NAME name; /* tagName in the API encoding */ 330 doProlog(XML_Parser parser, const ENCODING *enc, const char *s, 337 doContent(XML_Parser parser, int startTagLevel, const ENCODING *enc, 341 doCdataSection(XML_Parser parser, const ENCODING *, const char **startPtr, 345 doIgnoreSection(XML_Parser parser, const ENCODING *, const char **startPtr, 350 storeAtts(XML_Parser parser, const ENCODING *, const char *s, 359 storeAttributeValue(XML_Parser parser, const ENCODING *, XML_Bool isCdata, 362 appendAttributeValue(XML_Parser parser, const ENCODING *, XML_Bool isCdata 588 #define encoding macro [all...] |
/frameworks/base/media/libstagefright/id3/ |
ID3.cpp | 609 static size_t StringSize(const uint8_t *start, uint8_t encoding) { 610 if (encoding == 0x00 || encoding == 0x03) { 638 uint8_t encoding = data[0]; local 651 size_t descLen = StringSize(&data[2 + mimeLen], encoding); 657 uint8_t encoding = data[0]; local 678 size_t descLen = StringSize(&data[5], encoding);
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
String.java | 139 * Converts the byte array to a string using the default encoding as 140 * specified by the file.encoding system property. If the system property is 141 * not defined, the default encoding is ISO8859_1 (ISO-Latin-1). If 8859-1 142 * is not available, an ASCII encoding is used. 170 * Converts the byte array to a string using the default encoding as 171 * specified by the file.encoding system property. If the system property is 172 * not defined, the default encoding is ISO8859_1 (ISO-Latin-1). If 8859-1 173 * is not available, an ASCII encoding is used. 248 * Converts the byte array to a string using the specified encoding. 256 * @param encoding 786 String encoding = AccessController local [all...] |
/external/icu4c/samples/uresb/ |
uresb.c | 9 * encoding: US-ASCII 42 /*--locale sr_YU and --encoding cp855 47 static const char *encoding = NULL; variable 112 encoding = options[3].value; 114 encoding = NULL; 145 outerr = u_finit(stderr, locale, encoding); 146 out = u_finit(stdout, locale, encoding);
|
/external/webkit/WebCore/inspector/ |
InspectorResource.cpp | 300 TextEncoding encoding(textEncodingName); 301 if (!encoding.isValid()) 302 encoding = WindowsLatin1Encoding(); 303 return encoding.decode(buffer->data(), buffer->size()); 328 *textEncodingName = cachedResource->encoding();
|
/external/tinyxml/ |
tinyxml.cpp | 935 bool TiXmlDocument::LoadFile( TiXmlEncoding encoding ) 940 if ( buf.buffer && LoadFile( buf.buffer, encoding ) ) 958 bool TiXmlDocument::LoadFile( const char* filename, TiXmlEncoding encoding ) 1075 Parse( data.c_str(), 0, encoding ); 1393 encoding = _encoding; 1405 encoding = _encoding; 1431 if ( !encoding.empty() ) 1432 fprintf (cfile, "encoding=\"%s\" ", encoding.c_str ()); 1448 if ( !encoding.empty() [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaSMSDispatcher.java | 372 int encoding = android.telephony.SmsMessage.ENCODING_UNKNOWN; local 376 if (encoding != details.codeUnitSize 377 && (encoding == android.telephony.SmsMessage.ENCODING_UNKNOWN 378 || encoding == android.telephony.SmsMessage.ENCODING_7BIT)) { 379 encoding = details.codeUnitSize; 405 if (encoding == android.telephony.SmsMessage.ENCODING_7BIT) {
|
/external/elfutils/tests/ |
run-show-die-info.sh | 48 Attrs : name byte_size encoding 72 Attrs : name byte_size encoding 116 Attrs : name byte_size encoding 146 Attrs : name byte_size encoding 157 Attrs : name byte_size encoding 178 Attrs : name byte_size encoding 210 Attrs : name byte_size encoding 232 Attrs : name byte_size encoding 248 Attrs : name byte_size encoding 259 Attrs : name byte_size encoding [all...] |
/cts/tools/signature-tools/src/signature/converter/doclet/ |
DocletFactory.java | 82 String encoding = null;
local 117 RootDocImpl root = comp.getRootDocImpl(docLocale, encoding, showAccess,
|
/dalvik/libcore/logging/src/main/java/java/util/logging/ |
StreamHandler.java | 35 * <li>java.util.logging.StreamHandler.encoding specifies the encoding this 36 * handler will use to encode log messages. Default is the encoding used by the 189 * Sets the character encoding used by this handler. A {@code null} value 190 * indicates that the default encoding should be used. 192 * @param encoding 193 * the character encoding to set. 198 * if the specified encoding is not supported by the runtime. 201 public void setEncoding(String encoding) throws SecurityException, 203 // flush first before set new encoding [all...] |
/dalvik/libcore/luni/src/main/java/java/io/ |
OutputStreamWriter.java | 35 * provided character converter. The default encoding is taken from the 36 * "file.encoding" system property. {@code OutputStreamWriter} contains a buffer 52 * stream to write converted characters to. The default character encoding 61 String encoding = AccessController local 63 "file.encoding", "ISO8859_1")); //$NON-NLS-1$ //$NON-NLS-2$ 64 encoder = Charset.forName(encoding).newEncoder(); 72 * encoding. If the encoding cannot be found, an 78 * the string describing the desired character encoding. 82 * if the encoding specified by {@code enc} cannot be found [all...] |
/dalvik/libcore/security/src/main/java/java/security/cert/ |
CertificateFactory.java | 210 * (as Strings). The first element is the default encoding scheme to apply. 221 * {@code InputStream}. The default encoding scheme is applied. 240 * {@code InputStream} and the specified encoding scheme. 244 * specified encoding. 245 * @param encoding 246 * encoding of the data in the input stream. 253 public final CertPath generateCertPath(InputStream inStream, String encoding) 255 return spiImpl.engineGenerateCertPath(inStream, encoding); 260 * encoding is the default encoding [all...] |