Searched refs:eocdBuf (Results 1 – 3 of 3) sorted by relevance
52 ByteBuffer eocdBuf = eocdAndOffsetInFile.getFirst(); in findZipSections() local54 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in findZipSections()55 long cdStartOffset = ZipUtils.getZipEocdCentralDirectoryOffset(eocdBuf); in findZipSections()62 long cdSizeBytes = ZipUtils.getZipEocdCentralDirectorySizeBytes(eocdBuf); in findZipSections()71 int cdRecordCount = ZipUtils.getZipEocdCentralDirectoryTotalRecordCount(eocdBuf); in findZipSections()78 eocdBuf); in findZipSections()
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()
836 ByteBuffer eocdBuf = ByteBuffer.allocate((int) eocd.size()); in copyWithModifiedCDOffset() local837 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in copyWithModifiedCDOffset()838 eocd.copyTo(0, (int) eocd.size(), eocdBuf); in copyWithModifiedCDOffset()839 eocdBuf.flip(); in copyWithModifiedCDOffset()840 ZipUtils.setZipEocdCentralDirectoryOffset(eocdBuf, centralDirOffsetForDigesting); in copyWithModifiedCDOffset()841 return DataSources.asDataSource(eocdBuf); in copyWithModifiedCDOffset()