Home
last modified time | relevance | path

Searched refs:hksParam (Results 1 – 3 of 3) sorted by relevance

/base/security/huks/interfaces/kits/napi/src/v8/
Dhuks_napi_common.cpp310 napi_value hksParam = nullptr; in GenerateHksParam() local
311 NAPI_CALL(env, napi_create_object(env, &hksParam)); in GenerateHksParam()
315 NAPI_CALL(env, napi_set_named_property(env, hksParam, HKS_PARAM_PROPERTY_TAG.c_str(), tag)); in GenerateHksParam()
338 NAPI_CALL(env, napi_set_named_property(env, hksParam, HKS_PARAM_PROPERTY_VALUE.c_str(), value)); in GenerateHksParam()
340 return hksParam; in GenerateHksParam()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_native_api_compatibility_test.cpp781 struct HksParam hksParam; variable
782 ASSERT_EQ(sizeof(hksParam.tag) == sizeof(uint32_t), true);
783 ASSERT_EQ(sizeof(hksParam.boolParam) == sizeof(bool), true);
784 ASSERT_EQ(sizeof(hksParam.int32Param) == sizeof(int32_t), true);
785 ASSERT_EQ(sizeof(hksParam.uint32Param) == sizeof(uint32_t), true);
786 ASSERT_EQ(sizeof(hksParam.uint64Param) == sizeof(uint64_t), true);
787 ASSERT_EQ(sizeof(hksParam.blob) == sizeof(struct HksBlob), true);
/base/security/huks/interfaces/kits/napi/src/v9/
Dhuks_napi_common_item.cpp385 napi_value hksParam = nullptr; in GenerateHksParam() local
386 NAPI_CALL(env, napi_create_object(env, &hksParam)); in GenerateHksParam()
390 NAPI_CALL(env, napi_set_named_property(env, hksParam, HKS_PARAM_PROPERTY_TAG.c_str(), tag)); in GenerateHksParam()
413 NAPI_CALL(env, napi_set_named_property(env, hksParam, HKS_PARAM_PROPERTY_VALUE.c_str(), value)); in GenerateHksParam()
415 return hksParam; in GenerateHksParam()