/external/guava/guava-gwt/src-super/java/nio/charset/ |
H A D | IllegalCharsetNameException.java | 17 package java.nio.charset;
|
H A D | UnsupportedCharsetException.java | 17 package java.nio.charset;
|
H A D | Charset.java | 17 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/apache-http/src/org/apache/http/auth/params/ |
H A D | AuthParamBean.java | 49 public void setCredentialCharset (final String charset) { argument 50 AuthParams.setCredentialCharset(params, charset);
|
H A D | AuthParams.java | 61 * Obtains the charset for encoding 67 * @return The charset 75 String charset = (String) params.getParameter 79 if (charset == null) { 80 charset = HTTP.DEFAULT_PROTOCOL_CHARSET; 82 return charset; 87 * Sets the charset to be used when encoding 90 * @param charset The charset 92 public static void setCredentialCharset(final HttpParams params, final String charset) { argument [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | CharsetUTF16BE.java | 7 package com.ibm.icu.charset;
|
H A D | CharsetUTF16LE.java | 7 package com.ibm.icu.charset;
|
H A D | CharsetUTF32BE.java | 7 package com.ibm.icu.charset;
|
H A D | CharsetUTF32LE.java | 7 package com.ibm.icu.charset;
|
H A D | CharsetCESU8.java | 7 package com.ibm.icu.charset;
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
H A D | TestAll.java | 10 package com.ibm.icu.dev.test.charset;
|
/external/apache-http/src/org/apache/commons/codec/net/ |
H A D | BCodec.java | 52 * The default charset used for string decoding and encoding. 54 private String charset = StringEncodings.UTF8; field in class:BCodec 64 * Constructor which allows for the selection of a default charset 66 * @param charset 67 * the default string charset to use. 72 public BCodec(final String charset) { argument 74 this.charset = charset; 96 * Encodes a string into its Base64 form using the specified charset. Unsafe characters are escaped. 100 * @param charset 107 encode(final String value, final String charset) argument [all...] |
H A D | RFC1522Codec.java | 54 * 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 D | URLCodec.java | 43 * 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...] |
/external/apache-http/src/org/apache/http/entity/ |
H A D | StringEntity.java | 60 public StringEntity(final String s, String charset) argument 66 if (charset == null) { 67 charset = HTTP.DEFAULT_CONTENT_CHARSET; 69 this.content = s.getBytes(charset); 70 setContentType(HTTP.PLAIN_TEXT_TYPE + HTTP.CHARSET_PARAM + charset);
|
/external/apache-http/src/org/apache/http/util/ |
H A D | EncodingUtils.java | 54 * the specified charset is not supported, default system encoding 60 * @param charset the desired character encoding 67 String charset 74 if (charset == null || charset.length() == 0) { 75 throw new IllegalArgumentException("charset may not be null or empty"); 79 return new String(data, offset, length, charset); 88 * the specified charset is not supported, default system encoding 92 * @param charset the desired character encoding 95 public static String getString(final byte[] data, final String charset) { argument 110 getBytes(final String data, final String charset) argument [all...] |
/external/freetype/src/cff/ |
H A D | cffcmap.c | 132 CFF_Charset charset = &cff->charset; local 133 FT_UInt sid = charset->sids[idx]; 147 CFF_Charset charset = &cff->charset; local 155 if ( !charset->sids )
|
/external/guava/guava/src/com/google/common/hash/ |
H A D | AbstractHasher.java | 18 import java.nio.charset.Charset; 55 @Override public Hasher putString(CharSequence charSequence, Charset charset) { argument 57 return putBytes(charSequence.toString().getBytes(charset.name()));
|
/external/guava/guava/src/com/google/common/io/ |
H A D | ByteSink.java | 27 import java.nio.charset.Charset; 56 * as bytes encoded with the given {@link Charset charset}. 58 public CharSink asCharSink(Charset charset) { argument 59 return new AsCharSink(charset); 150 * A char sink that encodes written characters with a charset and writes resulting bytes to this 155 private final Charset charset; field in class:ByteSink.AsCharSink 157 private AsCharSink(Charset charset) { argument 158 this.charset = checkNotNull(charset); 163 return new OutputStreamWriter(ByteSink.this.openStream(), charset); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/message/ |
H A D | MessageFactoryExt.java | 41 * Set default charset used for encoding String content. Note that this 46 * @param charset -- charset to set. 48 * @throws IllegalArgumentException if Charset is not a known charset. 51 public void setDefaultContentEncodingCharset(String charset) argument
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
H A D | ResponseBody.java | 24 import java.nio.charset.Charset; 68 * Returns the response as a character stream decoded with the charset 70 * charset, this will attempt to decode the response body as UTF-8. 74 return r != null ? r : (reader = new InputStreamReader(byteStream(), charset())); 78 * Returns the response as a string decoded with the charset of the 79 * Content-Type header. If that header is either absent or lacks a charset, 83 return new String(bytes(), charset().name()); 86 private Charset charset() { method in class:ResponseBody 88 return contentType != null ? contentType.charset(UTF_8) : UTF_8; 97 * contentType} is non-null and lacks a charset, thi [all...] |
/external/pdfium/third_party/freetype/src/cff/ |
H A D | cffcmap.c | 132 CFF_Charset charset = &cff->charset; local 133 FT_UInt sid = charset->sids[idx]; 147 CFF_Charset charset = &cff->charset; local 155 if ( !charset->sids )
|
/external/apache-http/android/src/com/android/internal/http/multipart/ |
H A D | StringPart.java | 58 /** Default charset of string parameters*/ 75 * @param charset the charset to be used to encode the string, if <code>null</code> 78 public StringPart(String name, String value, String charset) { argument 83 charset == null ? DEFAULT_CHARSET : charset, 107 * Gets the content in bytes. Bytes are lazily created to allow the charset to be changed
|
/external/apache-http/src/org/apache/http/impl/auth/ |
H A D | BasicScheme.java | 146 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/apache-http/src/org/apache/http/params/ |
H A D | HttpProtocolParams.java | 68 * Returns the charset to be used for writing HTTP headers. 69 * @return The charset 75 String charset = (String) params.getParameter 77 if (charset == null) { 78 charset = HTTP.DEFAULT_PROTOCOL_CHARSET; 80 return charset; 84 * Sets the charset to be used for writing HTTP headers. 85 * @param charset The charset 87 public static void setHttpElementCharset(final HttpParams params, final String charset) { argument 116 setContentCharset(final HttpParams params, final String charset) argument [all...] |