Searched refs:returnStr (Results 1 – 9 of 9) sorted by relevance
/base/security/device_auth/services/key_agree_sdk/src/ |
D | key_agree_sdk.c | 72 char *returnStr = PackJsonToString(outJson); in BuildErrorMessage() local 74 if (returnStr == NULL) { in BuildErrorMessage() 78 uint32_t returnStrLen = HcStrlen(returnStr); in BuildErrorMessage() 79 if (memcpy_s(out->data, out->length, returnStr, returnStrLen + 1) != EOK) { in BuildErrorMessage() 83 FreeJsonString(returnStr); in BuildErrorMessage()
|
D | key_agree_session.c | 534 char *returnStr = PackJsonToString(outJson); in BuildAndPutOutMessage() local 536 if (returnStr == NULL) { in BuildAndPutOutMessage() 540 uint32_t returnStrLen = HcStrlen(returnStr); in BuildAndPutOutMessage() 541 if (memcpy_s(out->data, out->length, returnStr, returnStrLen + 1) != EOK) { in BuildAndPutOutMessage() 543 FreeJsonString(returnStr); in BuildAndPutOutMessage() 547 FreeJsonString(returnStr); in BuildAndPutOutMessage() 807 char *returnStr = PackJsonToString(outJsonMessage); in ProcessProtocolInitial() local 809 if (returnStr == NULL) { in ProcessProtocolInitial() 813 uint32_t returnStrLen = HcStrlen(returnStr); in ProcessProtocolInitial() 814 if (memcpy_s(out->data, out->length, returnStr, returnStrLen + 1) != EOK) { in ProcessProtocolInitial() [all …]
|
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_unrelated_group_auth/ |
D | account_unrelated_group_auth.c | 247 char *returnStr = PackJsonToString(returnToSelf); in DasOnFinishToSelf() local 250 if (returnStr == NULL) { in DasOnFinishToSelf() 256 callback->onFinish(requestId, AUTH_FORM_ACCOUNT_UNRELATED, returnStr); in DasOnFinishToSelf() 258 ClearAndFreeJsonString(returnStr); in DasOnFinishToSelf()
|
/base/security/certificate_framework/frameworks/js/napi/certificate/inc/ |
D | napi_cert_utils.h | 39 bool CertGetStringFromJSParams(napi_env env, napi_value arg, std::string &returnStr);
|
/base/security/crypto_framework/frameworks/js/napi/crypto/inc/ |
D | napi_utils.h | 62 bool GetStringFromJSParams(napi_env env, napi_value arg, std::string &returnStr);
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
D | napi_cert_utils.cpp | 390 bool CertGetStringFromJSParams(napi_env env, napi_value arg, string &returnStr) in CertGetStringFromJSParams() argument 405 returnStr.reserve(length + 1); in CertGetStringFromJSParams() 406 returnStr.resize(length); in CertGetStringFromJSParams() 407 if (napi_get_value_string_utf8(env, arg, returnStr.data(), (length + 1), &length) != napi_ok) { in CertGetStringFromJSParams()
|
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_related_group_auth/ |
D | account_related_group_auth.c | 665 char *returnStr = PackJsonToString(returnToSelf); in AccountOnFinishToSelf() local 668 if (returnStr == NULL) { in AccountOnFinishToSelf() 681 callback->onFinish(requestId, authForm, returnStr); in AccountOnFinishToSelf() 684 ClearAndFreeJsonString(returnStr); in AccountOnFinishToSelf()
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
D | napi_utils.cpp | 1226 bool GetStringFromJSParams(napi_env env, napi_value arg, string &returnStr) in GetStringFromJSParams() argument 1240 returnStr.reserve(length + 1); in GetStringFromJSParams() 1241 returnStr.resize(length); in GetStringFromJSParams() 1242 if (napi_get_value_string_utf8(env, arg, returnStr.data(), (length + 1), &length) != napi_ok) { in GetStringFromJSParams()
|
/base/security/crypto_framework/test/unittest/src/ |
D | crypto_rsa_sign_test.cpp | 1033 char *returnStr = nullptr; variable 1034 res = sign->getSignSpecString(sign, PSS_MD_NAME_STR, &returnStr); 1037 HcfFree(returnStr);
|