Home
last modified time | relevance | path

Searched refs:eocdLength (Results 1 - 3 of 3) sorted by relevance

/developtools/hapsigner/hapsigntool_cpp/zip/src/
H A Dzip_signer.cpp77 int eocdLength = EndOfCentralDirectory::EOCD_LENGTH; in GetZipEndOfCentralDirectory() local
78 m_eOCDOffset = fileSize - eocdLength; in GetZipEndOfCentralDirectory()
81 int ret = FileUtils::ReadFileByOffsetAndLength(input, m_eOCDOffset, eocdLength, retStr); in GetZipEndOfCentralDirectory()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
H A DZip.java109 int eocdLength = EndOfCentralDirectory.EOCD_LENGTH; in getZipEndOfCentralDirectory()
110 eOCDOffset = file.length() - eocdLength; in getZipEndOfCentralDirectory()
111 byte[] bytes = FileUtils.readFileByOffsetAndLength(file, eOCDOffset, eocdLength); in getZipEndOfCentralDirectory()
/developtools/hapsigner/hapsigntool_cpp_test/unittest/zip/
H A Dzip_signer_test.cpp378 int eocdLength = EndOfCentralDirectory::EOCD_LENGTH; in HWTEST_F() local
379 uint64_t eocdOffset = reinterpret_cast<uint64_t>(fileSize - eocdLength); in HWTEST_F()
382 int res = FileUtils::ReadFileByOffsetAndLength(input, eocdOffset, eocdLength, retStr); in HWTEST_F()
502 int eocdLength = eocd->GetEocdLength(); in HWTEST_F() local
506 EXPECT_EQ(initRes && eocd && eocdLength > 0 && cdStartDiskNum != -1 && diskCDNum != -1 && eocdLen != -1, in HWTEST_F()

Completed in 3 milliseconds