/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/src/ |
H A D | napi_accessibility_extension_context.cpp | 137 if (info.argv[PARAM0] != nullptr && info.argv[PARAM1] != nullptr && in GetLastParamForTwo() 138 IsNapiBool(env, info.argv[PARAM0]) && IsNapiFunction(env, info.argv[PARAM1])) { in GetLastParamForTwo() 139 lastParam = ConvertFromJsValue(env, info.argv[PARAM0], isAccessibilityFocus) ? in GetLastParamForTwo() 144 } else if (info.argv[PARAM0] != nullptr && IsNapiFunction(env, info.argv[PARAM0])) { in GetLastParamForTwo() 146 lastParam = info.argv[PARAM0]; in GetLastParamForTwo() 147 } else if (info.argv[PARAM0] != nullptr && IsNapiBool(env, info.argv[PARAM0])) { in GetLastParamForTwo() 150 ConvertFromJsValue(env, info.argv[PARAM0], isAccessibilityFocus); in GetLastParamForTwo() 163 if (!AppExecFwk::UnwrapWant(env, info.argv[PARAM0], wan in CheckStartAbilityInputParam() [all...] |
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/ |
H A D | system_sound_manager_napi_ext.cpp | 30 const int32_t PARAM0 = 0; member 69 for (size_t i = PARAM0; i < argc; i++) { in GetToneHapticsSettings() 72 if (i == PARAM0) { in GetToneHapticsSettings() 121 napi_get_undefined(env, &result[PARAM0]); in GetToneHapticsSettingsAsyncCallbackComp() 124 result[PARAM0] = AsyncThrowErrorAndReturn(env, context->errMessage, context->errCode); in GetToneHapticsSettingsAsyncCallbackComp() 132 napi_reject_deferred(env, context->deferred, result[PARAM0]); in GetToneHapticsSettingsAsyncCallbackComp() 186 for (size_t i = PARAM0; i < argc; i++) { in SetToneHapticsSettings() 189 if (i == PARAM0) { in SetToneHapticsSettings() 243 napi_get_undefined(env, &result[PARAM0]); in SetToneHapticsSettingsAsyncCallbackComp() 246 result[PARAM0] in SetToneHapticsSettingsAsyncCallbackComp() [all...] |
H A D | system_sound_manager_napi.cpp | 30 const int32_t PARAM0 = 0; member 403 napi_get_undefined(env, &result[PARAM0]); in SetSystemSoundUriAsyncCallbackComp() 405 result[PARAM0] = AsyncThrowErrorAndReturn(env, context->errMessage, context->errCode); in SetSystemSoundUriAsyncCallbackComp() 413 napi_reject_deferred(env, context->deferred, result[PARAM0]); in SetSystemSoundUriAsyncCallbackComp() 434 napi_get_undefined(env, &result[PARAM0]); in GetSystemSoundUriAsyncCallbackComp() 437 result[PARAM0] = AsyncThrowErrorAndReturn(env, context->errMessage, context->errCode); in GetSystemSoundUriAsyncCallbackComp() 445 napi_reject_deferred(env, context->deferred, result[PARAM0]); in GetSystemSoundUriAsyncCallbackComp() 500 for (size_t i = PARAM0; i < argc; i++) { in SetRingtoneUri() 503 if (i == PARAM0) { in SetRingtoneUri() 571 for (size_t i = PARAM0; in GetRingtoneUri() [all...] |
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/ |
H A D | napi_accessibility_event_info.cpp | 41 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valueType)); in JSConstructor() 47 return argv[PARAM0]; in JSConstructor() 50 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valueType)); in JSConstructor() 68 NAPI_CALL(env, napi_set_named_property(env, thisVar, "type", argv[PARAM0])); in JSConstructor()
|
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/system_tone_player/ |
H A D | system_tone_player_napi.cpp | 23 const int32_t PARAM0 = 0; member 150 napi_get_undefined(env, &result[PARAM0]); in CommonAsyncCallbackComplete() 154 napi_create_error(env, nullptr, message, &result[PARAM0]); in CommonAsyncCallbackComplete() 161 napi_reject_deferred(env, context->deferred, result[PARAM0]); in CommonAsyncCallbackComplete() 182 napi_get_undefined(env, &result[PARAM0]); in GetTitleAsyncCallbackComplete() 188 napi_create_error(env, nullptr, message, &result[PARAM0]); in GetTitleAsyncCallbackComplete() 196 napi_reject_deferred(env, context->deferred, result[PARAM0]); in GetTitleAsyncCallbackComplete() 228 napi_typeof(env, argv[PARAM0], &valueType); in GetTitle() 231 napi_create_reference(env, argv[PARAM0], refCount, &asyncContext->callbackRef); in GetTitle() 285 napi_typeof(env, argv[PARAM0], in Prepare() [all...] |
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/ |
H A D | audio_haptic_manager_napi.cpp | 24 const int32_t PARAM0 = 0; member 241 for (size_t i = PARAM0; i < argc; i++) { in RegisterSource() 244 if (i == PARAM0 && valueType == napi_string) { in RegisterSource() 291 napi_get_undefined(env, &result[PARAM0]); in RegisterSourceAsyncCallbackComp() 297 napi_create_error(env, nullptr, message, &result[PARAM0]); in RegisterSourceAsyncCallbackComp() 305 napi_reject_deferred(env, context->deferred, result[PARAM0]); in RegisterSourceAsyncCallbackComp() 336 napi_typeof(env, argv[PARAM0], &valueType); in UnregisterSource() 338 napi_get_value_int32(env, argv[PARAM0], &asyncContext->sourceID); in UnregisterSource() 373 napi_get_undefined(env, &result[PARAM0]); in UnregisterSourceAsyncCallbackComp() 378 napi_create_error(env, nullptr, message, &result[PARAM0]); in UnregisterSourceAsyncCallbackComp() [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/ |
H A D | napi_audio_spatialization_manager.cpp | 174 sizeof(audio_spatialization_manager_properties) / sizeof(audio_spatialization_manager_properties[PARAM0]), in Init() 206 napi_typeof(env, args[PARAM0], &valueType); in IsSpatializationEnabled() 212 NapiParamUtils::GetAudioDeviceDescriptor(env, selectedAudioDevice, argTransFlag, args[PARAM0]); in IsSpatializationEnabled() 247 context->status = NapiParamUtils::GetValueBoolean(env, context->spatializationEnable, argv[PARAM0]); in SetSpatializationEnabled() 251 context->status = NapiParamUtils::GetValueBoolean(env, context->spatializationEnable, argv[PARAM0]); in SetSpatializationEnabled() 257 argv[PARAM0]); in SetSpatializationEnabled() 327 napi_typeof(env, args[PARAM0], &valueType); in IsHeadTrackingEnabled() 333 NapiParamUtils::GetAudioDeviceDescriptor(env, selectedAudioDevice, argTransFlag, args[PARAM0]); in IsHeadTrackingEnabled() 368 context->status = NapiParamUtils::GetValueBoolean(env, context->headTrackingEnable, argv[PARAM0]); in SetHeadTrackingEnabled() 372 context->status = NapiParamUtils::GetValueBoolean(env, context->headTrackingEnable, argv[PARAM0]); in SetHeadTrackingEnabled() [all...] |
H A D | napi_audio_stream_manager.cpp | 110 sizeof(audio_stream_mgr_properties) / sizeof(audio_stream_mgr_properties[PARAM0]), in Init() 132 status = napi_new_instance(env, constructor, PARAM0, nullptr, &result); in CreateStreamManagerWrapper() 216 size_t argc = PARAM0; in GetCurrentAudioRendererInfosSync() 264 size_t argc = PARAM0; in GetCurrentAudioCapturerInfosSync() 293 context->status = NapiParamUtils::GetStreamInfo(env, &context->audioStreamInfo, argv[PARAM0]); in IsAudioRendererLowLatencySupported() 328 context->status = NapiParamUtils::GetValueInt32(env, context->volType, argv[PARAM0]); in IsStreamActive() 366 napi_typeof(env, args[PARAM0], &valueType); in IsStreamActiveSync() 371 NapiParamUtils::GetValueInt32(env, volType, args[PARAM0]); in IsStreamActiveSync() 397 context->status = NapiParamUtils::GetValueInt32(env, context->streamUsage, argv[PARAM0]); in GetEffectInfoArray() 442 napi_typeof(env, args[PARAM0], in GetEffectInfoArraySync() [all...] |
H A D | napi_audio_volume_group_manager.cpp | 121 sizeof(audio_svc_group_mngr_properties) / sizeof(audio_svc_group_mngr_properties[PARAM0]), in InitNapiAudioVolumeGroupManager() 199 int32_t groupId = PARAM0; in Construct() 203 NapiParamUtils::GetValueInt32(env, groupId, args[PARAM0]); in Construct() 240 napi_typeof(env, args[PARAM0], &valueType); in GetActiveVolumeTypeSync() 245 NapiParamUtils::GetValueInt32(env, clientUid, args[PARAM0]); in GetActiveVolumeTypeSync() 268 context->status = NapiParamUtils::GetValueInt32(env, context->volType, argv[PARAM0]); in GetVolume() 304 napi_typeof(env, args[PARAM0], &valueType); in GetVolumeSync() 309 NapiParamUtils::GetValueInt32(env, volType, args[PARAM0]); in GetVolumeSync() 335 context->status = NapiParamUtils::GetValueInt32(env, context->volType, argv[PARAM0]); in SetVolume() 380 context->status = NapiParamUtils::GetValueInt32(env, context->volType, argv[PARAM0]); in SetVolumeWithFlag() [all...] |
H A D | napi_audio_manager.cpp | 140 sizeof(audio_svc_mngr_properties) / sizeof(audio_svc_mngr_properties[PARAM0]), in InitNapiAudioManager() 164 status = napi_define_properties(env, exports, sizeof(static_prop) / sizeof(static_prop[PARAM0]), in Init() 187 size_t argCount = PARAM0; in Construct() 237 size_t argCount = PARAM0; in GetAudioManager() 251 size_t argCount = PARAM0; in GetStreamManager() 266 size_t argCount = PARAM0; in GetSessionManager() 281 size_t argCount = PARAM0; in GetRoutingManager() 295 size_t argCount = PARAM0; in GetVolumeManager() 309 size_t argCount = PARAM0; in GetInterruptManager() 347 context->status = NapiParamUtils::GetValueInt32(env, context->volType, argv[PARAM0]); in SetVolume() [all...] |
H A D | napi_audio_volume_manager.cpp | 129 status = napi_new_instance(env, constructor, PARAM0, nullptr, &result); in CreateVolumeManagerWrapper() 159 sizeof(audio_volume_manager_properties) / sizeof(audio_volume_manager_properties[PARAM0]), in Init() 181 napi_typeof(env, argv[PARAM0], &valueType); in GetVolumeGroupInfos() 183 context->networkId = NapiParamUtils::GetStringArgument(env, argv[PARAM0]); in GetVolumeGroupInfos() 216 napi_typeof(env, args[PARAM0], &valueType); in GetVolumeGroupInfosSync() 220 std::string networkId = NapiParamUtils::GetStringArgument(env, args[PARAM0]); in GetVolumeGroupInfosSync() 247 context->status = NapiParamUtils::GetValueInt32(env, context->groupId, argv[PARAM0]); in GetVolumeGroupManager() 270 napi_typeof(env, args[PARAM0], &valueType); in GetVolumeGroupManagerSync() 275 NapiParamUtils::GetValueInt32(env, groupId, args[PARAM0]); in GetVolumeGroupManagerSync() 343 if (napi_typeof(env, args[PARAM0], in On() [all...] |
H A D | napi_audio_session_manager.cpp | 97 sizeof(audio_session_mgr_properties) / sizeof(audio_session_mgr_properties[PARAM0]), in Init() 119 status = napi_new_instance(env, constructor, PARAM0, nullptr, &result); in CreateSessionManagerWrapper() 152 context->status = NapiParamUtils::GetAudioSessionStrategy(env, context->audioSessionStrategy, argv[PARAM0]); in ActivateAudioSession() 282 napi_typeof(env, args[PARAM0], &eventType); in On() 285 std::string callbackName = NapiParamUtils::GetStringArgument(env, args[PARAM0]); in On() 334 cb->SaveCallbackReference(args[PARAM0]); in UnregisterCallbackCarryParam() 356 napi_typeof(env, args[PARAM0], &eventType); in Off() 359 std::string callbackName = NapiParamUtils::GetStringArgument(env, args[PARAM0]); in Off()
|
H A D | napi_audio_routing_manager.cpp | 120 nullptr, sizeof(audio_routing_manager_properties) / sizeof(audio_routing_manager_properties[PARAM0]), in Init() 183 status = napi_new_instance(env, constructor, PARAM0, nullptr, &result); in CreateRoutingManagerWrapper() 206 context->status = NapiParamUtils::GetValueInt32(env, context->deviceFlag, argv[PARAM0]); in GetDevices() 242 napi_typeof(env, argv[PARAM0], &valueType); in GetDevicesSync() 247 napi_status status = NapiParamUtils::GetValueInt32(env, deviceFlag, argv[PARAM0]); in GetDevicesSync() 274 context->bArgTransFlag, argv[PARAM0]); in SelectOutputDevice() 310 context->bArgTransFlag, argv[PARAM0]); in SelectOutputDeviceByFilter() 350 context->bArgTransFlag, argv[PARAM0]); in SelectInputDevice() 385 context->status = NapiParamUtils::GetAudioCapturerFilter(env, context->audioCapturerFilter, argv[PARAM0]); in SelectInputDeviceByFilter() 425 context->status = NapiParamUtils::GetValueInt32(env, context->deviceType, argv[PARAM0]); in SetCommunicationDevice() [all...] |
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_gesture_path/src/ |
H A D | napi_accessibility_gesture_path.cpp | 35 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valueType)); in JSConstructor() 43 NAPI_CALL(env, napi_set_named_property(env, jsthis, "durationTime", argv[PARAM0])); in JSConstructor()
|
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_gesture_point/src/ |
H A D | napi_accessibility_gesture_point.cpp | 35 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valueType)); in JSConstructor() 37 HILOG_ERROR("PARAM0's valueType %{public}d is not napi_number", valueType); in JSConstructor() 45 NAPI_CALL(env, napi_set_named_property(env, jsthis, "positionX", argv[PARAM0])); in JSConstructor()
|
/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/ |
H A D | napi_audio_renderer.cpp | 113 sizeof(audio_renderer_properties) / sizeof(audio_renderer_properties[PARAM0]), in InitNapiAudioRenderer() 139 sizeof(static_prop) / sizeof(static_prop[PARAM0]), static_prop); in Init() 285 context->status = NapiParamUtils::GetRendererOptions(env, &context->rendererOptions, argv[PARAM0]); in CreateAudioRenderer() 314 napi_typeof(env, argv[PARAM0], &valueType); in CreateAudioRendererSync() 319 CHECK_AND_RETURN_RET_LOG(NapiParamUtils::GetRendererOptions(env, &rendererOptions, argv[PARAM0]) == napi_ok, in CreateAudioRendererSync() 336 context->status = NapiParamUtils::GetValueInt32(env, context->audioRendererRate, argv[PARAM0]); in SetRenderRate() 395 size_t argc = PARAM0; in GetRenderRateSync() 397 CHECK_AND_RETURN_RET_LOG(argc == PARAM0, NapiAudioError::ThrowErrorAndReturn(env, NAPI_ERR_INPUT_INVALID), in GetRenderRateSync() 418 context->status = NapiParamUtils::GetValueUInt32(env, context->rendererSampleRate, argv[PARAM0]); in SetRendererSamplingRate() 523 context->status = NapiParamUtils::GetArrayBuffer(env, context->data, context->bufferLen, argv[PARAM0]); in Write() [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/asrcontroller/ |
H A D | napi_asr_processing_controller.cpp | 143 sizeof(audio_svc_mngr_properties) / sizeof(audio_svc_mngr_properties[PARAM0]), in InitNapiAsrProcessingController() 168 status = napi_define_properties(env, exports, sizeof(static_prop) / sizeof(static_prop[PARAM0]), in Init() 191 size_t argCount = PARAM0; in Construct() 247 bool isCapturerValid = CheckCapturerValid(env, argv[PARAM0]); in CreateAsrProcessingController() 263 int32_t retMode = NapiParamUtils::GetValueInt32(env, asrAecMode, argv[PARAM0]); in SetAsrAecMode() 282 size_t argc = PARAM0; in GetAsrAecMode() 305 int32_t retMode = NapiParamUtils::GetValueInt32(env, asrNoiseSuppressionMode, argv[PARAM0]); in SetAsrNoiseSuppressionMode() 326 size_t argc = PARAM0; in GetAsrNoiseSuppressionMode() 348 int32_t retMode = NapiParamUtils::GetValueInt32(env, asrWhisperDetectionMode, argv[PARAM0]); in SetAsrWhisperDetectionMode() 367 size_t argc = PARAM0; in GetAsrWhisperDetectionMode() [all...] |
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | media_asset_data_handler.cpp | 132 argv[PARAM0] = arg; in JsOnDataPrepared() 136 argv[PARAM0] = arg; in JsOnDataPrepared() 178 argv[PARAM0] = pictures; in JsOnDataPrepared() 183 argv[PARAM0] = pictures; in JsOnDataPrepared()
|
H A D | short_term_callback.cpp | 104 CHECK_ARGS_RET_VOID(this->env_, napi_create_object(this->env_, &results[PARAM0]), JS_INNER_FAIL); in SendMessageBack() 109 CHECK_ARGS_RET_VOID(this->env_, napi_set_named_property(this->env_, results[PARAM0], RESULT_PARAM.c_str(), result), in SendMessageBack() 115 CHECK_ARGS_RET_VOID(this->env_, napi_set_named_property(this->env_, results[PARAM0], DATA_PARAM.c_str(), data), in SendMessageBack()
|
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/ringtone_player/ |
H A D | ringtone_player_napi.cpp | 26 const int32_t PARAM0 = 0; member 177 napi_get_undefined(env, &result[PARAM0]); in CommonAsyncCallbackComplete() 181 napi_create_error(env, nullptr, message, &result[PARAM0]); in CommonAsyncCallbackComplete() 188 napi_reject_deferred(env, context->deferred, result[PARAM0]); in CommonAsyncCallbackComplete() 209 napi_get_undefined(env, &result[PARAM0]); in GetTitleAsyncCallbackComplete() 215 napi_create_error(env, nullptr, message, &result[PARAM0]); in GetTitleAsyncCallbackComplete() 223 napi_reject_deferred(env, context->deferred, result[PARAM0]); in GetTitleAsyncCallbackComplete() 259 napi_typeof(env, argv[PARAM0], &valueType); in GetTitle() 262 napi_create_reference(env, argv[PARAM0], refCount, &asyncContext->callbackRef); in GetTitle() 303 napi_get_undefined(env, &result[PARAM0]); in GetAudioRendererInfoAsyncCallbackComplete() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/package/ |
H A D | package.cpp | 40 constexpr int32_t PARAM0 = 0; member 211 NAPI_AUTO_LENGTH, &result[PARAM0])); in HasInstalledAsyncComplete() 219 NAPI_CALL_RETURN_VOID(env, napi_create_object(env, &result[PARAM0])); in HasInstalledAsyncComplete() 220 ConvertCheckPackageHasInstalledResponse(env, result[PARAM0], asyncCallbackInfo->response); in HasInstalledAsyncComplete() 254 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valueType)); in HasInstalled() 256 ParseCheckPackageHasInstalledOptions(env, argv[PARAM0], asyncCallbackInfo); in HasInstalled()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_napi_utils.cpp | 29 const int PARAM0 = 0; member 170 napi_valuetype argvType0 = ImageNapiUtils::getType(env, argv[PARAM0]); in ParseImageCreatorReceiverArgs() 171 if (argvType0 != napi_object || !ParseSize(env, argv[PARAM0], args[PARAM0], args[PARAM1])) { in ParseImageCreatorReceiverArgs() 173 errMsg.append(std::to_string(PARAM0)).append(",type:").append(std::to_string(argvType0)); in ParseImageCreatorReceiverArgs() 190 for (size_t i = PARAM0; i < argc; i++) { in ParseImageCreatorReceiverArgs()
|
/foundation/ability/form_fwk/frameworks/js/napi/form_provider/ |
H A D | js_form_provider.cpp | 150 napi_typeof(env, argv[PARAM0], &argvZeroType); in OnGetFormsInfoParseParam() 158 if (ConvertFormInfoFilterThrow(env, argv[PARAM0], formInfoFilter)) { in OnGetFormsInfoParseParam() 173 napi_typeof(env, argv[PARAM0], &argvType); in OnGetFormsInfoParseParam() 180 if (ConvertFormInfoFilterThrow(env, argv[PARAM0], formInfoFilter)) { in OnGetFormsInfoParseParam() 243 napi_typeof(env, argv[PARAM0], ¶mZeroType); in OnSetFormNextRefreshTime() 250 if (!ConvertFromJsValue(env, argv[PARAM0], strFormId)) { in OnSetFormNextRefreshTime() 297 napi_typeof(env, argv[PARAM0], ¶mZeroType); in OnUpdateFormParseParam() 304 bool confirm = ConvertFromJsValue(env, argv[PARAM0], strFormId); in OnUpdateFormParseParam() 389 napi_value lastParam = (argc == ARGS_SIZE_ONE) ? argv[PARAM0] : nullptr; in OnIsRequestPublishFormSupported() 411 napi_typeof(env, argv[PARAM0], in OnRequestPublishForm() [all...] |
/foundation/ability/form_fwk/frameworks/js/napi/form_observer/ |
H A D | js_form_observer.cpp | 208 if (!ConvertFromJsValue(env, argv[PARAM0], type)) { in OnRegisterFormObserver() 480 // Check the type of the PARAM0 and convert it to string. in OnUnregisterFormObserver() 482 if (!ConvertFromJsValue(env, argv[PARAM0], type)) { in OnUnregisterFormObserver() 512 if (AppExecFwk::IsTypeForNapiValue(env, argv[PARAM0], napi_string)) { in ParseGetRunningFormInfosOneParam() 513 if (!ConvertFromJsValue(env, argv[PARAM0], bundleName)) { in ParseGetRunningFormInfosOneParam() 524 } else if (AppExecFwk::IsTypeForNapiValue(env, argv[PARAM0], napi_boolean)) { in ParseGetRunningFormInfosOneParam() 525 if (!ConvertFromJsValue(env, argv[PARAM0], isUnusedIncluded)) { in ParseGetRunningFormInfosOneParam() 559 if (AppExecFwk::IsTypeForNapiValue(env, argv[PARAM0], napi_function)) { in ParseGetRunningFormInfosTwoParams() 579 if (!ParseGetRunningFormInfosParams(env, argv, bundleName, isUnusedIncluded, PARAM0)) { in ParseGetRunningFormInfosTwoParams() 597 if (argc == ARGS_ONE && !AppExecFwk::IsTypeForNapiValue(env, argv[PARAM0], napi_functio in OnGetRunningFormInfos() [all...] |
/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/ |
H A D | napi_data_ability_helper.cpp | 233 NAPI_CALL(env, napi_typeof(env, args[PARAM0], &valuetype)); in InsertWrap() 235 insertCB->uri = NapiValueToStringUtf8(env, args[PARAM0]); in InsertWrap() 398 NAPI_CALL(env, napi_typeof(env, args[PARAM0], &valuetype)); in NotifyChangeWrap() 400 notifyChangeCB->uri = NapiValueToStringUtf8(env, args[PARAM0]); in NotifyChangeWrap() 467 NAPI_CALL(env, napi_typeof(env, args[PARAM0], &valuetype)); in RegisterWrap() 469 std::string type = NapiValueToStringUtf8(env, args[PARAM0]); in RegisterWrap() 638 NAPI_CALL(env, napi_typeof(env, args[PARAM0], &valuetype)); in UnRegisterWrap() 640 std::string type = NapiValueToStringUtf8(env, args[PARAM0]); in UnRegisterWrap() 803 NAPI_CALL(env, napi_typeof(env, args[PARAM0], &valuetype)); in GetTypeWrap() 805 gettypeCB->uri = NapiValueToStringUtf8(env, args[PARAM0]); in GetTypeWrap() [all...] |