Home
last modified time | relevance | path

Searched refs:localAddress (Results 1 – 2 of 2) sorted by relevance

/ark/js_runtime/ecmascript/napi/
Djsnapi.cpp327 uintptr_t JSNApi::GetHandleAddr(const EcmaVM *vm, uintptr_t localAddress) in GetHandleAddr() argument
329 if (localAddress == 0) { in GetHandleAddr()
332 JSTaggedType value = *(reinterpret_cast<JSTaggedType *>(localAddress)); in GetHandleAddr()
336 uintptr_t JSNApi::GetGlobalHandleAddr(const EcmaVM *vm, uintptr_t localAddress) in GetGlobalHandleAddr() argument
338 if (localAddress == 0) { in GetGlobalHandleAddr()
341 JSTaggedType value = *(reinterpret_cast<JSTaggedType *>(localAddress)); in GetGlobalHandleAddr()
345 uintptr_t JSNApi::SetWeak(const EcmaVM *vm, uintptr_t localAddress) in SetWeak() argument
347 if (localAddress == 0) { in SetWeak()
350 return vm->GetJSThread()->GetEcmaGlobalStorage()->SetWeak(localAddress); in SetWeak()
353 uintptr_t JSNApi::ClearWeak(const EcmaVM *vm, uintptr_t localAddress) in ClearWeak() argument
[all …]
/ark/js_runtime/ecmascript/napi/include/
Djsnapi.h929 static uintptr_t GetHandleAddr(const EcmaVM *vm, uintptr_t localAddress);
930 static uintptr_t GetGlobalHandleAddr(const EcmaVM *vm, uintptr_t localAddress);
931 static uintptr_t SetWeak(const EcmaVM *vm, uintptr_t localAddress);
932 static uintptr_t ClearWeak(const EcmaVM *vm, uintptr_t localAddress);
933 static bool IsWeak(const EcmaVM *vm, uintptr_t localAddress);