Home
last modified time | relevance | path

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

/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_file.cpp69 head_.offlineCertSize = 0; in DlpFile()
115 (void)memset_s(offlineCert_.data, head_.offlineCertSize, 0, head_.offlineCertSize); in ~DlpFile()
367 …t != (sizeof(struct DlpHeader) + head.certSize + head.contactAccountSize + head.offlineCertSize) || in IsValidDlpHeader()
368 head.txtSize > DLP_MAX_CONTENT_SIZE || head.offlineCertSize > DLP_MAX_CERT_SIZE) { in IsValidDlpHeader()
652 if (head_.offlineCertSize != 0) { in ParseDlpHeaderInRaw()
653 tmpBuf = new (std::nothrow)uint8_t[head_.offlineCertSize]; in ParseDlpHeaderInRaw()
659 if (read(dlpFd_, tmpBuf, head_.offlineCertSize) != (ssize_t)head_.offlineCertSize) { in ParseDlpHeaderInRaw()
666 offlineCert_.size = head_.offlineCertSize; in ParseDlpHeaderInRaw()
786 head_.offlineCertSize = 0; in UpdateCertAndText()
H A Ddlp_file_kits.cpp107 …t != (sizeof(struct DlpHeader) + head.certSize + head.contactAccountSize + head.offlineCertSize) || in IsValidDlpHeader()
108 head.txtSize > DLP_MAX_CONTENT_SIZE || head.offlineCertSize > DLP_MAX_CERT_SIZE) { in IsValidDlpHeader()
/ohos5.0/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/parsedlpheader_fuzzer/
H A Dparsedlpheader_fuzzer.cpp84 .offlineCertSize = 0, in FuzzTest()
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/
H A Ddlp_file.h61 uint32_t offlineCertSize; member
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
H A Ddlp_file_test.cpp598 .offlineCertSize = 0,
748 .offlineCertSize = 0,
781 .offlineCertSize = 0,
816 .offlineCertSize = 0,
851 .offlineCertSize = 1,