Home
last modified time | relevance | path

Searched refs:ToJSHandle (Results 1 - 18 of 18) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi.cpp155 JSHandle<JSArrayBuffer> arrayBuffer(JSNApiHelper::ToJSHandle(buffer)); \
181 JSHandle<JSSendableArrayBuffer> arrayBuffer(JSNApiHelper::ToJSHandle(buffer)); \
224 JSNApiHelper::ToJSHandle(json), constants->GetHandledUndefined(), constants->GetHandledUndefined()); in Stringify()
233 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in GetOriginalSource()
248 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in GetOriginalFlags()
278 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in IsGlobal()
290 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in IsIgnoreCase()
302 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in IsMultiline()
314 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in IsDotAll()
326 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(thi in IsUtf16()
[all...]
H A Djsnapi_expo.cpp195 JSHandle<JSTaggedValue> obj(JSTaggedValue::ToObject(thread, JSNApiHelper::ToJSHandle(this))); in ToObject()
205 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(this); in ToEcmaObject()
219 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(this); in ToString()
233 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(this); in ToNativePointer()
248 JSHandle<JSTaggedValue> tagged = JSNApiHelper::ToJSHandle(this); in IntegerValue()
266 JSHandle<JSTaggedValue> tagged = JSNApiHelper::ToJSHandle(this); in Uint32Value()
282 JSHandle<JSTaggedValue> tagged = JSNApiHelper::ToJSHandle(this); in Int32Value()
368 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(this); in ToBoolean()
378 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(this); in ToBigInt()
389 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(thi in ToNumber()
[all...]
H A Djsnapi_helper.h161 static inline ecmascript::JSHandle<ecmascript::JSTaggedValue> ToJSHandle(Local<JSValueRef> from) in ToJSHandle() function in panda::JSNApiHelper
167 static inline ecmascript::JSHandle<ecmascript::JSTaggedValue> ToJSHandle(JSValueRef *from) in ToJSHandle() function in panda::JSNApiHelper
H A Ddfx_jsnapi.cpp864 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(nativeObject); in GetObjectHash()
/arkcompiler/ets_runtime/ecmascript/
H A Djsnapi_sendable.cpp48 nameDesc.SetValue(JSNApiHelper::ToJSHandle(name)); in InitStaticDescription()
95 desc.SetKey(JSNApiHelper::ToJSHandle(info.keys[i])); in InitWithPropertiesInfo()
98 desc.SetValue(JSNApiHelper::ToJSHandle(info.attributes[i].GetValue(vm))); in InitWithPropertiesInfo()
114 auto valueHandle = JSNApiHelper::ToJSHandle(value); in GetSharedFieldType()
H A Dobject_factory.cpp5154 auto value = JSNApiHelper::ToJSHandle(values[i]).GetTaggedValue(); in CreateJSObjectWithNamedProperties()
5162 object->SetPropertyInlinedProps<true>(thread_, i, JSNApiHelper::ToJSHandle(values[i]).GetTaggedValue()); in CreateJSObjectWithNamedProperties()
5194 object->SetPropertyInlinedProps<true>(thread_, i, JSNApiHelper::ToJSHandle(values[i]).GetTaggedValue()); in CreateLargeJSObjectWithNamedProperties()
5223 dict.Update(NameDictionary::PutIfAbsent(thread_, dict, key, JSNApiHelper::ToJSHandle(values[i]), attr)); in CreateDictionaryJSObjectWithNamedProperties()
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_sendable_tests.cpp171 JSHandle<JSTaggedValue> jsConstructor = JSNApiHelper::ToJSHandle(constructor); in HWTEST_F_L0()
176 JSHandle<JSTaggedValue> jsPrototype = JSNApiHelper::ToJSHandle(functionPrototype); in HWTEST_F_L0()
181 thread_, JSNApiHelper::ToJSHandle(constructor), globalConst->GetHandledPrototypeString()) in HWTEST_F_L0()
263 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj), JSNApiHelper::ToJSHandle(constructor))); in HWTEST_F_L0()
264 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj0), JSNApiHelper::ToJSHandle(constructor))); in HWTEST_F_L0()
306 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj), JSNApiHelper::ToJSHandle(constructor))); in HWTEST_F_L0()
307 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj in HWTEST_F_L0()
[all...]
H A Djsnapi_third_tests.cpp973 JSHandle<JSObject> obj(JSNApiHelper::ToJSHandle(object)); in HWTEST_F_L0()
1008 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(object); in HWTEST_F_L0()
1032 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(object); in HWTEST_F_L0()
1055 JSHandle<JSObject> obj(JSNApiHelper::ToJSHandle(object)); in HWTEST_F_L0()
1087 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(object); in HWTEST_F_L0()
1106 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(object); in HWTEST_F_L0()
1170 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(object); in HWTEST_F_L0()
1194 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(object); in HWTEST_F_L0()
H A Djsnapi_first_tests.cpp1185 JSHandle<JSTaggedValue> sonHandle = JSNApiHelper::ToJSHandle(mapLocal); in HWTEST_F_L0()
1210 JSHandle<JSFunction> son1Handle = JSHandle<JSFunction>::Cast(JSNApiHelper::ToJSHandle(son1)); in HWTEST_F_L0()
1235 JSHandle<JSTaggedValue> sonHandle = JSNApiHelper::ToJSHandle(weakMapLocal); in HWTEST_F_L0()
1238 JSHandle<JSTaggedValue> fatherHandle = JSNApiHelper::ToJSHandle(weakSetLocal); in HWTEST_F_L0()
1267 JSHandle<JSFunction> sonHandle = JSHandle<JSFunction>::Cast(JSNApiHelper::ToJSHandle(noProtoLocal)); in HWTEST_F_L0()
1275 JSHandle<JSFunction> son1Handle = JSHandle<JSFunction>::Cast(JSNApiHelper::ToJSHandle(noProtoLocal)); in HWTEST_F_L0()
1344 JSHandle<JSFunction> sonHandle = JSHandle<JSFunction>::Cast(JSNApiHelper::ToJSHandle(noProtoLocal)); in HWTEST_F_L0()
1357 JSHandle<JSTaggedValue> clsObj = JSNApiHelper::ToJSHandle(Local<JSValueRef>(cls)); in HWTEST_F_L0()
2232 JSHandle<JSTaggedValue> sonHandle = JSNApiHelper::ToJSHandle(mapLocal); in HWTEST_F_L0()
2239 JSHandle<JSFunction> son1Handle = JSHandle<JSFunction>::Cast(JSNApiHelper::ToJSHandle(son in HWTEST_F_L0()
[all...]
H A Djsnapi_second_tests.cpp478 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(Local<JSValueRef>(cls)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/debugger/
H A Ddebugger_api.cpp352 JSTaggedValue target = JSNApiHelper::ToJSHandle(value).GetTaggedValue(); in SetProperties()
965 JSHandle<JSAPIArrayList> arrayList(JSNApiHelper::ToJSHandle(value)); in GetArrayListValue()
982 JSHandle<JSAPIDeque> deque(JSNApiHelper::ToJSHandle(value)); in GetDequeValue()
999 JSHandle<JSAPIHashMap> hashMap(JSNApiHelper::ToJSHandle(value)); in GetHashMapValue()
1033 JSHandle<JSAPIHashSet> hashSet(JSNApiHelper::ToJSHandle(value)); in GetHashSetValue()
1067 JSHandle<JSAPILightWeightMap> lightweightMap(JSNApiHelper::ToJSHandle(value)); in GetLightWeightMapValue()
1094 JSHandle<JSAPILightWeightSet> lightWeightSet(JSNApiHelper::ToJSHandle(value)); in GetLightWeightSetValue()
1119 JSHandle<JSAPILinkedList> linkedList(JSNApiHelper::ToJSHandle(value)); in GetLinkedListValue()
1139 JSHandle<JSAPIList> list(JSNApiHelper::ToJSHandle(value)); in GetListValue()
1159 JSHandle<JSAPIPlainArray> plainarray(JSNApiHelper::ToJSHandle(valu in GetPlainArrayValue()
[all...]
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_relative_time_format_test.cpp94 JSHandle<JSTaggedValue> disPlayNamesHandle = JSNApiHelper::ToJSHandle(disPlayNamesLocal); in HWTEST_F_L0()
H A Djs_number_format_test.cpp181 JSHandle<JSTaggedValue> disPlayNamesHandle = JSNApiHelper::ToJSHandle(disPlayNamesLocal); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/module/
H A Djs_module_manager.cpp781 nativeModule->StoreModuleValue(thread, 0, JSNApiHelper::ToJSHandle(exportObject)); in ExecuteNativeModuleMayThrowError()
783 return JSNApiHelper::ToJSHandle(exportObject); in ExecuteNativeModuleMayThrowError()
H A Djs_module_source_text.cpp455 requiredModule->StoreModuleValue(thread, 0, JSNApiHelper::ToJSHandle(exportObject)); in LoadNativeModule()
460 requiredModule->StoreModuleValue(thread, 0, JSNApiHelper::ToJSHandle(exportObject)); in LoadNativeModule()
/arkcompiler/ets_runtime/ecmascript/serializer/
H A Dbase_deserializer.cpp136 JSTaggedType res = JSNApiHelper::ToJSHandle(attachVal).GetTaggedType(); in DeserializeNativeBindingObject()
/arkcompiler/toolchain/tooling/base/
H A Dpt_types.cpp244 JSHandle<JSTaggedValue> valueHandle = JSNApiHelper::ToJSHandle(tagged); in AppendingHashToDescription()
/arkcompiler/ets_runtime/ecmascript/module/tests/
H A Decma_module_test.cpp2171 JSHandle<JSTaggedValue> result = JSNApiHelper::ToJSHandle(res); in HWTEST_F_L0()

Completed in 55 milliseconds