Lines Matching refs:current
459 Global<T>::Global(const EcmaVM *vm, const Local<S> ¤t) : vm_(vm)
461 if (!current.IsEmpty()) {
462 address_ = JSNApi::GetGlobalHandleAddr(vm_, reinterpret_cast<uintptr_t>(*current));
468 Global<T>::Global(const EcmaVM *vm, const Global<S> ¤t) : vm_(vm)
470 if (!current.IsEmpty()) {
471 address_ = JSNApi::GetGlobalHandleAddr(vm_, reinterpret_cast<uintptr_t>(*current));
476 CopyableGlobal<T>::CopyableGlobal(const EcmaVM *vm, const Local<T> ¤t) : vm_(vm)
478 if (!current.IsEmpty()) {
479 address_ = JSNApi::GetGlobalHandleAddr(vm_, reinterpret_cast<uintptr_t>(*current));
485 CopyableGlobal<T>::CopyableGlobal(const EcmaVM *vm, const Local<S> ¤t) : vm_(vm)
487 if (!current.IsEmpty()) {
488 address_ = JSNApi::GetGlobalHandleAddr(vm_, reinterpret_cast<uintptr_t>(*current));
606 Local<T>::Local(const EcmaVM *vm, const CopyableGlobal<T> ¤t)
608 address_ = JSNApi::GetHandleAddr(vm, reinterpret_cast<uintptr_t>(*current));
612 Local<T>::Local(const EcmaVM *vm, const Global<T> ¤t)
614 address_ = JSNApi::GetHandleAddr(vm, reinterpret_cast<uintptr_t>(*current));