Home
last modified time | relevance | path

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

/system/core/adb/client/
Dincremental_utils.cpp192 off64_t cdOffset = CentralDirOffset(fd, fileSize); in SignerBlockOffset() local
193 if (cdOffset < 0) { in SignerBlockOffset()
197 if (cdOffset < kApkSigBlockMinSize || in SignerBlockOffset()
198 valueAt<int64_t>(fd, cdOffset - 2 * sizeof(int64_t)) != APK_SIG_BLOCK_MAGIC_LO || in SignerBlockOffset()
199 valueAt<int64_t>(fd, cdOffset - sizeof(int64_t)) != APK_SIG_BLOCK_MAGIC_HI) { in SignerBlockOffset()
202 int32_t signerSizeInFooter = valueAt<int32_t>(fd, cdOffset - kApkSigBlockFooterSize); in SignerBlockOffset()
203 off64_t signerBlockOffset = cdOffset - signerSizeInFooter - sizeof(int64_t); in SignerBlockOffset()