Searched refs:cdOffset (Results 1 – 1 of 1) sorted by relevance
206 off64_t cdOffset = CentralDirOffset(fd, fileSize); in SignerBlockOffset() local207 if (cdOffset < 0) { in SignerBlockOffset()211 if (cdOffset < kApkSigBlockMinSize || in SignerBlockOffset()212 valueAt<int64_t>(fd, cdOffset - 2 * sizeof(int64_t)) != APK_SIG_BLOCK_MAGIC_LO || in SignerBlockOffset()213 valueAt<int64_t>(fd, cdOffset - sizeof(int64_t)) != APK_SIG_BLOCK_MAGIC_HI) { in SignerBlockOffset()216 int32_t signerSizeInFooter = valueAt<int32_t>(fd, cdOffset - kApkSigBlockFooterSize); in SignerBlockOffset()217 off64_t signerBlockOffset = cdOffset - signerSizeInFooter - sizeof(int64_t); in SignerBlockOffset()