Home
last modified time | relevance | path

Searched refs:UnsafePersistent (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium_org/chrome/renderer/extensions/
Dunsafe_persistent.h17 template<typename T> class UnsafePersistent {
19 UnsafePersistent() : value_(0) { } in UnsafePersistent() function
21 explicit UnsafePersistent(v8::Persistent<T>* handle) { in UnsafePersistent() function
25 UnsafePersistent(v8::Isolate* isolate, const v8::Handle<T>& handle) { in UnsafePersistent() function
Dv8_schema_registry.h48 typedef std::map<std::string, UnsafePersistent<v8::Object> > SchemaCache;
Dobject_backed_native_handler.h71 typedef std::vector<UnsafePersistent<v8::Object> > RouterData;
Dobject_backed_native_handler.cc74 router_data_.push_back(UnsafePersistent<v8::Object>(&data)); in RouteFunction()
Dv8_schema_registry.cc103 schema_cache_[api] = UnsafePersistent<v8::Object>(&v8_schema); in GetSchema()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DUnsafePersistent.h47 template<typename T> class UnsafePersistent {
49 UnsafePersistent() : m_value(0) { } in UnsafePersistent() function
50 explicit UnsafePersistent(T* value) : m_value(value) { } in UnsafePersistent() function
51 explicit UnsafePersistent(v8::Persistent<T>& handle) in UnsafePersistent() function
56 UnsafePersistent(v8::Isolate* isolate, v8::Handle<T>& handle) in UnsafePersistent() function
DScriptWrappable.h158 UnsafePersistent<v8::Object> unsafePersistent() const in unsafePersistent()
161 return UnsafePersistent<v8::Object>(object); in unsafePersistent()
164 static UnsafePersistent<v8::Object> getUnsafeWrapperFromObject(void*) in getUnsafeWrapperFromObject()
167 return UnsafePersistent<v8::Object>(); in getUnsafeWrapperFromObject()
170 static UnsafePersistent<v8::Object> getUnsafeWrapperFromObject(ScriptWrappable* object) in getUnsafeWrapperFromObject()
DV8PerContextData.h129 UnsafePersistent<v8::Object> boilerplate = m_wrapperBoilerplates.get(type); in createWrapperFromCache()
135 UnsafePersistent<v8::Function> function = m_constructorMap.get(type); in constructorForType()
178 … typedef WTF::HashMap<const WrapperTypeInfo*, UnsafePersistent<v8::Object> > WrapperBoilerplateMap;
181 typedef WTF::HashMap<const WrapperTypeInfo*, UnsafePersistent<v8::Function> > ConstructorMap;
DV8ValueCache.cpp57 UnsafePersistent<v8::String> cachedV8String = m_stringCache.get(stringImpl); in v8ExternalStringSlow()
74 UnsafePersistent<v8::String> cachedV8String = m_stringCache.get(stringImpl); in setReturnValueFromStringSlow()
99 m_lastV8String = UnsafePersistent<v8::String>(wrapper); in createStringAndInsertIntoCache()
DV8ValueCache.h66 HashMap<StringImpl*, UnsafePersistent<v8::String> > m_stringCache;
67 UnsafePersistent<v8::String> m_lastV8String;
DDOMWrapperMap.h45 typedef HashMap<KeyType*, UnsafePersistent<v8::Object> > MapType;
90 typename MapType::AddResult result = m_map.add(key, UnsafePersistent<v8::Object>()); in set()
95 result.iterator->value = UnsafePersistent<v8::Object>(persistent); in set()
DV8PerIsolateData.cpp102 templates.add(privatePointer, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ)); in privateTemplate()
117 …templateMap(currentWorldType).add(privatePointer, UnsafePersistent<v8::FunctionTemplate>(m_isolate… in setPrivateTemplate()
129 templates.add(info, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ)); in rawDOMTemplate()
DCustomElementBinding.h55 UnsafePersistent<v8::Object> m_prototype;
DScheduledAction.h63 Vector<UnsafePersistent<v8::Value> > m_info;
DV8NPObject.cpp174 typedef HashMap<PrivateIdentifier*, UnsafePersistent<v8::FunctionTemplate> > MapType;
176 UnsafePersistent<v8::FunctionTemplate> get(PrivateIdentifier* key) in get()
186 m_map.set(key, UnsafePersistent<v8::FunctionTemplate>(wrapper)); in set()
254UnsafePersistent<v8::FunctionTemplate> functionTemplate = V8NPTemplateMap::sharedInstance(isolate)… in npObjectGetProperty()
DDOMDataStore.h108UnsafePersistent<v8::Object> unsafePersistent = ScriptWrappable::getUnsafeWrapperFromObject(child); in setWrapperReference()
195 UnsafePersistent<v8::Object> unsafePersistent = wrappable->unsafePersistent(); in holderContainsWrapper()
DV8PerContextData.cpp102 m_wrapperBoilerplates.set(type, UnsafePersistent<v8::Object>(m_isolate, instanceTemplate)); in createWrapperFromCacheSlowCase()
138 m_constructorMap.set(type, UnsafePersistent<v8::Function>(m_isolate, function)); in constructorForTypeSlowCase()
DScheduledAction.cpp56 m_info.append(UnsafePersistent<v8::Value>(m_isolate, argv[i])); in ScheduledAction()
DV8PerIsolateData.h67 typedef HashMap<const void*, UnsafePersistent<v8::FunctionTemplate> > TemplateMap;
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
DV8TestInterfaceEmpty.cpp102 …data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTemplate>(i… in domTemplate()
DV8TestInterfaceEventTarget.cpp102 …data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTemplate>(i… in domTemplate()
DV8TestInterfaceDoNotCheckConstants.cpp107 …data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTemplate>(i… in domTemplate()
DV8TestException.cpp119 …data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTemplate>(i… in domTemplate()
DV8TestInterfaceCustomConstructor.cpp121 …data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTemplate>(i… in domTemplate()
DV8TestInterfacePython2.cpp104 …data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTemplate>(i… in domTemplate()

12