Home
last modified time | relevance | path

Searched refs:ToJSHandle (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_expo.cpp235 JSHandle<JSTaggedValue> obj(JSTaggedValue::ToObject(thread, JSNApiHelper::ToJSHandle(this))); in ToObject()
244 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(this); in ToString()
256 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(this); in ToNativePointer()
269 JSHandle<JSTaggedValue> tagged = JSNApiHelper::ToJSHandle(this); in IntegerValue()
286 uint32_t number = JSTaggedValue::ToUint32(thread, JSNApiHelper::ToJSHandle(this)); in Uint32Value()
294 int32_t number = JSTaggedValue::ToInt32(thread, JSNApiHelper::ToJSHandle(this)); in Int32Value()
302 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(this); in ToBoolean()
311 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(this); in ToBigInt()
321 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(this); in ToNumber()
331 JSHandle<JSTaggedValue> xValue = JSNApiHelper::ToJSHandle(this); in IsStrictEquals()
[all …]
Djsnapi.cpp207 …JSHandle<JSArrayBuffer> arrayBuffer(JSNApiHelper::ToJSHandle(buffer)); \
247 …JSNApiHelper::ToJSHandle(json), constants->GetHandledUndefined(), constants->GetHandledUndefined()… in Stringify()
255 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in GetOriginalSource()
269 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in GetOriginalFlags()
298 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in IsGlobal()
309 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in IsIgnoreCase()
320 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in IsMultiline()
331 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in IsDotAll()
342 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in IsUtf16()
353 JSHandle<JSRegExp> regExp(JSNApiHelper::ToJSHandle(this)); in IsStick()
[all …]
Djsnapi_helper.h130 static inline ecmascript::JSHandle<ecmascript::JSTaggedValue> ToJSHandle(Local<JSValueRef> from) in ToJSHandle() function
136 static inline ecmascript::JSHandle<ecmascript::JSTaggedValue> ToJSHandle(JSValueRef *from) in ToJSHandle() function
DJSNapi接口说明.md3888 ʹ�� `JSNApiHelper::ToJSHandle(this)` ����ǰ�� `ObjectRef` ����ת��Ϊ JavaScript �е� `JSTaggedValue` ��…
3890 ʹ�� `JSNApiHelper::ToJSHandle(key)` �� `JSNApiHelper::ToJSHandle(value)` ������ֵת��Ϊ JavaScript �е�…
3927 ʹ�� `JSNApiHelper::ToJSHandle(this)` ����ǰ�� `ObjectRef` ����ת��Ϊ JavaScript �е� `JSTaggedValue` ��…
3960 ʹ�� `JSNApiHelper::ToJSHandle(this)` ����ǰ�� `ObjectRef` ����ת��Ϊ JavaScript �е� `JSObject` ����
4081 ʹ�� `JSNApiHelper::ToJSHandle(this)` ����ǰ�� `ObjectRef` ����ת��Ϊ JavaScript �е� `JSObject` ����
4083 ʹ�� `JSNApiHelper::ToJSHandle(prototype)` ������� `prototype` ����ת��Ϊ JavaScript �е� `JSObject` ��…
4353 ʹ�� `JSNApiHelper::ToJSHandle(this)` ����ǰ�� `TypedArrayRef` ����ת��Ϊ JavaScript �е� `JSTypedArray`…
4385 ʹ�� `JSNApiHelper::ToJSHandle(this)` ����ǰ�� `TypedArrayRef` ����ת��Ϊ JavaScript �е� `JSTypedArray`…
4417 ʹ�� `JSNApiHelper::ToJSHandle(this)` ����ǰ�� `TypedArrayRef` ����ת��Ϊ JavaScript �е� `JSTypedArray`…
5163 ͨ�� `JSNApiHelper::ToJSHandle(this)` ����ǰ�� `MapRef` ����ת��Ϊ JavaScript �е� `JSMap` ����
[all …]
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp338 JSTaggedValue target = JSNApiHelper::ToJSHandle(value).GetTaggedValue(); in SetProperties()
950 JSHandle<JSAPIArrayList> arrayList(JSNApiHelper::ToJSHandle(value)); in GetArrayListValue()
967 JSHandle<JSAPIDeque> deque(JSNApiHelper::ToJSHandle(value)); in GetDequeValue()
984 JSHandle<JSAPIHashMap> hashMap(JSNApiHelper::ToJSHandle(value)); in GetHashMapValue()
1018 JSHandle<JSAPIHashSet> hashSet(JSNApiHelper::ToJSHandle(value)); in GetHashSetValue()
1052 JSHandle<JSAPILightWeightMap> lightweightMap(JSNApiHelper::ToJSHandle(value)); in GetLightWeightMapValue()
1079 JSHandle<JSAPILightWeightSet> lightWeightSet(JSNApiHelper::ToJSHandle(value)); in GetLightWeightSetValue()
1104 JSHandle<JSAPILinkedList> linkedList(JSNApiHelper::ToJSHandle(value)); in GetLinkedListValue()
1124 JSHandle<JSAPIList> list(JSNApiHelper::ToJSHandle(value)); in GetListValue()
1144 JSHandle<JSAPIPlainArray> plainarray(JSNApiHelper::ToJSHandle(value)); in GetPlainArrayValue()
[all …]
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_third_tests.cpp936 JSHandle<JSObject> obj(JSNApiHelper::ToJSHandle(object)); in HWTEST_F_L0()
971 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(object); in HWTEST_F_L0()
995 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(object); in HWTEST_F_L0()
1018 JSHandle<JSObject> obj(JSNApiHelper::ToJSHandle(object)); in HWTEST_F_L0()
1050 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(object); in HWTEST_F_L0()
1069 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(object); in HWTEST_F_L0()
Djsnapi_first_tests.cpp1119 JSHandle<JSTaggedValue> sonHandle = JSNApiHelper::ToJSHandle(mapLocal); in HWTEST_F_L0()
1144 JSHandle<JSFunction> son1Handle = JSHandle<JSFunction>::Cast(JSNApiHelper::ToJSHandle(son1)); in HWTEST_F_L0()
1168 JSHandle<JSTaggedValue> sonHandle = JSNApiHelper::ToJSHandle(weakMapLocal); in HWTEST_F_L0()
1171 JSHandle<JSTaggedValue> fatherHandle = JSNApiHelper::ToJSHandle(weakSetLocal); in HWTEST_F_L0()
1199 …JSHandle<JSFunction> sonHandle = JSHandle<JSFunction>::Cast(JSNApiHelper::ToJSHandle(noProtoLocal)… in HWTEST_F_L0()
1207 …JSHandle<JSFunction> son1Handle = JSHandle<JSFunction>::Cast(JSNApiHelper::ToJSHandle(noProtoLocal… in HWTEST_F_L0()
1275 …JSHandle<JSFunction> sonHandle = JSHandle<JSFunction>::Cast(JSNApiHelper::ToJSHandle(noProtoLocal)… in HWTEST_F_L0()
1288 JSHandle<JSTaggedValue> clsObj = JSNApiHelper::ToJSHandle(Local<JSValueRef>(cls)); in HWTEST_F_L0()
2018 JSHandle<JSTaggedValue> sonHandle = JSNApiHelper::ToJSHandle(mapLocal); in HWTEST_F_L0()
2025 JSHandle<JSFunction> son1Handle = JSHandle<JSFunction>::Cast(JSNApiHelper::ToJSHandle(son1)); in HWTEST_F_L0()
Djsnapi_second_tests.cpp457 JSHandle<JSTaggedValue> obj = JSNApiHelper::ToJSHandle(Local<JSValueRef>(cls)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_relative_time_format_test.cpp128 JSHandle<JSTaggedValue> disPlayNamesHandle = JSNApiHelper::ToJSHandle(disPlayNamesLocal); in HWTEST_F_L0()
Djs_number_format_test.cpp215 JSHandle<JSTaggedValue> disPlayNamesHandle = JSNApiHelper::ToJSHandle(disPlayNamesLocal); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/serializer/
Dbase_deserializer.cpp157 JSTaggedType res = JSNApiHelper::ToJSHandle(attachVal).GetTaggedType(); in DeserializeNativeBindingObject()
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.cpp4701 JSHandle<JSTaggedValue> key(JSNApiHelper::ToJSHandle(keys[i])); in CreateJSObjectWithProperties()
4737 JSHandle<JSTaggedValue> key(JSNApiHelper::ToJSHandle(keys[i])); in CreateLargeJSObjectWithProperties()
4771 JSHandle<JSTaggedValue> key(JSNApiHelper::ToJSHandle(keys[i])); in CreateDictionaryJSObjectWithProperties()
4813 …object->SetPropertyInlinedProps<true>(thread_, i, JSNApiHelper::ToJSHandle(values[i]).GetTaggedVal… in CreateJSObjectWithNamedProperties()
4845 …object->SetPropertyInlinedProps<true>(thread_, i, JSNApiHelper::ToJSHandle(values[i]).GetTaggedVal… in CreateLargeJSObjectWithNamedProperties()
4874 …dict.Update(NameDictionary::PutIfAbsent(thread_, dict, key, JSNApiHelper::ToJSHandle(values[i]), a… in CreateDictionaryJSObjectWithNamedProperties()
Djs_serializer.cpp1552 return JSNApiHelper::ToJSHandle(attachVal); in ReadNativeBindingObject()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_source_text.cpp392 requiredModule->StoreModuleValue(thread, 0, JSNApiHelper::ToJSHandle(exportObject)); in LoadNativeModule()
/arkcompiler/toolchain/tooling/base/
Dpt_types.cpp244 JSHandle<JSTaggedValue> valueHandle = JSNApiHelper::ToJSHandle(tagged); in AppendingHashToDescription()