Searched refs:UTF_16LE (Results 1 – 12 of 12) sorted by relevance
/external/guava/guava-tests/test/com/google/common/hash/ |
D | AbstractByteHasherTest.java | 17 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()
|
D | AbstractStreamingHasherTest.java | 19 import static com.google.common.base.Charsets.UTF_16LE; 93 String s = new String(bytes, UTF_16LE); // so all random strings are valid in testString() 96 new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash()); in testString() 99 new Sink(4).putString(s, UTF_16LE).hash()); in testString()
|
D | HashTestUtils.java | 518 Charsets.UTF_16LE,
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/ |
D | Charsets.java | 153 public static final Charset UTF_16LE = StandardCharsets.UTF_16LE; field in Charsets
|
D | CharsetNames.java | 112 public static final String UTF_16LE = "UTF-16LE"; field in CharsetNames
|
/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | StringUtils.java | 112 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/ |
D | FilesTest.java | 175 Files.write(I18N, temp, Charsets.UTF_16LE); in testWriteString() 176 assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE)); in testWriteString() 194 Files.append(I18N, temp, Charsets.UTF_16LE); in testAppendString() 195 assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE)); in testAppendString() 196 Files.append(I18N, temp, Charsets.UTF_16LE); in testAppendString() 197 assertEquals(I18N + I18N, Files.toString(temp, Charsets.UTF_16LE)); in testAppendString() 198 Files.append(I18N, temp, Charsets.UTF_16LE); in testAppendString() 199 assertEquals(I18N + I18N + I18N, Files.toString(temp, Charsets.UTF_16LE)); in testAppendString()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResourceString.java | 19 import static java.nio.charset.StandardCharsets.UTF_16LE; 35 UTF16(UTF_16LE);
|
/external/sl4a/Common/src/org/apache/commons/codec/ |
D | CharEncoding.java | 112 public static final String UTF_16LE = "UTF-16LE"; field in CharEncoding
|
/external/guava/guava/src/com/google/common/base/ |
D | Charsets.java | 88 public static final Charset UTF_16LE = Charset.forName("UTF-16LE"); field in Charsets
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | CharsetsTest.java | 56 assertEquals(Charset.forName("UTF-16LE"), Charsets.UTF_16LE); in testUtf16le()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/ |
D | SevenZFile.java | 792 … 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();
|