Lines Matching defs:isolate
29 V8_EXPORT Value* Eternalize(v8::Isolate* isolate, Value* handle);
36 V8_EXPORT internal::Address* GlobalizeReference(internal::Isolate* isolate,
44 * isolate.
51 V8_INLINE Eternal(Isolate* isolate, Local<S> handle) : val_(nullptr) {
52 Set(isolate, handle);
55 V8_INLINE Local<T> Get(Isolate* isolate) const {
64 void Set(Isolate* isolate, Local<S> handle) {
67 api_internal::Eternalize(isolate, reinterpret_cast<Value*>(*handle)));
107 V8_INLINE void Reset(Isolate* isolate, const Local<S>& other);
114 V8_INLINE void Reset(Isolate* isolate, const PersistentBase<S>& other);
119 V8_INLINE Local<T> Get(Isolate* isolate) const {
120 return Local<T>::New(isolate, *this);
228 V8_INLINE static T* New(Isolate* isolate, T* that);
288 V8_INLINE Persistent(Isolate* isolate, Local<S> that)
289 : PersistentBase<T>(PersistentBase<T>::New(isolate, *that)) {
298 V8_INLINE Persistent(Isolate* isolate, const Persistent<S, M2>& that)
299 : PersistentBase<T>(PersistentBase<T>::New(isolate, *that)) {
385 V8_INLINE Global(Isolate* isolate, Local<S> that)
386 : PersistentBase<T>(PersistentBase<T>::New(isolate, *that)) {
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) {
452 reinterpret_cast<internal::Isolate*>(isolate), p));
487 void PersistentBase<T>::Reset(Isolate* isolate, const Local<S>& other) {
491 this->val_ = New(isolate, other.val_);
500 void PersistentBase<T>::Reset(Isolate* isolate,
505 this->val_ = New(isolate, other.val_);