Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_array_buffer_test.cpp107 JSHandle<JSNativePointer> nativePointer = in HWTEST_F_L0() local
110 … arrBuf->Attach(thread, length + 1, JSHandle<JSTaggedValue>::Cast(nativePointer).GetTaggedValue()); in HWTEST_F_L0()
113 JSHandle<JSTaggedValue>::Cast(nativePointer).GetTaggedValue().GetRawData()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Djs_collator.h66 JSNativePointer *nativePointer = JSNativePointer::Cast(GetIcuField().GetTaggedObject()); in FIRST_BIT_FIELD() local
67 auto result = nativePointer->GetExternalPointer(); in FIRST_BIT_FIELD()
Dmethod.h377 void SetNativePointer(void *nativePointer) in SetNativePointer() argument
379 SetNativePointerOrBytecodeArray(nativePointer); in SetNativePointer()
Djs_object.h349 void SetNativePointerField(int32_t index, void *nativePointer,
Djs_object.cpp2279 void ECMAObject::SetNativePointerField(int32_t index, void *nativePointer, in SetNativePointerField() argument
2290 if (!current->IsHole() && nativePointer == nullptr) { in SetNativePointerField()
2296 nativePointer, callBack, data, false, nativeBindingsize); in SetNativePointerField()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackinfo.h28 uintptr_t *nativePointer = nullptr; member
Djs_stackinfo.cpp118 frameInfo.nativePointer = native; in BuildJsStackInfo()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.h122 EncodeBit NativePointerToEncodeBit(void *nativePointer);
123 size_t SearchNativeMethodIndex(void *nativePointer);
Dsnapshot_processor.cpp1459 auto nativePointer = *reinterpret_cast<void **>(slot.SlotAddress()); in SerializeObject() local
1461 NativePointerToEncodeBit(nativePointer).GetValue()); in SerializeObject()
1693 EncodeBit SnapshotProcessor::NativePointerToEncodeBit(void *nativePointer) in NativePointerToEncodeBit() argument
1696 if (nativePointer != nullptr) { // nativePointer in NativePointerToEncodeBit()
1700 pandaMethod_.emplace_back(ToUintPtr(nativePointer)); in NativePointerToEncodeBit()
1705 index = SearchNativeMethodIndex(nativePointer); in NativePointerToEncodeBit()
1714 size_t SnapshotProcessor::SearchNativeMethodIndex(void *nativePointer) in SearchNativeMethodIndex() argument
1717 if (nativePointer == reinterpret_cast<void *>(g_nativeTable[i])) { in SearchNativeMethodIndex()
/arkcompiler/toolchain/tooling/base/
Dpt_events.h270 NativeCalling &SetNativePointer(std::vector<void *> nativePointer) in SetNativePointer() argument
272 nativePointer_ = std::move(nativePointer); in SetNativePointer()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi.h67 using Deleter = void (*)(void *nativePointer, void *data);
574 …static Local<NativePointerRef> New(const EcmaVM *vm, void *nativePointer, size_t nativeBindingsize…
575 …static Local<NativePointerRef> New(const EcmaVM *vm, void *nativePointer, NativePointerCallback ca…
735 void *nativePointer = nullptr,
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp824 std::vector<void *> nativePointer; in GetNativePointer() local
845 nativePointer.push_back(native); in GetNativePointer()
848 nativePointer.push_back(nullptr); // to tell IDE this frame don't hava nativePointer in GetNativePointer()
851 return nativePointer; in GetNativePointer()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp1304 Local<NativePointerRef> NativePointerRef::New(const EcmaVM *vm, void *nativePointer, size_t nativeB… in New() argument
1308 JSHandle<JSNativePointer> obj = factory->NewJSNativePointer(nativePointer, nullptr, nullptr, in New()
1314 …const EcmaVM *vm, void *nativePointer, NativePointerCallback callBack, void *data, size_t nativeBi… in New() argument
1318 JSHandle<JSNativePointer> obj = factory->NewJSNativePointer(nativePointer, callBack, data, in New()
1325 JSHandle<JSTaggedValue> nativePointer = JSNApiHelper::ToJSHandle(this); in Value() local
1326 LOG_IF_SPECIAL(nativePointer, FATAL); in Value()
1327 return JSHandle<JSNativePointer>(nativePointer)->GetExternalPointer(); in Value()
1662 void ObjectRef::SetNativePointerField(int32_t index, void *nativePointer, in SetNativePointerField() argument
1667 object->SetNativePointerField(index, nativePointer, callBack, data, nativeBindingsize); in SetNativePointerField()
Ddfx_jsnapi.cpp143 uintptr_t *nativepointer = jf[i].nativePointer; in BuildNativeAndJsStackTrace()
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/
Doptimized_call.cpp389 Register nativePointer = rsi; in GenJSCall() local
393 …__ Mov(Operand(method, Method::NATIVE_POINTER_OR_BYTECODE_ARRAY_OFFSET), nativePointer); // nativ… in GenJSCall()