Home
last modified time | relevance | path

Searched refs:UTF_16LE (Results 1 – 18 of 18) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/hash/
DAbstractByteHasherTest.java17 import static com.google.common.base.Charsets.UTF_16LE;
72 String s = new String(bytes, UTF_16LE); // so all random strings are valid in testString()
75 new TestHasher().putBytes(s.getBytes(UTF_16LE)).hash()); in testString()
78 new TestHasher().putString(s, UTF_16LE).hash()); in testString()
DAbstractStreamingHasherTest.java19 import static com.google.common.base.Charsets.UTF_16LE;
89 String s = new String(bytes, UTF_16LE); // so all random strings are valid in testString()
92 new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash()); in testString()
94 new Sink(4).putUnencodedChars(s).hash(), new Sink(4).putString(s, UTF_16LE).hash()); in testString()
DHashTestUtils.java635 Charsets.UTF_16LE,
/external/guava/guava-tests/test/com/google/common/hash/
DAbstractByteHasherTest.java17 import static com.google.common.base.Charsets.UTF_16LE;
72 String s = new String(bytes, UTF_16LE); // so all random strings are valid in testString()
75 new TestHasher().putBytes(s.getBytes(UTF_16LE)).hash()); in testString()
78 new TestHasher().putString(s, UTF_16LE).hash()); in testString()
DAbstractStreamingHasherTest.java19 import static com.google.common.base.Charsets.UTF_16LE;
89 String s = new String(bytes, UTF_16LE); // so all random strings are valid in testString()
92 new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash()); in testString()
94 new Sink(4).putUnencodedChars(s).hash(), new Sink(4).putString(s, UTF_16LE).hash()); in testString()
DHashTestUtils.java635 Charsets.UTF_16LE,
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DCharsets.java153 public static final Charset UTF_16LE = StandardCharsets.UTF_16LE; field in Charsets
DCharsetNames.java112 public static final String UTF_16LE = "UTF-16LE"; field in CharsetNames
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DStringUtils.java112 return StringUtils.getBytesUnchecked(string, CharEncoding.UTF_16LE); in getBytesUtf16Le()
261 return StringUtils.newString(bytes, CharEncoding.UTF_16LE); in newStringUtf16Le()
/external/guava/guava-tests/test/com/google/common/io/
DFilesTest.java121 Files.write(I18N, temp, Charsets.UTF_16LE); in testWriteString()
122 assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE)); in testWriteString()
140 Files.append(I18N, temp, Charsets.UTF_16LE); in testAppendString()
141 assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE)); in testAppendString()
142 Files.append(I18N, temp, Charsets.UTF_16LE); in testAppendString()
143 assertEquals(I18N + I18N, Files.toString(temp, Charsets.UTF_16LE)); in testAppendString()
144 Files.append(I18N, temp, Charsets.UTF_16LE); in testAppendString()
145 assertEquals(I18N + I18N + I18N, Files.toString(temp, Charsets.UTF_16LE)); in testAppendString()
/external/guava/android/guava-tests/test/com/google/common/io/
DFilesTest.java121 Files.write(I18N, temp, Charsets.UTF_16LE); in testWriteString()
122 assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE)); in testWriteString()
140 Files.append(I18N, temp, Charsets.UTF_16LE); in testAppendString()
141 assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE)); in testAppendString()
142 Files.append(I18N, temp, Charsets.UTF_16LE); in testAppendString()
143 assertEquals(I18N + I18N, Files.toString(temp, Charsets.UTF_16LE)); in testAppendString()
144 Files.append(I18N, temp, Charsets.UTF_16LE); in testAppendString()
145 assertEquals(I18N + I18N + I18N, Files.toString(temp, Charsets.UTF_16LE)); in testAppendString()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResourceString.java19 import static java.nio.charset.StandardCharsets.UTF_16LE;
35 UTF16(UTF_16LE);
/external/sl4a/Common/src/org/apache/commons/codec/
DCharEncoding.java112 public static final String UTF_16LE = "UTF-16LE"; field in CharEncoding
/external/guava/android/guava/src/com/google/common/base/
DCharsets.java83 public static final Charset UTF_16LE = Charset.forName("UTF-16LE"); field in Charsets
/external/guava/guava/src/com/google/common/base/
DCharsets.java83 public static final Charset UTF_16LE = Charset.forName("UTF-16LE"); field in Charsets
/external/guava/guava-tests/test/com/google/common/base/
DCharsetsTest.java54 assertEquals(Charset.forName("UTF-16LE"), Charsets.UTF_16LE); in testUtf16le()
/external/guava/android/guava-tests/test/com/google/common/base/
DCharsetsTest.java54 assertEquals(Charset.forName("UTF-16LE"), Charsets.UTF_16LE); in testUtf16le()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DSevenZFile.java792 … files[nextFile++].setName(new String(names, nextName, i-nextName, CharsetNames.UTF_16LE)); in readFilesInfo()
1197 private static final CharsetEncoder PASSWORD_ENCODER = StandardCharsets.UTF_16LE.newEncoder();