Home
last modified time | relevance | path

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

/base/useriam/face_auth/frameworks/js/napi/src/
Dface_auth_napi.cpp62 std::string msgStr; in GenerateBusinessError() local
66 msgStr = g_result2Str.at(RESULT_CODE_FAIL); in GenerateBusinessError()
69 msgStr = res->second; in GenerateBusinessError()
72 IAM_LOGI("get msg %{public}s", msgStr.c_str()); in GenerateBusinessError()
75 NAPI_CALL(env, napi_create_string_utf8(env, msgStr.c_str(), NAPI_AUTO_LENGTH, &msg)); in GenerateBusinessError()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
Duser_auth_napi_helper.cpp180 std::string msgStr; in GenerateBusinessErrorV9() local
184 msgStr = g_resultV92Str.at(UserAuthResultCode::GENERAL_ERROR); in GenerateBusinessErrorV9()
187 msgStr = res->second; in GenerateBusinessErrorV9()
190 IAM_LOGI("get msg %{public}s", msgStr.c_str()); in GenerateBusinessErrorV9()
193 NAPI_CALL(env, napi_create_string_utf8(env, msgStr.c_str(), NAPI_AUTO_LENGTH, &msg)); in GenerateBusinessErrorV9()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dnapi_webview_controller.cpp766 std::string msgStr = webMsg->GetString(); in UvWebMessageOnReceiveValueCallback() local
767 napi_create_string_utf8(data->env_, msgStr.c_str(), msgStr.length(), &result[INTEGER_ZERO]); in UvWebMessageOnReceiveValueCallback()