/libcore/benchmarks/src/benchmarks/regression/ |
CharsetForNameBenchmark.java | 19 import java.nio.charset.Charset; 24 // canonical => canonical charset name 25 // built-in => guaranteed-present charset 26 // special-case => libcore treats this charset specially for performance 42 Charset.forName(charsetName);
|
DefaultCharsetBenchmark.java | 19 import java.nio.charset.Charset; 26 Charset.defaultCharset();
|
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/ |
ASCCharsetTest.java | 17 package tests.api.java.nio.charset; 20 * Test charset US-ASCII. 38 * @see tests.api.java.nio.charset.ConcreteCharsetTest#testEncode_Normal() 51 * @see tests.api.java.nio.charset.ConcreteCharsetTest#testDecode_Normal()
|
ISOCharsetTest.java | 17 package tests.api.java.nio.charset; 37 * @see tests.api.java.nio.charset.ConcreteCharsetTest#testEncode_Normal() 50 * @see tests.api.java.nio.charset.ConcreteCharsetTest#testDecode_Normal()
|
UTF16BECharsetTest.java | 17 package tests.api.java.nio.charset; 35 * @see tests.api.java.nio.charset.ConcreteCharsetTest#testEncode_Normal() 46 * @see tests.api.java.nio.charset.ConcreteCharsetTest#testDecode_Normal()
|
UTF16CharsetEncoderTest.java | 17 package tests.api.java.nio.charset; 21 import java.nio.charset.CharacterCodingException; 22 import java.nio.charset.Charset; 23 import java.nio.charset.CharsetDecoder; 30 // charset for utf-16 31 // charset for utf-16be 32 private static final Charset CS = Charset.forName("utf-16");
|
UTF16LECharsetTest.java | 17 package tests.api.java.nio.charset; 35 * @see tests.api.java.nio.charset.ConcreteCharsetTest#testEncode_Normal() 46 * @see tests.api.java.nio.charset.ConcreteCharsetTest#testDecode_Normal()
|
/libcore/luni/src/main/java/java/net/ |
InetUnixAddress.java | 19 import java.nio.charset.StandardCharsets;
|
/libcore/luni/src/main/java/java/nio/charset/ |
CodingErrorAction.java | 17 package java.nio.charset;
|
StandardCharsets.java | 17 package java.nio.charset; 28 * The ISO-8859-1 charset. 30 public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1"); 33 * The US-ASCII charset. 35 public static final Charset US_ASCII = Charset.forName("US-ASCII"); 38 * The UTF-8 charset. 40 public static final Charset UTF_8 = Charset.forName("UTF-8") [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
NativeConverter.java | 12 import java.nio.charset.Charset; 13 import java.nio.charset.CharsetDecoder; 14 import java.nio.charset.CharsetEncoder; 15 import java.nio.charset.CodingErrorAction; 40 public static native Charset charsetForName(String charsetName);
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
FilePart.java | 62 /** 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) { 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) 145 this(name, new FilePartSource(file), contentType, charset); [all...] |
/external/apache-http/src/org/apache/commons/codec/net/ |
URLCodec.java | 43 * 1.4 rely on the platform's default charset encoding. 53 * The default charset used for string decoding and encoding. 55 protected String charset = StringEncodings.UTF8; field in class:URLCodec 94 * Constructor which allows for the selection of a default charset 96 * @param charset the default string charset to use. 98 public URLCodec(String charset) { 100 this.charset = charset; 212 * string charset. Unsafe characters are escaped [all...] |
QuotedPrintableCodec.java | 61 * The default charset used for string decoding and encoding. 63 private String charset = StringEncodings.UTF8; field in class:QuotedPrintableCodec 96 * Constructor which allows for the selection of a default charset 98 * @param charset 99 * the default string charset to use. 101 public QuotedPrintableCodec(String charset) { 103 this.charset = charset; 234 * Encodes a string into its quoted-printable form using the default string charset. Unsafe characters are escaped. 262 * Decodes a quoted-printable string into its original form using the specified string charset. Escaped character [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
message.py | 16 import email.charset namespace 43 three tuple (charset, language, value), it will be encoded according 48 # are (charset, language, value). charset is a string, not a Charset 220 def set_payload(self, payload, charset=None): 223 Optional charset sets the message's default character set. See 227 if charset is not None: 228 self.set_charset(charset) 230 def set_charset(self, charset) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
message.py | 16 import email.charset namespace 43 three tuple (charset, language, value), it will be encoded according 48 # are (charset, language, value). charset is a string, not a Charset 220 def set_payload(self, payload, charset=None): 223 Optional charset sets the message's default character set. See 227 if charset is not None: 228 self.set_charset(charset) 230 def set_charset(self, charset) [all...] |
/external/apache-http/src/org/apache/http/impl/auth/ |
BasicScheme.java | 141 String charset = AuthParams.getCredentialCharset(request.getParams()); local 142 return authenticate(credentials, charset, isProxy()); 147 * {@link Credentials} and charset. 150 * @param charset The charset to use for encoding the credentials 156 final String charset, 161 if (charset == null) { 162 throw new IllegalArgumentException("charset may not be null"); 171 EncodingUtils.getBytes(tmp.toString(), charset));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_all.py | 16 charset = "iso8859-1" # Full 8 bit variable 28 v = (v[0], v[1].decode(charset)) 36 v = (v[0], v[1].decode(charset)) 42 v = (v[0], v[1].decode(charset)) 48 v = (v[0], v[1].decode(charset)) 54 v = (v[0], v[1].decode(charset)) 60 v = (v[0], v[1].decode(charset)) 74 key = key.decode(charset) 75 return (key, value.decode(charset)) 93 k = bytes(k, charset) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_all.py | 16 charset = "iso8859-1" # Full 8 bit variable 28 v = (v[0], v[1].decode(charset)) 36 v = (v[0], v[1].decode(charset)) 42 v = (v[0], v[1].decode(charset)) 48 v = (v[0], v[1].decode(charset)) 54 v = (v[0], v[1].decode(charset)) 60 v = (v[0], v[1].decode(charset)) 74 key = key.decode(charset) 75 return (key, value.decode(charset)) 93 k = bytes(k, charset) [all...] |
/libcore/luni/src/main/java/java/io/ |
InputStreamReader.java | 22 import java.nio.charset.Charset; 23 import java.nio.charset.CharsetDecoder; 24 import java.nio.charset.CoderResult; 25 import java.nio.charset.CodingErrorAction; 26 import java.nio.charset.MalformedInputException; 27 import java.nio.charset.UnmappableCharacterException; 59 this(in, Charset.defaultCharset()); 85 decoder = Charset.forName(charsetName).newDecoder().onMalformedInput( 114 * Charset {@code charset} [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharset_AbstractTest.java | 17 package libcore.java.nio.charset; 21 import java.nio.charset.CharacterCodingException; 22 import java.nio.charset.Charset; 23 import java.nio.charset.CharsetDecoder; 24 import java.nio.charset.CharsetEncoder; 25 import java.nio.charset.CodingErrorAction; 29 * Super class for concrete charset test suites. 34 static private Charset charset; field in class:OldCharset_AbstractTest [all...] |
/external/chromium_org/net/base/ |
data_url.cc | 22 std::string* charset, std::string* data) { 24 DCHECK(charset->empty()); 49 static const char kCharsetTag[] = "charset="; 56 } else if (charset->empty() && 58 charset->assign(iter->substr(kCharsetTagLength)); 65 if (charset->empty()) 66 charset->assign("US-ASCII");
|
/external/chromium_org/third_party/freetype/src/cff/ |
cffload.c | 780 cff_charset_compute_cids( CFF_Charset charset, 790 if ( charset->max_cid > 0 ) 795 if ( charset->sids[i] > max_cid ) 796 max_cid = charset->sids[i]; 799 if ( FT_NEW_ARRAY( charset->cids, (FT_ULong)max_cid + 1 ) ) 806 charset->cids[charset->sids[j]] = (FT_UShort)j; 808 charset->max_cid = max_cid; 809 charset->num_glyphs = num_glyphs; 817 cff_charset_cid_to_gindex( CFF_Charset charset, [all...] |
/external/freetype/src/cff/ |
cffload.c | 780 cff_charset_compute_cids( CFF_Charset charset, 790 if ( charset->max_cid > 0 ) 795 if ( charset->sids[i] > max_cid ) 796 max_cid = charset->sids[i]; 799 if ( FT_NEW_ARRAY( charset->cids, (FT_ULong)max_cid + 1 ) ) 806 charset->cids[charset->sids[j]] = (FT_UShort)j; 808 charset->max_cid = max_cid; 809 charset->num_glyphs = num_glyphs; 817 cff_charset_cid_to_gindex( CFF_Charset charset, [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
BitmapCharacterSet.java | 66 IntMap<BitmapCharacter> charset = entry.getValue();
local 67 writeCharset(oc, style, charset);
72 protected void writeCharset(OutputCapsule oc, int style, IntMap<BitmapCharacter> charset) throws IOException {
73 int size = charset.size();
77 for (Entry<BitmapCharacter> chr : charset){
104 IntMap<BitmapCharacter> charset = new IntMap<BitmapCharacter>();
local 111 charset.put(index, chr);
113 return charset;
195 IntMap<BitmapCharacter> charset = entry.getValue();
local 197 IntMap<BitmapCharacter> old = this.characters.put(style, charset);
215 IntMap<BitmapCharacter> charset = entry.getValue(); local [all...] |