/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),
|
/frameworks/base/core/java/android/app/admin/ |
SecurityLog.java | 124 mEvent = Event.fromBytes(data);
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
Util.java | 47 static <T> T fromBytes(byte[] bytes) { 54 Log.w(TAG, "fromBytes(): " + e);
|
/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,
|
/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));
|
IntsTest.java | 243 @GwtIncompatible("Ints.fromBytes") 245 assertEquals(0x12131415, Ints.fromBytes( 247 assertEquals(0xFFEEDDCC, Ints.fromBytes(
|
LongsTest.java | 226 assertEquals(0x1213141516171819L, Longs.fromBytes( 229 assertEquals(0xFFEEDDCCBBAA9988L, Longs.fromBytes(
|
ShortsTest.java | 251 @GwtIncompatible("Shorts.fromBytes") 253 assertEquals((short) 0x2345, Shorts.fromBytes((byte) 0x23, (byte) 0x45)); 254 assertEquals((short) 0xFEDC, Shorts.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 | 167 public static Event fromBytes(byte[] data) {
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
LongsTest.java | 215 assertEquals(0x1213141516171819L, Longs.fromBytes( 218 assertEquals(0xFFEEDDCCBBAA9988L, Longs.fromBytes(
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsState.java | 753 return fromBytes(Base64.decode(s, Base64.DEFAULT)); 771 private static String fromBytes(byte[] bytes) {
|