Searched defs:charset (Results 1 - 25 of 229) sorted by path

12345678910

/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...
/external/apache-http/src/org/apache/commons/codec/net/
H A DBCodec.java52 * 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 DQCodec.java54 * The default charset used for string decoding and encoding.
56 private String charset = StringEncodings.UTF8; field in class:QCodec
120 * Constructor which allows for the selection of a default charset
122 * @param charset
123 * the default string charset to use.
128 public QCodec(final String charset) { argument
130 this.charset = charset;
179 * Encodes a string into its quoted-printable form using the specified charset. Unsafe characters are escaped.
183 * @param charset
190 encode(final String pString, final 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...]
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...]
/external/apache-http/src/org/apache/http/auth/params/
H A DAuthParamBean.java49 public void setCredentialCharset (final String charset) { argument
50 AuthParams.setCredentialCharset(params, charset);
H A DAuthParams.java61 * 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/apache-http/src/org/apache/http/entity/
H A DStringEntity.java60 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/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/apache-http/src/org/apache/http/impl/io/
H A DAbstractSessionInputBuffer.java67 private String charset = HTTP.US_ASCII; field in class:AbstractSessionInputBuffer
88 this.charset = HttpProtocolParams.getHttpElementCharset(params);
89 this.ascii = this.charset.equalsIgnoreCase(HTTP.US_ASCII)
90 || this.charset.equalsIgnoreCase(HTTP.ASCII);
235 String s = new String(this.linebuffer.buffer(), 0, l, this.charset);
260 String s = new String(this.buffer, off, len, this.charset);
H A DAbstractSessionOutputBuffer.java66 private String charset = HTTP.US_ASCII; field in class:AbstractSessionOutputBuffer
83 this.charset = HttpProtocolParams.getHttpElementCharset(params);
84 this.ascii = this.charset.equalsIgnoreCase(HTTP.US_ASCII)
85 || this.charset.equalsIgnoreCase(HTTP.ASCII);
147 write(s.getBytes(this.charset));
174 byte[] tmp = s.toString().getBytes(this.charset);
/external/apache-http/src/org/apache/http/params/
H A DHttpProtocolParams.java68 * 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...]
/external/apache-http/src/org/apache/http/util/
H A DEncodingUtils.java54 * 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/apache-xml/src/main/java/org/apache/xalan/processor/
H A DTransformerFactoryImpl.java249 * @param charset The value of the charset attribute to match. May be null.
256 Source source, String media, String title, String charset)
282 title, charset);
255 getAssociatedStylesheet( Source source, String media, String title, String charset) argument
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DStylesheetPIHandler.java97 * @param charset The desired character set criteria.
100 String charset)
106 m_charset = charset;
150 String charset = null; // CDATA #IMPLIED
244 else if (name.equals("charset"))
250 charset = token.substring(1, token.length() - 1);
281 if (null != charset)
283 if (!charset.equals(m_charset))
99 StylesheetPIHandler(String baseID, String media, String title, String charset) argument
/external/chromium-trace/trace-viewer/third_party/gl-matrix/jsdoc-template/
H A Dpublish.js162 var src = {path: path, name:name, charset: IO.encoding, hilited: ""};
/external/chromium_org/android_webview/browser/net/
H A Dandroid_stream_reader_url_request_job.cc281 bool AndroidStreamReaderURLRequestJob::GetCharset(std::string* charset) { argument
294 env, request(), input_stream_reader_wrapper_->input_stream(), charset);
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DAwTestBase.java202 final boolean isBase64Encoded, final String charset)
209 data, mimeType, isBase64Encoded, charset));
199 loadDataSyncWithCharset(final AwContents awContents, CallbackHelper onPageFinishedHelper, final String data, final String mimeType, final boolean isBase64Encoded, final String charset) argument
/external/chromium_org/android_webview/native/
H A Dandroid_protocol_handler.cc78 std::string* charset) OVERRIDE;
200 std::string* charset) {
196 GetCharset( JNIEnv* env, net::URLRequest* request, android_webview::InputStream* stream, std::string* charset) argument
/external/chromium_org/base/i18n/
H A Dicu_string_conversions.cc269 const std::string& charset,
274 text, charset.c_str(), OnStringConversionError::FAIL, &utf16))
268 ConvertToUtf8AndNormalize(const std::string& text, const std::string& charset, std::string* result) argument
/external/chromium_org/chrome/browser/extensions/api/proxy/
H A Dproxy_api_helpers.cc54 std::string charset; local
55 return net::DataURL::Parse(url, &mime_type, &charset, pac_script);
/external/chromium_org/chrome/browser/extensions/
H A Dchrome_url_request_util.cc62 std::string* charset,
84 charset,
101 std::string* charset,
109 // (like images), charset doesn't matter.
111 *charset = "utf-8";
100 OnMimeTypeRead(std::string* out_mime_type, std::string* charset, std::string* data, std::string* read_mime_type, const net::CompletionCallback& callback, bool read_result) argument
/external/chromium_org/chrome/browser/ui/autofill/
H A Dautofill_dialog_controller_impl.cc2887 std::string charset = user_prefs->GetString(::prefs::kDefaultCharset); local
2895 chrome::VersionInfo().Version(), charset, accept_languages, install_time,
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dsupervised_user_creation_screen_handler.cc415 std::string mime_type, charset, raw_data; local
416 if (!net::DataURL::Parse(GURL(image_url), &mime_type, &charset, &raw_data))

Completed in 2680 milliseconds

12345678910