Lines Matching refs:PersistentBase

23 class PersistentBase;
80 * allocated, a PersistentBase handle remains valid until it is explicitly
86 * cell can be created using the constructor or PersistentBase::Reset and
87 * existing handles can be disposed using PersistentBase::Reset.
91 class PersistentBase : public IndirectHandleBase {
111 V8_INLINE void Reset(Isolate* isolate, const PersistentBase<S>& other);
118 V8_INLINE bool operator==(const PersistentBase<S>& that) const {
128 V8_INLINE bool operator!=(const PersistentBase<S>& that) const {
189 PersistentBase(const PersistentBase& other) = delete;
190 void operator=(const PersistentBase&) = delete;
202 friend class PersistentBase;
212 V8_INLINE PersistentBase() = default;
214 V8_INLINE explicit PersistentBase(internal::Address* location)
255 * A PersistentBase which allows copy and assignment.
263 class Persistent : public PersistentBase<T> {
277 : PersistentBase<T>(
278 PersistentBase<T>::New(isolate, that.template value<S>())) {
289 : PersistentBase<T>(
290 PersistentBase<T>::New(isolate, that.template value<S>())) {
300 V8_INLINE Persistent(const Persistent& that) : PersistentBase<T>() {
304 V8_INLINE Persistent(const Persistent<S, M2>& that) : PersistentBase<T>() {
359 * A PersistentBase which has move semantics.
364 class Global : public PersistentBase<T> {
378 : PersistentBase<T>(
379 PersistentBase<T>::New(isolate, that.template value<S>())) {
384 * Construct a Global from a PersistentBase.
389 V8_INLINE Global(Isolate* isolate, const PersistentBase<S>& that)
390 : PersistentBase<T>(
391 PersistentBase<T>::New(isolate, that.template value<S>())) {
441 internal::Address* PersistentBase<T>::New(Isolate* isolate, T* that) {
459 bool PersistentBase<T>::IsWeak() const {
466 void PersistentBase<T>::Reset() {
478 void PersistentBase<T>::Reset(Isolate* isolate, const Local<S>& other) {
491 void PersistentBase<T>::Reset(Isolate* isolate,
492 const PersistentBase<S>& other) {
501 V8_INLINE void PersistentBase<T>::SetWeak(
517 void PersistentBase<T>::SetWeak() {
523 P* PersistentBase<T>::ClearWeak() {
528 void PersistentBase<T>::AnnotateStrongRetainer(const char* label) {
533 void PersistentBase<T>::SetWrapperClassId(uint16_t class_id) {
541 uint16_t PersistentBase<T>::WrapperClassId() const {
549 Global<T>::Global(Global&& other) : PersistentBase<T>(other.slot()) {