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

12 3 4 5 6 7

  /libcore/luni/src/test/java/libcore/java/nio/charset/
OldCharset_SingleByte_windows_1258.java 21 charsetName = "windows-1258";
OldCharset_SingleByte_x_IBM874.java 23 // charsetName = "x-IBM874"; // ICU name "TIS-620", wanted Android name "CP874"
24 charsetName = "TIS-620"; // ICU name "TIS-620", wanted Android name "CP874"
OldCharset_ISO_8859_10.java 23 charsetName = "ISO-8859-10";
OldCharset_ISO_8859_14.java 23 charsetName = "ISO-8859-14";
OldCharset_MultiByte_Big5.java 26 charsetName = "Big5";
    [all...]
OldCharset_MultiByte_Big5_Android.java 24 charsetName = "Big5";
OldCharset_MultiByte_EUC_KR.java 22 charsetName = "EUC-KR";
    [all...]
OldCharset_MultiByte_GBK.java 26 charsetName = "GBK";
    [all...]
OldCharset_MultiByte_GBK_Android.java 24 charsetName = "GBK";
    [all...]
OldCharset_MultiByte_UTF_16.java 26 charsetName = "UTF-16";
OldCharset_MultiByte_UTF_16BE.java 22 charsetName = "UTF-16BE";
OldCharset_MultiByte_UTF_16LE.java 22 charsetName = "UTF-16LE";
OldCharset_MultiByte_UTF_16_Android.java 24 charsetName = "UTF-16";
OldCharset_MultiByte_UTF_8.java 22 charsetName = "UTF-8";
    [all...]
OldCharset_SingleByte_IBM864.java 25 charsetName = "IBM864"; // This is the preferred MIME name.
OldCharset_macintosh.java 23 charsetName = "macintosh";
SettableCharsetProvider.java 50 public Charset charsetForName(String charsetName) {
52 return delegate.charsetForName(charsetName);
OldCharset_SingleByte_ISO_8859_3.java 23 charsetName = "ISO-8859-3";
  /external/guava/guava-gwt/src-super/java/nio/charset/
Charset.java 41 public static Charset forName(String charsetName) {
42 if (charsetName == null) {
45 int length = charsetName.length();
47 throw new IllegalCharsetNameException(charsetName);
50 char c = charsetName.charAt(i);
60 throw new IllegalCharsetNameException(charsetName);
62 Charset charset = AVAILABLE_CHARSETS.get(charsetName.toUpperCase());
66 throw new UnsupportedCharsetException(charsetName);
  /libcore/benchmarks/src/benchmarks/regression/
CharsetForNameBenchmark.java 37 private String charsetName;
41 Charset.forName(charsetName);
  /external/sl4a/Common/src/org/apache/commons/codec/binary/
StringUtils.java 142 * @param charsetName
151 public static byte[] getBytesUnchecked(String string, String charsetName) {
156 return string.getBytes(charsetName);
158 throw StringUtils.newIllegalStateException(charsetName, e);
162 private static IllegalStateException newIllegalStateException(String charsetName, UnsupportedEncodingException e) {
163 return new IllegalStateException(charsetName + ": " + e);
175 * @param charsetName
184 public static String newString(byte[] bytes, String charsetName) {
189 return new String(bytes, charsetName);
191 throw StringUtils.newIllegalStateException(charsetName, e)
    [all...]
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
CharsetProviderICU.java 45 * @param charsetName charset name
49 public final Charset charsetForName(String charsetName){
53 if (charsetName.endsWith(UConverterConstants.OPTION_SWAP_LFNL_STRING)) {
56 charsetName = charsetName.substring(0, charsetName.length() - optionsString.length());
59 String icuCanonicalName = getICUCanonicalName(charsetName);
65 icuCanonicalName = charsetName;
81 * @param charsetName The name of the charset conversion table.
86 public final Charset charsetForName(String charsetName, String classPath)
    [all...]
  /packages/apps/Email/src/com/beetstra/jutf7/
CharsetProvider.java 69 public Charset charsetForName(String charsetName) {
70 charsetName = charsetName.toUpperCase();
73 if (charset.name().equals(charsetName))
78 if (charset.aliases().contains(charsetName))
  /libcore/ojluni/src/main/java/java/nio/charset/
Charset.java 340 private static void cache(String charsetName, Charset cs) {
355 cache2.put(charsetName, cs);
358 cache1 = new AbstractMap.SimpleImmutableEntry<>(charsetName, cs);
413 private static Charset lookupViaProviders(final String charsetName) {
437 Charset cs = cp.charsetForName(charsetName);
477 // private static Charset lookupExtendedCharset(String charsetName) {
486 // return (ecp != null) ? ecp.charsetForName(charsetName) : null;
491 // the level 1 cache miss code in a separate method. Since charsetName is not necessarily in
494 private static Charset lookup(String charsetName) {
495 if (charsetName == null
    [all...]
  /libcore/ojluni/src/main/java/java/nio/charset/spi/
CharsetProvider.java 100 * @param charsetName
108 public abstract Charset charsetForName(String charsetName);

Completed in 429 milliseconds

12 3 4 5 6 7