/frameworks/base/core/java/com/android/internal/http/multipart/ |
PartBase.java | 47 /** Content encoding of the file part. */ 50 /** The transfer encoding. */ 58 * @param charSet The character encoding, or <code>null</code> 59 * @param transferEncoding The transfer encoding, or <code>null</code> 92 * Return the character encoding of this part. 101 * Returns the transfer encoding of this part. 110 * Sets the character encoding. 112 * @param charSet the character encoding, or <code>null</code> to exclude the character 113 * encoding header 141 * Sets the transfer encoding [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
XMLFormatter.java | 27 * {@code XMLFormatter} uses the output handler's encoding if it is specified, 28 * otherwise the default platform encoding is used instead. UTF-8 is the 29 * recommended encoding. 143 * strings, using the output handler's encoding if it is defined, otherwise 144 * using the default platform encoding. 152 String encoding = null; local 154 encoding = h.getEncoding(); 156 if (encoding == null) { 157 encoding = System.getProperty("file.encoding"); [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertPathImpl.java | 81 // supported encoding types: 85 // supported encoding names 90 // PkiPath encoding of the certification path 92 // PKCS7 encoding of the certification path 122 * @param encoding - encoded form of certification path. 124 private X509CertPathImpl(List certs, int type, byte[] encoding) { 127 this.pkiPathEncoding = encoding; 129 this.pkcs7Encoding = encoding; 151 * Generates certification path object on the base of encoding provided via 153 * parameter <code>encoding</code> [all...] |
Cache.java | 42 * whether provided form is PEM encoding or not.<br> 57 * generated on the base of the encoding with the SIMILAR prefix or not. 59 * But it prevents us from use of expensive full encoding 62 * 2. If predetermination ends with success, the whole encoding 76 // value generated on the base of the prefix of encoding 78 // value generated on the base of the tail of encoding 100 // The hash-encoding-object correspondence is made by means of index 102 // corresponds to the encoding contained in encodings[N] which corresponds 160 * similar encoding or not (by means of <code>contains(long)</code> method), 166 * of the encoding [all...] |
/external/antlr/src/org/antlr/runtime/ |
ANTLRFileStream.java | 45 public ANTLRFileStream(String fileName, String encoding) throws IOException { 47 load(fileName, encoding); 50 public void load(String fileName, String encoding) 60 if ( encoding!=null ) { 61 isr = new InputStreamReader(fis, encoding);
|
/external/chromium/chrome/browser/ui/toolbar/ |
encoding_menu_controller_unittest.cc | 62 std::string encoding("UTF-8"); 72 encoding, 84 encoding, 86 // Only one item in the encoding menu can be selected at a time. 91 // Make sure at least one encoding is enabled.
|
/external/webkit/Source/WebCore/wml/ |
WMLPostfieldElement.cpp | 75 static inline CString encodedString(const TextEncoding& encoding, const String& data) 77 return encoding.encode(data.characters(), data.length(), EntitiesForUnencodables); 80 void WMLPostfieldElement::encodeData(const TextEncoding& encoding, CString& name, CString& value) 82 name = encodedString(encoding, this->name()); 83 value = encodedString(encoding, this->value());
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
ThreeIntegerSequence.java | 35 private byte[] encoding; field in class:ThreeIntegerSequence 42 encoding = null; 46 if (encoding == null) { 47 encoding = ASN1.encode(this); 49 return encoding;
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
GeneralSubtrees.java | 33 * The class encapsulates the ASN.1 DER encoding/decoding work 51 private byte[] encoding; field in class:GeneralSubtrees 69 if (encoding == null) { 70 encoding = ASN1.encode(this); 72 return encoding;
|
ORAddress.java | 30 * The class encapsulates the ASN.1 DER encoding/decoding work 51 private byte[] encoding; field in class:ORAddress 57 if (encoding == null) { 58 encoding = ASN1.encode(this); 60 return encoding;
|
Validity.java | 31 * The class encapsulates the ASN.1 DER encoding/decoding work 51 private byte[] encoding; field in class:Validity 76 if (encoding == null) { 77 encoding = ASN1.encode(this); 79 return encoding;
|
/packages/apps/Email/emailcommon/src/org/apache/commons/io/ |
IOUtils.java | 54 * encoding and the other which allows you to specify an encoding. You are
55 * encouraged to always specify an encoding because relying on the platform
224 * using the default character encoding of the platform.
242 * using the specified character encoding.
244 * Character encoding names can be found at
251 * @param encoding the encoding to use, null means platform default
257 public static byte[] toByteArray(Reader input, String encoding)
260 copy(input, output, encoding);
[all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
PolicyQualifierInfoTest.java | 31 * ("DER" stands for "Distinguished Encoding Rules", 62 // "Valid" reference DER encoding 64 private static final byte[] encoding = { field in class:PolicyQualifierInfoTest 183 // Generates unique (based on parameter) DER encoding 184 // @param intVal value to be incorporated into the resulting encoding 185 // @return PolicyQualifier DER encoding 193 // Generates unique (based on parameter) DER encoding 194 // @param intVal value to be incorporated into the resulting encoding 195 // @return PolicyQualifier DER encoding 208 // make encoding thread-specifi [all...] |
/external/icu4c/tools/genrb/ |
derb.1.in | 23 .BI "\-e\fP, \fB\-\-encoding" " encoding" 91 .BI "\-e\fP, \fB\-\-encoding" " encoding" 92 Set the encoding used to write output files to 93 .IR encoding . 94 The default encoding is the invariant (subset of ASCII or EBCDIC) 97 The choice of the encoding does not affect the data, just their 99 .I encoding 168 .I encoding [all...] |
/external/webkit/Source/WebCore/platform/text/ |
TextEncodingDetectorICU.cpp | 50 // Tiger came with ICU 3.2 and does not have the encoding detector. 69 // "the context" (parent-encoding, referrer encoding, etc). 72 // encoding with a highest confidence among the detector-specific 82 const char* encoding = 0; 86 // allocation in a given encoding. The size of a chunk passed to 108 encoding = hintEncodingName; 115 // a child frame in Shift_JIS and both frames do NOT specify the encoding 117 if (!encoding && matchesCount > 0) 118 encoding = ucsdet_getName(matches[0], &status) [all...] |
/frameworks/base/media/libmedia/ |
MediaScannerClient.cpp | 82 // save the strings for later so they can be used for native encoding detection 98 // if s contains a native encoding, then it was mistakenly encoded in utf8 as if it were latin-1 122 void MediaScannerClient::convertValues(uint32_t encoding) 125 switch (encoding) { 155 // for each value string, convert from native encoding to UTF-8 172 // now convert from native encoding to UTF-8 203 uint32_t encoding = kEncodingAll; local 207 encoding &= possibleEncodings(mValues->getEntry(i)); 209 // if the locale encoding matches, then assume we have a native encoding [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
AlertInfo.java | 67 * Return value encoding in canonical form. 68 * @return The value of the header in canonical encoding. 71 StringBuffer encoding = new StringBuffer(); local 73 encoding.append(LESS_THAN).append(uri.encode()).append(GREATER_THAN); 75 encoding.append(string); 78 encoding.append(SEMICOLON).append(parameters.encode()); 80 return encoding.toString();
|
/external/webkit/Source/WebCore/platform/text/transcoder/ |
FontTranscoder.cpp | 63 FontTranscoder::ConverterType FontTranscoder::converterType(const FontDescription& fontDescription, const TextEncoding* encoding) const 74 if (encoding && encoding->backslashAsCurrencySymbol() != '\\' && !fontDescription.isSpecifiedFont()) 80 void FontTranscoder::convert(String& text, const FontDescription& fontDescription, const TextEncoding* encoding) const 82 switch (converterType(fontDescription, encoding)) { 94 bool FontTranscoder::needsTranscoding(const FontDescription& fontDescription, const TextEncoding* encoding) const 96 ConverterType type = converterType(fontDescription, encoding);
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/ |
CertificationRequestInfo.java | 56 private byte[] encoding; field in class:CertificationRequestInfo 59 SubjectPublicKeyInfo subjectPublicKeyInfo, List<?> attributes, byte [] encoding) { 64 this.encoding = encoding; 80 if (encoding == null) { 81 encoding = ASN1.encode(this); 83 return encoding;
|
/external/libxml2/include/libxml/ |
HTMLparser.h | 119 const char *encoding, 124 const char *encoding); 127 const char *encoding, 132 const char *encoding); 196 const char *encoding, 200 const char *encoding, 206 const char *encoding, 211 const char *encoding, 218 const char *encoding, 224 const char *encoding, [all...] |
encoding.h | 2 * Summary: interface for the encoding conversion functions 3 * Description: interface for the encoding conversion functions needed for 4 * XML basic encoding and iconv() support. 11 * Worldwide Character Encoding -- Version 1.0", Addison- 60 * given to the parser itself. The BOM for UTF16 and the encoding 67 * to be sure to enable iconv and to provide iconv libs for the encoding 74 XML_CHAR_ENCODING_ERROR= -1, /* No char encoding detected */ 75 XML_CHAR_ENCODING_NONE= 0, /* No char encoding detected */ 104 * @in: a pointer to an array of chars in the original encoding 107 * Take a block of chars in the original encoding and try to conver [all...] |
/external/llvm/include/llvm/Bitcode/ |
BitCodes.h | 41 /// single bit to indicate if it is a literal encoding. If so, the value is 42 /// emitted with a vbr8. If not, the encoding is emitted as 3 bits followed 82 /// 2. It could be an encoding specification ("this operand encoded like so"). 85 uint64_t Val; // A literal value or data for an encoding. 87 unsigned Enc : 3; // The encoding to use. 89 enum Encoding { 92 Array = 3, // A sequence of fields, next field species elt encoding. 98 explicit BitCodeAbbrevOp(Encoding E, uint64_t Data = 0) 107 // Accessors for encoding info. 108 Encoding getEncoding() const { assert(isEncoding()); return (Encoding)Enc; [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
AsmPrinterDwarf.cpp | 96 static const char *DecodeDWARFEncoding(unsigned Encoding) { 97 switch (Encoding) { 119 return "<unknown encoding>"; 124 /// encoding. If verbose assembly output is enabled, we output comments 125 /// describing the encoding. Desc is an optional string saying what the 126 /// encoding is specifying (e.g. "LSDA"). 130 OutStreamer.AddComment(Twine(Desc)+" Encoding = " + 133 OutStreamer.AddComment(Twine("Encoding = ") + 140 /// GetSizeOfEncodedValue - Return the size of the encoding in bytes. 141 unsigned AsmPrinter::GetSizeOfEncodedValue(unsigned Encoding) const [all...] |
/external/freetype/src/psaux/ |
t1cmap.c | 29 /***** TYPE1 STANDARD (AND EXPERT) ENCODING CMAPS *****/ 168 /***** TYPE1 CUSTOM ENCODING CMAP *****/ 178 T1_Encoding encoding = &face->type1.encoding; local 181 cmap->first = encoding->code_first; 182 cmap->count = (FT_UInt)( encoding->code_last - cmap->first ); 183 cmap->indices = encoding->char_index; 186 FT_ASSERT( encoding->code_first <= encoding->code_last ); 261 /***** TYPE1 SYNTHETIC UNICODE ENCODING CMAP ***** [all...] |
/external/libgsm/man/ |
gsm_option.3 | 26 options or flags that are not needed for regular GSM 06.10 encoding 47 The verbosity level can be changed at any time during encoding or decoding. 72 This option can be set any time during encoding or decoding. 81 During encoding, the search for the long-term correlation 85 and hence speeds up the encoding at a noticable loss in quality. 95 This option can be set any time during encoding 96 or decoding; it will only affect the encoding pass, not 133 implementation of this version of the GSM 06.10 encoding. 140 Between the two frames of a WAV-style encoding, the GSM 06.10 library 167 of an encoding has an index of 0. [all...] |