Searched refs:ZipUtil (Results 1 – 13 of 13) sorted by relevance
61 final ZipLong test = ZipUtil.toDosTime(time); in testZipLong()68 ZipUtil.adjustToLong(Integer.MAX_VALUE)); in testAdjustToLong()70 ZipUtil.adjustToLong(Integer.MAX_VALUE + 1)); in testAdjustToLong()72 ZipUtil.adjustToLong(2 * Integer.MAX_VALUE)); in testAdjustToLong()77 final byte[] b1 = ZipUtil.toDosTime(0); in testMinTime()80 final byte[] b2 = ZipUtil.toDosTime(0); // get the same time in testMinTime()86 final byte[] b1 = ZipUtil.toDosTime(160441200000L); // 1.1..1975 in testOutsideCalendar()97 final byte[] b1 = ZipUtil.toDosTime(date - tz.getOffset(date)); in testInsideCalendar()125 final byte[] result = ZipUtil.reverse(bTest[i]); in testReverse()137 assertEquals(1L, ZipUtil.bigToLong(big1)); in testBigToLong()[all …]
25 import static org.apache.commons.compress.archivers.zip.ZipUtil.reverse;26 import static org.apache.commons.compress.archivers.zip.ZipUtil.signedByteToUnsignedInt;27 import static org.apache.commons.compress.archivers.zip.ZipUtil.unsignedIntToSignedByte;97 public long getUID() { return ZipUtil.bigToLong(uid); } in getUID()107 public long getGID() { return ZipUtil.bigToLong(gid); } in getGID()115 this.uid = ZipUtil.longToBig(l); in setUID()124 this.gid = ZipUtil.longToBig(l); in setGID()
65 localData = ZipUtil.copy(data); in setLocalFileDataData()83 return ZipUtil.copy(localData); in getLocalFileDataData()97 centralData = ZipUtil.copy(data); in setCentralDirectoryData()120 return ZipUtil.copy(centralData); in getCentralDirectoryData()
102 localData = ZipUtil.copy(data); in setLocalFileDataData()122 return ZipUtil.copy(localData); in getLocalFileDataData()132 centralData = ZipUtil.copy(data); in setCentralDirectoryData()157 return ZipUtil.copy(centralData); in getCentralDirectoryData()
76 return ZipUtil.copy(localFileData); in getLocalFileDataData()87 ? getLocalFileDataData() : ZipUtil.copy(centralDirectoryData); in getCentralDirectoryData()
31 public abstract class ZipUtil { class158 l = ZipUtil.adjustToLong((int) l); in longToBig()
281 final long time = ZipUtil.dosToJavaTime(ZipLong.getValue(lfhBuf, off)); in getNextZipEntry()318 ZipUtil.setNameAndCommentFromExtraFields(current.entry, fileName, null); in getNextZipEntry()329 …if (ZipUtil.canHandleEntryData(current.entry) && m != ZipMethod.STORED && m != ZipMethod.DEFLATED)… in getNextZipEntry()422 return ZipUtil.canHandleEntryData(ze) in canReadEntryData()444 ZipUtil.checkRequestedFeatures(current.entry); in read()
426 return ZipUtil.canHandleEntryData(ze); in canReadEntryData()482 ZipUtil.checkRequestedFeatures(ze); in getInputStream()682 final long time = ZipUtil.dosToJavaTime(ZipLong.getValue(cfhBuf, off));1067 ZipUtil.setNameAndCommentFromExtraFields(ze, nc.name,
908 && ZipUtil.canHandleEntryData(zae); in canWriteEntryData()925 ZipUtil.checkRequestedFeatures(entry.entry); in write()943 ZipUtil.checkRequestedFeatures(entry.entry); in copyFromZipInputStream()1092 ZipUtil.toDosTime(calendarInstance, ze.getTime(), buf, LFH_TIME_OFFSET); in createLocalFileHeader()1270 ZipUtil.toDosTime(calendarInstance, ze.getTime(), buf, CFH_TIME_OFFSET); in createCentralFileHeader()
535 buf.append(Integer.toBinaryString(ZipUtil.unsignedIntToSignedByte(flags))).append(" "); in toString()
25 import org.apache.commons.compress.archivers.zip.ZipUtil;97 : ZipUtil.dosToJavaTime(0xFFFFFFFFL & localFileHeader.dateTimeModified); in getLastModifiedDate()
META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...