Searched refs:eocdBuf (Results 1 – 3 of 3) sorted by relevance
72 ByteBuffer eocdBuf = ByteBuffer.allocate((int) eocd.size()); in generateVerityTreeRootHash() local73 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in generateVerityTreeRootHash()74 eocd.copyTo(0, (int) eocd.size(), eocdBuf); in generateVerityTreeRootHash()75 eocdBuf.flip(); in generateVerityTreeRootHash()76 ZipUtils.setZipEocdCentralDirectoryOffset(eocdBuf, centralDirOffsetForDigesting); in generateVerityTreeRootHash()79 DataSources.asDataSource(eocdBuf))); in generateVerityTreeRootHash()
60 ByteBuffer eocdBuf = eocdAndOffsetInFile.getFirst(); in findZipSections() local62 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in findZipSections()63 long cdStartOffset = ZipUtils.getZipEocdCentralDirectoryOffset(eocdBuf); in findZipSections()70 long cdSizeBytes = ZipUtils.getZipEocdCentralDirectorySizeBytes(eocdBuf); in findZipSections()79 int cdRecordCount = ZipUtils.getZipEocdCentralDirectoryTotalRecordCount(eocdBuf); in findZipSections()86 eocdBuf); in findZipSections()
977 ByteBuffer eocdBuf = ByteBuffer.allocate((int) eocd.size()); in copyWithModifiedCDOffset() local978 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in copyWithModifiedCDOffset()979 eocd.copyTo(0, (int) eocd.size(), eocdBuf); in copyWithModifiedCDOffset()980 eocdBuf.flip(); in copyWithModifiedCDOffset()981 ZipUtils.setZipEocdCentralDirectoryOffset(eocdBuf, centralDirOffsetForDigesting); in copyWithModifiedCDOffset()982 return DataSources.asDataSource(eocdBuf); in copyWithModifiedCDOffset()