Lines Matching refs:val_
199 V8_INLINE Local() : val_(nullptr) {} in Local()
202 : val_(reinterpret_cast<T*>(*that)) { in Local()
214 V8_INLINE bool IsEmpty() const { return val_ == nullptr; } in IsEmpty()
219 V8_INLINE void Clear() { val_ = nullptr; } in Clear()
221 V8_INLINE T* operator->() const { return val_; }
223 V8_INLINE T* operator*() const { return val_; }
237 internal::Address* a = reinterpret_cast<internal::Address*>(this->val_);
238 internal::Address* b = reinterpret_cast<internal::Address*>(that.val_);
246 internal::Address* a = reinterpret_cast<internal::Address*>(this->val_);
247 internal::Address* b = reinterpret_cast<internal::Address*>(that.val_);
345 explicit V8_INLINE Local(T* that) : val_(that) {} in Local()
347 T* val_; variable
371 V8_INLINE MaybeLocal() : val_(nullptr) {} in MaybeLocal()
374 : val_(reinterpret_cast<T*>(*that)) { in MaybeLocal()
378 V8_INLINE bool IsEmpty() const { return val_ == nullptr; } in IsEmpty()
386 out->val_ = IsEmpty() ? nullptr : this->val_; in ToLocal()
402 return IsEmpty() ? default_value : Local<S>(val_); in FromMaybe()
406 T* val_;
415 V8_INLINE Eternal() : val_(nullptr) {} in Eternal()
417 V8_INLINE Eternal(Isolate* isolate, Local<S> handle) : val_(nullptr) { in Eternal()
422 V8_INLINE bool IsEmpty() const { return val_ == nullptr; } in IsEmpty()
426 T* val_;
508 V8_INLINE bool IsEmpty() const { return val_ == nullptr; } in IsEmpty()
509 V8_INLINE void Empty() { val_ = 0; } in Empty()
517 internal::Address* a = reinterpret_cast<internal::Address*>(this->val_);
518 internal::Address* b = reinterpret_cast<internal::Address*>(that.val_);
526 internal::Address* a = reinterpret_cast<internal::Address*>(this->val_);
527 internal::Address* b = reinterpret_cast<internal::Address*>(that.val_);
614 explicit V8_INLINE PersistentBase(T* val) : val_(val) {} in PersistentBase()
617 T* val_; variable
747 V8_INLINE T* operator*() const { return this->val_; }
784 : PersistentBase<T>(PersistentBase<T>::New(isolate, that.val_)) { in Global()
817 V8_INLINE T* operator*() const { return this->val_; }
837 bool IsEmpty() const { return val_ == nullptr; } in IsEmpty()
874 reinterpret_cast<std::atomic<void*>*>(&val_)->store( in SetSlotThreadSafe()
882 return reinterpret_cast<std::atomic<const void*> const*>(&val_)->load( in GetSlotThreadSafe()
887 internal::Address* val_ = nullptr; variable
927 T* operator->() const { return reinterpret_cast<T*>(val_); }
928 T* operator*() const { return reinterpret_cast<T*>(val_); }
982 this->val_ = this->New(isolate, that.val_, &this->val_, in TracedGlobal()
1105 this->val_ = this->New(isolate, that.val_, &this->val_, in TracedReference()
3992 return object.val_->InternalFieldCount(); in InternalFieldCount()
4017 return object.val_->GetAlignedPointerFromInternalField(index); in GetAlignedPointerFromInternalField()
4126 return object.val_->CreationContext(); in CreationContext()
10844 return New(isolate, that.val_); in New()
10849 return New(isolate, that.val_); in New()
10871 val_ = reinterpret_cast<T*>( in Set()
10879 return Local<T>(val_); in Get()
10885 if (V8_UNLIKELY(val_ == nullptr)) V8::ToLocalEmpty(); in ToLocalChecked()
10886 return Local<T>(val_); in ToLocalChecked()
10917 internal::Address* p = reinterpret_cast<internal::Address*>(that.val_); in Copy()
10918 this->val_ = reinterpret_cast<T*>(V8::CopyGlobalReference(p)); in Copy()
10926 return I::GetNodeState(reinterpret_cast<internal::Address*>(this->val_)) == in IsWeak()
10934 V8::DisposeGlobal(reinterpret_cast<internal::Address*>(this->val_)); in Reset()
10935 val_ = nullptr; in Reset()
10945 this->val_ = New(isolate, other.val_); in Reset()
10956 this->val_ = New(isolate, other.val_); in Reset()
10970 V8::MakeWeak(reinterpret_cast<internal::Address*>(this->val_), parameter, in SetWeak()
10979 V8::MakeWeak(reinterpret_cast<internal::Address**>(&this->val_)); in SetWeak()
10986 V8::ClearWeak(reinterpret_cast<internal::Address*>(this->val_))); in ClearWeak()
10991 V8::AnnotateStrongRetainer(reinterpret_cast<internal::Address*>(this->val_), in AnnotateStrongRetainer()
10999 internal::Address* obj = reinterpret_cast<internal::Address*>(this->val_); in SetWrapperClassId()
11009 internal::Address* obj = reinterpret_cast<internal::Address*>(this->val_); in WrapperClassId()
11015 Global<T>::Global(Global&& other) : PersistentBase<T>(other.val_) { in Global()
11016 if (other.val_ != nullptr) { in Global()
11017 V8::MoveGlobalReference(reinterpret_cast<internal::Address**>(&other.val_), in Global()
11018 reinterpret_cast<internal::Address**>(&this->val_)); in Global()
11019 other.val_ = nullptr; in Global()
11029 if (rhs.val_ != nullptr) {
11030 this->val_ = rhs.val_;
11032 reinterpret_cast<internal::Address**>(&rhs.val_),
11033 reinterpret_cast<internal::Address**>(&this->val_));
11034 rhs.val_ = nullptr;
11053 V8::DisposeTracedGlobal(reinterpret_cast<internal::Address*>(val_)); in Reset()
11059 return Local<Value>::New(isolate, reinterpret_cast<Value*>(val_)); in Get()
11064 v8::internal::Address* a = reinterpret_cast<v8::internal::Address*>(lhs.val_);
11065 v8::internal::Address* b = reinterpret_cast<v8::internal::Address*>(rhs.val_);
11074 v8::internal::Address* a = reinterpret_cast<v8::internal::Address*>(lhs.val_);
11110 this->val_ = this->New(isolate, other.val_, &this->val_, in Reset()
11134 reinterpret_cast<internal::Address**>(&rhs.val_),
11135 reinterpret_cast<internal::Address**>(&this->val_));
11144 if (rhs.val_ != nullptr) {
11146 reinterpret_cast<const internal::Address* const*>(&rhs.val_),
11147 reinterpret_cast<internal::Address**>(&this->val_));
11160 this->New(isolate, other.val_, &this->val_, in Reset()
11185 reinterpret_cast<internal::Address**>(&rhs.val_),
11186 reinterpret_cast<internal::Address**>(&this->val_));
11195 if (rhs.val_ != nullptr) {
11197 reinterpret_cast<const internal::Address* const*>(&rhs.val_),
11198 reinterpret_cast<internal::Address**>(&this->val_));
11207 internal::Address* obj = reinterpret_cast<internal::Address*>(val_); in SetWrapperClassId()
11215 internal::Address* obj = reinterpret_cast<internal::Address*>(val_); in WrapperClassId()
11224 reinterpret_cast<internal::Address*>(this->val_), parameter, callback); in SetFinalizationCallback()
11248 *value_ = *reinterpret_cast<internal::Address*>(handle.val_); in Set()