Home
last modified time | relevance | path

Searched refs:EOCD_LENGTH (Results 1 - 6 of 6) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
H A DEndOfCentralDirectory.java46 public static final int EOCD_LENGTH = 22; field in EndOfCentralDirectory
115 if (remainingDataLen < EOCD_LENGTH) { in getEOCDByBytes()
138 eocd.setLength(EOCD_LENGTH + eocd.getCommentLength()); in getEOCDByBytes()
167 return EOCD_LENGTH; in getEocdLength()
H A DZip.java104 if (file.length() < EndOfCentralDirectory.EOCD_LENGTH) { in getZipEndOfCentralDirectory()
109 int eocdLength = EndOfCentralDirectory.EOCD_LENGTH; in getZipEndOfCentralDirectory()
118 long eocdMaxLength = Math.min(EndOfCentralDirectory.EOCD_LENGTH + MAX_COMMENT_LENGTH, file.length()); in getZipEndOfCentralDirectory()
/developtools/hapsigner/hapsigntool_cpp/zip/src/
H A Dendof_central_directory.cpp32 if (remainingDataLen < EOCD_LENGTH) { in GetEOCDByBytes()
34 SIGNATURE_TOOLS_LOGE("remainingDataLen is less than EOCD_LENGTH, remainingDataLen: %d, " in GetEOCDByBytes()
35 "EOCD_LENGTH: %d", remainingDataLen, EOCD_LENGTH); in GetEOCDByBytes()
62 eocd->SetLength(EOCD_LENGTH + commentLength); in GetEOCDByBytes()
119 return EOCD_LENGTH; in GetEocdLength()
H A Dzip_signer.cpp71 if (fileSize < EndOfCentralDirectory::EOCD_LENGTH) { in GetZipEndOfCentralDirectory()
77 int eocdLength = EndOfCentralDirectory::EOCD_LENGTH; in GetZipEndOfCentralDirectory()
93 uint64_t eocdMaxLength = std::min(static_cast<uint64_t>(EndOfCentralDirectory::EOCD_LENGTH + MAX_COMMENT_LENGTH), in GetZipEndOfCentralDirectory()
/developtools/hapsigner/hapsigntool_cpp/zip/include/
H A Dendof_central_directory.h47 static constexpr int EOCD_LENGTH = 22; member in OHOS::SignatureTools::EndOfCentralDirectory
/developtools/hapsigner/hapsigntool_cpp_test/unittest/zip/
H A Dzip_signer_test.cpp378 int eocdLength = EndOfCentralDirectory::EOCD_LENGTH; in HWTEST_F()

Completed in 4 milliseconds