Home
last modified time | relevance | path

Searched refs:paramCnt (Results 1 – 21 of 21) sorted by relevance

/base/security/certificate_framework/frameworks/core/param/src/
Dcf_param.c171 uint32_t paramCnt) in CheckBeforeAddParams() argument
174 … (paramCnt > CF_DEFAULT_PARAM_CNT) || ((paramSet->paramsCnt + paramCnt) > CF_DEFAULT_PARAM_CNT)) { in CheckBeforeAddParams()
179 for (uint32_t i = 0; i < paramCnt; i++) { in CheckBeforeAddParams()
189 int32_t CfAddParams(CfParamSet *paramSet, const CfParam *params, uint32_t paramCnt) in CfAddParams() argument
191 int32_t ret = CheckBeforeAddParams(paramSet, params, paramCnt); in CfAddParams()
196 for (uint32_t i = 0; i < paramCnt; i++) { in CfAddParams()
/base/security/certificate_manager/test/fuzz_test/fuzz_test_common/src/
Dcm_fuzz_test_common.cpp106 uint32_t paramCnt; member
264 uint32_t paramCnt = 0; in ConstructParamSet() local
267 (void)memcpy_s(params, (sizeof(struct CmParam) * g_codeParams[i].paramCnt), in ConstructParamSet()
268 g_codeParams[i].params, (sizeof(struct CmParam) * g_codeParams[i].paramCnt)); in ConstructParamSet()
269 paramCnt = g_codeParams[i].paramCnt; in ConstructParamSet()
274 for (uint32_t i = 0; i < paramCnt; ++i) { in ConstructParamSet()
298 if (CmParamsToParamSet(params, paramCnt, paramSetOut) != CM_SUCCESS) { in ConstructParamSet()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/
Dcm_param.c233 uint32_t paramCnt) in CheckBeforeAddParams() argument
236 … (paramCnt > CM_DEFAULT_PARAM_CNT) || ((paramSet->paramsCnt + paramCnt) > CM_DEFAULT_PARAM_CNT)) { in CheckBeforeAddParams()
241 for (uint32_t i = 0; i < paramCnt; i++) { in CheckBeforeAddParams()
251 int32_t CmAddParams(struct CmParamSet *paramSet, const struct CmParam *params, uint32_t paramCnt) in CmAddParams() argument
253 int32_t ret = CheckBeforeAddParams(paramSet, params, paramCnt); in CmAddParams()
258 for (uint32_t i = 0; i < paramCnt; i++) { in CmAddParams()
/base/security/device_auth/frameworks/src/standard/
Dipc_dev_auth_proxy.cpp73 paramCnt++; in EncodeCallRequest()
99 LOGI("method id %d, param num %d, data length %d", methodId, paramCnt, dataLen); in FinalCallRequest()
102 !dataParcel.WriteInt32(paramCnt)) { in FinalCallRequest()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_param.c172 uint32_t paramCnt) in CheckBeforeAddParams() argument
175 …(paramCnt > HKS_DEFAULT_PARAM_CNT) || (paramSet->paramsCnt > (HKS_DEFAULT_PARAM_CNT - paramCnt))) { in CheckBeforeAddParams()
180 for (uint32_t i = 0; i < paramCnt; i++) { in CheckBeforeAddParams()
239 const struct HksParam *params, uint32_t paramCnt) in HksAddParams() argument
241 int32_t ret = CheckBeforeAddParams(paramSet, params, paramCnt); in HksAddParams()
244 for (uint32_t i = 0; i < paramCnt; i++) { in HksAddParams()
Dhks_crypto_adapter.c232 static int32_t BuildParamSetOut(const struct HksParam *params, uint32_t paramCnt, struct HksParamSe… in BuildParamSetOut() argument
240 ret = HksAddParams(tmpParamSetOut, params, paramCnt); in BuildParamSetOut()
/base/security/huks/interfaces/kits/c/src/
Dnative_huks_param.c34 const struct OH_Huks_Param *params, uint32_t paramCnt) in OH_Huks_AddParams() argument
37 (const struct HksParam *) params, paramCnt); in OH_Huks_AddParams()
/base/security/device_auth/frameworks/src/lite/
Dipc_dev_auth_proxy.c60 dataCtx->paramCnt++; in EncodeCallRequest()
76 methodId, dataCtx->paramCnt, dataLen, ioPtr->flag, dataCtx->ioBuffOffset); in FinalCallRequest()
80 WriteInt32(ioPtr, dataCtx->paramCnt); in FinalCallRequest()
/base/security/certificate_framework/interfaces/innerkits/include/
Dcf_param.h34 int32_t CfAddParams(CfParamSet *paramSet, const CfParam *params, uint32_t paramCnt);
/base/security/device_auth/frameworks/inc/lite/
Dipc_dev_auth_proxy.h32 int32_t paramCnt; member
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/
Dcm_param.h43 int32_t CmAddParams(struct CmParamSet *paramSet, const struct CmParam *params, uint32_t paramCnt);
/base/security/huks/interfaces/kits/c/include/
Dnative_huks_param.h72 const struct OH_Huks_Param *params, uint32_t paramCnt);
/base/security/device_auth/frameworks/inc/standard/
Dipc_dev_auth_proxy.h51 int32_t paramCnt = 0; variable
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_param.h55 const struct HksParam *params, uint32_t paramCnt);
/base/hiviewdfx/hiview/base/event_raw/decoded/
Ddecoded_event.cpp300 auto paramCnt = static_cast<size_t>(*(reinterpret_cast<int32_t*>(rawData_ + pos_))); in ParseCustomizedParams() local
301 HiLog::Debug(LABEL, "paramCnt is : %{public}zu.", paramCnt); in ParseCustomizedParams()
303 while (paramCnt > 0) { in ParseCustomizedParams()
312 --paramCnt; in ParseCustomizedParams()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/
Draw_data_builder.cpp76 int32_t paramCnt = static_cast<int32_t>(allParams_.size()); in Build() local
77 if (!rawData->Append(reinterpret_cast<uint8_t*>(&paramCnt), sizeof(int32_t))) { in Build()
/base/security/huks/interfaces/kits/liteapi/src/
Dhks_lite_api_common.cpp201 uint32_t paramCnt = JSI::GetArrayLength(paramSetValue); in HksParseParamsToVector() local
202 if (paramCnt == 0) { in HksParseParamsToVector()
205 for (uint32_t i = 0; i < paramCnt; ++i) { in HksParseParamsToVector()
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
Dhks_secure_access_test.cpp62 …dParamSetWithParam(struct HksParamSet **paramSet, const struct HksParam *params, uint32_t paramCnt, in BuildParamSetWithParam() argument
87 ret = HksAddParams(*paramSet, params, paramCnt); in BuildParamSetWithParam()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_cross_test_common.cpp23 const uint32_t paramCnt, struct HksParamSet *genParamSet) in HksCrossTestGenerateKey() argument
25 if (InitParamSet(&genParamSet, genParams, paramCnt) != HKS_SUCCESS) { in HksCrossTestGenerateKey()
/base/hiviewdfx/hiview/base/event_raw/encoded/
Draw_data_builder.cpp95 int32_t paramCnt = static_cast<int32_t>(allParams_.size()); in Build() local
96 if (!rawData->Append(reinterpret_cast<uint8_t*>(&paramCnt), sizeof(int32_t))) { in Build()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_cross_test_common.h41 const uint32_t paramCnt, struct HksParamSet *genParamSet);