Home
last modified time | relevance | path

Searched refs:GetExternalPointer (Results 1 – 24 of 24) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_arraybuffer.cpp31 void *fromBuf = JSNativePointer::Cast(fromBlock.GetTaggedObject())->GetExternalPointer(); in CopyDataBlockBytes()
32 void *toBuf = JSNativePointer::Cast(toBlock.GetTaggedObject())->GetExternalPointer(); in CopyDataBlockBytes()
55 allocator->IncreaseNativeMemoryUsage(MallocUsableSize(np->GetExternalPointer())); in Attach()
75 allocator->DecreaseNativeMemoryUsage(MallocUsableSize(np->GetExternalPointer())); in Detach()
Daccessor_data.h53 auto getFunc = reinterpret_cast<InternalGetFunc>(getter->GetExternalPointer()); in CallInternalGet()
62 auto setFunc = reinterpret_cast<InternalSetFunc>(setter->GetExternalPointer());
Djs_native_pointer.h67 void *externalPointer = GetExternalPointer(); in DECL_VISIT_NATIVE_FIELD()
Djs_relative_time_format.h73 auto result = JSNativePointer::Cast(GetIcuField().GetTaggedObject())->GetExternalPointer(); in GetIcuRTFFormatter()
Djs_collator.h67 auto result = nativePointer->GetExternalPointer(); in FIRST_BIT_FIELD()
Djs_number_format.h97 auto result = JSNativePointer::Cast(GetIcuField().GetTaggedObject())->GetExternalPointer(); in FIRST_BIT_FIELD()
Djs_plural_rules.cpp30 auto result = JSNativePointer::Cast(GetIcuNF().GetTaggedObject())->GetExternalPointer(); in GetIcuNumberFormatter()
68 auto result = JSNativePointer::Cast(GetIcuPR().GetTaggedObject())->GetExternalPointer(); in GetIcuPluralRules()
Djs_serializer.cpp695 void *dynBuffer = np->GetExternalPointer(); in WriteJSRegExp()
772 uintptr_t externalPtr = reinterpret_cast<uintptr_t>(nativePtr->GetExternalPointer()); in WriteJSNativePointer()
833 void *buffer = np->GetExternalPointer(); in WriteJSArrayBuffer()
847 void *buffer = np->GetExternalPointer(); in WriteJSArrayBuffer()
977 detachVal.GetTaggedValue().GetTaggedObject())->GetExternalPointer()); in WriteNativeBindingObject()
983 attackVal.GetTaggedValue().GetTaggedObject())->GetExternalPointer()); in WriteNativeBindingObject()
1795 void *toBuffer = np->GetExternalPointer(); in ReadJSArrayBuffer()
Djs_displaynames.cpp51 auto result = JSNativePointer::Cast(GetIcuLDN().GetTaggedObject())->GetExternalPointer(); in GetIcuLocaleDisplayNames()
Djs_list_format.cpp42 auto result = JSNativePointer::Cast(GetIcuLF().GetTaggedObject())->GetExternalPointer(); in GetIcuListFormatter()
Djs_locale.h166 auto result = JSNativePointer::Cast(GetIcuField().GetTaggedObject())->GetExternalPointer(); in ACCESSORS()
Djs_typed_array.cpp723 ToUintPtr(JSNativePointer::Cast(data.GetTaggedObject())->GetExternalPointer())); in GetOffHeapBuffer()
Djs_date_time_format.cpp96 auto result = JSNativePointer::Cast(GetLocaleIcu().GetTaggedObject())->GetExternalPointer(); in GetIcuLocale()
133 …sult = JSNativePointer::Cast(GetSimpleDateTimeFormatIcu().GetTaggedObject())->GetExternalPointer(); in GetIcuSimpleDateFormat()
Djs_object.cpp2273 return pointer->GetExternalPointer(); in GetNativePointerField()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_array_buffer_test.cpp77 auto toData = reinterpret_cast<uint8_t *>(toNativePointer->GetExternalPointer()); in HWTEST_F_L0()
78 auto fromData = reinterpret_cast<uint8_t *>(fromNativePointer->GetExternalPointer()); in HWTEST_F_L0()
Djs_serializer_test.cpp506 void *buffer = np->GetExternalPointer(); in JSArrayBufferTest()
510 void *resBuffer = resNp->GetExternalPointer(); in JSArrayBufferTest()
538 void *buffer = np->GetExternalPointer(); in JSSharedArrayBufferTest()
542 void *resBuffer = resNp->GetExternalPointer(); in JSSharedArrayBufferTest()
567 void *resBuffer = resNp->GetExternalPointer(); in JSSharedArrayBufferTest1()
601 void *resBuffer = resNp->GetExternalPointer(); in JSRegexpTest()
642 void *resBuffer = resNp->GetExternalPointer(); in TypedArrayTest1()
850 uintptr_t bufferAddr = reinterpret_cast<uintptr_t>(np->GetExternalPointer()); in TransferJSArrayBufferTest1()
869 uintptr_t bufferAddr = reinterpret_cast<uintptr_t>(np->GetExternalPointer()); in TransferJSArrayBufferTest2()
918 void *resBuffer = resNp->GetExternalPointer(); in TransferJSArrayBufferTest4()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtyped_array_stub_builder.h67 GateRef GetExternalPointer(GateRef buffer) in GetExternalPointer() function
Dtyped_array_stub_builder.cpp72 result = GetExternalPointer(data); in GetDataPointFromBuffer()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackinfo.cpp161 native = reinterpret_cast<uintptr_t *>(extraInfo->GetExternalPointer()); in BuildJsStackInfo()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp1327 return JSHandle<JSNativePointer>(nativePointer)->GetExternalPointer(); in Value()
2099 return JSNativePointer::Cast(bufferData.GetTaggedObject())->GetExternalPointer(); in GetBuffer()
2130 ToUintPtr(JSNativePointer::Cast(data.GetTaggedObject())->GetExternalPointer()) + i); in BufferToStringCallback()
2209 return JSNativePointer::Cast(bufferData.GetTaggedObject())->GetExternalPointer(); in GetBuffer()
2842 … FunctionCallback nativeFunc = reinterpret_cast<FunctionCallback>(extraInfo->GetExternalPointer()); in RegisterCallback()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_arraybuffer.cpp736 ->GetExternalPointer()) + byteOffset); in GetDataPointFromBuffer()
Dbuiltins_regexp.cpp595 void *dynBuf = JSNativePointer::Cast(bufferData.GetTaggedObject())->GetExternalPointer(); in RegExpReplaceFast()
1331 void *dynBuf = JSNativePointer::Cast(bufferData.GetTaggedObject())->GetExternalPointer(); in Matcher()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp294 …result = JSNativePointer::Cast(lexicalEnv->GetScopeInfo().GetTaggedObject())->GetExternalPointer(); in GetLevelSlot()
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp1291 lexEnv->GetScopeInfo().GetTaggedObject())->GetExternalPointer()); in GetClosureVariables()