/arkcompiler/ets_runtime/ecmascript/ |
D | js_arraybuffer.cpp | 31 void *fromBuf = JSNativePointer::Cast(fromBlock.GetTaggedObject())->GetExternalPointer(); in CopyDataBlockBytes() 32 void *toBuf = JSNativePointer::Cast(toBlock.GetTaggedObject())->GetExternalPointer(); in CopyDataBlockBytes() 53 JSHandle<JSNativePointer> np(thread, arrayBufferData.GetTaggedObject()); in Attach() 73 JSHandle<JSNativePointer> np(thread, arrayBufferData.GetTaggedObject()); in Detach()
|
D | object_factory-inl.h | 64 JSHandle<JSNativePointer> ObjectFactory::NewJSNativePointer(void *externalPointer, in NewJSNativePointer() 78 JSHandle<JSNativePointer> obj(thread_, header); in NewJSNativePointer() 86 vm_->PushToNativePointerList(static_cast<JSNativePointer *>(header)); in NewJSNativePointer() 112 JSNativePointer *native = JSNativePointer::Cast(data.GetTaggedObject()); in NewJSIntlIcuData() 116 JSHandle<JSNativePointer> pointer = NewJSNativePointer(icuPoint, callback, vm_); in NewJSIntlIcuData()
|
D | js_native_pointer.h | 26 class JSNativePointer : public TaggedObject { 28 static JSNativePointer *Cast(TaggedObject *object) in Cast() 31 return reinterpret_cast<JSNativePointer *>(object); in Cast()
|
D | accessor_data.h | 52 JSNativePointer *getter = JSNativePointer::Cast(GetGetter().GetTaggedObject()); in CallInternalGet() 61 JSNativePointer *setter = JSNativePointer::Cast(GetSetter().GetTaggedObject());
|
D | js_plural_rules.cpp | 30 auto result = JSNativePointer::Cast(GetIcuNF().GetTaggedObject())->GetExternalPointer(); in GetIcuNumberFormatter() 57 JSNativePointer *native = JSNativePointer::Cast(data.GetTaggedObject()); in SetIcuNumberFormatter() 61 JSHandle<JSNativePointer> pointer = factory->NewJSNativePointer(icuPointer, callback, ecmaVm); in SetIcuNumberFormatter() 68 auto result = JSNativePointer::Cast(GetIcuPR().GetTaggedObject())->GetExternalPointer(); in GetIcuPluralRules() 95 JSNativePointer *native = JSNativePointer::Cast(data.GetTaggedObject()); in SetIcuPluralRules() 99 JSHandle<JSNativePointer> pointer = factory->NewJSNativePointer(icuPointer, callback, ecmaVm); in SetIcuPluralRules()
|
D | ecma_vm.cpp | 380 JSNativePointer *object = *iter; in ProcessNativeDelete() 401 JSNativePointer *object = *iter; in ProcessReferences() 408 heap_->IncreaseNativeBindingSize(JSNativePointer::Cast(fwd)); in ProcessReferences() 410 *iter = JSNativePointer::Cast(fwd); in ProcessReferences() 417 void EcmaVM::PushToNativePointerList(JSNativePointer *array) in PushToNativePointerList() 422 void EcmaVM::RemoveFromNativePointerList(JSNativePointer *array) in RemoveFromNativePointerList() 426 JSNativePointer *object = *iter; in RemoveFromNativePointerList() 601 JSHandle<JSNativePointer> extraInfo(thread_, extraInfoValue); in TriggerConcurrentCallback()
|
D | ecma_vm.h | 46 class JSNativePointer; variable 183 void PushToNativePointerList(JSNativePointer *array); 184 void RemoveFromNativePointerList(JSNativePointer *array); 443 CList<JSNativePointer *> nativePointerList_;
|
D | js_collator.h | 66 JSNativePointer *nativePointer = JSNativePointer::Cast(GetIcuField().GetTaggedObject()); in FIRST_BIT_FIELD()
|
D | js_displaynames.cpp | 51 auto result = JSNativePointer::Cast(GetIcuLDN().GetTaggedObject())->GetExternalPointer(); in GetIcuLocaleDisplayNames() 74 JSNativePointer *native = JSNativePointer::Cast(data.GetTaggedObject()); in SetIcuLocaleDisplayNames() 78 … JSHandle<JSNativePointer> pointer = factory->NewJSNativePointer(iculocaledisplaynames, callback); in SetIcuLocaleDisplayNames()
|
D | js_list_format.cpp | 42 auto result = JSNativePointer::Cast(GetIcuLF().GetTaggedObject())->GetExternalPointer(); in GetIcuListFormatter() 64 JSNativePointer *native = JSNativePointer::Cast(data.GetTaggedObject()); in SetIcuListFormatter() 68 JSHandle<JSNativePointer> pointer = factory->NewJSNativePointer(icuListFormatter, callback); in SetIcuListFormatter()
|
D | js_relative_time_format.h | 73 auto result = JSNativePointer::Cast(GetIcuField().GetTaggedObject())->GetExternalPointer(); in GetIcuRTFFormatter()
|
D | js_serializer.cpp | 694 JSHandle<JSNativePointer> np = JSHandle<JSNativePointer>::Cast(bufferValue); in WriteJSRegExp() 770 bool JSSerializer::WriteJSNativePointer(const JSHandle<JSNativePointer> &nativePtr) in WriteJSNativePointer() 831 JSHandle<JSNativePointer> np(thread_, arrayBuffer->GetArrayBufferData()); in WriteJSArrayBuffer() 976 DetachFunc detachNative = reinterpret_cast<DetachFunc>(JSNativePointer::Cast( in WriteNativeBindingObject() 982 AttachFunc attachNative = reinterpret_cast<AttachFunc>(JSNativePointer::Cast( in WriteNativeBindingObject() 1749 JSHandle<JSNativePointer> np = factory_->NewJSNativePointer(ToVoidPtr(externalPtr), in ReadJSNativePointer() 1794 … JSNativePointer* np = JSNativePointer::Cast(arrayBuffer->GetArrayBufferData().GetTaggedObject()); in ReadJSArrayBuffer()
|
D | js_collator.cpp | 70 JSNativePointer *native = JSNativePointer::Cast(data.GetTaggedObject()); in SetIcuCollator() 74 JSHandle<JSNativePointer> pointer = factory->NewJSNativePointer(icuCollator, callback); in SetIcuCollator()
|
D | js_date_time_format.cpp | 96 auto result = JSNativePointer::Cast(GetLocaleIcu().GetTaggedObject())->GetExternalPointer(); in GetIcuLocale() 110 JSNativePointer *native = JSNativePointer::Cast(data.GetTaggedObject()); in SetIcuLocale() 114 JSHandle<JSNativePointer> pointer = factory->NewJSNativePointer(icuPointer, callback, ecmaVm); in SetIcuLocale() 133 …auto result = JSNativePointer::Cast(GetSimpleDateTimeFormatIcu().GetTaggedObject())->GetExternalPo… in GetIcuSimpleDateFormat() 148 JSNativePointer *native = JSNativePointer::Cast(data.GetTaggedObject()); in SetIcuSimpleDateFormat() 154 JSHandle<JSNativePointer> pointer = factory->NewJSNativePointer(icuPointer, callback, ecmaVm, in SetIcuSimpleDateFormat()
|
D | js_number_format.h | 97 auto result = JSNativePointer::Cast(GetIcuField().GetTaggedObject())->GetExternalPointer(); in FIRST_BIT_FIELD()
|
D | js_serializer.h | 144 bool WriteJSNativePointer(const JSHandle<JSNativePointer> &value);
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | gc_test.cpp | 191 [[maybe_unused]] JSHandle<JSNativePointer> obj = factory->NewJSNativePointer(newData, in HWTEST_F_L0() 197 [[maybe_unused]] JSHandle<JSNativePointer> obj2 = factory->NewJSNativePointer(newData1, in HWTEST_F_L0() 204 [[maybe_unused]] JSHandle<JSNativePointer> obj3 = factory->NewJSNativePointer(newData2, in HWTEST_F_L0() 226 [[maybe_unused]] JSHandle<JSNativePointer> obj = factory->NewJSNativePointer(newData, in HWTEST_F_L0() 232 [[maybe_unused]] JSHandle<JSNativePointer> obj2 = factory->NewJSNativePointer(newData1, in HWTEST_F_L0() 240 [[maybe_unused]] JSHandle<JSNativePointer> obj3 = factory->NewJSNativePointer(newData2, in HWTEST_F_L0() 265 [[maybe_unused]] JSHandle<JSNativePointer> obj = factory->NewJSNativePointer(newData, in HWTEST_F_L0() 271 [[maybe_unused]] JSHandle<JSNativePointer> obj2 = factory->NewJSNativePointer(newData1, in HWTEST_F_L0() 278 [[maybe_unused]] JSHandle<JSNativePointer> obj3 = factory->NewJSNativePointer(newData2, in HWTEST_F_L0() 300 [[maybe_unused]] JSHandle<JSNativePointer> obj = factory->NewJSNativePointer(newData, in HWTEST_F_L0() [all …]
|
D | js_array_buffer_test.cpp | 64 …JSHandle<JSNativePointer> toNativePointer = factory->NewJSNativePointer(toBuffer, nullptr, nullptr… in HWTEST_F_L0() 71 JSHandle<JSNativePointer> fromNativePointer = in HWTEST_F_L0() 107 JSHandle<JSNativePointer> nativePointer = in HWTEST_F_L0()
|
D | js_serializer_test.cpp | 505 auto np = JSHandle<JSNativePointer>::Cast(bufferData); in JSArrayBufferTest() 509 JSHandle<JSNativePointer> resNp = JSHandle<JSNativePointer>::Cast(resBufferData); in JSArrayBufferTest() 537 auto np = JSHandle<JSNativePointer>::Cast(bufferData); in JSSharedArrayBufferTest() 541 JSHandle<JSNativePointer> resNp = JSHandle<JSNativePointer>::Cast(resBufferData); in JSSharedArrayBufferTest() 566 JSHandle<JSNativePointer> resNp = JSHandle<JSNativePointer>::Cast(resBufferData); in JSSharedArrayBufferTest1() 600 JSHandle<JSNativePointer> resNp = JSHandle<JSNativePointer>::Cast(resBufferData); in JSRegexpTest() 641 JSHandle<JSNativePointer> resNp = JSHandle<JSNativePointer>::Cast(resBufferData); in TypedArrayTest1() 849 JSHandle<JSNativePointer> np = JSHandle<JSNativePointer>::Cast(nativePtr); in TransferJSArrayBufferTest1() 868 JSHandle<JSNativePointer> np = JSHandle<JSNativePointer>::Cast(nativePtr); in TransferJSArrayBufferTest2() 917 JSHandle<JSNativePointer> resNp = JSHandle<JSNativePointer>::Cast(resBufferData); in TransferJSArrayBufferTest4() [all …]
|
D | accessor_data_test.cpp | 190 JSHandle<JSNativePointer> prototypeGetterFuncNativePtrHandle = in HWTEST_F_L0() 199 JSHandle<JSNativePointer> prototypeSetterFuncNativePtrHandle = in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
D | js_stackgetter.cpp | 140 JSNativePointer *extraInfo = JSNativePointer::Cast(extraInfoValue.GetTaggedObject()); in GetNativeStack() 277 JSNativePointer *extraInfo = JSNativePointer::Cast(extraInfoValue.GetTaggedObject()); in GetMethodIdentifier()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | scope_info_extractor.cpp | 58 JSHandle<JSNativePointer> pointer = factory->NewJSNativePointer( in GenerateScopeInfo()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | typed_array_stub_builder.h | 69 GateRef offset = IntPtr(JSNativePointer::POINTER_OFFSET); in GetExternalPointer()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | heap.h | 40 class JSNativePointer; variable 492 void IncreaseNativeBindingSize(JSNativePointer *object);
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_namespace.cpp | 337 JSHandle<JSNativePointer> registerPointer = factory->NewJSNativePointer( in SetModuleDeregisterProcession()
|