Searched refs:eocdBuf (Results 1 – 3 of 3) sorted by relevance
114 ByteBuffer eocdBuf = ByteBuffer.allocate((int) eocd.size()); in generateVerityTreeRootHash() local115 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in generateVerityTreeRootHash()116 eocd.copyTo(0, (int) eocd.size(), eocdBuf); in generateVerityTreeRootHash()117 eocdBuf.flip(); in generateVerityTreeRootHash()118 ZipUtils.setZipEocdCentralDirectoryOffset(eocdBuf, centralDirOffsetForDigesting); in generateVerityTreeRootHash()121 DataSources.asDataSource(eocdBuf))); in generateVerityTreeRootHash()
65 ByteBuffer eocdBuf = eocdAndOffsetInFile.getFirst(); in findZipSections() local67 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in findZipSections()68 long cdStartOffset = ZipUtils.getZipEocdCentralDirectoryOffset(eocdBuf); in findZipSections()75 long cdSizeBytes = ZipUtils.getZipEocdCentralDirectorySizeBytes(eocdBuf); in findZipSections()84 int cdRecordCount = ZipUtils.getZipEocdCentralDirectoryTotalRecordCount(eocdBuf); in findZipSections()91 eocdBuf); in findZipSections()
1040 ByteBuffer eocdBuf = ByteBuffer.allocate((int) eocd.size()); in copyWithModifiedCDOffset() local1041 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in copyWithModifiedCDOffset()1042 eocd.copyTo(0, (int) eocd.size(), eocdBuf); in copyWithModifiedCDOffset()1043 eocdBuf.flip(); in copyWithModifiedCDOffset()1044 ZipUtils.setZipEocdCentralDirectoryOffset(eocdBuf, centralDirOffsetForDigesting); in copyWithModifiedCDOffset()1045 return DataSources.asDataSource(eocdBuf); in copyWithModifiedCDOffset()