Home
last modified time | relevance | path

Searched refs:ZIP_EOCD_SEG_MIN_SIZE (Results 1 - 2 of 2) sorted by relevance

/developtools/hapsigner/hapsigntool_cpp/utils/src/
H A Dhap_signer_block_utils.cpp45 const int32_t HapSignerBlockUtils::ZIP_EOCD_SEG_MIN_SIZE = 22; member in OHOS::SignatureTools::HapSignerBlockUtils
106 if (fileLength < ZIP_EOCD_SEG_MIN_SIZE) { in FindEocdInHap()
111 int32_t searchRange = static_cast<int>(maxCommentSize) + ZIP_EOCD_SEG_MIN_SIZE; in FindEocdInHap()
155 if (searchBufferSize < ZIP_EOCD_SEG_MIN_SIZE) { in FindEocdInSearchBuffer()
161 int32_t calcCurrentOffset = searchBufferSize - ZIP_EOCD_SEG_MIN_SIZE; in FindEocdInSearchBuffer()
167 int32_t expectedCommentLength = searchBufferSize - ZIP_EOCD_SEG_MIN_SIZE - calcCurrentOffset; in FindEocdInSearchBuffer()
/developtools/hapsigner/hapsigntool_cpp/utils/include/
H A Dhap_signer_block_utils.h64 static const int32_t ZIP_EOCD_SEG_MIN_SIZE; member in OHOS::SignatureTools::HapSignerBlockUtils

Completed in 2 milliseconds