| /external/webkit/WebKit/chromium/src/ |
| WebPageSerializerImpl.cpp | 170 // Get encoding info. 173 xmlEncoding = param->doc->frame()->loader()->encoding(); 178 result.append("\" encoding=\""); 289 // Convert the unicode content to target encoding 516 // Get target encoding for current document. 517 String encoding = currentFrame->frame()->loader()->encoding(); local 518 // Create the text encoding object with target encoding. 519 TextEncoding textEncoding(encoding); [all...] |
| /external/icu4c/tools/genrb/ |
| derb.c | 9 * encoding: US-ASCII 59 static const char *getEncodingName(const char *encoding); 88 const char *encoding = NULL; local 129 " [ -v, --verbose ] [ -e, --encoding encoding ] [ --bom ]\n" 147 encoding = options[2].value; 189 converter = ucnv_open(encoding, &status); 191 fprintf(stderr, "%s: couldn't create %s converter for encoding\n", pname, encoding ? encoding : ucnv_getDefaultName()) [all...] |
| genrb.c | 46 ENCODING, 97 const char *encoding = ""; local 137 "\t-e or --encoding encoding of source files\n" 144 "\t-j or --write-java write a Java ListResourceBundle for ICU4J, followed by optional encoding\n" 202 if(options[ENCODING].doesOccur) { 203 encoding = options[ENCODING].value; 260 processFile(arg, encoding, inputDir, outputDir, gPackageName, &status); 377 printf("autodetected encoding %s\n", cp) [all...] |
| /external/qemu/distrib/sdl-1.2.12/src/audio/ |
| SDL_wave.c | 54 MS_ADPCM_state.wavefmt.encoding = SDL_SwapLE16(format->encoding); 233 IMA_ADPCM_state.wavefmt.encoding = SDL_SwapLE16(format->encoding); 461 switch (SDL_SwapLE16(format->encoding)) { 483 SDL_SwapLE16(format->encoding)); 488 SDL_SwapLE16(format->encoding));
|
| /dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
| ToStream.java | 66 * The encoding information associated with this serializer. 67 * Although initially there is no encoding, 69 * that every character is in the encoding. This is useful 71 * no associated encoding. A serializer in final output state 72 * will have an encoding, and will worry about whether 74 * characters in the output encoding. 163 * Flag to quickly tell if the encoding is UTF8. 408 if (OutputKeys.ENCODING.equals(name)) { 411 // if the encoding is being set, try to get the 417 final String oldExplicitEncoding = getOutputPropertyNonDefault(OutputKeys.ENCODING); 715 String encoding = getOutputProperty(OutputKeys.ENCODING); local 1019 final String encoding = getEncoding(); local 2070 String encoding = getEncoding(); local [all...] |
| /external/webkit/WebKit/mac/WebView/ |
| WebResource.mm | 425 WebCore::TextEncoding encoding; 427 encoding = _private->coreResource->textEncoding(); 428 if (!encoding.isValid()) 429 encoding = WindowsLatin1Encoding(); 432 return encoding.decode(reinterpret_cast<const char*>(coreData ? coreData->data() : 0), coreData ? coreData->size() : 0);
|
| /external/webkit/JavaScriptCore/assembler/ |
| ARMv7Assembler.h | 250 ThumbImmediateValue encoding; local 251 encoding.asInt = 0; 255 encoding.immediate = value; 256 encoding.pattern = 0; 257 return ARMThumbImmediate(TypeEncoded, encoding); 271 encoding.shiftValue7 = value >> rightShiftAmount; 273 encoding.shiftAmount = 8 + leadingZeros; 274 return ARMThumbImmediate(TypeEncoded, encoding); 281 encoding.immediate = bytes.byte0; 282 encoding.pattern = 3 [all...] |
| /frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
| SmsMessage.java | 235 * specified encoding. 238 * @param encoding Encoding defined by constants in android.telephony.SmsMessage.ENCODING_* 246 boolean statusReportRequested, byte[] header, int encoding) { 261 if (encoding == ENCODING_UNKNOWN) { 262 // First, try encoding it with the GSM alphabet 263 encoding = ENCODING_7BIT; 266 if (encoding == ENCODING_7BIT) { 279 // Encoding to the 7-bit alphabet failed. Let's see if we can 283 encoding = ENCODING_16BIT [all...] |
| /external/tagsoup/src/org/ccil/cowan/tagsoup/ |
| CommandLine.java | 49 options.put("--output-encoding=", Boolean.FALSE); // output encoding 51 options.put("--encoding=", Boolean.FALSE); // specify encoding 201 if (hasOption(options, "--encoding=")) { 202 // System.out.println("%% Found --encoding"); 203 String encoding = (String)options.get("--encoding="); local 204 if (encoding != null) s.setEncoding(encoding); [all...] |
| /external/webkit/WebKit/android/jni/ |
| WebCoreResourceLoader.cpp | 153 jstring encoding) 166 if (encoding) { 167 encodingStr = to_string(env, encoding);
|
| /dalvik/libcore/security/src/main/java/java/security/cert/ |
| CertPath.java | 35 * supported encoding scheme (i.e. PkiPath or PKCS7) when serialized. 143 * Returns an encoding of the {@code CertPath} using the default encoding. 145 * @return default encoding of the {@code CertPath}. 147 * if the encoding fails. 153 * Returns an encoding of the {@code CertPath} using the specified encoding. 155 * @param encoding 156 * encoding that should be generated. 157 * @return default encoding of the {@code CertPath} [all...] |
| /dalvik/libcore/sql/src/main/java/SQLite/ |
| StringEncoder.java | 26 * the character '\'' (0x27). The encoding consists of escaping 30 * With this encoding the data of original size n is increased to a 95 * Decodes the given string that is assumed to be a valid encoding 98 * @param s the given string encoding.
|
| /external/freetype/include/freetype/internal/ |
| t1types.h | 53 /* A structure modeling a custom encoding. */ 56 /* num_chars :: The number of character codes in the encoding. */ 59 /* code_first :: The lowest valid character code in the encoding. */ 61 /* code_last :: The highest valid character code in the encoding */ 112 T1_EncodingRec encoding; member in struct:T1_FontRec_
|
| /external/gtest/test/ |
| gtest_xml_output_unittest.py | 50 EXPECTED_NON_EMPTY_XML = """<?xml version="1.0" encoding="UTF-8"?> 91 EXPECTED_EMPTY_XML = """<?xml version="1.0" encoding="UTF-8"?>
|
| /external/icu4c/tools/ctestfw/ |
| uperf.cpp | 29 "\t-e or --encoding encoding of source files\n" 48 ENCODING, 79 ucharBuf(NULL), encoding(""), 95 ucharBuf(NULL), encoding(""), 142 if(options[ENCODING].doesOccur) { 143 encoding = options[ENCODING].value; 196 ucharBuf = ucbuf_open(resolvedFileName,&encoding,TRUE,FALSE,&status);
|
| /external/webkit/WebCore/html/ |
| HTMLFormElement.h | 69 String encoding() const { return m_formDataBuilder.encodingType(); } function in class:WebCore::HTMLFormElement
|
| /external/webkit/WebCore/loader/ |
| DocLoader.cpp | 452 String encoding; local 454 encoding = charset.isEmpty() ? m_doc->frame()->loader()->encoding() : charset; 456 CachedResource* resource = requestResource(type, url, encoding, true);
|
| /external/webkit/WebCore/platform/text/ |
| TextCodecICU.cpp | 58 static PassOwnPtr<TextCodec> newTextCodecICU(const TextEncoding& encoding, const void*) 60 return new TextCodecICU(encoding); 102 // 1. Treat GB2312 encoding as GBK (its more modern superset), to match other browsers. 103 // 2. On the Web, GB2312 is encoded as EUC-CN or HZ, while ICU provides a native encoding 104 // for encoding GB_2312-80 and several others. So, we need to override this behavior, too. 135 // Additional aliases that historically were present in the encoding 196 TextCodecICU::TextCodecICU(const TextEncoding& encoding) 197 : m_encoding(encoding) 244 LOG_ERROR("ICU ambiguous alias warning for encoding: %s", m_encoding.name()); 295 // Get a converter for the passed-in encoding [all...] |
| /external/webkit/WebKit/gtk/webkit/ |
| webkitwebframe.h | 122 const gchar *encoding,
|
| /external/webkit/WebKit/qt/Api/ |
| qwebsettings.h | 105 void setDefaultTextEncoding(const QString &encoding);
|
| /packages/apps/Email/src/org/apache/james/mime4j/codec/ |
| EncoderUtil.java | 34 * Static methods for encoding header field values. This includes encoded-words 83 public enum Encoding { 84 /** The B encoding (identical to base64 defined in RFC 2045). */ 86 /** The Q encoding (similar to quoted-printable defined in RFC 2045). */ 191 * @return the specified text if encoding is not necessary or an encoded 232 // than 78 characters each. Encoding as encoded-words makes 254 * encoding to use for the encoded-word are detected automatically. 278 * encoding to use for the encoded-word are detected automatically. 312 * @param encoding 313 * the encoding to use for the encoded-word (either B or Q). [all...] |
| /packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
| DateTimeParser.java | 431 public DateTimeParser(java.io.InputStream stream, String encoding) { 432 try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); } 443 public void ReInit(java.io.InputStream stream, String encoding) { 444 try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
|
| /external/freetype/src/cff/ |
| cffobjs.c | 845 CFF_Encoding encoding = &cff->encoding; local 870 cmaprec.encoding = FT_ENCODING_UNICODE; 881 if ( encoding->count > 0 ) 889 if ( encoding->offset == 0 ) 892 cmaprec.encoding = FT_ENCODING_ADOBE_STANDARD; 895 else if ( encoding->offset == 1 ) 898 cmaprec.encoding = FT_ENCODING_ADOBE_EXPERT; 904 cmaprec.encoding = FT_ENCODING_ADOBE_CUSTOM;
|
| /external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
| driver_wext.c | [all...] |
| /cts/tools/signature-tools/test/signature/converter/doclet/ |
| DocletTestConverter.java | 141 String encoding = null;
local 175 RootDocImpl root = comp.getRootDocImpl(docLocale, encoding, showAccess,
|