/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi.cpp | 155 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 D | jsnapi_expo.cpp | 195 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 D | jsnapi_helper.h | 161 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 D | dfx_jsnapi.cpp | 864 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(nativeObject); in GetObjectHash()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | jsnapi_sendable.cpp | 48 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 D | object_factory.cpp | 5154 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 D | jsnapi_sendable_tests.cpp | 171 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 D | jsnapi_third_tests.cpp | 973 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 D | jsnapi_first_tests.cpp | 1185 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 D | jsnapi_second_tests.cpp | 478 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(Local<JSValueRef>(cls)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
H A D | debugger_api.cpp | 352 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 D | js_relative_time_format_test.cpp | 94 JSHandle<JSTaggedValue> disPlayNamesHandle = JSNApiHelper::ToJSHandle(disPlayNamesLocal); in HWTEST_F_L0()
|
H A D | js_number_format_test.cpp | 181 JSHandle<JSTaggedValue> disPlayNamesHandle = JSNApiHelper::ToJSHandle(disPlayNamesLocal); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | js_module_manager.cpp | 781 nativeModule->StoreModuleValue(thread, 0, JSNApiHelper::ToJSHandle(exportObject)); in ExecuteNativeModuleMayThrowError() 783 return JSNApiHelper::ToJSHandle(exportObject); in ExecuteNativeModuleMayThrowError()
|
H A D | js_module_source_text.cpp | 455 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 D | base_deserializer.cpp | 136 JSTaggedType res = JSNApiHelper::ToJSHandle(attachVal).GetTaggedType(); in DeserializeNativeBindingObject()
|
/arkcompiler/toolchain/tooling/base/ |
H A D | pt_types.cpp | 244 JSHandle<JSTaggedValue> valueHandle = JSNApiHelper::ToJSHandle(tagged); in AppendingHashToDescription()
|
/arkcompiler/ets_runtime/ecmascript/module/tests/ |
H A D | ecma_module_test.cpp | 2171 JSHandle<JSTaggedValue> result = JSNApiHelper::ToJSHandle(res); in HWTEST_F_L0()
|