Home
last modified time | relevance | path

Searched refs:byteArray2long (Results 1 – 3 of 3) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/cpio/
DCpioUtilTest.java45 CpioUtil.byteArray2long(new byte[] { (byte) 0xc7, 0x71 }, in oldBinMagicFromByteArrayNotSwapped()
52 CpioUtil.byteArray2long(new byte[] { 0x71, (byte) 0xc7 }, in oldBinMagicFromByteArraySwapped()
78 CpioUtil.byteArray2long(byteArray, true); in testByteArray2longThrowsUnsupportedOperationException()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveInputStream.java238 if (CpioUtil.byteArray2long(twoBytesBuf, false) == MAGIC_OLD_BINARY) { in getNextCPIOEntry()
240 } else if (CpioUtil.byteArray2long(twoBytesBuf, true) in getNextCPIOEntry()
356 return CpioUtil.byteArray2long(tmp, swapHalfWord); in readBinaryLong()
DCpioUtil.java46 static long byteArray2long(final byte[] number, final boolean swapHalfWord) { in byteArray2long() method in CpioUtil