Home
last modified time | relevance | path

Searched refs:GetEOCDByBytes (Results 1 - 4 of 4) sorted by relevance

/developtools/hapsigner/hapsigntool_cpp/zip/include/
H A Dendof_central_directory.h58 static std::optional<EndOfCentralDirectory*> GetEOCDByBytes(const std::string& bytes);
67 static std::optional<EndOfCentralDirectory*> GetEOCDByBytes(const std::string& bytes, int offset);
/developtools/hapsigner/hapsigntool_cpp/zip/src/
H A Dendof_central_directory.cpp23 std::optional<EndOfCentralDirectory*> EndOfCentralDirectory::GetEOCDByBytes(const std::string& bytes) in GetEOCDByBytes() function in OHOS::SignatureTools::EndOfCentralDirectory
25 return GetEOCDByBytes(bytes, 0); in GetEOCDByBytes()
28 std::optional<EndOfCentralDirectory*> EndOfCentralDirectory::GetEOCDByBytes(const std::string& bytes, int offset) in GetEOCDByBytes() function in OHOS::SignatureTools::EndOfCentralDirectory
H A Dzip_signer.cpp87 std::optional<EndOfCentralDirectory*> eocdByBytes = EndOfCentralDirectory::GetEOCDByBytes(retStr); in GetZipEndOfCentralDirectory()
105 eocdByBytes = EndOfCentralDirectory::GetEOCDByBytes(retStr, start); in GetZipEndOfCentralDirectory()
/developtools/hapsigner/hapsigntool_cpp_test/unittest/zip/
H A Dzip_signer_test.cpp366 * @tc.name: Test GetEOCDByBytes Function
367 * @tc.desc: Test function of EndOfCentralDirectory::GetEOCDByBytes() interface for SUCCESS.
383 std::optional<EndOfCentralDirectory*> eocdByBytes = EndOfCentralDirectory::GetEOCDByBytes(retStr); in HWTEST_F()
388 * @tc.name: Test GetEOCDByBytes Function
389 * @tc.desc: Test function of EndOfCentralDirectory::GetEOCDByBytes() interface for FAIL.
396 * @tc.steps: step1. test GetEOCDByBytes function in HWTEST_F()
400 std::optional<EndOfCentralDirectory*> eocdByBytes = EndOfCentralDirectory::GetEOCDByBytes(str); in HWTEST_F()
405 * @tc.name: Test GetEOCDByBytes Function
406 * @tc.desc: Test function of EndOfCentralDirectory::GetEOCDByBytes() interface for FAIL.
413 * @tc.steps: step1. test GetEOCDByBytes functio in HWTEST_F()
[all...]

Completed in 3 milliseconds