Lines Matching refs:reverseBytes
1279 Short.reverseBytes((short)0x1357);
1280 Assert.assertEquals(Short.reverseBytes((short)0x0000), (short)0x0000);
1281 Assert.assertEquals(Short.reverseBytes((short)0xffff), (short)0xffff);
1282 Assert.assertEquals(Short.reverseBytes((short)0x8000), (short)0x0080);
1283 Assert.assertEquals(Short.reverseBytes((short)0x0080), (short)0x8000);
1284 Assert.assertEquals(Short.reverseBytes((short)0x0123), (short)0x2301);
1285 Assert.assertEquals(Short.reverseBytes((short)0x4567), (short)0x6745);
1286 Assert.assertEquals(Short.reverseBytes((short)0x89ab), (short)0xab89);
1287 Assert.assertEquals(Short.reverseBytes((short)0xcdef), (short)0xefcd);
1291 Integer.reverseBytes(0x13579bdf);
1292 Assert.assertEquals(Integer.reverseBytes(0x00000000), 0x00000000);
1293 Assert.assertEquals(Integer.reverseBytes(0xffffffff), 0xffffffff);
1294 Assert.assertEquals(Integer.reverseBytes(0x80000000), 0x00000080);
1295 Assert.assertEquals(Integer.reverseBytes(0x00000080), 0x80000000);
1296 Assert.assertEquals(Integer.reverseBytes(0x01234567), 0x67452301);
1297 Assert.assertEquals(Integer.reverseBytes(0x89abcdef), 0xefcdab89);
1301 Long.reverseBytes(0x13579bdf2468ace0L);
1302 Assert.assertEquals(Long.reverseBytes(0x0000000000000000L), 0x0000000000000000L);
1303 Assert.assertEquals(Long.reverseBytes(0xffffffffffffffffL), 0xffffffffffffffffL);
1304 Assert.assertEquals(Long.reverseBytes(0x8000000000000000L), 0x0000000000000080L);
1305 Assert.assertEquals(Long.reverseBytes(0x0000000000000080L), 0x8000000000000000L);
1306 Assert.assertEquals(Long.reverseBytes(0x0123456789abcdefL), 0xefcdab8967452301L);