/base/startup/init/services/begetctl/ |
D | misc_daemon.cpp | 97 uint32_t magic = 0; in WriteLogo() local 98 if (read(fd, &magic, sizeof(uint32_t)) != sizeof(uint32_t)) { in WriteLogo() 103 if (magic == LOGO_MAGIC) { in WriteLogo() 109 magic = LOGO_MAGIC; in WriteLogo() 111 if (write(fd, &magic, sizeof(magic)) != sizeof(magic)) { in WriteLogo() 170 uint32_t magic = 0; in WriteLogoToMisc() local 172 if (read(fd1, &magic, sizeof(uint32_t)) != sizeof(uint32_t)) { in WriteLogoToMisc()
|
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
D | hap_signing_block_utils_test.cpp | 73 long long magic = HapSigningBlockUtils::HAP_SIG_BLOCK_MAGIC_LOW_OLD; in CreatTestZipFile() local 74 hapFile.write(reinterpret_cast<char*>(&magic), sizeof(magic)); in CreatTestZipFile() 75 magic = HapSigningBlockUtils::HAP_SIG_BLOCK_MAGIC_HIGH_OLD; in CreatTestZipFile() 76 hapFile.write(reinterpret_cast<char*>(&magic), sizeof(magic)); in CreatTestZipFile() 84 hapFile.write(reinterpret_cast<char*>(&magic), sizeof(magic)); in CreatTestZipFile() 97 sizeof(centralDirOffset) + sizeof(magic) + sizeof(eocdCommentLen); in CreatTestZipFile()
|
/base/startup/hvb/libhvb/include/ |
D | hvb_footer.h | 34 uint8_t magic[HVB_FOOTER_MAGIC_LEN]; member
|
D | hvb_rvt.h | 52 uint8_t magic[RVT_MAGIC_LEN]; member
|
D | hvb_cert.h | 73 uint8_t magic[HVB_MAGIC_LEN]; member
|
/base/startup/hvb/libhvb/src/footer/ |
D | hvb_footer.c | 32 if (hvb_memcmp(footer->magic, HVB_FOOTER_MAGIC, sizeof(footer->magic)) != 0) { in _footer_parser()
|
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/parsedlpheader_fuzzer/ |
D | parsedlpheader_fuzzer.cpp | 62 .magic = DLP_FILE_MAGIC, in FuzzTest()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/include/ |
D | app_centraldirectory.h | 61 int32_t magic; member
|
/base/security/code_signature/utils/src/ |
D | fsverity_utils_helper.cpp | 59 if (memcpy_s(ret->magic, FSVERITY_DIGEST_MAGIC_LENGTH, FSVERITY_DIGEST_MAGIC, in FormatDigest()
|
/base/update/updater/services/package/pkg_package/ |
D | pkg_gzipfile.h | 26 uint16_t magic = 0; member
|
D | pkg_gzipfile.cpp | 68 header->magic = GZIP_MAGIC; in GetUpGradeCompInfo() 376 if (header->magic != GZIP_MAGIC) { in LoadPackage()
|
D | pkg_zipfile.cpp | 202 uint32_t magic = 0; in LoadPackage() local 213 magic = ReadLE32(buffer.buffer); in LoadPackage() 214 if (magic != END_CENTRAL_SIGNATURE) { // 按签名处理 in LoadPackage()
|
/base/update/sys_installer/services/module_update/util/src/ |
D | module_file.cpp | 59 const char *magic; member 72 if (memcmp(buf, fs.magic, fs.len) == 0) { in RetrieveFsType()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/ |
D | dlp_file_test.cpp | 505 .magic = DLP_FILE_MAGIC, 521 header.magic = 0; 523 header.magic = DLP_FILE_MAGIC; 601 .magic = DLP_FILE_MAGIC, 628 .magic = DLP_FILE_MAGIC, 655 .magic = DLP_FILE_MAGIC, 688 .magic = DLP_FILE_MAGIC, 723 .magic = DLP_FILE_MAGIC, 758 .magic = DLP_FILE_MAGIC,
|
D | dlp_file_manager_test.cpp | 204 .magic = DLP_FILE_MAGIC, 241 .magic = DLP_FILE_MAGIC, 283 .magic = DLP_FILE_MAGIC,
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/ |
D | dlp_file.h | 50 uint32_t magic; member
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
D | dlp_file_kits.cpp | 109 if (head.magic != DLP_FILE_MAGIC || head.certSize == 0 || head.certSize > DLP_MAX_CERT_SIZE || in IsValidDlpHeader()
|
D | dlp_file.cpp | 43 head_.magic = DLP_FILE_MAGIC; in DlpFile() 306 if (head.magic != DLP_FILE_MAGIC || head.certSize == 0 || head.certSize > DLP_MAX_CERT_SIZE || in IsValidDlpHeader()
|
/base/startup/hvb/tools/ |
D | hvbtool.py | 79 (self.magic, self.certoffset, self.certsize, self.imagesize, 81 if self.magic != self.FOOTERMAGIC: 89 msg += "\tMaigc: {}\n".format((self.magic).decode()) 328 (magic, major_version, minor_version, file_hdr_sz, 331 if magic != self.SIMAGE_MAGIC: 1022 magic, verity_num = struct.unpack('4sI', header) 1025 if magic != self.RVT_MAGIC:
|
/base/update/updater/services/diffpatch/diff/ |
D | image_diff.cpp | 503 int32_t magic = (method_ == PKG_COMPRESS_METHOD_LZ4_BLOCK) ? LZ4B_MAGIC : LZ4S_MAGIC; in WriteHeader() local 505 WriteToFile<int32_t>(patchFile, magic, sizeof(int32_t)); in WriteHeader()
|