Lines Matching refs:reverseBytes
1308 Short.reverseBytes((short)0x1357);
1309 Assert.assertEquals(Short.reverseBytes((short)0x0000), (short)0x0000);
1310 Assert.assertEquals(Short.reverseBytes((short)0xffff), (short)0xffff);
1311 Assert.assertEquals(Short.reverseBytes((short)0x8000), (short)0x0080);
1312 Assert.assertEquals(Short.reverseBytes((short)0x0080), (short)0x8000);
1313 Assert.assertEquals(Short.reverseBytes((short)0x0123), (short)0x2301);
1314 Assert.assertEquals(Short.reverseBytes((short)0x4567), (short)0x6745);
1315 Assert.assertEquals(Short.reverseBytes((short)0x89ab), (short)0xab89);
1316 Assert.assertEquals(Short.reverseBytes((short)0xcdef), (short)0xefcd);
1320 Integer.reverseBytes(0x13579bdf);
1321 Assert.assertEquals(Integer.reverseBytes(0x00000000), 0x00000000);
1322 Assert.assertEquals(Integer.reverseBytes(0xffffffff), 0xffffffff);
1323 Assert.assertEquals(Integer.reverseBytes(0x80000000), 0x00000080);
1324 Assert.assertEquals(Integer.reverseBytes(0x00000080), 0x80000000);
1325 Assert.assertEquals(Integer.reverseBytes(0x01234567), 0x67452301);
1326 Assert.assertEquals(Integer.reverseBytes(0x89abcdef), 0xefcdab89);
1330 Long.reverseBytes(0x13579bdf2468ace0L);
1331 Assert.assertEquals(Long.reverseBytes(0x0000000000000000L), 0x0000000000000000L);
1332 Assert.assertEquals(Long.reverseBytes(0xffffffffffffffffL), 0xffffffffffffffffL);
1333 Assert.assertEquals(Long.reverseBytes(0x8000000000000000L), 0x0000000000000080L);
1334 Assert.assertEquals(Long.reverseBytes(0x0000000000000080L), 0x8000000000000000L);
1335 Assert.assertEquals(Long.reverseBytes(0x0123456789abcdefL), 0xefcdab8967452301L);