HomeSort by relevance Sort by last modified time
    Searched refs:charset (Results 26 - 50 of 913) sorted by null

12 3 4 5 6 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/nio/charset/
OldCharset_SingleByte_windows_1254.java 16 package libcore.java.nio.charset;
OldCharset_SingleByte_windows_1255.java 16 package libcore.java.nio.charset;
OldCharset_SingleByte_windows_1256.java 16 package libcore.java.nio.charset;
OldCharset_SingleByte_windows_1257.java 16 package libcore.java.nio.charset;
OldCharset_SingleByte_windows_1258.java 16 package libcore.java.nio.charset;
OldCharset_SingleByte_x_IBM874.java 16 package libcore.java.nio.charset;
OldCharset_SingleByte_ISO_8859_3.java 16 package libcore.java.nio.charset;
18 import java.nio.charset.CharacterCodingException;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/
header.py 20 from email.charset import Charset
30 USASCII = Charset('us-ascii')
31 UTF8 = Charset('utf-8')
33 # Match encoded-word strings in the form =?charset?q?Hello_World?=
36 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset
64 """Decode a message header value without converting charset.
66 Returns a list of (decoded_string, charset) pairs containing each of the
67 decoded parts of the header. Charset is None for non-encoded parts of th
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/
header.py 20 from email.charset import Charset
30 USASCII = Charset('us-ascii')
31 UTF8 = Charset('utf-8')
33 # Match encoded-word strings in the form =?charset?q?Hello_World?=
36 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset
64 """Decode a message header value without converting charset.
66 Returns a list of (decoded_string, charset) pairs containing each of the
67 decoded parts of the header. Charset is None for non-encoded parts of th
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
MediaType.java 18 import java.nio.charset.Charset;
37 private final String charset; field in class:MediaType
39 private MediaType(String mediaType, String type, String subtype, String charset) {
43 this.charset = charset;
56 String charset = null; local
63 if (name == null || !name.equalsIgnoreCase("charset")) continue;
64 if (charset != null) throw new IllegalArgumentException("Multiple charsets: " + string);
65 charset = parameter.group(2) != nul
93 public Charset charset() { method in class:MediaType
101 public Charset charset(Charset defaultValue) { method in class:MediaType
    [all...]
  /external/apache-http/src/org/apache/http/auth/params/
AuthParamBean.java 43 public void setCredentialCharset (final String charset) {
44 AuthParams.setCredentialCharset(params, charset);
  /external/chromium_org/net/base/
net_string_util_icu.cc 16 bool ConvertToUtf8(const std::string& text, const char* charset,
21 UConverter* converter(ucnv_open(charset, &err));
43 bool ConvertToUtf8AndNormalize(const std::string& text, const char* charset,
45 return base::ConvertToUtf8AndNormalize(text, charset, output);
48 bool ConvertToUTF16(const std::string& text, const char* charset,
50 return base::CodepageToUTF16(text, charset,
55 const char* charset,
57 return base::CodepageToUTF16(text, charset,
data_url_unittest.cc 16 const char* charset; member in struct:__anon13020::ParseTestData
42 { "data:;charset=,test",
66 { "data:foo/bar;baz=1;charset=kk,boo",
72 { "data:foo/bar;charset=kk;baz=1,boo",
92 { "data:f(oo/bar;baz=1;charset=kk,boo",
152 { "data:text/plain;charset=utf-8;base64,SGVsbMO2",
177 std::string charset; local
180 net::DataURL::Parse(GURL(tests[i].url), &mime_type, &charset, &data);
184 EXPECT_EQ(tests[i].charset, charset);
    [all...]
data_url.h 27 // If <mediatype> is omitted, it defaults to text/plain;charset=US-ASCII. As a
28 // shorthand, "text/plain" can be omitted but the charset parameter supplied.
46 std::string* charset,
  /external/chromium_org/third_party/WebKit/Source/core/fetch/
StyleSheetResource.h 44 StyleSheetResource(const ResourceRequest& request, Type type, const String& mimeType, const String& charset)
45 : TextResource(request, type, mimeType, charset)
  /packages/apps/Email/src/com/beetstra/jutf7/
CharsetProvider.java 27 import java.nio.charset.Charset;
34 * Charset service-provider class used for both variants of the UTF-7 charset
35 * and the modified-UTF-7 charset.
40 public class CharsetProvider extends java.nio.charset.spi.CharsetProvider {
54 private Charset utf7charset = new UTF7Charset(UTF7_NAME, UTF7_ALIASES, false);
55 private Charset utf7oCharset = new UTF7Charset(UTF7_O_NAME, UTF7_O_ALIASES, true);
56 private Charset imap4charset = new ModifiedUTF7Charset(UTF7_M_NAME, UTF7_M_ALIASES);
57 private List<Charset> charsets;
72 Charset charset = iter.next(); local
77 Charset charset = iter.next(); local
    [all...]
  /libcore/luni/src/main/java/libcore/io/
StrictLineReader.java 24 import java.nio.charset.Charset;
25 import java.nio.charset.StandardCharsets;
42 * We currently check in constructor that the charset is one of US-ASCII, UTF-8 and ISO-8859-1.
43 * The default charset is US_ASCII.
50 private final Charset charset; field in class:StrictLineReader
63 * Constructs a new {@code StrictLineReader} with the default capacity and charset.
73 * Constructs a new {@code LineReader} with the specified capacity and the default charset.
85 * Constructs a new {@code LineReader} with the specified charset and the default capacity
    [all...]
  /external/chromium_org/net/android/java/src/org/chromium/net/
NetStringUtil.java 11 import java.nio.charset.Charset;
12 import java.nio.charset.CharsetDecoder;
13 import java.nio.charset.CodingErrorAction;
26 * @param charset Character set it's in encoded in.
34 Charset charset = Charset.forName(charset_name); local
35 CharsetDecoder decoder = charset.newDecoder();
47 * @param charset Character set it's in encoded in
73 Charset charset = Charset.forName(charset_name); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
ISOCharsetEncoderTest.java 16 package org.apache.harmony.tests.java.nio.charset;
20 import java.nio.charset.CharacterCodingException;
21 import java.nio.charset.Charset;
22 import java.nio.charset.CoderResult;
23 import java.nio.charset.CodingErrorAction;
24 import java.nio.charset.MalformedInputException;
25 import java.nio.charset.UnmappableCharacterException;
28 * test case specific activity of iso-8859-1 charset encoder
32 // charset for iso-8859-
    [all...]
UTF16CharsetTest.java 17 package org.apache.harmony.tests.java.nio.charset;
34 * @see tests.api.java.nio.charset.ConcreteCharsetTest#testEncode_Normal()
44 * @see tests.api.java.nio.charset.ConcreteCharsetTest#testDecode_Normal()
  /external/guava/guava/src/com/google/common/io/
Resources.java 29 import java.nio.charset.Charset;
70 * @param charset the character set used when reading the URL contents
74 URL url, Charset charset) {
75 return CharStreams.newReaderSupplier(newInputStreamSupplier(url), charset);
94 * @param charset the character set used when reading the URL
98 public static String toString(URL url, Charset charset) throws IOException {
99 return CharStreams.toString(newReaderSupplier(url, charset));
    [all...]
  /libcore/luni/src/main/java/java/nio/charset/
IllegalCharsetNameException.java 18 package java.nio.charset;
21 * An {@code IllegalCharsetNameException} is thrown when an illegal charset name
32 // The illegal charset name
37 * charset name.
40 * the encountered illegal charset name.
48 * Returns the encountered illegal charset name.
MalformedInputException.java 18 package java.nio.charset;
22 * encountered, for example if a byte sequence is illegal for the given charset.
UnmappableCharacterException.java 18 package java.nio.charset;
22 * character for the given charset is encountered.
UnsupportedCharsetException.java 18 package java.nio.charset;
21 * An {@code UnsupportedCharsetException} is thrown when an unsupported charset
32 // the unsupported charset name
37 * charset name.
40 * the encountered unsupported charset name.
48 * Gets the encountered unsupported charset name.
50 * @return the encountered unsupported charset name.

Completed in 618 milliseconds

12 3 4 5 6 7 8 91011>>