Searched refs:ToLocal (Results 1 – 11 of 11) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 681 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 …]
|
D | jsnapi_helper.h | 75 static inline Local<T> ToLocal(ecmascript::JSHandle<ecmascript::JSTaggedValue> from) in ToLocal() function
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | debugger_api.cpp | 196 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 …]
|
D | js_debugger.cpp | 99 condFuncRef.ToLocal(ecmaVm_), handlerPtr); in HandleBreakpoint()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_relative_time_format_test.cpp | 123 …Local<FunctionRef> relativeTimeFormatLocal = JSNApiHelper::ToLocal<FunctionRef>(relativeTimeFormat… in HWTEST_F_L0() 125 Local<FunctionRef> disPlayNamesLocal = JSNApiHelper::ToLocal<FunctionRef>(disPlayNamesFunc); in HWTEST_F_L0()
|
D | js_number_format_test.cpp | 210 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/ |
D | jsnapi_tests.cpp | 787 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/ |
D | jsnapi.h | 194 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/ |
D | debugger_impl.cpp | 1182 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/ |
D | ecma_vm.cpp | 610 …concurrentCallback_(JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread_, result)), s… in TriggerConcurrentCallback()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_source_text.cpp | 312 return globalObject->Get(vm, JSNApiHelper::ToLocal<StringRef>(funcName)); in GetRequireNativeModuleFunc()
|