Home
last modified time | relevance | path

Searched refs:pf (Results 1 - 7 of 7) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dapp_provision.c31 static void ProfInit(ProfileProf *pf) in ProfInit() argument
33 errno_t ret = memset_s(pf, sizeof(ProfileProf), 0, sizeof(ProfileProf)); in ProfInit()
216 static int32_t GetProfIssuerInfo(const cJSON *root, ProfileProf *pf) in GetProfIssuerInfo() argument
218 pf->issuer = GetStringTag(root, "issuer"); in GetProfIssuerInfo()
219 if (pf->issuer == NULL) { in GetProfIssuerInfo()
221 pf->issuer = APPV_MALLOC(len + 1); in GetProfIssuerInfo()
222 if (pf->issuer == NULL) { in GetProfIssuerInfo()
225 errno_t ret = strcpy_s(pf->issuer, len + 1, APP_STORE); in GetProfIssuerInfo()
227 APPV_FREE(pf->issuer); in GetProfIssuerInfo()
268 void ProfFreeData(ProfileProf *pf) in ProfFreeData() argument
286 ParseProfile(const char *buf, int32_t len, ProfileProf *pf) ParseProfile() argument
343 VerifyAppTypeAndDistribution(const ProfileProf *pf) VerifyAppTypeAndDistribution() argument
360 VerifyAppBundleInfo(const ProfileProf *pf) VerifyAppBundleInfo() argument
379 VerifyUdid(const ProfileProf *pf) VerifyUdid() argument
412 VerifyDebugInfo(const ProfileProf *pf) VerifyDebugInfo() argument
429 VerifyProfileContent(const ProfileProf *pf) VerifyProfileContent() argument
[all...]
H A Dapp_verify.c754 static int32_t VerifyProfGetContent(int32_t fp, const SignatureInfo *signInfo, int32_t certType, ProfileProf *pf) in VerifyProfGetContent() argument
775 ret = ParseProfile(profBuf, len, pf); in VerifyProfGetContent()
783 ret = VerifyProfileContent(pf); in VerifyProfGetContent()
786 ret = GetAppid(pf); in VerifyProfGetContent()
791 ProfFreeData(pf); in VerifyProfGetContent()
861 static int32_t CheckReleaseAppSign(const CertInfo *binSignCert, const ProfileProf *pf) in CheckReleaseAppSign() argument
864 if (strcmp(pf->appDistType, "app_gallery") == 0) { in CheckReleaseAppSign()
869 if (strlen((char *)pf->bundleInfo.releaseCert) == 0) { in CheckReleaseAppSign()
873 int32_t ret = LoadCertAndCmpDest(pf->bundleInfo.releaseCert, binSignCert); in CheckReleaseAppSign()
882 static int32_t CheckDebugAppSign(CertInfo *binSignCert, const ProfileProf *pf) in CheckDebugAppSign() argument
904 CheckAppSignCertWithProfile(int32_t appCertType, CertInfo *binSignCert, ProfileProf *pf) CheckAppSignCertWithProfile() argument
1010 VerfiyAppSourceGetProfile(int32_t fp, const SignatureInfo *signInfo, int32_t certType, CertInfo *binSignCert, ProfileProf *pf) VerfiyAppSourceGetProfile() argument
1151 VerifyIntegrity(SignatureInfo *signInfo, int32_t fp, ProfileProf *pf) VerifyIntegrity() argument
[all...]
/base/security/appverify/interfaces/innerkits/appverify_lite/include/
H A Dapp_provision.h38 int32_t ParseProfile(const char *buf, int32_t len, ProfileProf *pf);
39 void ProfFreeData(ProfileProf *pf);
40 int32_t VerifyProfileContent(const ProfileProf *pf);
/base/global/resource_management/frameworks/resmgr/src/
H A Draw_file_manager.cpp65 FILE* pf; member
71 pf(nullptr), buffer(nullptr), resMgr(nullptr), actualOffset(std::make_unique<ActualOffset>()) {} in RawFile()
79 if (pf != nullptr) { in ~RawFile()
80 fclose(pf); in ~RawFile()
81 pf = nullptr; in ~RawFile()
87 pf = std::fopen(filePath.c_str(), "rb"); in open()
88 return pf != nullptr; in open()
202 result->pf = fdopen(zipFd, "r"); in LoadRawFileFromHap()
230 std::fseek(result->pf, 0, SEEK_END); in OH_ResourceManager_OpenRawFile()
231 result->length = ftell(result->pf); in OH_ResourceManager_OpenRawFile()
421 FILE* pf; global() member
[all...]
H A Dtheme_pack_resource.cpp146 FILE* pf = std::fopen(jsonPath.c_str(), "r"); in ParseJson() local
147 if (pf == nullptr) { in ParseJson()
151 std::fseek(pf, 0, SEEK_END); in ParseJson()
152 len = ftell(pf); in ParseJson()
153 std::fseek(pf, 0, SEEK_SET); in ParseJson()
157 if (pf != nullptr) { in ParseJson()
158 fclose(pf); in ParseJson()
159 pf = nullptr; in ParseJson()
163 std::fread(jsonData, len, 1, pf); in ParseJson()
175 if (pf ! in ParseJson()
[all...]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_frame_formatter.cpp101 for (const auto& pf : frames) { in GetFramesStr()
102 ss += GetFrameStr(pf); in GetFramesStr()
/base/telephony/cellular_data/test/
H A Dcellular_data_test.cpp237 FILE *pf; in GetCmdResult() local
239 if ((pf = popen(strCmd.c_str(), "r")) == nullptr) { in GetCmdResult()
243 while (fgets(buf, sizeof(buf), pf) != nullptr) { in GetCmdResult()
246 pclose(pf); in GetCmdResult()

Completed in 10 milliseconds