Searched refs:pf (Results 1 – 10 of 10) sorted by relevance
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_provision.c | 24 static void ProfInit(ProfileProf *pf) in ProfInit() argument 26 errno_t ret = memset_s(pf, sizeof(ProfileProf), 0, sizeof(ProfileProf)); in ProfInit() 208 static int GetProfIssuerInfo(const cJSON *root, ProfileProf *pf) in GetProfIssuerInfo() argument 210 pf->issuer = GetStringTag(root, "issuer"); in GetProfIssuerInfo() 211 if (pf->issuer == NULL) { in GetProfIssuerInfo() 213 pf->issuer = APPV_MALLOC(len + 1); in GetProfIssuerInfo() 214 if (pf->issuer == NULL) { in GetProfIssuerInfo() 217 errno_t ret = strcpy_s(pf->issuer, len + 1, APP_STORE); in GetProfIssuerInfo() 219 APPV_FREE(pf->issuer); in GetProfIssuerInfo() 260 void ProfFreeData(ProfileProf *pf) in ProfFreeData() argument [all …]
|
D | app_verify.c | 753 …atic int VerifyProfGetContent(int fp, const SignatureInfo *signInfo, int certType, ProfileProf *pf) in VerifyProfGetContent() argument 774 ret = ParseProfile(profBuf, len, pf); in VerifyProfGetContent() 782 ret = VerifyProfileContent(pf); in VerifyProfGetContent() 785 ret = GetAppid(pf); in VerifyProfGetContent() 790 ProfFreeData(pf); in VerifyProfGetContent() 860 static int CheckReleaseAppSign(const CertInfo *binSignCert, const ProfileProf *pf) in CheckReleaseAppSign() argument 863 if (strcmp(pf->appDistType, "app_gallery") == 0) { in CheckReleaseAppSign() 868 if (strlen((char *)pf->bundleInfo.releaseCert) == 0) { in CheckReleaseAppSign() 872 int ret = LoadCertAndCmpDest(pf->bundleInfo.releaseCert, binSignCert); in CheckReleaseAppSign() 881 static int CheckDebugAppSign(CertInfo *binSignCert, const ProfileProf *pf) in CheckDebugAppSign() argument [all …]
|
/base/security/appverify/interfaces/innerkits/appverify_lite/include/ |
D | app_provision.h | 36 int ParseProfile(const char *buf, int len, ProfileProf *pf); 37 void ProfFreeData(ProfileProf *pf); 38 int VerifyProfileContent(const ProfileProf *pf);
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | raw_file_manager.cpp | 63 FILE* pf; member 67 pf(nullptr), buffer(nullptr) {} in RawFile() 75 if (pf != nullptr) { in ~RawFile() 76 fclose(pf); in ~RawFile() 77 pf = nullptr; in ~RawFile() 83 pf = std::fopen(filePath.c_str(), "rb"); in open() 84 return pf != nullptr; in open() 204 std::fseek(result->pf, 0, SEEK_END); in OH_ResourceManager_OpenRawFile() 205 result->length = ftell(result->pf); in OH_ResourceManager_OpenRawFile() 206 std::fseek(result->pf, 0, SEEK_SET); in OH_ResourceManager_OpenRawFile() [all …]
|
D | resource_manager_impl.cpp | 1183 if (rawFile->pf == nullptr) { in GetRawFileDescriptorFromHap() 1187 int fd = fileno(rawFile->pf); in GetRawFileDescriptorFromHap()
|
D | hap_manager.cpp | 591 rawFile->pf = file; in GetFileFd()
|
/base/update/packaging_tools/ |
D | README_zh.md | 74 -pf PARTITION_FILE, --partition_file PARTITION_FILE Variable partition mode, Partition list f…
|
D | README.md | 62 -pf PARTITION_FILE, --partition_file PARTITION_FILE Variable partition mode, which means to p…
|
/base/telephony/cellular_data/test/ |
D | cellular_data_test.cpp | 211 FILE *pf; in GetCmdResult() local 213 if ((pf = popen(strCmd.c_str(), "r")) == nullptr) { in GetCmdResult() 217 while (fgets(buf, sizeof(buf), pf) != nullptr) { in GetCmdResult() 220 pclose(pf); in GetCmdResult()
|
/base/global/resource_management/interfaces/inner_api/include/ |
D | resource_manager.h | 48 FILE *pf; member
|