HomeSort by relevance Sort by last modified time
    Searched refs:fromBytes (Results 1 - 25 of 91) sorted by null

1 2 3 4

  /external/guava/guava/src/com/google/common/io/
LittleEndianDataInputStream.java 103 return Ints.fromBytes((byte) 0, (byte) 0, b2, b1);
121 return Ints.fromBytes( b4, b3, b2, b1);
143 return Longs.fromBytes(b8, b7, b6, b5, b4, b3, b2, b1);
  /external/guava/guava-tests/test/com/google/common/hash/
HashCodeTest.java 87 HashCode fromBytes = HashCode.fromBytes(expected.bytes);
88 assertExpectedHashCode(expected, fromBytes);
94 HashCode hashCode = HashCode.fromBytes(bytes);
122 HashCode hashCode = HashCode.fromBytes(bytes);
160 assertEquals("7f8005ff0e", HashCode.fromBytes(data).toString());
175 HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString()));
194 HashCode hashCodeA = HashCode.fromBytes(bytesA);
195 HashCode hashCodeB = HashCode.fromBytes(bytesB);
213 String string = HashCode.fromBytes(expected.bytes).toString()
    [all...]
AbstractNonStreamingHashFunctionTest.java 106 return HashCode.fromBytes(out.toByteArray());
134 return HashCode.fromBytes(input);
139 return HashCode.fromBytes(Arrays.copyOfRange(input, off, off + len));
MessageDigestHashFunctionTest.java 100 HashCode.fromBytes(digest.digest(input)),
104 HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)),
Murmur3Hash128Test.java 66 return HashCode.fromBytes(bb.array());
AbstractStreamingHasherTest.java 202 return HashCode.fromBytes(out.toByteArray());
253 return HashCode.fromBytes(input);
HashingTest.java 261 assertEquals(HashCode.fromBytes(new byte[] { (byte) 0x80, 0, 0, 0 }),
263 assertEquals(HashCode.fromBytes(new byte[] { (byte) 0xa0, 0, 0, 0 }),
351 assertEquals(HashCode.fromBytes(combined),
  /packages/apps/CertInstaller/src/com/android/certinstaller/
Util.java 47 static <T> T fromBytes(byte[] bytes) {
54 Log.w(TAG, "fromBytes(): " + e);
  /frameworks/base/core/java/android/app/admin/
SecurityLog.java 134 mEvent = Event.fromBytes(data);
  /libcore/tzdata/shared2/src/main/libcore/tzdata/shared2/
DistroVersion.java 92 public static DistroVersion fromBytes(byte[] bytes) throws DistroException {
TimeZoneDistro.java 74 return DistroVersion.fromBytes(contents);
  /libcore/tzdata/shared2/src/test/libcore/tzdata/shared2/
DistroVersionTest.java 63 assertEquals(distroVersion, DistroVersion.fromBytes(distroVersion.toBytes()));
  /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
UriWallpaperInfo.java 61 InputStreamProvider.fromBytes(imageBytes), a, 0, true);
  /external/guava/guava/src/com/google/common/hash/
BloomFilterStrategies.java 129 return Longs.fromBytes(
134 return Longs.fromBytes(
HashCode.java 244 public static HashCode fromBytes(byte[] bytes) {
324 * {@link com.google.common.io.BaseEncoding#decode} (and pass the result to {@link #fromBytes}).
  /external/guava/guava/src/com/google/common/primitives/
Chars.java 313 return fromBytes(bytes[0], bytes[1]);
324 public static char fromBytes(byte b1, byte b2) {
Shorts.java 321 return fromBytes(bytes[0], bytes[1]);
332 public static short fromBytes(byte b1, byte b2) {
Ints.java 323 return fromBytes(bytes[0], bytes[1], bytes[2], bytes[3]);
334 public static int fromBytes(byte b1, byte b2, byte b3, byte b4) {
Longs.java 292 return fromBytes(bytes[0], bytes[1], bytes[2], bytes[3],
303 public static long fromBytes(byte b1, byte b2, byte b3, byte b4,
  /frameworks/base/services/core/java/com/android/server/
SyntheticPasswordManager.java 178 public static PasswordData fromBytes(byte[] data) {
224 return PasswordData.fromBytes(passwordData).passwordType;
442 PasswordData pwd = PasswordData.fromBytes(loadState(PASSWORD_DATA_NAME, handle, userId));
  /external/glide/library/src/main/java/com/bumptech/glide/
RequestManager.java 504 * @see #fromBytes()
510 return (DrawableTypeRequest<byte[]>) fromBytes().load(model);
524 public DrawableTypeRequest<byte[]> fromBytes() {
  /external/guava/guava-tests/test/com/google/common/primitives/
CharsTest.java 232 @GwtIncompatible("Chars.fromBytes")
234 assertEquals('\u2345', Chars.fromBytes((byte) 0x23, (byte) 0x45));
235 assertEquals('\uFEDC', Chars.fromBytes((byte) 0xFE, (byte) 0xDC));
  /external/deqp/framework/common/
tcuRGBA.hpp 87 static RGBA fromBytes (const deUint8* bytes) { return RGBA(bytes[0], bytes[1], bytes[2], bytes[3]); }
  /frameworks/base/core/java/android/util/
EventLog.java 192 public static Event fromBytes(byte[] data) {
  /libcore/tzdata/update2/src/main/libcore/tzdata/update2/
TimeZoneDistroInstaller.java 340 return DistroVersion.fromBytes(versionBytes);

Completed in 838 milliseconds

1 2 3 4