Home
last modified time | relevance | path

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

/ark/js_runtime/ecmascript/napi/
Djsnapi.cpp302 return JSNApiHelper::ToLocal<ObjectRef>(vm->GetEcmaUncaughtException()); in GetUncaughtException()
307 return JSNApiHelper::ToLocal<ObjectRef>(vm->GetAndClearEcmaUncaughtException()); in GetAndClearUncaughtException()
319 return JSNApiHelper::ToLocal<ObjectRef>(global); in GetGlobalObject()
401 return JSNApiHelper::ToLocal<ObjectRef>(result); in DeserializeValue()
418 …Local<JSValueRef> promiseVal = JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>::Cast(pro… in HostPromiseRejectionTracker()
419 PromiseRejectInfo promiseRejectInfo(promiseVal, JSNApiHelper::ToLocal<JSValueRef>(reason), in HostPromiseRejectionTracker()
489 return JSNApiHelper::ToLocal<ObjectRef>(exportObj); in GetExportObject()
540 return JSNApiHelper::ToLocal<NumberRef>(number); in New()
547 return JSNApiHelper::ToLocal<NumberRef>(number); in New()
554 return JSNApiHelper::ToLocal<NumberRef>(number); in New()
[all …]
Djsnapi_helper-inl.h25 Local<T> JSNApiHelper::ToLocal(ecmascript::JSHandle<ecmascript::JSTaggedValue> from) in ToLocal() function
Djsnapi_helper.h65 static inline Local<T> ToLocal(ecmascript::JSHandle<ecmascript::JSTaggedValue> from);
/ark/js_runtime/ecmascript/tooling/backend/
Ddebugger_api.cpp133 return JSNApiHelper::ToLocal<JSValueRef>(handledValue); in GetVRegValue()
142 return JSNApiHelper::ToLocal<JSValueRef>(handledException); in GetAndClearException()
206 return JSNApiHelper::ToLocal<JSValueRef>(handledValue); in GetProperties()
254 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, result)); in GetGlobalValue()
259 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, globalVar)); in GetGlobalValue()
262 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, result)); in GetGlobalValue()
321 return JSNApiHelper::ToLocal<FunctionRef>(JSHandle<JSTaggedValue>(ecmaVm->GetJSThread(), func)); in GenerateFuncFromBuffer()
Djs_debugger.cpp92 condFuncRef.ToLocal(ecmaVm_), handlerPtr); in HandleBreakpoint()
/ark/js_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp642 Local<FunctionRef> setLocal = JSNApiHelper::ToLocal<FunctionRef>(set); in HWTEST_F_L0()
645 Local<FunctionRef> mapLocal = JSNApiHelper::ToLocal<FunctionRef>(map); in HWTEST_F_L0()
705 Local<FunctionRef> weakSetLocal = JSNApiHelper::ToLocal<FunctionRef>(weakSet); in HWTEST_F_L0()
708 Local<FunctionRef> weakMapLocal = JSNApiHelper::ToLocal<FunctionRef>(weakMap); in HWTEST_F_L0()
746 …Local<FunctionRef> protoLocal = JSNApiHelper::ToLocal<FunctionRef>(JSHandle<JSTaggedValue>(protoFu… in HWTEST_F_L0()
750 …Local<FunctionRef> noProtoLocal = JSNApiHelper::ToLocal<FunctionRef>(JSHandle<JSTaggedValue>(noPro… in HWTEST_F_L0()
809 …Local<FunctionRef> protoLocal = JSNApiHelper::ToLocal<FunctionRef>(JSHandle<JSTaggedValue>(protoFu… in HWTEST_F_L0()
825 …Local<FunctionRef> noProtoLocal = JSNApiHelper::ToLocal<FunctionRef>(JSHandle<JSTaggedValue>(noPro… in HWTEST_F_L0()
/ark/js_runtime/ecmascript/tooling/agent/
Ddebugger_impl.cpp986 value = JSNApiHelper::ToLocal<JSValueRef>( in GetLocalVariables()
1026 Local<ObjectRef> localObj = runtime_->properties_[objectId].ToLocal(vm_); in UpdateScopeObject()
/ark/js_runtime/ecmascript/napi/include/
Djsnapi.h158 Local<T> ToLocal(const EcmaVM *vm) const in ToLocal() function