Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 372) sorted by relevance

12345678910>>...15

/base/update/updater/test/unittest/script/script_instruction/
Dbasic_instruction_unittest.cpp78 UScriptInstructionContext context {}; in TestBasicInstructionIsSubString01() local
89 UScriptInstructionContext context {}; in TestBasicInstructionIsSubString01() local
103 UScriptInstructionContext context {}; in TestBasicInstructionIsSubString02() local
112 UScriptInstructionContext context {}; in TestBasicInstructionIsSubString02() local
123 UScriptInstructionContext context {}; in TestBasicInstructionStdout() local
146 UScriptInstructionContext context {}; in TestBasicInstructionConcat() local
173 UScriptInstructionContext context {}; in TestBasicInstructionConcat() local
196 UScriptInstructionContext context {}; in TestBasicInstructionAbort() local
201 UScriptInstructionContext context {}; in TestBasicInstructionAbort() local
207 UScriptInstructionContext context {}; in TestBasicInstructionAbort() local
[all …]
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_user_trusted_cert.cpp50 …UserCertAsyncContext context = static_cast<UserCertAsyncContext>(CmMalloc(sizeof(UserCertAsyncCont… in InitUserCertAsyncContext() local
57 static void FreeUserCertAsyncContext(napi_env env, UserCertAsyncContext &context) in FreeUserCertAsyncContext()
70 static int32_t GetUserCertData(napi_env env, napi_value object, UserCertAsyncContext context) in GetUserCertData()
88 static int32_t GetCertAliasData(napi_env env, napi_value object, UserCertAsyncContext context) in GetCertAliasData()
99 static napi_value ParseCertInfo(napi_env env, napi_value object, UserCertAsyncContext context) in ParseCertInfo()
135 …lue ParseInstallUserCertParams(napi_env env, napi_callback_info info, UserCertAsyncContext context) in ParseInstallUserCertParams()
169 …e ParseUninstallUserCertParams(napi_env env, napi_callback_info info, UserCertAsyncContext context) in ParseUninstallUserCertParams()
203 …arseUninstallAllUserCertParams(napi_env env, napi_callback_info info, UserCertAsyncContext context) in ParseUninstallAllUserCertParams()
231 UserCertAsyncContext context = static_cast<UserCertAsyncContext>(data); in InstallUserCertExecute() local
267 UserCertAsyncContext context = static_cast<UserCertAsyncContext>(data); in InstallUserCertComplete() local
[all …]
Dcm_napi_grant.cpp52 … GrantAsyncContext context = static_cast<GrantAsyncContext>(CmMalloc(sizeof(GrantAsyncContextT))); in InitGrantAsyncContext() local
59 static void FreeGrantAsyncContext(napi_env env, GrantAsyncContext &context) in FreeGrantAsyncContext()
94 …ic napi_value ParseGrantUidParams(napi_env env, napi_callback_info info, GrantAsyncContext context) in ParseGrantUidParams()
135 …c napi_value ParseRemoveUidParams(napi_env env, napi_callback_info info, GrantAsyncContext context) in ParseRemoveUidParams()
140 …ic napi_value ParseIsAuthedParams(napi_env env, napi_callback_info info, GrantAsyncContext context) in ParseIsAuthedParams()
174 … napi_value ParseGetUidListParams(napi_env env, napi_callback_info info, GrantAsyncContext context) in ParseGetUidListParams()
181 GrantAsyncContext context = static_cast<GrantAsyncContext>(data); in GrantUidExecute() local
217 GrantAsyncContext context = static_cast<GrantAsyncContext>(data); in GrantUidComplete() local
237 GrantAsyncContext context = static_cast<GrantAsyncContext>(data); in RemoveUidExecute() local
243 GrantAsyncContext context = static_cast<GrantAsyncContext>(data); in RemoveOrIsAuthedComplete() local
[all …]
Dcm_napi_get_app_cert_list_common.cpp35 GetAppCertListAsyncContext context = in CreateGetAppCertListAsyncContext() local
43 void DeleteGetAppCertListAsyncContext(napi_env env, GetAppCertListAsyncContext &context) in DeleteGetAppCertListAsyncContext()
60 napi_env env, napi_callback_info info, GetAppCertListAsyncContext context) in GetAppCertListParseParams()
85 napi_value GetAppCertListWriteResult(napi_env env, GetAppCertListAsyncContext context) in GetAppCertListWriteResult()
124 GetAppCertListAsyncContext context = static_cast<GetAppCertListAsyncContext>(data); in GetAppCertListAsyncWork() local
133 GetAppCertListAsyncContext context = static_cast<GetAppCertListAsyncContext>(data); in GetAppCertListAsyncWork() local
166 GetAppCertListAsyncContext context = CreateGetAppCertListAsyncContext(); in CMNapiGetAppCertListCommon() local
Dcm_napi_get_app_cert_info_common.cpp35 GetAppCertInfoAsyncContext context = in CreateGetAppCertInfoAsyncContext() local
43 void DeleteGetAppCertInfoAsyncContext(napi_env env, GetAppCertInfoAsyncContext &context) in DeleteGetAppCertInfoAsyncContext()
64 napi_env env, napi_callback_info info, GetAppCertInfoAsyncContext context) in GetAppCertInfoParseParams()
97 napi_value GetAppCertInfoWriteResult(napi_env env, GetAppCertInfoAsyncContext context) in GetAppCertInfoWriteResult()
134 GetAppCertInfoAsyncContext context = static_cast<GetAppCertInfoAsyncContext>(data); in GetAppCertInfoAsyncWork() local
144 GetAppCertInfoAsyncContext context = static_cast<GetAppCertInfoAsyncContext>(data); in GetAppCertInfoAsyncWork() local
177 GetAppCertInfoAsyncContext context = CreateGetAppCertInfoAsyncContext(); in CMNapiGetAppCertInfoCommon() local
Dcm_napi_install_app_cert_common.cpp35 InstallAppCertAsyncContext context = in CreateInstallAppCertAsyncContext() local
43 void DeleteInstallAppCertAsyncContext(napi_env env, InstallAppCertAsyncContext &context) in DeleteInstallAppCertAsyncContext()
72 napi_env env, napi_callback_info info, InstallAppCertAsyncContext context) in InstallAppCertParseParams()
146 static napi_value InstallAppCertWriteResult(napi_env env, InstallAppCertAsyncContext context) in InstallAppCertWriteResult()
175 InstallAppCertAsyncContext context = static_cast<InstallAppCertAsyncContext>(data); in InstallAppCertAsyncWork() local
181 InstallAppCertAsyncContext context = static_cast<InstallAppCertAsyncContext>(data); in InstallAppCertAsyncWork() local
213 InstallAppCertAsyncContext context = CreateInstallAppCertAsyncContext(); in CMNapiInstallAppCertCommon() local
Dcm_napi_get_system_cert_info.cpp46 GetCertInfoAsyncContext context = in CreateGetCertInfoAsyncContext() local
55 static void DeleteGetCertInfoAsyncContext(napi_env env, GetCertInfoAsyncContext &context) in DeleteGetCertInfoAsyncContext()
76 GetCertInfoAsyncContext context, uint32_t store) in GetCertInfoParseParams()
110 static napi_value GetCertInfoWriteResult(napi_env env, GetCertInfoAsyncContext context) in GetCertInfoWriteResult()
125 GetCertInfoAsyncContext context = static_cast<GetCertInfoAsyncContext>(data); in GetCertInfoExecute() local
153 GetCertInfoAsyncContext context = static_cast<GetCertInfoAsyncContext>(data); in GetCertInfoComplete() local
172 static napi_value GetCertInfoAsyncWork(napi_env env, GetCertInfoAsyncContext context) in GetCertInfoAsyncWork()
200 GetCertInfoAsyncContext context = CreateGetCertInfoAsyncContext(); in CMNapiGetSystemCertInfo() local
223 GetCertInfoAsyncContext context = CreateGetCertInfoAsyncContext(); in CMNapiGetUserTrustedCertInfo() local
Dcm_napi_get_system_cert_list.cpp45 GetCertListAsyncContext context = in CreateGetCertListAsyncContext() local
54 static void DeleteGetCertListAsyncContext(napi_env env, GetCertListAsyncContext &context) in DeleteGetCertListAsyncContext()
71 GetCertListAsyncContext context, uint32_t store) in GetCertListParseParams()
98 static napi_value GetCertListWriteResult(napi_env env, GetCertListAsyncContext context) in GetCertListWriteResult()
114 GetCertListAsyncContext context = static_cast<GetCertListAsyncContext>(data); in GetCertListExecute() local
144 GetCertListAsyncContext context = static_cast<GetCertListAsyncContext>(data); in GetCertListComplete() local
162 static napi_value GetCertListAsyncWork(napi_env env, GetCertListAsyncContext context) in GetCertListAsyncWork()
191 GetCertListAsyncContext context = CreateGetCertListAsyncContext(); in CMNapiGetSystemCertList() local
213 GetCertListAsyncContext context = CreateGetCertListAsyncContext(); in CMNapiGetUserTrustedCertList() local
Dcm_napi_uninstall_app_cert_common.cpp35 UninstallAppCertAsyncContext context = in CreateUninstallAppCertAsyncContext() local
44 void DeleteUninstallAppCertAsyncContext(napi_env env, UninstallAppCertAsyncContext &context) in DeleteUninstallAppCertAsyncContext()
61 napi_env env, napi_callback_info info, UninstallAppCertAsyncContext context) in UninstallAppCertParseParams()
107 UninstallAppCertAsyncContext context = static_cast<UninstallAppCertAsyncContext>(data); in UninstallAppCertAsyncWork() local
111 UninstallAppCertAsyncContext context = static_cast<UninstallAppCertAsyncContext>(data); in UninstallAppCertAsyncWork() local
144 UninstallAppCertAsyncContext context = CreateUninstallAppCertAsyncContext(); in CMNapiUninstallAppCertCommon() local
Dcm_napi_sign_verify.cpp57 …SignVerifyAsyncContext context = static_cast<SignVerifyAsyncContext>(CmMalloc(sizeof(SignVerifyAsy… in InitSignVerifyAsyncContext() local
64 static void FreeSignVerifyAsyncContext(napi_env env, SignVerifyAsyncContext &context) in FreeSignVerifyAsyncContext()
138 …napi_value ParseCMInitParams(napi_env env, napi_callback_info info, SignVerifyAsyncContext context) in ParseCMInitParams()
179 …pi_value ParseCMUpdateParams(napi_env env, napi_callback_info info, SignVerifyAsyncContext context) in ParseCMUpdateParams()
220 static napi_value MallocFinishOutData(napi_env env, SignVerifyAsyncContext context) in MallocFinishOutData()
243 static napi_value ProcessFinishOneParam(napi_env env, SignVerifyAsyncContext context) in ProcessFinishOneParam()
266 …ic napi_value ProcessFinishTwoParam(napi_env env, napi_value *argv, SignVerifyAsyncContext context, in ProcessFinishTwoParam()
314 … napi_value ProcessFinishThreeParam(napi_env env, napi_value *argv, SignVerifyAsyncContext context, in ProcessFinishThreeParam()
347 …pi_value ParseCMFinishParams(napi_env env, napi_callback_info info, SignVerifyAsyncContext context) in ParseCMFinishParams()
378 …api_value ParseCMAbortParams(napi_env env, napi_callback_info info, SignVerifyAsyncContext context) in ParseCMAbortParams()
[all …]
Dcm_napi_set_cert_status.cpp46 SetCertStatusAsyncContext context = in CreateSetCertStatusAsyncContext() local
55 static void DeleteSetCertStatusAsyncContext(napi_env env, SetCertStatusAsyncContext &context) in DeleteSetCertStatusAsyncContext()
72 napi_env env, napi_callback_info info, SetCertStatusAsyncContext context) in SetCertStatusParseParams()
117 SetCertStatusAsyncContext context = static_cast<SetCertStatusAsyncContext>(data); in SetCertStatusExecute() local
130 SetCertStatusAsyncContext context = static_cast<SetCertStatusAsyncContext>(data); in SetCertStatusComplete() local
148 static napi_value SetCertStatusAsyncWork(napi_env env, SetCertStatusAsyncContext context) in SetCertStatusAsyncWork()
177 SetCertStatusAsyncContext context = CreateSetCertStatusAsyncContext(); in CMNapiSetCertStatus() local
Dcm_napi_uninstall_all_app_cert.cpp43 UninstallAllAppCertAsyncContext context = in CreateUinstallAllAppCertAsyncContext() local
52 … void DeleteUninstallAllAppCertAsyncContext(napi_env env, UninstallAllAppCertAsyncContext &context) in DeleteUninstallAllAppCertAsyncContext()
65 napi_env env, napi_callback_info info, UninstallAllAppCertAsyncContext context) in UninstallAllAppCertParseParams()
99 … UninstallAllAppCertAsyncContext context = static_cast<UninstallAllAppCertAsyncContext>(data); in UninstallAllAppCertAsyncWork() local
103 … UninstallAllAppCertAsyncContext context = static_cast<UninstallAllAppCertAsyncContext>(data); in UninstallAllAppCertAsyncWork() local
136 UninstallAllAppCertAsyncContext context = CreateUinstallAllAppCertAsyncContext(); in CMNapiUninstallAllAppCert() local
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_service.c61 int32_t CmServicInstallAppCert(const struct CmContext *context, struct CmAppCertInfo *appCertInfo, in CmServicInstallAppCert()
79 static int32_t GetPublicAppCert(const struct CmContext *context, uint32_t store, in GetPublicAppCert()
114 static int32_t GetPrivateAppCert(const struct CmContext *context, uint32_t store, in GetPrivateAppCert()
134 int32_t CmServiceGetAppCert(const struct CmContext *context, uint32_t store, in CmServiceGetAppCert()
145 int32_t CmServiceGrantAppCertificate(const struct CmContext *context, const struct CmBlob *keyUri, in CmServiceGrantAppCertificate()
161 int32_t CmServiceGetAuthorizedAppList(const struct CmContext *context, const struct CmBlob *keyUri, in CmServiceGetAuthorizedAppList()
177 int32_t CmServiceIsAuthorizedApp(const struct CmContext *context, const struct CmBlob *authUri) in CmServiceIsAuthorizedApp()
192 int32_t CmServiceRemoveGrantedApp(const struct CmContext *context, const struct CmBlob *keyUri, uin… in CmServiceRemoveGrantedApp()
207 int32_t CmServiceInit(const struct CmContext *context, const struct CmBlob *authUri, in CmServiceInit()
232 int32_t CmServiceUpdate(const struct CmContext *context, const struct CmBlob *handle, in CmServiceUpdate()
[all …]
Dcm_event_process.c32 static void DeleteAuth(const struct CmContext *context, const char *fileName, bool isDeleteByUid) in DeleteAuth()
66 static int32_t CmTraversalDirActionUserCa(const struct CmContext *context, const char *filePath, co… in CmTraversalDirActionUserCa()
86 static int32_t CmTraversalDirAction(const struct CmContext *context, const char *filePath, in CmTraversalDirAction()
174 static void TraversalUidLayerDir(const struct CmContext *context, const char *uidPath, const char *… in TraversalUidLayerDir()
186 static int32_t CmTraversalUidLayerDir(const struct CmContext *context, const char *path, in CmTraversalUidLayerDir()
226 static int32_t TraversalUserIdLayerDir(const struct CmContext *context, const char *userIdPath, con… in TraversalUserIdLayerDir()
248 static int32_t CmTraversalUserIdLayerDir(const struct CmContext *context, const char *path, const u… in CmTraversalUserIdLayerDir()
290 static int32_t CmTraversalDir(const struct CmContext *context, const char *path, const uint32_t sto… in CmTraversalDir()
326 static void RemoveSessionInfo(const struct CmContext *context) in RemoveSessionInfo()
341 int32_t CmDeleteProcessInfo(const struct CmContext *context) in CmDeleteProcessInfo()
Dcert_manager.c62 static int32_t GetFilePath(const struct CmContext *context, uint32_t store, char *pathPtr, in GetFilePath()
108 static int32_t CmGetFilePath(const struct CmContext *context, uint32_t store, struct CmMutableBlob … in CmGetFilePath()
169 int32_t CertManagerFindCertFileNameByUri(const struct CmContext *context, const struct CmBlob *cert… in CertManagerFindCertFileNameByUri()
196 int32_t CmRemoveAppCert(const struct CmContext *context, const struct CmBlob *keyUri, in CmRemoveAppCert()
230 static void ClearAuthInfo(const struct CmContext *context, const struct CmBlob *keyUri, const uint3… in ClearAuthInfo()
242 static int32_t CmAppCertGetFilePath(const struct CmContext *context, const uint32_t store, struct C… in CmAppCertGetFilePath()
306 static int32_t CmRemoveSpecifiedAppCert(const struct CmContext *context, const uint32_t store) in CmRemoveSpecifiedAppCert()
356 int32_t CmRemoveAllAppCert(const struct CmContext *context) in CmRemoveAllAppCert()
383 int32_t CmServiceGetAppCertList(const struct CmContext *context, uint32_t store, struct CmBlob *fil… in CmServiceGetAppCertList()
438 static int32_t ConstructCertUri(const struct CmContext *context, const struct CmBlob *certAlias, in ConstructCertUri()
[all …]
/base/useriam/user_auth_framework/test/unittest/services/src/
Dcontext_factory_test.cpp63 auto context = factory->CreateSimpleAuthContext(para, contextCallback); variable
78 auto context = factory->CreateSimpleAuthContext(para, contextCallback); variable
91 auto context = factory->CreateIdentifyContext(para, contextCallback); variable
106 auto context = factory->CreateIdentifyContext(para, contextCallback); variable
119 auto context = factory->CreateEnrollContext(para, contextCallback); variable
134 auto context = factory->CreateEnrollContext(para, contextCallback); variable
157 auto context = factory->CreateWidgetContext(para, contextCallback); variable
169 auto context = factory->CreateWidgetContext(para, contextCallback); variable
/base/update/updater/services/script/script_instruction/
Dscript_basicinstruction.cpp24 int32_t UScriptInstructionAbort::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
35 …t32_t UScriptInstructionAssert::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
46 int32_t UScriptInstructionSleep::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
58 …t32_t UScriptInstructionConcat::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
108 … UScriptInstructionIsSubString::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
131 …t32_t UScriptInstructionStdout::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
165 …t UScriptInstructionDeleteFile::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
185 …_t UScriptInstructionDeleteDir::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
/base/startup/init/services/modules/init_context/
Dinit_context_static.c26 int InitSubInitContext(InitContextType type, const SubInitContext *context) in InitSubInitContext()
59 int ExecuteCmdInSubInit(const ConfigContext *context, const char *name, const char *cmdContent) in ExecuteCmdInSubInit()
71 int SetSubInitContext(const ConfigContext *context, const char *service) in SetSubInitContext()
88 int CheckExecuteInSubInit(const ConfigContext *context) in CheckExecuteInSubInit()
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_context.h66 auto context = Common::MakeShared<MockContext>(); in CreateWithContextId() local
78 auto context = Common::MakeShared<MockContext>(); in CreateContextWithScheduleNode() local
101 auto context = Common::MakeShared<MockContext>(); in CreateContextWithScheduleNode() local
/base/account/os_account/interfaces/kits/napi/account_iam/src/
Dnapi_account_iam_identity_manager.cpp59 napi_env env, napi_callback_info info, IDMContext *context) in ParseContextForOpenSession()
77 auto context = std::make_unique<IDMContext>(env); in OpenSession() local
93 IDMContext *context = reinterpret_cast<IDMContext *>(data); in OpenSession() local
97 IDMContext *context = reinterpret_cast<IDMContext *>(data); in OpenSession() local
117 …ic bool ParseContextForUpdateCredential(napi_env env, napi_callback_info info, IDMContext *context) in ParseContextForUpdateCredential()
142 auto context = std::make_unique<IDMContext>(env); in AddCredential() local
151 IDMContext *context = reinterpret_cast<IDMContext *>(data); in AddCredential() local
166 auto context = std::make_unique<IDMContext>(env); in UpdateCredential() local
175 IDMContext *context = reinterpret_cast<IDMContext *>(data); in UpdateCredential() local
227 …atic napi_status ParseContextForDelUser(napi_env env, napi_callback_info info, IDMContext *context) in ParseContextForDelUser()
[all …]
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/
Dhks_ipc_service.c55 void HksIpcServiceGenerateKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceGenerateKey()
97 void HksIpcServiceImportKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceImportKey()
122 void HksIpcServiceImportWrappedKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceImportWrappedKey()
148 void HksIpcServiceExportPublicKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceExportPublicKey()
177 void HksIpcServiceDeleteKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceDeleteKey()
195 void HksIpcServiceGetKeyParamSet(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceGetKeyParamSet()
228 void HksIpcServiceKeyExist(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceKeyExist()
247 void HksIpcServiceGenerateRandom(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceGenerateRandom()
291 void HksIpcServiceSign(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceSign()
322 void HksIpcServiceVerify(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceVerify()
[all …]
/base/update/updater/test/unittest/updater_binary/
Dupdate_image_patch_unittest.cpp38 UScriptInstructionContext context {}; in TestImgPatch01() local
49 UScriptInstructionContext context {}; in TestImgPatch02() local
66 UScriptInstructionContext context {}; in TestImgPatch03() local
83 UScriptInstructionContext context {}; in TestImgPatch04() local
102 UScriptInstructionContext context {}; in TestImgPatch05() local
134 UScriptInstructionContext context {}; in TestImgPatch06() local
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_hash.c50 mbedtls_md5_context *context = (mbedtls_md5_context *)HksMalloc(sizeof(mbedtls_md5_context)); in HksMbedtlsHashMd5Init() local
84 mbedtls_md5_context *context = (mbedtls_md5_context *)ctx->append; in HksMbedtlsHashMd5Update() local
100 mbedtls_md5_context *context = (mbedtls_md5_context *)ctx->append; in HksMbedtlsHashMd5Final() local
134 mbedtls_sha1_context *context = (mbedtls_sha1_context *)HksMalloc(sizeof(mbedtls_sha1_context)); in HksMbedtlsHashSha1Init() local
167 mbedtls_sha1_context *context = (mbedtls_sha1_context *)ctx->append; in HksMbedtlsHashSha1Update() local
186 mbedtls_sha1_context *context = (mbedtls_sha1_context *)ctx->append; in HksMbedtlsHashSha1Final() local
223 …mbedtls_sha256_context *context = (mbedtls_sha256_context *)HksMalloc(sizeof(mbedtls_sha256_contex… in HksMbedtlsHashSha256Init() local
264 mbedtls_sha256_context *context = (mbedtls_sha256_context *)ctx->append; in HksMbedtlsHashSha256Update() local
283 mbedtls_sha256_context *context = (mbedtls_sha256_context *)ctx->append; in HksMbedtlsHashSha256Final() local
321 …mbedtls_sha512_context *context = (mbedtls_sha512_context *)HksMalloc(sizeof(mbedtls_sha512_contex… in HksMbedtlsHashSha512Init() local
[all …]
/base/security/huks/interfaces/kits/napi/src/v8/
Dhuks_napi_init.cpp51 InitAsyncCtxPtr context = (InitAsyncCtxPtr)HksMalloc(sizeof(InitAsyncContext)); in CreateInitAsyncContext() local
58 static void DeleteInitAsyncContext(napi_env env, InitAsyncCtxPtr &context) in DeleteInitAsyncContext()
78 static napi_value ParseInitParams(napi_env env, napi_callback_info info, InitAsyncCtxPtr context) in ParseInitParams()
105 static int32_t InitOutParams(InitAsyncCtxPtr context) in InitOutParams()
134 static napi_value InitWriteResult(napi_env env, InitAsyncCtxPtr context) in InitWriteResult()
139 static napi_value InitAsyncWork(napi_env env, InitAsyncCtxPtr context) in InitAsyncWork()
193 InitAsyncCtxPtr context = CreateInitAsyncContext(); in HuksNapiInit() local
Dhuks_napi_export_key.cpp47 … ExportKeyAsyncContext context = (ExportKeyAsyncContext)HksMalloc(sizeof(ExportKeyAsyncContextT)); in CreateExportKeyAsyncContext() local
54 static void DeleteExportKeyAsyncContext(napi_env env, ExportKeyAsyncContext &context) in DeleteExportKeyAsyncContext()
70 …pi_value ExportKeyParseParams(napi_env env, napi_callback_info info, ExportKeyAsyncContext context) in ExportKeyParseParams()
97 static napi_value ExportKeyWriteResult(napi_env env, ExportKeyAsyncContext context) in ExportKeyWriteResult()
105 static int32_t PrePareExportKeyContextBuffer(ExportKeyAsyncContext context) in PrePareExportKeyContextBuffer()
120 static napi_value ExportKeyAsyncWork(napi_env env, ExportKeyAsyncContext context) in ExportKeyAsyncWork()
175 ExportKeyAsyncContext context = CreateExportKeyAsyncContext(); in HuksNapiExportKey() local

12345678910>>...15