Home
last modified time | relevance | path

Searched full:charset (Results 1 – 25 of 15620) sorted by relevance

12345678910>>...625

/aosp_15_r20/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DCharacterSets.java30 * Any-charset = <Octet 128>
31 * Equivalent to the special RFC2616 charset value "*"
34 * Use Charset.availableCharsets() to see if a potential charset is supported in java:
37 * SortedMap<String, Charset> charsets = Charset.availableCharsets();
38 * for (Entry<String, Charset> entry : charsets.entrySet()) {
40 * Charset value = entry.getValue();
41 * logvv("charset key: " + key + " value: " + value);
46 * Adobe-Standard-Encoding value: java.nio.charset.CharsetICU[Adobe-Standard-Encoding]
47 * Big5 value: java.nio.charset.CharsetICU[Big5]
48 * Big5-HKSCS value: java.nio.charset.CharsetICU[Big5-HKSCS]
[all …]
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DCharsetTest.java17 package org.apache.harmony.tests.java.nio.charset;
22 import java.nio.charset.Charset;
23 import java.nio.charset.CharsetDecoder;
24 import java.nio.charset.CharsetEncoder;
25 import java.nio.charset.CoderResult;
26 import java.nio.charset.IllegalCharsetNameException;
27 import java.nio.charset.spi.CharsetProvider;
28 import java.nio.charset.UnsupportedCharsetException;
36 import libcore.java.nio.charset.SettableCharsetProvider;
41 * Test class java.nio.Charset.
[all …]
/aosp_15_r20/external/flac/src/share/utf8/
H A Dcharset_test.c26 #include "charset.h"
28 void test_any(struct charset *charset) in test_any() argument
33 assert(charset); in test_any()
37 assert(charset_mbtowc(charset, 0, 0, 0) == 0); in test_any()
38 assert(charset_mbtowc(charset, 0, 0, 1) == 0); in test_any()
39 assert(charset_mbtowc(charset, 0, (char *)(-1), 0) == 0); in test_any()
41 assert(charset_mbtowc(charset, 0, "a", 0) == 0); in test_any()
42 assert(charset_mbtowc(charset, 0, "", 1) == 0); in test_any()
43 assert(charset_mbtowc(charset, 0, "b", 1) == 1); in test_any()
44 assert(charset_mbtowc(charset, 0, "", 2) == 0); in test_any()
[all …]
/aosp_15_r20/external/apache-commons-io/src/main/java/org/apache/commons/io/
H A DCharsets.java19 import java.nio.charset.Charset;
20 import java.nio.charset.StandardCharsets;
21 import java.nio.charset.UnsupportedCharsetException;
29 …va documentation <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">
53 …* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard …
59 …// This class should only contain Charset instances for required encodings. This guarantees that i…
63 private static final SortedMap<String, Charset> STANDARD_CHARSET_MAP;
66 …final SortedMap<String, Charset> standardCharsetMap = new TreeMap<>(String.CASE_INSENSITIVE_ORDER);
82 …* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard …
83 * @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
[all …]
/aosp_15_r20/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
H A DCharSetTest.java33 * Unit tests {@link org.apache.commons.lang3.CharSet}.
39 assertTrue(Modifier.isPublic(CharSet.class.getModifiers())); in testClass()
40 assertFalse(Modifier.isFinal(CharSet.class.getModifiers())); in testClass()
45 assertSame(CharSet.EMPTY, CharSet.getInstance( (String) null)); in testGetInstance()
46 assertSame(CharSet.EMPTY, CharSet.getInstance("")); in testGetInstance()
47 assertSame(CharSet.ASCII_ALPHA, CharSet.getInstance("a-zA-Z")); in testGetInstance()
48 assertSame(CharSet.ASCII_ALPHA, CharSet.getInstance("A-Za-z")); in testGetInstance()
49 assertSame(CharSet.ASCII_ALPHA_LOWER, CharSet.getInstance("a-z")); in testGetInstance()
50 assertSame(CharSet.ASCII_ALPHA_UPPER, CharSet.getInstance("A-Z")); in testGetInstance()
51 assertSame(CharSet.ASCII_NUMERIC, CharSet.getInstance("0-9")); in testGetInstance()
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java27 package java.nio.charset;
29 import com.android.icu.charset.CharsetFactory;
39 import java.nio.charset.spi.CharsetProvider;
59 // Android-changed: Docs to say UTF-8 is always the platform default charset.
64 * for retrieving the various names associated with a charset. Instances of
68 * charset is supported, for locating charset instances by name, and for
69 * constructing a map that contains every charset for which support is
72 * java.nio.charset.spi.CharsetProvider} class.
79 * <h2>Charset names</h2>
111 * A charset name must begin with either a letter or a digit. The empty string
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/9/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java27 package java.nio.charset;
29 import com.android.icu.charset.CharsetFactory;
39 import java.nio.charset.spi.CharsetProvider;
59 // Android-changed: Docs to say UTF-8 is always the platform default charset.
64 * for retrieving the various names associated with a charset. Instances of
68 * charset is supported, for locating charset instances by name, and for
69 * constructing a map that contains every charset for which support is
72 * java.nio.charset.spi.CharsetProvider} class.
79 * <h2>Charset names</h2>
111 * A charset name must begin with either a letter or a digit. The empty string
[all …]
/aosp_15_r20/libcore/ojluni/src/main/java/java/nio/charset/
H A DCharset.java27 package java.nio.charset;
29 import com.android.icu.charset.CharsetFactory;
39 import java.nio.charset.spi.CharsetProvider;
59 // Android-changed: Docs to say UTF-8 is always the platform default charset.
64 * for retrieving the various names associated with a charset. Instances of
68 * charset is supported, for locating charset instances by name, and for
69 * constructing a map that contains every charset for which support is
72 * java.nio.charset.spi.CharsetProvider} class.
79 * <h2>Charset names</h2>
111 * A charset name must begin with either a letter or a digit. The empty string
[all …]
/aosp_15_r20/external/python/cpython2/Lib/email/
Dheader.py20 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
62 """Decode a message header value without converting charset.
64 Returns a list of (decoded_string, charset) pairs containing each of the
65 decoded parts of the header. Charset is None for non-encoded parts of the
93 charset, encoding = [s.lower() for s in parts[0:2]]
112 if decoded and decoded[-1][1] == charset:
[all …]
/aosp_15_r20/external/icu/icu4j/main/charset/src/main/java/com/ibm/icu/charset/
H A DCharsetICU.java10 package com.ibm.icu.charset;
14 import java.nio.charset.Charset;
15 import java.nio.charset.IllegalCharsetNameException;
16 import java.nio.charset.UnsupportedCharsetException;
22 * <p>A subclass of java.nio.Charset for providing implementation of ICU's charset converters.
24 …* from UTF-16. You can open a converter with {@link Charset#forName} and {@link #forNameICU}. With…
31 * <p>Note that {@link #name()} cannot always return a unique charset name.
32 * {@link Charset} documents that,
33 * for charsets listed in the IANA Charset Registry,
43 * <p>This is in conflict with the {@link Charset#name()} requirements.
[all …]
/aosp_15_r20/prebuilts/jdk/jdk8/darwin-x86/jre/lib/
Dcharsets.jar ... () public boolean contains (java.nio.charset.Charset) public java.nio.charset.
/aosp_15_r20/prebuilts/jdk/jdk8/linux-x86/jre/lib/
Dcharsets.jar ... () public boolean contains (java.nio.charset.Charset) public java.nio.charset.
/aosp_15_r20/external/libcups/examples/
H A Dipp-everywhere.test26 ATTR charset attributes-charset utf-8
185 ATTR charset attributes-charset utf-8
206 ATTR charset attributes-charset utf-8
229 ATTR charset attributes-charset utf-8
251 ATTR charset attributes-charset utf-8
272 ATTR charset attributes-charset utf-8
295 ATTR charset attributes-charset utf-8
317 ATTR charset attributes-charset utf-8
338 ATTR charset attributes-charset utf-8
361 ATTR charset attributes-charset utf-8
[all …]
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/email/
H A Dheader.py20 from email import charset as _charset
21 Charset = _charset.Charset variable
31 USASCII = Charset('us-ascii')
32 UTF8 = Charset('utf-8')
34 # Match encoded-word strings in the form =?charset?q?Hello_World?=
37 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset
62 """Decode a message header value without converting charset.
64 Returns a list of (string, charset) pairs containing each of the decoded
65 parts of the header. Charset is None for non-encoded parts of the header,
77 return [(_charset._encode(string, str(charset)), str(charset))
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/email/
Dheader.py20 from email import charset as _charset
21 Charset = _charset.Charset variable
31 USASCII = Charset('us-ascii')
32 UTF8 = Charset('utf-8')
34 # Match encoded-word strings in the form =?charset?q?Hello_World?=
37 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset
62 """Decode a message header value without converting charset.
64 Returns a list of (string, charset) pairs containing each of the decoded
65 parts of the header. Charset is None for non-encoded parts of the header,
77 return [(_charset._encode(string, str(charset)), str(charset))
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/email/
Dheader.py20 from email import charset as _charset
21 Charset = _charset.Charset variable
31 USASCII = Charset('us-ascii')
32 UTF8 = Charset('utf-8')
34 # Match encoded-word strings in the form =?charset?q?Hello_World?=
37 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset
62 """Decode a message header value without converting charset.
64 Returns a list of (string, charset) pairs containing each of the decoded
65 parts of the header. Charset is None for non-encoded parts of the header,
77 return [(_charset._encode(string, str(charset)), str(charset))
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/email/
Dheader.py20 from email import charset as _charset
21 Charset = _charset.Charset variable
31 USASCII = Charset('us-ascii')
32 UTF8 = Charset('utf-8')
34 # Match encoded-word strings in the form =?charset?q?Hello_World?=
37 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset
62 """Decode a message header value without converting charset.
64 Returns a list of (string, charset) pairs containing each of the decoded
65 parts of the header. Charset is None for non-encoded parts of the header,
77 return [(_charset._encode(string, str(charset)), str(charset))
[all …]
/aosp_15_r20/external/python/cpython3/Lib/email/
Dheader.py20 from email import charset as _charset
21 Charset = _charset.Charset variable
31 USASCII = Charset('us-ascii')
32 UTF8 = Charset('utf-8')
34 # Match encoded-word strings in the form =?charset?q?Hello_World?=
37 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset
62 """Decode a message header value without converting charset.
64 Returns a list of (string, charset) pairs containing each of the decoded
65 parts of the header. Charset is None for non-encoded parts of the header,
77 return [(_charset._encode(string, str(charset)), str(charset))
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/email/
Dheader.py20 from email import charset as _charset
21 Charset = _charset.Charset variable
31 USASCII = Charset('us-ascii')
32 UTF8 = Charset('utf-8')
34 # Match encoded-word strings in the form =?charset?q?Hello_World?=
37 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset
62 """Decode a message header value without converting charset.
64 Returns a list of (string, charset) pairs containing each of the decoded
65 parts of the header. Charset is None for non-encoded parts of the header,
77 return [(_charset._encode(string, str(charset)), str(charset))
[all …]
/aosp_15_r20/external/jsoup/src/main/java/org/jsoup/nodes/
H A DDocument.java16 import java.nio.charset.Charset;
17 import java.nio.charset.CharsetEncoder;
248 * Sets the charset used in this document. This method is equivalent
249 * to {@link OutputSettings#charset(java.nio.charset.Charset)
250 * OutputSettings.charset(Charset)} but in addition it updates the
251 * charset / encoding element within the document.
254 * {@link #updateMetaCharsetElement(boolean) meta charset update}.</p>
256 * <p>If there's no element with charset / encoding information yet it will
257 * be created. Obsolete charset / encoding definitions are removed!</p>
262 * <li><b>Html:</b> <i>&lt;meta charset="CHARSET"&gt;</i></li>
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/0/libcore/ojluni/src/main/java/java/io/
DFileWriter.java28 import java.nio.charset.Charset;
32 * to bytes uses either a specified {@linkplain java.nio.charset.Charset charset}
34 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.
58 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}
72 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.
88 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}
102 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.
119 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.
130 * {@linkplain java.nio.charset.Charset charset}.
133 * @param charset the {@linkplain java.nio.charset.Charset charset}
[all …]
/aosp_15_r20/libcore/ojluni/src/main/java/java/io/
H A DFileWriter.java28 import java.nio.charset.Charset;
32 * to bytes uses either a specified {@linkplain java.nio.charset.Charset charset}
34 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.
58 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}
72 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.
88 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}
102 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.
119 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.
130 * {@linkplain java.nio.charset.Charset charset}.
133 * @param charset the {@linkplain java.nio.charset.Charset charset}
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/io/
DFileWriter.java28 import java.nio.charset.Charset;
32 * to bytes uses either a specified {@linkplain java.nio.charset.Charset charset}
34 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.
58 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}
72 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.
88 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}
102 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.
119 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.
130 * {@linkplain java.nio.charset.Charset charset}.
133 * @param charset the {@linkplain java.nio.charset.Charset charset}
[all …]
/aosp_15_r20/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
H A DCharsets.java21 import java.nio.charset.Charset;
22 import java.nio.charset.StandardCharsets;
27 …entation <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
54 …* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard …
61 …// This class should only contain Charset instances for required encodings. This guarantees that i…
66 * Returns the given Charset or the default Charset if the given Charset is null.
68 * @param charset
69 * A charset or null.
70 * @return the given Charset or the default Charset if the given Charset is null
72 public static Charset toCharset(final Charset charset) { in toCharset() argument
[all …]
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/strings/
H A Dcharset.h16 // File: charset.h
19 // This file contains absl::CharSet, a fast, bit-vector set of 8-bit unsigned
24 // constexpr absl::CharSet kJustX = absl::CharSet::Char('x');
25 // constexpr absl::CharSet kMySymbols = absl::CharSet("$@!");
26 // constexpr absl::CharSet kLetters = absl::CharSet::Range('a', 'z');
31 // constexpr absl::CharSet kLettersAndNumbers =
32 // absl::CharSet::Range('a', 'z') | absl::CharSet::Range('0', '9');
37 // constexpr absl::CharSet kLettersAndWhitespace =
38 // absl::CharSet::AsciiAlphabet() | absl::CharSet::AsciiWhitespace();
42 // absl::CharSet hex_letters("abcdef");
[all …]

12345678910>>...625