Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dincremental_utils.cpp206 off64_t cdOffset = CentralDirOffset(fd, fileSize); in SignerBlockOffset() local
207 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()