/external/guava/android/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; 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()
|
D | HashTestUtils.java | 635 Charsets.UTF_16LE,
|
/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; 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()
|
D | HashTestUtils.java | 635 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 | 121 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/ |
D | FilesTest.java | 121 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/ |
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/android/guava/src/com/google/common/base/ |
D | Charsets.java | 83 public static final Charset UTF_16LE = Charset.forName("UTF-16LE"); field in Charsets
|
/external/guava/guava/src/com/google/common/base/ |
D | Charsets.java | 83 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 | 54 assertEquals(Charset.forName("UTF-16LE"), Charsets.UTF_16LE); in testUtf16le()
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | CharsetsTest.java | 54 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();
|