Searched refs:charset (Results 26 - 50 of 344) sorted by relevance

1234567891011>>

/external/apache-http/src/org/apache/commons/codec/net/
H A DRFC1522Codec.java54 * given charset. This method constructs the "encoded-word" header common to all the
59 * @param charset a charset to be used
65 * @throws UnsupportedEncodingException thrown if charset is not supported
70 protected String encodeText(final String text, final String charset) argument
78 buffer.append(charset);
82 byte [] rawdata = doEncoding(text.getBytes(charset));
97 * @throws UnsupportedEncodingException thrown if charset specified in the "encoded-word"
113 throw new DecoderException("RFC 1522 violation: charset token not found");
115 String charset
[all...]
H A DURLCodec.java43 * 1.4 rely on the platform's default charset encoding.
58 * The default charset used for string decoding and encoding.
60 protected String charset = StringEncodings.UTF8; field in class:URLCodec
99 * Constructor which allows for the selection of a default charset
101 * @param charset the default string charset to use.
103 public URLCodec(String charset) { argument
105 this.charset = charset;
217 * string charset
225 encode(String pString, String charset) argument
269 decode(String pString, String charset) argument
[all...]
H A DQuotedPrintableCodec.java66 * The default charset used for string decoding and encoding.
68 private String charset = StringEncodings.UTF8; field in class:QuotedPrintableCodec
101 * Constructor which allows for the selection of a default charset
103 * @param charset
104 * the default string charset to use.
106 public QuotedPrintableCodec(String charset) { argument
108 this.charset = charset;
239 * Encodes a string into its quoted-printable form using the default string charset. Unsafe characters are escaped.
267 * Decodes a quoted-printable string into its original form using the specified string charset
280 decode(String pString, String charset) argument
386 encode(String pString, String charset) argument
[all...]
/external/pdfium/core/fxge/apple/
H A Dfx_mac_imp.cpp42 int charset,
62 int charset,
97 if (charset == FXFONT_ANSI_CHARSET && (pitch_family & FXFONT_FF_FIXEDPITCH))
100 if (charset == FXFONT_ANSI_CHARSET || charset == FXFONT_SYMBOL_CHARSET)
103 switch (charset) {
60 MapFont(int weight, bool bItalic, int charset, int pitch_family, const FX_CHAR* cstr_face, int& iExact) argument
/external/oauth/core/src/main/java/net/oauth/http/
H A DHttpMessage.java134 String charset = m.group(1);
135 if (charset.length() >= 2 && charset.charAt(0) == '"'
136 && charset.charAt(charset.length() - 1) == '"') {
137 charset = charset.substring(1, charset.length() - 1);
138 charset = charset
[all...]
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
H A DTestConversion.java10 package com.ibm.icu.dev.test.charset;
14 import java.nio.charset.Charset;
15 import java.nio.charset.CharsetDecoder;
16 import java.nio.charset.CharsetEncoder;
17 import java.nio.charset.CoderResult;
18 import java.nio.charset.CodingErrorAction;
25 import com.ibm.icu.charset.CharsetCallback;
26 import com.ibm.icu.charset.CharsetDecoderICU;
27 import com.ibm.icu.charset.CharsetEncoderICU;
28 import com.ibm.icu.charset
60 String charset; // charset field in class:TestConversion.ConversionCase
[all...]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
H A DCharsets.java21 import java.nio.charset.Charset;
44 * {@link java.nio.charset.StandardCharsets#UTF_8} instead.
/external/guava/guava-gwt/src-super/java/nio/charset/
H A DCharset.java17 package java.nio.charset;
43 throw new IllegalArgumentException("Null charset name");
62 Charset charset = AVAILABLE_CHARSETS.get(charsetName.toUpperCase());
63 if (charset != null) {
64 return charset;
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
H A DCharsetsTest.java23 import java.nio.charset.Charset;
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetCESU8.java9 package com.ibm.icu.charset;
H A DUConverterStaticData.java11 package com.ibm.icu.charset;
/external/pdfium/core/fxge/android/
H A Dcfx_androidfontinfo.cpp31 int charset,
49 return m_pFontMgr->CreateFont(face, charset, dwStyle,
74 bool CFX_AndroidFontInfo::GetFontCharset(void* hFont, int& charset) { argument
78 charset = static_cast<CFPF_SkiaFont*>(hFont)->GetCharset();
29 MapFont(int weight, bool bItalic, int charset, int pitch_family, const FX_CHAR* face, int& iExact) argument
H A Dcfx_androidfontinfo.h28 int charset,
38 bool GetFontCharset(void* hFont, int& charset) override;
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/util/
H A DUriEncoder.java22 import java.nio.charset.CharacterCodingException;
23 import java.nio.charset.Charset;
24 import java.nio.charset.CharsetDecoder;
25 import java.nio.charset.CodingErrorAction;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
H A DYamlDocument.java22 import java.nio.charset.Charset;
41 Charset charset = Charset.forName("UTF-8");
42 yaml.dump(nativeData, new OutputStreamWriter(output, charset));
44 presentation = output.toString(charset.name());
/external/apache-http/android/src/com/android/internal/http/multipart/
H A DFilePart.java62 /** Default charset of file attachments. */
88 * @param charset the charset encoding for this part, if <code>null</code> the
91 public FilePart(String name, PartSource partSource, String contentType, String charset) { argument
96 charset == null ? "ISO-8859-1" : charset,
137 * @param charset the charset encoding for this part, if <code>null</code> the
143 public FilePart(String name, File file, String contentType, String charset) argument
145 this(name, new FilePartSource(file), contentType, charset);
177 FilePart(String name, String fileName, File file, String contentType, String charset) argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DRequestBody.java21 import java.nio.charset.Charset;
44 * contentType} is non-null and lacks a charset, this will use UTF-8.
47 Charset charset = Util.UTF_8;
49 charset = contentType.charset();
50 if (charset == null) {
51 charset = Util.UTF_8;
52 contentType = MediaType.parse(contentType + "; charset=utf-8");
55 byte[] bytes = content.getBytes(charset);
/external/apache-http/src/org/apache/http/impl/auth/
H A DBasicScheme.java146 String charset = AuthParams.getCredentialCharset(request.getParams());
147 return authenticate(credentials, charset, isProxy());
152 * {@link Credentials} and charset.
155 * @param charset The charset to use for encoding the credentials
161 final String charset,
166 if (charset == null) {
167 throw new IllegalArgumentException("charset may not be null");
176 EncodingUtils.getBytes(tmp.toString(), charset));
159 authenticate( final Credentials credentials, final String charset, boolean proxy) argument
/external/guava/guava/src/com/google/common/io/
H A DFiles.java49 import java.nio.charset.Charset;
77 * @param charset the charset used to decode the input stream; see {@link
81 public static BufferedReader newReader(File file, Charset charset) argument
84 checkNotNull(charset);
86 new InputStreamReader(new FileInputStream(file), charset));
94 * @param charset the charset used to encode the output stream; see {@link
98 public static BufferedWriter newWriter(File file, Charset charset) argument
101 checkNotNull(charset);
215 asCharSource(File file, Charset charset) argument
229 asCharSink(File file, Charset charset, FileWriteMode... modes) argument
263 toString(File file, Charset charset) argument
318 write(CharSequence from, File to, Charset charset) argument
333 append(CharSequence from, File to, Charset charset) argument
349 write(CharSequence from, File to, Charset charset, boolean append) argument
364 copy(File from, Charset charset, Appendable to) argument
511 readFirstLine(File file, Charset charset) argument
531 readLines(File file, Charset charset) argument
562 readLines(File file, Charset charset, LineProcessor<T> callback) argument
[all...]
/external/pdfium/third_party/freetype/src/cff/
H A Dcffload.c787 cff_charset_compute_cids( CFF_Charset charset, argument
797 if ( charset->max_cid > 0 )
802 if ( charset->sids[i] > max_cid )
803 max_cid = charset->sids[i];
806 if ( FT_NEW_ARRAY( charset->cids, (FT_ULong)max_cid + 1 ) )
813 charset->cids[charset->sids[j]] = (FT_UShort)j;
815 charset->max_cid = max_cid;
816 charset->num_glyphs = num_glyphs;
824 cff_charset_cid_to_gindex( CFF_Charset charset,
838 cff_charset_free_cids( CFF_Charset charset, FT_Memory memory ) argument
847 cff_charset_done( CFF_Charset charset, FT_Stream stream ) argument
862 cff_charset_load( CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset, FT_Bool invert ) argument
1061 cff_encoding_load( CFF_Encoding encoding, CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset ) argument
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DHashFunction.java20 import java.nio.charset.Charset;
197 * Shortcut for {@code newHasher().putString(input, charset).hash()}. Characters are encoded
201 HashCode hashString(CharSequence input, Charset charset); argument
H A DHasher.java19 import java.nio.charset.Charset;
86 * Equivalent to {@code putBytes(charSequence.toString().getBytes(charset))}.
88 @Override Hasher putString(CharSequence charSequence, Charset charset); argument
H A DPrimitiveSink.java19 import java.nio.charset.Charset;
101 * Puts a string into this sink using the given charset.
103 PrimitiveSink putString(CharSequence charSequence, Charset charset); argument
/external/pdfium/core/fxge/
H A Difx_systemfontinfo.h28 int charset,
46 virtual bool GetFontCharset(void* hFont, int& charset) = 0;
/external/pdfium/core/fpdfapi/cmaps/
H A Dcmap_int.h27 int charset,

Completed in 927 milliseconds

1234567891011>>