Home
last modified time | relevance | path

Searched refs:MAGIC_OLD_BINARY (Results 1 – 4 of 4) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/cpio/
DCpioUtilTest.java31 CpioUtil.long2byteArray(CpioConstants.MAGIC_OLD_BINARY, in oldBinMagic2ByteArrayNotSwapped()
38 CpioUtil.long2byteArray(CpioConstants.MAGIC_OLD_BINARY, in oldBinMagic2ByteArraySwapped()
44 assertEquals(CpioConstants.MAGIC_OLD_BINARY, in oldBinMagicFromByteArrayNotSwapped()
51 assertEquals(CpioConstants.MAGIC_OLD_BINARY, in oldBinMagicFromByteArraySwapped()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioConstants.java38 int MAGIC_OLD_BINARY = 070707; field
DCpioArchiveInputStream.java238 if (CpioUtil.byteArray2long(twoBytesBuf, false) == MAGIC_OLD_BINARY) { in getNextCPIOEntry()
241 == MAGIC_OLD_BINARY) { in getNextCPIOEntry()
DCpioArchiveOutputStream.java268 writeBinaryLong(MAGIC_OLD_BINARY, 2, swapHalfWord); in writeHeader()