Lines Matching refs:PersistentBase
23 class PersistentBase;
83 * allocated, a PersistentBase handle remains valid until it is explicitly
89 * cell can be created using the constructor or PersistentBase::Reset and
90 * existing handles can be disposed using PersistentBase::Reset.
94 class PersistentBase {
114 V8_INLINE void Reset(Isolate* isolate, const PersistentBase<S>& other);
124 V8_INLINE bool operator==(const PersistentBase<S>& that) const {
142 V8_INLINE bool operator!=(const PersistentBase<S>& that) const {
205 PersistentBase(const PersistentBase& other) = delete;
206 void operator=(const PersistentBase&) = delete;
218 friend class PersistentBase;
227 explicit V8_INLINE PersistentBase(T* val) : val_(val) {}
268 * A PersistentBase which allows copy and assignment.
276 class Persistent : public PersistentBase<T> {
281 V8_INLINE Persistent() : PersistentBase<T>(nullptr) {}
289 : PersistentBase<T>(PersistentBase<T>::New(isolate, *that)) {
299 : PersistentBase<T>(PersistentBase<T>::New(isolate, *that)) {
308 V8_INLINE Persistent(const Persistent& that) : PersistentBase<T>(nullptr) {
312 V8_INLINE Persistent(const Persistent<S, M2>& that) : PersistentBase<T>(0) {
360 explicit V8_INLINE Persistent(T* that) : PersistentBase<T>(that) {}
367 * A PersistentBase which has move semantics.
372 class Global : public PersistentBase<T> {
377 V8_INLINE Global() : PersistentBase<T>(nullptr) {}
386 : PersistentBase<T>(PersistentBase<T>::New(isolate, *that)) {
391 * Construct a Global from a PersistentBase.
396 V8_INLINE Global(Isolate* isolate, const PersistentBase<S>& that)
397 : PersistentBase<T>(PersistentBase<T>::New(isolate, that.val_)) {
448 T* PersistentBase<T>::New(Isolate* isolate, T* that) {
467 bool PersistentBase<T>::IsWeak() const {
475 void PersistentBase<T>::Reset() {
487 void PersistentBase<T>::Reset(Isolate* isolate, const Local<S>& other) {
500 void PersistentBase<T>::Reset(Isolate* isolate,
501 const PersistentBase<S>& other) {
510 V8_INLINE void PersistentBase<T>::SetWeak(
526 void PersistentBase<T>::SetWeak() {
532 P* PersistentBase<T>::ClearWeak() {
538 void PersistentBase<T>::AnnotateStrongRetainer(const char* label) {
544 void PersistentBase<T>::SetWrapperClassId(uint16_t class_id) {
553 uint16_t PersistentBase<T>::WrapperClassId() const {
562 Global<T>::Global(Global&& other) : PersistentBase<T>(other.val_) {