/base/startup/syspara_lite/interfaces/kits/js/src/ |
D | native_deviceinfo_js.cpp | 31 NAPI_CALL(env, napi_create_string_utf8(env, value, strlen(value), &deviceType)); in GetDeviceType() 40 … NAPI_CALL(env, napi_create_string_utf8(env, manfactureName, strlen(manfactureName), &napiValue)); in GetManufacture() 49 NAPI_CALL(env, napi_create_string_utf8(env, productBrand, strlen(productBrand), &napiValue)); in GetBrand() 58 NAPI_CALL(env, napi_create_string_utf8(env, marketName, strlen(marketName), &napiValue)); in GetMarketName() 67 NAPI_CALL(env, napi_create_string_utf8(env, productSeries, strlen(productSeries), &napiValue)); in GetProductSeries() 76 NAPI_CALL(env, napi_create_string_utf8(env, productModel, strlen(productModel), &napiValue)); in GetProductModel() 85 NAPI_CALL(env, napi_create_string_utf8(env, softwareModel, strlen(softwareModel), &napiValue)); in GetSoftwareModel() 94 NAPI_CALL(env, napi_create_string_utf8(env, hardwareModel, strlen(hardwareModel), &napiValue)); in GetHardwareModel() 103 …NAPI_CALL(env, napi_create_string_utf8(env, hardwareProfile, strlen(hardwareProfile), &napiValue)); in GetHardwareProfile() 112 NAPI_CALL(env, napi_create_string_utf8(env, serialNumber, strlen(serialNumber), &napiValue)); in GetSerial() [all …]
|
/base/hiviewdfx/hiappevent/interfaces/js/innerkits/napi/src/ |
D | napi_hiappevent_init.cpp | 66 napi_create_string_utf8(env, "hiappevent.user_login", NAPI_AUTO_LENGTH, &userLoginEvent); in InitEventMap() 68 napi_create_string_utf8(env, "hiappevent.user_logout", NAPI_AUTO_LENGTH, &userLogoutEvent); in InitEventMap() 70 …napi_create_string_utf8(env, "hiappevent.distributed_service_start", NAPI_AUTO_LENGTH, &dsStartEve… in InitEventMap() 80 napi_create_string_utf8(env, "user_id", NAPI_AUTO_LENGTH, &userIdParam); in InitParamMap() 82 napi_create_string_utf8(env, "ds_name", NAPI_AUTO_LENGTH, &dsNameParam); in InitParamMap() 84 napi_create_string_utf8(env, "ds_instance_id", NAPI_AUTO_LENGTH, &dsInstanceIdParam); in InitParamMap()
|
/base/accessibility/interfaces/kits/napi/src/ |
D | napi_accessibility_utils.cpp | 245 …NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, info.GetId().c_str(), NAPI_AUTO_LENGTH, &n… in ConvertAccessibleAbilityInfoToJS() 249 …NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, info.GetName().c_str(), NAPI_AUTO_LENGTH, … in ConvertAccessibleAbilityInfoToJS() 254 … env, napi_create_string_utf8(env, info.GetPackageName().c_str(), NAPI_AUTO_LENGTH, &nBundleName)); in ConvertAccessibleAbilityInfoToJS() 263 …NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, abilityTypes[idx].c_str(), NAPI_AUTO_LENGT… in ConvertAccessibleAbilityInfoToJS() 274 …NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, capabilities[idx].c_str(), NAPI_AUTO_LENGT… in ConvertAccessibleAbilityInfoToJS() 281 … env, napi_create_string_utf8(env, info.GetDescription().c_str(), NAPI_AUTO_LENGTH, &description)); in ConvertAccessibleAbilityInfoToJS() 290 …NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, eventTypes[idx].c_str(), NAPI_AUTO_LENGTH,… in ConvertAccessibleAbilityInfoToJS() 302 … env, napi_create_string_utf8(env, filterBundleName.c_str(), NAPI_AUTO_LENGTH, &bundleName)); in ConvertAccessibleAbilityInfoToJS() 328 …NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, strTitle.c_str(), NAPI_AUTO_LENGTH, &nTitl… in ConvertAccessibilityWindowInfoToJS() 333 …NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, strWindowType.c_str(), NAPI_AUTO_LENGTH, &… in ConvertAccessibilityWindowInfoToJS() [all …]
|
D | napi_accessibility_system_ability_client.cpp | 48 napi_create_string_utf8(env, "IsOpenAccessibility", NAPI_AUTO_LENGTH, &resource); in IsOpenAccessibility() 107 napi_create_string_utf8(env, "IsOpenTouchExploration", NAPI_AUTO_LENGTH, &resource); in IsOpenTouchExploration() 171 napi_create_string_utf8(env, "GetAbilityList", NAPI_AUTO_LENGTH, &resource); in GetAbilityList() 230 napi_create_string_utf8(env, "SendEvent", NAPI_AUTO_LENGTH, &resource); in SendEvent() 414 napi_create_string_utf8(env, "GetCaptionProperty", NAPI_AUTO_LENGTH, &resource); in GetCaptionProperty() 472 napi_create_string_utf8(env, "SetCaptionProperty", NAPI_AUTO_LENGTH, &resource); in SetCaptionProperty() 532 napi_create_string_utf8(env, "GetCaptionState", NAPI_AUTO_LENGTH, &resource); in GetCaptionState() 590 napi_create_string_utf8(env, "SetCaptionState", NAPI_AUTO_LENGTH, &resource); in SetCaptionState() 651 napi_create_string_utf8(env, "GetEnabled", NAPI_AUTO_LENGTH, &resource); in GetEnabled() 709 napi_create_string_utf8(env, "SetEnabled", NAPI_AUTO_LENGTH, &resource); in SetEnabled() [all …]
|
/base/compileruntime/js_api_module/uri/ |
D | native_module_uri.cpp | 73 NAPI_CALL(env, napi_create_string_utf8(env, normalizeUri.c_str(), tempLen, &result)); in Normalize() 116 NAPI_CALL(env, napi_create_string_utf8(env, temp.c_str(), templen, &result)); in IsFailed() 129 NAPI_CALL(env, napi_create_string_utf8(env, temp.c_str(), templen, &result)); in UriToString() 142 NAPI_CALL(env, napi_create_string_utf8(env, temp.c_str(), templen, &result)); in GetScheme() 155 NAPI_CALL(env, napi_create_string_utf8(env, temp.c_str(), templen, &result)); in GetAuthority() 168 NAPI_CALL(env, napi_create_string_utf8(env, temp.c_str(), templen, &result)); in GetSsp() 181 NAPI_CALL(env, napi_create_string_utf8(env, temp.c_str(), templen, &result)); in GetUserinfo() 194 NAPI_CALL(env, napi_create_string_utf8(env, temp.c_str(), templen, &result)); in GetHost() 207 NAPI_CALL(env, napi_create_string_utf8(env, temp.c_str(), templen, &result)); in GetPort() 220 NAPI_CALL(env, napi_create_string_utf8(env, temp.c_str(), templen, &result)); in GetPath() [all …]
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/ |
D | napi_util.cpp | 23 napi_create_string_utf8(env, msg.c_str(), msg.length(), &message); in CreateErrorMessage() 26 napi_create_string_utf8(env, errCode.c_str(), errCode.length(), &codeValue); in CreateErrorMessage() 55 napi_create_string_utf8(env, value.c_str(), value.length(), &propertyValue); in SetPropertyStringUtf8()
|
/base/account/os_account/interfaces/kits/napi/distributedaccount/src/ |
D | napi_distributed_account.cpp | 115 napi_create_string_utf8(env, asyncContext->name.c_str(), asyncContext->name.size(), &value); in ProcessSetNamedProperty() 117 napi_create_string_utf8(env, asyncContext->id.c_str(), asyncContext->id.size(), &value); in ProcessSetNamedProperty() 119 … napi_create_string_utf8(env, asyncContext->event.c_str(), asyncContext->event.size(), &value); in ProcessSetNamedProperty() 125 napi_create_string_utf8(env, value.c_str(), value.size(), &jsValue); in ProcessSetNamedProperty() 131 napi_create_string_utf8(env, "query ohos account info failed", NAPI_AUTO_LENGTH, &message); in ProcessSetNamedProperty() 203 napi_create_string_utf8(env, "QueryOhosAccountInfo", NAPI_AUTO_LENGTH, &resource); in QueryOhosAccountInfo() 252 napi_create_string_utf8(env, "UpdateOsAccountDistributedInfo", NAPI_AUTO_LENGTH, &resource); in UpdateOsAccountDistributedInfo() 269 …napi_create_string_utf8(env, "Update os account distributedInfo failed", NAPI_AUTO_LENGTH, &messag… in UpdateOsAccountDistributedInfo()
|
/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
D | napi_os_account.cpp | 163 napi_create_string_utf8(env, "QueryOsAccountById", NAPI_AUTO_LENGTH, &resource); in QueryOsAccountById() 202 napi_create_string_utf8(env, "RemoveOsAccount", NAPI_AUTO_LENGTH, &resource); in RemoveOsAccount() 236 napi_create_string_utf8(env, "SetOsAccountName", NAPI_AUTO_LENGTH, &resource); in SetOsAccountName() 275 napi_create_string_utf8(env, "SetOsAccountConstraints", NAPI_AUTO_LENGTH, &resource); in SetOsAccountConstraints() 314 napi_create_string_utf8(env, "ActivateOsAccount", NAPI_AUTO_LENGTH, &resource); in ActivateOsAccount() 353 napi_create_string_utf8(env, "CreateOsAccount", NAPI_AUTO_LENGTH, &resource); in CreateOsAccount() 385 napi_create_string_utf8(env, "CreateOsAccountForDomain", NAPI_AUTO_LENGTH, &resource); in CreateOsAccountForDomain() 417 napi_create_string_utf8(env, "GetCreatedOsAccountsCount", NAPI_AUTO_LENGTH, &resource); in GetCreatedOsAccountsCount() 454 napi_create_string_utf8(env, "GetDistributedVirtualDeviceId", NAPI_AUTO_LENGTH, &resource); in GetDistributedVirtualDeviceId() 491 napi_create_string_utf8(env, "GetOsAccountAllConstraints", NAPI_AUTO_LENGTH, &resource); in GetOsAccountAllConstraints() [all …]
|
/base/compileruntime/js_sys_module/test/unittest/ |
D | test_process.cpp | 80 napi_create_string_utf8(env, command.c_str(), command.length(), &temp); 105 napi_create_string_utf8(env, command.c_str(), command.length(), &temp); 130 napi_create_string_utf8(env, command.c_str(), command.length(), &temp); 152 napi_create_string_utf8(env, command.c_str(), command.length(), &temp);
|
/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
D | napi_app_account.cpp | 142 napi_create_string_utf8(env, "AddAccount", NAPI_AUTO_LENGTH, &resource); in AddAccount() 244 napi_create_string_utf8(env, "DeleteAccount", NAPI_AUTO_LENGTH, &resource); in DeleteAccount() 298 napi_create_string_utf8(env, "DisableAppAccess", NAPI_AUTO_LENGTH, &resource); in DisableAppAccess() 352 napi_create_string_utf8(env, "EnableAppAccess", NAPI_AUTO_LENGTH, &resource); in EnableAppAccess() 404 napi_create_string_utf8(env, "CheckAppAccountSyncEnable", NAPI_AUTO_LENGTH, &resource); in CheckAppAccountSyncEnable() 459 napi_create_string_utf8(env, "SetAccountCredential", NAPI_AUTO_LENGTH, &resource); in SetAccountCredential() 514 napi_create_string_utf8(env, "SetAccountExtraInfo", NAPI_AUTO_LENGTH, &resource); in SetAccountExtraInfo() 567 napi_create_string_utf8(env, "SetAppAccountSyncEnable", NAPI_AUTO_LENGTH, &resource); in SetAppAccountSyncEnable() 620 napi_create_string_utf8(env, "SetAssociatedData", NAPI_AUTO_LENGTH, &resource); in SetAssociatedData() 672 napi_create_string_utf8(env, "GetAllAccessibleAccounts", NAPI_AUTO_LENGTH, &resource); in GetAllAccessibleAccounts() [all …]
|
D | napi_app_account_authenticator.cpp | 174 napi_create_string_utf8(param->env, param->name.c_str(), NAPI_AUTO_LENGTH, &jsName); in UvQueueWorkCallJsFunction() 176 napi_create_string_utf8(param->env, param->authType.c_str(), NAPI_AUTO_LENGTH, &jsAuthType); in UvQueueWorkCallJsFunction() 178 …napi_create_string_utf8(param->env, param->callerBundleName.c_str(), NAPI_AUTO_LENGTH, &jsCallerBu… in UvQueueWorkCallJsFunction()
|
/base/notification/ans_standard/interfaces/kits/napi/ans/src/reminder/ |
D | publish.cpp | 398 napi_create_string_utf8(env, (it->second.title).c_str(), NAPI_AUTO_LENGTH, &buttonInfo); in ParseActionButtons() 415 …napi_create_string_utf8(env, (reminder.GetWantAgentInfo()->pkgName).c_str(), NAPI_AUTO_LENGTH, &in… in ParseWantAgent() 417 …napi_create_string_utf8(env, (reminder.GetWantAgentInfo()->abilityName).c_str(), NAPI_AUTO_LENGTH,… in ParseWantAgent() 429 …napi_create_string_utf8(env, (reminder.GetMaxScreenWantAgentInfo()->pkgName).c_str(), NAPI_AUTO_LE… in ParseMaxScreenWantAgent() 431 …napi_create_string_utf8(env, (reminder.GetMaxScreenWantAgentInfo()->abilityName).c_str(), NAPI_AUT… in ParseMaxScreenWantAgent() 440 napi_create_string_utf8(env, reminder.Dump().c_str(), NAPI_AUTO_LENGTH, &value); in SetValidReminder() 452 napi_create_string_utf8(env, reminder.GetTitle().c_str(), NAPI_AUTO_LENGTH, &value); in SetValidReminder() 456 napi_create_string_utf8(env, reminder.GetContent().c_str(), NAPI_AUTO_LENGTH, &value); in SetValidReminder() 460 napi_create_string_utf8(env, reminder.GetExpiredContent().c_str(), NAPI_AUTO_LENGTH, &value); in SetValidReminder() 464 napi_create_string_utf8(env, reminder.GetSnoozeContent().c_str(), NAPI_AUTO_LENGTH, &value); in SetValidReminder()
|
/base/miscservices/wallpaper/interfaces/kits/napi/ |
D | async_call.cpp | 73 napi_create_string_utf8(env, "AsyncCall", NAPI_AUTO_LENGTH, &resource); in Call() 129 …napi_create_string_utf8(env, std::to_string(context->ctx->errCode_).c_str(), NAPI_AUTO_LENGTH, &er… in OnComplete() 134 napi_create_string_utf8(env, errMsg.c_str(), NAPI_AUTO_LENGTH, &message); in OnComplete()
|
/base/location/interfaces/innerkits/locator_standard/src/ |
D | nmea_message_callback_host.cpp | 77 napi_create_string_utf8(m_env, msg.c_str(), NAPI_AUTO_LENGTH, &result); in PackResult() 137 napi_create_string_utf8(context->env, context->msg.c_str(), NAPI_AUTO_LENGTH, &jsEvent); in UvQueueWork()
|
/base/sensors/miscdevice/interfaces/plugin/vibrator/src/ |
D | vibrator_napi_utils.cpp | 113 NAPI_CALL(env, napi_create_string_utf8(env, errMessage.data(), NAPI_AUTO_LENGTH, &message)); in GreateCallbackError() 115 NAPI_CALL(env, napi_create_string_utf8(env, errName.data(), NAPI_AUTO_LENGTH, &name)); in GreateCallbackError() 117 NAPI_CALL(env, napi_create_string_utf8(env, errStack.data(), NAPI_AUTO_LENGTH, &stack)); in GreateCallbackError() 144 NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, asyncCallbackInfo->error.message.data(), in emitSystemCallback()
|
/base/miscservices/time/interfaces/kits/js/napi/system_time/src/ |
D | js_systemtime.cpp | 162 napi_create_string_utf8(env, "JSSystemTimeSetTime", NAPI_AUTO_LENGTH, &resource); in JSSystemTimeSetTime() 242 napi_create_string_utf8(env, "JSSystemTimeSetTimeZone", NAPI_AUTO_LENGTH, &resource); in JSSystemTimeSetTimeZone() 328 napi_create_string_utf8(env, "JSSystemTimeGetCurrentTime", NAPI_AUTO_LENGTH, &resource); in JSSystemTimeGetCurrentTime() 387 napi_create_string_utf8(env, "JSSystemTimeGetRealActiveTime", NAPI_AUTO_LENGTH, &resource); in JSSystemTimeGetRealActiveTime() 447 napi_create_string_utf8(env, "JSSystemTimeGetRealTime", NAPI_AUTO_LENGTH, &resource); in JSSystemTimeGetRealTime() 505 napi_create_string_utf8(env, "JSSystemTimeGetDate", NAPI_AUTO_LENGTH, &resource); in JSSystemTimeGetDate() 526 napi_create_string_utf8(env, scriptStr, strlen(scriptStr), &script); in JSSystemTimeGetDate() 564 napi_create_string_utf8(env, "JSSystemTimeGetTimeZone", NAPI_AUTO_LENGTH, &resource); in JSSystemTimeGetTimeZone() 583 …napi_create_string_utf8(env, asyncContext->timeZone.c_str(), asyncContext->timeZone.length(), &res… in JSSystemTimeGetTimeZone()
|
/base/telephony/call_manager/frameworks/js/napi/src/ |
D | napi_call_manager_utils.cpp | 43 napi_create_string_utf8(env, msg.c_str(), msg.length(), &message); in CreateErrorMessage() 121 napi_create_string_utf8(env, value.c_str(), value.length(), &peopertyValue); in SetPropertyStringUtf8()
|
/base/notification/ans_standard/interfaces/kits/napi/ans/src/ |
D | common.cpp | 191 napi_create_string_utf8(env, vec.c_str(), NAPI_AUTO_LENGTH, &vecValue); in SetNotificationByDistributedOptions() 205 napi_create_string_utf8(env, vec.c_str(), NAPI_AUTO_LENGTH, &vecValue); in SetNotificationByDistributedOptions() 238 napi_create_string_utf8(env, notification->GetKey().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotification() 246 napi_create_string_utf8(env, notification->GetCreateBundle().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotification() 282 napi_create_string_utf8(env, notification->GetDeviceId().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotification() 301 napi_create_string_utf8(env, request->GetClassification().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotificationRequestByString() 305 napi_create_string_utf8(env, request->GetStatusBarText().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotificationRequestByString() 309 napi_create_string_utf8(env, request->GetLabel().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotificationRequestByString() 313 napi_create_string_utf8(env, request->GetGroupName().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotificationRequestByString() 317 napi_create_string_utf8(env, request->GetCreatorBundleName().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotificationRequestByString() [all …]
|
/base/miscservices/pasteboard/interfaces/kits/napi/src/ |
D | napi_pastedata.cpp | 166 napi_create_string_utf8(env, p->c_str(), NAPI_AUTO_LENGTH, &result); in GetPrimaryHtml() 194 napi_create_string_utf8(env, p->c_str(), NAPI_AUTO_LENGTH, &result); in GetPrimaryText() 223 napi_create_string_utf8(env, text.c_str(), NAPI_AUTO_LENGTH, &result); in GetPrimaryUri() 316 status = napi_create_string_utf8(env, mimeType->c_str(), NAPI_AUTO_LENGTH, &result); in GetPrimaryMimeType() 363 status = napi_create_string_utf8(env, tag.c_str(), NAPI_AUTO_LENGTH, &result); in GetTag() 396 napi_create_string_utf8(env, type.c_str(), NAPI_AUTO_LENGTH, &value); in GetMimeTypes() 540 napi_create_string_utf8(env, vec.c_str(), NAPI_AUTO_LENGTH, &value); in SetNapiProperty() 549 napi_create_string_utf8(env, property.tag.c_str(), NAPI_AUTO_LENGTH, &value); in SetNapiProperty()
|
D | pasteboard_common.cpp | 61 napi_create_string_utf8(env, str.c_str(), NAPI_AUTO_LENGTH, &value); in CreateNapiString()
|
/base/customization/config_policy/interfaces/kits/js/src/ |
D | config_policy_napi.cpp | 143 napi_create_string_utf8(env, workName.data(), NAPI_AUTO_LENGTH, &resourceName); in HandleAsyncWork() 168 …napi_status status = napi_create_string_utf8(env, context.pathValue_.c_str(), NAPI_AUTO_LENGTH, &r… in NativeGetOneCfgFile() 224 … status = napi_create_string_utf8(env, context.paths_[i].c_str(), NAPI_AUTO_LENGTH, &element); in CreateArraysValueFunc() 258 napi_create_string_utf8(env, asyncContext->errMsg_.c_str(), NAPI_AUTO_LENGTH, &message); in NativeCallbackComplete()
|
/base/miscservices/request/upload/interfaces/kits/napi/src/ |
D | async_call.cpp | 64 napi_create_string_utf8(env, "AsyncCall", NAPI_AUTO_LENGTH, &resource); in Call() 114 napi_create_string_utf8(env, "async call failed", NAPI_AUTO_LENGTH, &message); in OnComplete()
|
/base/miscservices/request/download/interfaces/kits/js/napi/download_single/src/ |
D | async_call.cpp | 69 napi_create_string_utf8(env, "AsyncCall", NAPI_AUTO_LENGTH, &resource); in Call() 119 napi_create_string_utf8(env, "async call failed", NAPI_AUTO_LENGTH, &message); in OnComplete()
|
/base/global/resmgr_standard/interfaces/js/innerkits/core/src/ |
D | resource_manager_addon.cpp | 160 napi_create_string_utf8(env, asyncContext->errMsg_.c_str(), NAPI_AUTO_LENGTH, &message); in Complete() 297 napi_create_string_utf8(env, name.c_str(), NAPI_AUTO_LENGTH, &resource); in ProcessOnlyIdParam() 321 … if (napi_create_string_utf8(env, context.value_.c_str(), NAPI_AUTO_LENGTH, &jsValue) != napi_ok) { in __anondee70e730102() 351 … status = napi_create_string_utf8(env, context.arrayValue_[i].c_str(), NAPI_AUTO_LENGTH, &value); in __anondee70e730302() 497 … if (napi_create_string_utf8(env, context.value_.c_str(), NAPI_AUTO_LENGTH, &result) != napi_ok) { in __anondee70e730802() 571 napi_create_string_utf8(env, name.c_str(), NAPI_AUTO_LENGTH, &resource); in ProcessNoParam() 611 …status = napi_create_string_utf8(env, context.addon_->GetLocale(cfg).c_str(), NAPI_AUTO_LENGTH, &l… in __anondee70e730a02() 685 …napi_status status = napi_create_string_utf8(env, context.value_.c_str(), NAPI_AUTO_LENGTH, &resul… in __anondee70e730e02() 730 napi_create_string_utf8(env, "getPluralString", NAPI_AUTO_LENGTH, &resource); in GetPluralString()
|
/base/telephony/core_service/frameworks/js/napi/ |
D | napi_util.cpp | 43 NAPI_CALL(env, napi_create_string_utf8(env, msg.c_str(), msg.length(), &message)); in CreateErrorMessage() 46 NAPI_CALL(env, napi_create_string_utf8(env, errCode.c_str(), errCode.length(), &codeValue)); in CreateErrorMessage() 98 …NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, value.c_str(), value.length(), &propertyVa… in SetPropertyStringUtf8() 203 NAPI_CALL(env, napi_create_string_utf8(env, workName.data(), NAPI_AUTO_LENGTH, &resourceName)); in HandleAsyncWork()
|