Home | History | Annotate | Download | only in include

Lines Matching refs:PersistentBase

105 template<class T> class PersistentBase;
254 const PersistentBase<S>& that) const {
294 const PersistentBase<T>& that) {
301 template<class F> friend class PersistentBase;
372 const PersistentBase<T>& that);
377 template<class F> friend class PersistentBase;
438 * allocated, a PersistentBase handle remains valid until it is explicitly
444 * cell can be created using the constructor or PersistentBase::Reset and
445 * existing handles can be disposed using PersistentBase::Reset.
448 template <class T> class PersistentBase {
467 V8_INLINE void Reset(Isolate* isolate, const PersistentBase<S>& other);
472 V8_INLINE bool operator==(const PersistentBase<S>& that) const {
489 V8_INLINE bool operator!=(const PersistentBase<S>& that) const {
565 template<class F> friend class PersistentBase;
571 explicit V8_INLINE PersistentBase(T* val) : val_(val) {}
572 PersistentBase(PersistentBase& other); // NOLINT
573 void operator=(PersistentBase&);
620 * A PersistentBase which allows copy and assignment.
627 template <class T, class M> class Persistent : public PersistentBase<T> {
632 V8_INLINE Persistent() : PersistentBase<T>(0) { }
639 : PersistentBase<T>(PersistentBase<T>::New(isolate, *that)) {
649 : PersistentBase<T>(PersistentBase<T>::New(isolate, *that)) {
658 V8_INLINE Persistent(const Persistent& that) : PersistentBase<T>(0) {
662 V8_INLINE Persistent(const Persistent<S, M2>& that) : PersistentBase<T>(0) {
710 template <class S> V8_INLINE Persistent(S* that) : PersistentBase<T>(that) { }
718 * A PersistentBase which has move semantics.
723 class UniquePersistent : public PersistentBase<T> {
733 V8_INLINE UniquePersistent() : PersistentBase<T>(0) { }
741 : PersistentBase<T>(PersistentBase<T>::New(isolate, *that)) {
745 * Construct a UniquePersistent from a PersistentBase.
750 V8_INLINE UniquePersistent(Isolate* isolate, const PersistentBase<S>& that)
751 : PersistentBase<T>(PersistentBase<T>::New(isolate, that.val_)) {
758 : PersistentBase<T>(rvalue.object->val_) {
2405 const PersistentBase<Object>& object) {
2424 const PersistentBase<Object>& object, int index) {
5238 template <class T> friend class PersistentBase;
5968 Local<T> Local<T>::New(Isolate* isolate, const PersistentBase<T>& that) {
6007 T* PersistentBase<T>::New(Isolate* isolate, T* that) {
6029 bool PersistentBase<T>::IsIndependent() const {
6038 bool PersistentBase<T>::IsNearDeath() const {
6049 bool PersistentBase<T>::IsWeak() const {
6058 void PersistentBase<T>::Reset() {
6067 void PersistentBase<T>::Reset(Isolate* isolate, const Handle<S>& other) {
6077 void PersistentBase<T>::Reset(Isolate* isolate,
6078 const PersistentBase<S>& other) {
6088 void PersistentBase<T>::SetWeak(
6101 void PersistentBase<T>::SetWeak(
6110 P* PersistentBase<T>::ClearWeak() {
6117 void PersistentBase<T>::MarkIndependent() {
6127 void PersistentBase<T>::MarkPartiallyDependent() {
6146 void PersistentBase<T>::SetWrapperClassId(uint16_t class_id) {
6156 uint16_t PersistentBase<T>::WrapperClassId() const {