/base/security/certificate_framework/test/unittest/cf_sdk_test/src/ |
D | cf_extension_test.cpp | 77 if (resultTypeParam->int32Param != type) { in CheckAndGetParam() 168 return (resultParam->int32Param == g_expectPathLen); in CompareCheckResult() 209 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_ITEM }, 210 { .tag = CF_TAG_PARAM0_INT32, .int32Param = CF_ITEM_ENCODED }, 224 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_OIDS }, 225 { .tag = CF_TAG_PARAM0_INT32, .int32Param = CF_EXT_TYPE_ALL_OIDS }, 239 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_OIDS }, 240 { .tag = CF_TAG_PARAM0_INT32, .int32Param = CF_EXT_TYPE_CRITICAL_OIDS }, 254 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_OIDS }, 255 { .tag = CF_TAG_PARAM0_INT32, .int32Param = CF_EXT_TYPE_UNCRITICAL_OIDS }, [all …]
|
D | cf_cert_test.cpp | 83 if (resultTypeParam->int32Param != CF_TAG_TYPE_BYTES) { in CompareResult() 118 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_CERT_ITEM }, in CertTest() 119 { .tag = CF_TAG_PARAM0_INT32, .int32Param = id }, in CertTest() 195 { .tag = CF_TAG_CHECK_TYPE, .int32Param = 0 }, /* reserve test */ 497 { .tag = CF_TAG_CHECK_TYPE, .int32Param = CF_CHECK_TYPE_EXT_CA }, 514 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_ITEM }, 531 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_CERT_ITEM }, 548 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_CERT_ITEM }, 549 { .tag = CF_TAG_PARAM0_INT32, .int32Param = CF_ITEM_INVALID },
|
/base/security/certificate_framework/test/fuzztest/cfgetandcheck_fuzzer/ |
D | cfgetandcheck_fuzzer.cpp | 73 params[i].int32Param = *reinterpret_cast<int32_t *>(data + offset); in TestObjectTypeFunc1() 88 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_ITEM }, in TestObjectTypeFunc2() 89 { .tag = CF_TAG_PARAM0_INT32, .int32Param = *reinterpret_cast<int32_t *>(data) }, in TestObjectTypeFunc2() 102 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_OIDS }, in TestObjectTypeFunc3() 103 { .tag = CF_TAG_PARAM0_INT32, .int32Param = *reinterpret_cast<int32_t *>(data) }, in TestObjectTypeFunc3() 118 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_EXT_ENTRY }, in TestObjectTypeFunc4() 119 { .tag = CF_TAG_PARAM0_INT32, .int32Param = *reinterpret_cast<int32_t *>(data) }, in TestObjectTypeFunc4() 133 { .tag = CF_TAG_GET_TYPE, .int32Param = CF_GET_TYPE_CERT_ITEM }, in TestObjectTypeFunc5() 134 { .tag = CF_TAG_PARAM0_INT32, .int32Param = *reinterpret_cast<int32_t *>(data) }, in TestObjectTypeFunc5() 147 { .tag = CF_TAG_CHECK_TYPE, .int32Param = *reinterpret_cast<int32_t *>(data) }, in TestObjectTypeFunc6()
|
/base/security/certificate_framework/frameworks/core/extension/src/ |
D | cf_object_extension.c | 79 ret = obj->func.adapterGetItem(obj->adapterRes, (CfItemId)tmpParam->int32Param, &itemRes); in CfExtGetItem() 86 { .tag = CF_TAG_RESULT_TYPE, .int32Param = CF_TAG_TYPE_BYTES }, in CfExtGetItem() 104 …ret = obj->func.adapterGetOids(obj->adapterRes, (CfExtensionOidType)oidTypeParam->int32Param, &oid… in CfExtGetOids() 132 … ret = obj->func.adapterGetEntry(obj->adapterRes, (CfExtensionEntryType)entryTypeParam->int32Param, in CfExtGetEntry() 140 { .tag = CF_TAG_RESULT_TYPE, .int32Param = CF_TAG_TYPE_BYTES }, in CfExtGetEntry() 168 switch (tmpParam->int32Param) { in CfExtensionGet() 176 CF_LOG_E("extension get type invalid, type = %d", tmpParam->int32Param); in CfExtensionGet() 201 if (tmpParam->int32Param == CF_CHECK_TYPE_EXT_CA) { in CfExtensionCheck() 210 { .tag = CF_TAG_RESULT_TYPE, .int32Param = CF_TAG_TYPE_INT }, in CfExtensionCheck() 211 { .tag = CF_TAG_RESULT_INT, .int32Param = pathLen }, in CfExtensionCheck() [all …]
|
/base/security/certificate_framework/frameworks/core/cert/src/ |
D | cf_object_cert.c | 78 CF_LOG_I("cert get type = 0x%x", tmpParam->int32Param); in CfCertGetItem() 80 ret = obj->func.adapterGetItem(obj->adapterRes, (CfItemId)tmpParam->int32Param, &itemValue); in CfCertGetItem() 87 { .tag = CF_TAG_RESULT_TYPE, .int32Param = CF_TAG_TYPE_BYTES }, in CfCertGetItem() 115 switch (tmpParam->int32Param) { in CfCertGet() 119 CF_LOG_E("cert get type invalid, type = %d", tmpParam->int32Param); in CfCertGet()
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
D | napi_object.cpp | 149 napi_status status = napi_get_value_int32(env, object, ¶m.int32Param); in GetInputNumber() 228 param.int32Param = typeValue; in ConstructTypeParams() 231 param.int32Param = typeValue; in ConstructTypeParams() 302 CfParam paramExtEncoded = { .tag = CF_TAG_PARAM0_INT32, .int32Param = CF_ITEM_ENCODED }; in GetInParamSet() 337 if (resultTypeParam->int32Param != (resultType & CF_TAG_TYPE_MASK)) { in CheckResultType() 338 CF_LOG_E("result type[0x%x] is not [0x%x].", resultTypeParam->int32Param, resultType); in CheckResultType() 374 napi_create_int32(env, resultParam->int32Param, &result); in ConvertToNapiValue()
|
D | napi_common.cpp | 113 if (resultTypeParam->int32Param != targetType) { in CheckOutParamType()
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_pbkdf2_derive_part2_test.cpp | 97 .int32Param = DERIVE_ITERATION 138 .int32Param = DERIVE_ITERATION 177 .int32Param = DERIVE_ITERATION 218 .int32Param = DERIVE_ITERATION 257 .int32Param = DERIVE_ITERATION 297 .int32Param = DERIVE_ITERATION 337 .int32Param = DERIVE_ITERATION 376 .int32Param = DERIVE_ITERATION 416 .int32Param = DERIVE_ITERATION 456 .int32Param = DERIVE_ITERATION [all …]
|
D | hks_pbkdf2_derive_part1_test.cpp | 93 .int32Param = DERIVE_ITERATION 156 .int32Param = DERIVE_ITERATION 219 .int32Param = DERIVE_ITERATION 283 .int32Param = DERIVE_ITERATION 346 .int32Param = DERIVE_ITERATION 410 .int32Param = DERIVE_ITERATION 473 .int32Param = DERIVE_ITERATION 537 .int32Param = DERIVE_ITERATION 601 .int32Param = DERIVE_ITERATION
|
D | hks_access_control_derive_test.cpp | 134 { .tag = HKS_TAG_ITERATION, .int32Param = DERIVE_ITERATION },
|
/base/security/certificate_framework/test/unittest/common/src/ |
D | cf_test_sdk_common.cpp | 131 int32_t type = param->int32Param; in GetOutValue() 137 std::cout << "value: " << paramOut->int32Param << std::endl; in GetOutValue()
|
/base/security/certificate_framework/frameworks/core/param/src/ |
D | cf_param_parse.c | 63 CfParam typeParam = { .tag = CF_TAG_RESULT_TYPE, .int32Param = CF_TAG_TYPE_BYTES }; in CfConstructArrayParamSetOut()
|
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/os_dependency/idl/ipc/src/ |
D | huks_ipc_serialization_test.cpp | 141 struct HksParam param = { .tag = HKS_TAG_KEY_AUTH_RESULT, .int32Param = 0 }; 143 struct HksParamOut outParam = { .tag = HKS_TAG_KEY_AUTH_RESULT, .int32Param = &outParamInt }; 150 ASSERT_TRUE(*(outParam.int32Param) == 0);
|
/base/security/certificate_framework/interfaces/innerkits/include/ |
D | cf_type.h | 119 int32_t int32Param; member
|
/base/security/huks/frameworks/huks_standard/main/common/include/ |
D | hks_type_inner.h | 94 int32_t *int32Param; member
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/ |
D | cm_type.h | 302 int32_t int32Param; member 313 int32_t *int32Param; member
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/ |
D | cm_ipc_service_serialization.c | 63 *(outParams->int32Param) = param->int32Param; in GetNormalParam()
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_param.c | 380 … return (baseParam->int32Param == param->int32Param) ? HKS_SUCCESS : HKS_ERROR_INVALID_ARGUMENT; in HksCheckParamMatch()
|
/base/security/huks/interfaces/kits/c/include/ |
D | native_huks_type.h | 687 int32_t int32Param; member
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/ |
D | hks_cross_test_common.h | 263 .int32Param = 1000
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/ |
D | hks_ipc_serialization.c | 455 *(outParams->int32Param) = param->int32Param; in GetNormalParam()
|
/base/security/huks/interfaces/kits/napi/src/v8/ |
D | huks_napi_common.cpp | 122 NAPI_CALL(env, napi_get_value_int32(env, value, ¶m.int32Param)); in GetHksParam() 320 NAPI_CALL(env, napi_create_int32(env, param.int32Param, &value)); in GenerateHksParam()
|
/base/security/huks/interfaces/kits/liteapi/src/ |
D | hks_lite_api_common.cpp | 60 outParam->int32Param = paramValue; in CheckIsNumberAndAssignIntParam()
|
/base/security/huks/interfaces/kits/napi/src/v9/ |
D | huks_napi_common_item.cpp | 201 NAPI_CALL(env, napi_get_value_int32(env, value, ¶m.int32Param)); in GetHksParam() 395 NAPI_CALL(env, napi_create_int32(env, param.int32Param, &value)); in GenerateHksParam()
|
/base/security/huks/interfaces/inner_api/huks_standard/main/include/ |
D | hks_type.h | 648 int32_t int32Param; member
|