/external/chromium_org/chrome/renderer/extensions/ |
unsafe_persistent.h | 12 // An unsafe way to pass Persistent handles around. Do not use unless you know 15 // UnsafePersistent is alive or 2) when there is a strong Persistent keeping the 21 explicit UnsafePersistent(v8::Persistent<T>* handle) { 26 v8::Persistent<T> persistent(isolate, handle); 27 value_ = persistent.ClearAndLeak(); 33 v8::Persistent<T> handle(value_);
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
UnsafePersistent.h | 42 // An unsafe way to pass Persistent handles around. Do not use unless you know 45 // the UnsafePersistent is alive or 2) when there is a strong Persistent keeping 51 explicit UnsafePersistent(v8::Persistent<T>& handle) 58 v8::Persistent<T> persistent(isolate, handle); 59 m_value = persistent.ClearAndLeak(); 85 v8::Persistent<T>* persistent() function in class:WebCore::UnsafePersistent 87 v8::Persistent<T>* handle = reinterpret_cast<v8::Persistent<T>*>(&m_value) [all...] |
NPV8Object.h | 55 v8::Persistent<v8::Object> v8Object;
|
ScopedPersistent.h | 88 ALWAYS_INLINE v8::Persistent<T>& getUnsafe() 93 v8::Persistent<T> m_handle;
|
V8HiddenPropertyName.h | 75 static void createString(const char* key, v8::Persistent<v8::String>* handle, v8::Isolate*); 76 #define V8_DECLARE_FIELD(name) v8::Persistent<v8::String> m_##name;
|
WrapperTypeInfo.h | 64 typedef void (*ResolveWrapperReachabilityFunction)(void*, const v8::Persistent<v8::Object>&, v8::Isolate*); 72 inline void setObjectGroup(void* object, const v8::Persistent<v8::Object>& wrapper, v8::Isolate* isolate) 131 void visitDOMWrapper(void* object, const v8::Persistent<v8::Object>& wrapper, v8::Isolate* isolate) const 156 inline T* getInternalField(const v8::Persistent<v8::Object>& persistent) 159 const v8::Handle<v8::Object>& object = reinterpret_cast<const v8::Handle<v8::Object>&>(persistent); 171 inline void* toNative(const v8::Persistent<v8::Object>& object) 181 inline const WrapperTypeInfo* toWrapperTypeInfo(const v8::Persistent<v8::Object>& object) 197 void configureWrapper(v8::Persistent<v8::Object>* wrapper) const
|
V8GCController.cpp | 55 static void addReferencesForNodeWithEventListeners(v8::Isolate* isolate, Node* node, const v8::Persistent<v8::Object>& wrapper) 68 v8::Persistent<v8::Value>* value = reinterpret_cast<v8::Persistent<v8::Value>*>(&(v8listener->existingListenerObjectPersistentHandle())); 103 virtual void VisitPersistentHandle(v8::Persistent<v8::Value>* value, uint16_t classId) OVERRIDE 120 // Casting to a Handle is safe here, since the Persistent cannot get GCd 216 // v8::Persistent. 218 v8::Persistent<v8::Object>* wrapper = unsafeWrapper.persistent(); 221 v8::Persistent<v8::Value>* value = reinterpret_cast<v8::Persistent<v8::Value>*>(wrapper) [all...] |
V8HiddenPropertyName.cpp | 73 void V8HiddenPropertyName::createString(const char* key, v8::Persistent<v8::String>* handle, v8::Isolate* isolate)
|
DOMWrapperMap.h | 62 returnValue.Set(*(it->value.persistent())); 66 void setReference(const v8::Persistent<v8::Object>& parent, KeyType* key, v8::Isolate* isolate) 81 return *(it->value.persistent()) == value; 87 v8::Persistent<v8::Object> persistent(m_isolate, wrapper); 88 configuration.configureWrapper(&persistent); 89 persistent.SetWeak(this, &setWeakCallback); 95 result.iterator->value = UnsafePersistent<v8::Object>(persistent); 105 toWrapperTypeInfo(*(it->value.persistent()))->derefObject(it->key); 132 ASSERT(*(data.GetParameter()->m_map.get(key).persistent()) == data.GetValue()) [all...] |
V8PerContextData.h | 100 v8::Persistent<v8::Context> m_context; 190 v8::Persistent<v8::Context> m_context;
|
V8PerIsolateData.h | 91 v8::Persistent<v8::Value>& ensureLiveRoot(); 157 v8::Persistent<v8::FunctionTemplate> m_lazyEventListenerToStringTemplate;
|
/external/chromium_org/gin/test/ |
v8_test.h | 30 v8::Persistent<v8::Context> context_;
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8NodeListCustom.cpp | 44 void V8NodeList::visitDOMWrapper(void* object, const v8::Persistent<v8::Object>& wrapper, v8::Isolate* isolate)
|
/external/chromium_org/third_party/WebKit/Source/modules/quota/ |
StorageQuota.h | 49 Persistent,
|
NavigatorStorageQuota.cpp | 83 m_persistentStorage = StorageQuota::create(StorageQuota::Persistent);
|
WorkerNavigatorStorageQuota.cpp | 81 m_persistentStorage = StorageQuota::create(StorageQuota::Persistent);
|
StorageInfo.cpp | 85 case PERSISTENT: 87 m_persistentStorage = StorageQuota::create(StorageQuota::Persistent);
|
/external/chromium_org/v8/src/ |
i18n.h | 75 Persistent<v8::Value>* object, 99 Persistent<v8::Value>* object, 122 Persistent<v8::Value>* object, 145 Persistent<v8::Value>* object,
|
/external/chromium_org/gin/public/ |
context_holder.h | 46 v8::Persistent<v8::Context> context_;
|
/external/v8/test/cctest/ |
test-lockers.cc | 51 using ::v8::Persistent; 92 Persistent<v8::Context> context_; 99 Persistent<v8::Context> context; 357 Persistent<v8::Context> context_; 473 Persistent<v8::Context> context1; 474 Persistent<v8::Context> context2; 565 v8::Persistent<v8::Context> context_; 576 Persistent<v8::Context> context; 616 v8::Persistent<v8::Context> context_; 626 Persistent<v8::Context> context [all...] |
test-thread-termination.cc | 127 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); 147 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); 186 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); 210 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); 313 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); 359 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global);
|
/external/v8/include/ |
v8.h | 103 template <class T> class Persistent; 133 typedef void (*WeakReferenceCallback)(Persistent<Value> object, 156 * There are two types of handles: local and persistent handles. 158 * local operations. They are managed by HandleScopes. Persistent 301 * allocated, a Persistent handle remains valid until it is explicitly 304 * A persistent handle contains a reference to a storage cell within 307 * cell can be created using Persistent::New and existing handles can 308 * be disposed using Persistent::Dispose. Since persistent handles 309 * are passed by value you may have many persistent handle object [all...] |
/external/chromium_org/chrome/test/base/ |
v8_unit_test.h | 83 v8::Persistent<v8::Context> context_;
|
/external/chromium_org/gin/ |
wrappable.h | 55 v8::Persistent<v8::Object> wrapper_; // Weak
|
/external/v8/samples/ |
process.cc | 125 Persistent<Context> context_; 126 Persistent<Function> process_; 127 static Persistent<ObjectTemplate> request_template_; 128 static Persistent<ObjectTemplate> map_template_; 158 // affect each other. Context::New returns a persistent handle which 160 // this method. That persistent handle has to be disposed in the 188 // Store the function in a Persistent handle, since we also want 190 process_ = Persistent<Function>::New(process_fun); 273 // Dispose the persistent handles. When noone else has any 281 Persistent<ObjectTemplate> JsHttpRequestProcessor::request_template_ [all...] |