/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_array_buffer_test.cpp | 107 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/ |
D | js_collator.h | 66 JSNativePointer *nativePointer = JSNativePointer::Cast(GetIcuField().GetTaggedObject()); in FIRST_BIT_FIELD() local 67 auto result = nativePointer->GetExternalPointer(); in FIRST_BIT_FIELD()
|
D | method.h | 377 void SetNativePointer(void *nativePointer) in SetNativePointer() argument 379 SetNativePointerOrBytecodeArray(nativePointer); in SetNativePointer()
|
D | js_object.h | 349 void SetNativePointerField(int32_t index, void *nativePointer,
|
D | js_object.cpp | 2279 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/ |
D | js_stackinfo.h | 28 uintptr_t *nativePointer = nullptr; member
|
D | js_stackinfo.cpp | 118 frameInfo.nativePointer = native; in BuildJsStackInfo()
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
D | snapshot_processor.h | 122 EncodeBit NativePointerToEncodeBit(void *nativePointer); 123 size_t SearchNativeMethodIndex(void *nativePointer);
|
D | snapshot_processor.cpp | 1459 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/ |
D | pt_events.h | 270 NativeCalling &SetNativePointer(std::vector<void *> nativePointer) in SetNativePointer() argument 272 nativePointer_ = std::move(nativePointer); in SetNativePointer()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
D | jsnapi.h | 67 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/ |
D | debugger_api.cpp | 824 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/ |
D | jsnapi.cpp | 1304 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()
|
D | dfx_jsnapi.cpp | 143 uintptr_t *nativepointer = jf[i].nativePointer; in BuildNativeAndJsStackTrace()
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/ |
D | optimized_call.cpp | 389 Register nativePointer = rsi; in GenJSCall() local 393 …__ Mov(Operand(method, Method::NATIVE_POINTER_OR_BYTECODE_ARRAY_OFFSET), nativePointer); // nativ… in GenJSCall()
|