Home
last modified time | relevance | path

Searched refs:ToLocal (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp681 return JSNApiHelper::ToLocal<ObjectRef>(vm->GetEcmaUncaughtException()); in GetUncaughtException()
686 return JSNApiHelper::ToLocal<ObjectRef>(vm->GetAndClearEcmaUncaughtException()); in GetAndClearUncaughtException()
703 return JSNApiHelper::ToLocal<ObjectRef>(global); in GetGlobalObject()
805 return JSNApiHelper::ToLocal<ObjectRef>(result); in DeserializeValue()
825 …Local<JSValueRef> promiseVal = JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>::Cast(pro… in HostPromiseRejectionTracker()
826 PromiseRejectInfo promiseRejectInfo(promiseVal, JSNApiHelper::ToLocal<JSValueRef>(reason), in HostPromiseRejectionTracker()
912 return JSNApiHelper::ToLocal<ObjectRef>(exportObj); in GetExportObject()
924 return JSNApiHelper::ToLocal<ObjectRef>(exportObj); in GetExportObject()
931 return JSNApiHelper::ToLocal<ObjectRef>(exportObj); in GetExportObject()
946 return JSNApiHelper::ToLocal<ObjectRef>(exportObj); in GetExportObjectFromBuffer()
[all …]
Djsnapi_helper.h75 static inline Local<T> ToLocal(ecmascript::JSHandle<ecmascript::JSTaggedValue> from) in ToLocal() function
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp196 return JSNApiHelper::ToLocal<JSValueRef>(handledValue); in GetVRegValue()
205 return JSNApiHelper::ToLocal<JSValueRef>(handledException); in GetAndClearException()
268 return JSNApiHelper::ToLocal<JSValueRef>(handledValue); in GetProperties()
317 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, result)); in GetGlobalValue()
322 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, globalVar)); in GetGlobalValue()
325 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, result)); in GetGlobalValue()
496 result = JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, moduleValue)); in GetExportVariableValue()
592 Local<JSValueRef> variableName = JSNApiHelper::ToLocal<JSValueRef>(name); in InitializeExportVariables()
593 Local<JSValueRef> variableValue = JSNApiHelper::ToLocal<JSValueRef>(value); in InitializeExportVariables()
643 Local<JSValueRef> variableName = JSNApiHelper::ToLocal<JSValueRef>(name); in GetLocalExportVariables()
[all …]
Djs_debugger.cpp99 condFuncRef.ToLocal(ecmaVm_), handlerPtr); in HandleBreakpoint()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_relative_time_format_test.cpp123 …Local<FunctionRef> relativeTimeFormatLocal = JSNApiHelper::ToLocal<FunctionRef>(relativeTimeFormat… in HWTEST_F_L0()
125 Local<FunctionRef> disPlayNamesLocal = JSNApiHelper::ToLocal<FunctionRef>(disPlayNamesFunc); in HWTEST_F_L0()
Djs_number_format_test.cpp210 Local<FunctionRef> numberFormatLocal = JSNApiHelper::ToLocal<FunctionRef>(numberFormatFunc); in HWTEST_F_L0()
212 Local<FunctionRef> disPlayNamesLocal = JSNApiHelper::ToLocal<FunctionRef>(disPlayNamesFunc); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp787 Local<FunctionRef> setLocal = JSNApiHelper::ToLocal<FunctionRef>(set); in HWTEST_F_L0()
790 Local<FunctionRef> mapLocal = JSNApiHelper::ToLocal<FunctionRef>(map); in HWTEST_F_L0()
850 Local<FunctionRef> weakSetLocal = JSNApiHelper::ToLocal<FunctionRef>(weakSet); in HWTEST_F_L0()
853 Local<FunctionRef> weakMapLocal = JSNApiHelper::ToLocal<FunctionRef>(weakMap); in HWTEST_F_L0()
891 …Local<FunctionRef> protoLocal = JSNApiHelper::ToLocal<FunctionRef>(JSHandle<JSTaggedValue>(protoFu… in HWTEST_F_L0()
895 …Local<FunctionRef> noProtoLocal = JSNApiHelper::ToLocal<FunctionRef>(JSHandle<JSTaggedValue>(noPro… in HWTEST_F_L0()
955 …Local<FunctionRef> protoLocal = JSNApiHelper::ToLocal<FunctionRef>(JSHandle<JSTaggedValue>(protoFu… in HWTEST_F_L0()
971 …Local<FunctionRef> noProtoLocal = JSNApiHelper::ToLocal<FunctionRef>(JSHandle<JSTaggedValue>(noPro… in HWTEST_F_L0()
1096 Local<PrimitiveRef> jsValueRef = JSNApiHelper::ToLocal<JSPrimitiveRef>(jsTaggedValue); in HWTEST_F_L0()
1343 …Local<GeneratorObjectRef> genObjectRef = JSNApiHelper::ToLocal<GeneratorObjectRef>(genObjTagHandle… in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi.h194 Local<T> ToLocal() const in ToLocal() function
283 Local<T> ToLocal() const in ToLocal() function
291 Local<T> ToLocal(const EcmaVM *vm) const in ToLocal() function
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp1182 Local<JSValueRef> thisVal = JSNApiHelper::ToLocal<JSValueRef>( in GetLocalScopeChain()
1300 Local<JSValueRef> value = JSNApiHelper::ToLocal<JSValueRef>( in GetClosureVariables()
1358 Local<ObjectRef> localObj = runtime_->properties_[objectId].ToLocal(vm_); in UpdateScopeObject()
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.cpp610 …concurrentCallback_(JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread_, result)), s… in TriggerConcurrentCallback()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_source_text.cpp312 return globalObject->Get(vm, JSNApiHelper::ToLocal<StringRef>(funcName)); in GetRequireNativeModuleFunc()