Lines Matching defs:cs
46 import sun.nio.cs.StandardCharsets;
47 import sun.nio.cs.ThreadLocalCoders;
290 new GetPropertyAction("sun.nio.cs.bugLevel", ""));
333 private static void cache(String charsetName, Charset cs) {
335 cache1 = new Object[] { charsetName, cs };
415 Charset cs = cp.charsetForName(charsetName);
416 if (cs != null)
417 return cs;
438 = Class.forName("sun.nio.cs.ext.ExtendedCharsets");
486 Charset cs;
487 if ((cs = standardProvider.charsetForName(charsetName)) != null ||
488 (cs = lookupExtendedCharset(charsetName)) != null ||
489 (cs = lookupViaProviders(charsetName)) != null)
491 cache(charsetName, cs);
492 return cs;
540 Charset cs = lookup(charsetName);
541 if (cs != null)
542 return cs;
551 Charset cs = i.next();
552 if (!m.containsKey(cs.name()))
553 m.put(cs.name(), cs);
618 Charset cs = lookup(csn);
619 if (cs != null)
620 defaultCharset = cs;
747 public abstract boolean contains(Charset cs);
787 * <p> An invocation of this method upon a charset <tt>cs</tt> returns the
791 * cs.newDecoder()
823 * <p> An invocation of this method upon a charset <tt>cs</tt> returns the
827 * cs.newEncoder()
858 * <p> An invocation of this method upon a charset <tt>cs</tt> returns the
862 * cs.encode(CharBuffer.wrap(s)); </pre>