Home
last modified time | relevance | path

Searched refs:UTF_16 (Results 1 – 14 of 14) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DCharsets.java127 public static final Charset UTF_16 = StandardCharsets.UTF_16; field in Charsets
DCharsetNames.java88 public static final String UTF_16 = "UTF-16"; field in CharsetNames
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DStringUtils.java80 return StringUtils.getBytesUnchecked(string, CharEncoding.UTF_16); in getBytesUtf16()
233 return StringUtils.newString(bytes, CharEncoding.UTF_16); in newStringUtf16()
/external/sl4a/Common/src/org/apache/commons/codec/
DCharEncoding.java88 public static final String UTF_16 = "UTF-16"; field in CharEncoding
/external/guava/guava/src/com/google/common/base/
DCharsets.java99 public static final Charset UTF_16 = Charset.forName("UTF-16"); field in Charsets
/external/guava/guava-tests/test/com/google/common/net/
DMediaTypeTest.java19 import static com.google.common.base.Charsets.UTF_16;
342 assertEquals(Optional.of(UTF_16),
412 .addEqualityGroup(MediaType.create("text", "plain").withCharset(UTF_16))
/external/apache-http/src/org/apache/http/protocol/
DHTTP.java80 public static final String UTF_16 = "UTF-16"; field in HTTP
/external/guava/guava-tests/test/com/google/common/base/
DCharsetsTest.java61 assertEquals(Charset.forName("UTF-16"), Charsets.UTF_16); in testUtf16()
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DKeyboardTool.java71 String contents = Files.toString(keyboardLayout, Charsets.UTF_16); in parseWindowsKeyboards()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java60 private static final Charset UTF_16 = Charset.forName("UTF-16"); field in ByteStringTest
134 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding()
135 byte[] testBytes = testString.getBytes(UTF_16); in testCopyFrom_StringEncoding()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DTarArchiveInputStreamTest.java175 final String encoding = CharsetNames.UTF_16; in shouldUseSpecifiedEncodingWhenReadingGNULongNames()
/external/guava/guava-tests/test/com/google/common/io/
DByteStreamsTest.java351 byte[] expected = Arrays.copyOfRange("r\u00C9sum\u00C9".getBytes(Charsets.UTF_16), 2, 14); in testNewDataOutput_writeChars()
/external/guava/guava-tests/test/com/google/common/hash/
DHashTestUtils.java516 Charsets.UTF_16,
/external/apache-http/api/
Dcurrent.txt3894 field @Deprecated public static final String UTF_16 = "UTF-16";