Lines Matching defs:cs
26 package sun.nio.cs.ext;
36 import sun.nio.cs.HistoricallyNamedCharset;
37 import static sun.nio.cs.CharsetMapping.*;
89 public boolean contains(Charset cs) {
90 return ((cs.name().equals("US-ASCII"))
91 || (cs instanceof EUC_TW));
103 public Decoder(Charset cs) {
104 super(cs, 2.0f, 2.0f);
300 public Encoder(Charset cs) {
301 super(cs, 4.0f, 4.0f);
308 public boolean canEncode(CharSequence cs) {
310 while (i < cs.length()) {
311 char c = cs.charAt(i++);
313 if (i == cs.length())
315 char low = cs.charAt(i++);