/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/ |
AbstractNonStreamingHashFunctionTest.java | 56 return HashCodes.fromBytes(out.toByteArray()); 84 return HashCodes.fromBytes(input); 89 return HashCodes.fromBytes(Arrays.copyOfRange(input, off, off + len));
|
HashCodesTest.java | 68 HashCode fromBytes = HashCodes.fromBytes(expected.bytes); 69 assertExpectedHashCode(expected, fromBytes);
|
HashingTest.java | 134 assertEquals(HashCodes.fromBytes(new byte[] { (byte) 0x80, 0, 0, 0 }), 136 assertEquals(HashCodes.fromBytes(new byte[] { (byte) 0xa0, 0, 0, 0 }),
|
AbstractStreamingHasherTest.java | 221 return HashCodes.fromBytes(input);
|
/external/guava/guava/src/com/google/common/hash/ |
Hashing.java | 233 return HashCodes.fromBytes(resultBytes); 258 return HashCodes.fromBytes(resultBytes); 289 return HashCodes.fromBytes(bytes);
|
HashCodes.java | 106 static HashCode fromBytes(byte[] bytes) {
|
MessageDigestHashFunction.java | 170 return HashCodes.fromBytes(digest.digest());
|
Murmur3_128HashFunction.java | 151 return HashCodes.fromBytes(bb.array());
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
Util.java | 45 static <T> T fromBytes(byte[] bytes) { 52 Log.w(TAG, "fromBytes(): " + e);
|
CertInstaller.java | 286 (Map<String, byte[]>) Util.fromBytes(bytes);
|
CredentialHelper.java | 128 ArrayList<byte[]> certs = Util.fromBytes(savedStates.getByteArray(CERTS_KEY));
|
/external/guava/guava/src/com/google/common/primitives/ |
Chars.java | 303 return fromBytes(bytes[0], bytes[1]); 314 public static char fromBytes(byte b1, byte b2) {
|
Ints.java | 312 return fromBytes(bytes[0], bytes[1], bytes[2], bytes[3]); 323 public static int fromBytes(byte b1, byte b2, byte b3, byte b4) {
|
Longs.java | 287 return fromBytes(bytes[0], bytes[1], bytes[2], bytes[3], 299 public static long fromBytes(byte b1, byte b2, byte b3, byte b4,
|
Shorts.java | 309 return fromBytes(bytes[0], bytes[1]); 320 public static short fromBytes(byte b1, byte b2) {
|
/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 | 242 @GwtIncompatible("Ints.fromBytes") 244 assertEquals(0x12131415, Ints.fromBytes( 246 assertEquals(0xFFEEDDCC, Ints.fromBytes(
|
LongsTest.java | 219 @GwtIncompatible("Longs.fromBytes") 221 assertEquals(0x1213141516171819L, Longs.fromBytes( 224 assertEquals(0xFFEEDDCCBBAA9988L, Longs.fromBytes(
|
ShortsTest.java | 250 @GwtIncompatible("Shorts.fromBytes") 252 assertEquals((short) 0x2345, Shorts.fromBytes((byte) 0x23, (byte) 0x45)); 253 assertEquals((short) 0xFEDC, Shorts.fromBytes((byte) 0xFE, (byte) 0xDC));
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
Connection.java | 311 RawHeaders responseHeaders = RawHeaders.fromBytes(in);
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpTransport.java | 135 RawHeaders rawHeaders = RawHeaders.fromBytes(socketIn);
|
RawHeaders.java | 304 public static RawHeaders fromBytes(InputStream in) throws IOException {
|
/external/guava/guava/src/com/google/common/net/ |
InetAddresses.java | 400 hextets[i] = Ints.fromBytes( [all...] |
/external/robolectric/lib/main/ |
sqlite-jdbc-3.7.2.jar | |