/external/webkit/Source/WebCore/bindings/scripts/test/V8/ |
D | V8TestSerializedScriptValueInterface.cpp | 45 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestSerializedScriptValueInterfaceTemplate(v… in ConfigureV8TestSerializedScriptValueInterfaceTemplate() 47 …re = configureTemplate(desc, "TestSerializedScriptValueInterface", v8::Persistent<v8::FunctionTemp… in ConfigureV8TestSerializedScriptValueInterfaceTemplate() 58 v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetRawTemplate() in GetRawTemplate() 60 …static v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterfaceRawCache = createR… in GetRawTemplate() 64 v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetTemplate() in GetTemplate() 66 …static v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterfaceCache = ConfigureV… in GetTemplate() 86 v8::Persistent<v8::Object> wrapperHandle = v8::Persistent<v8::Object>::New(wrapper); in wrapSlow()
|
D | V8TestInterface.cpp | 49 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestInterfaceTemplate(v8::Persistent<v8::Fun… in ConfigureV8TestInterfaceTemplate() 51 …ature> defaultSignature = configureTemplate(desc, "TestInterface", v8::Persistent<v8::FunctionTemp… in ConfigureV8TestInterfaceTemplate() 63 v8::Persistent<v8::FunctionTemplate> V8TestInterface::GetRawTemplate() in GetRawTemplate() 65 static v8::Persistent<v8::FunctionTemplate> V8TestInterfaceRawCache = createRawTemplate(); in GetRawTemplate() 69 v8::Persistent<v8::FunctionTemplate> V8TestInterface::GetTemplate() in GetTemplate() 71 …static v8::Persistent<v8::FunctionTemplate> V8TestInterfaceCache = ConfigureV8TestInterfaceTemplat… in GetTemplate() 90 v8::Persistent<v8::Object> wrapperHandle = v8::Persistent<v8::Object>::New(wrapper); in wrapSlow()
|
D | V8TestMediaQueryListListener.cpp | 56 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestMediaQueryListListenerTemplate(v8::Persi… in ConfigureV8TestMediaQueryListListenerTemplate() 58 …tSignature = configureTemplate(desc, "TestMediaQueryListListener", v8::Persistent<v8::FunctionTemp… in ConfigureV8TestMediaQueryListListenerTemplate() 70 v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListener::GetRawTemplate() in GetRawTemplate() 72 …static v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListenerRawCache = createRawTempla… in GetRawTemplate() 76 v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListener::GetTemplate() in GetTemplate() 78 …static v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListenerCache = ConfigureV8TestMed… in GetTemplate() 97 v8::Persistent<v8::Object> wrapperHandle = v8::Persistent<v8::Object>::New(wrapper); in wrapSlow()
|
/external/webkit/Source/WebCore/bindings/v8/ |
D | DOMDataStore.cpp | 137 void DOMDataStore::weakDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject) in weakDOMObjectCallback() 141 …DOMData::handleWeakObject(DOMDataStore::DOMObjectMap, v8::Persistent<v8::Object>::Cast(v8Object), … in weakDOMObjectCallback() 144 void DOMDataStore::weakActiveDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject) in weakActiveDOMObjectCallback() 148 …DOMData::handleWeakObject(DOMDataStore::ActiveDOMObjectMap, v8::Persistent<v8::Object>::Cast(v8Obj… in weakActiveDOMObjectCallback() 151 void DOMDataStore::weakNodeCallback(v8::Persistent<v8::Value> value, void* domObject) in weakNodeCallback() 157 v8::Persistent<v8::Object> v8Object = v8::Persistent<v8::Object>::Cast(value); in weakNodeCallback() 178 void DOMDataStore::weakSVGElementInstanceCallback(v8::Persistent<v8::Value> v8Object, void* domObje… in weakSVGElementInstanceCallback() 182 …DOMData::handleWeakObject(DOMDataStore::DOMSVGElementInstanceMap, v8::Persistent<v8::Object>::Cast… in weakSVGElementInstanceCallback()
|
D | SharedPersistent.h | 47 void set(v8::Persistent<T> value) in set() 51 v8::Persistent<T> get() in get() 62 static PassRefPtr<SharedPersistent<T> > create(v8::Persistent<T> value) in create() 68 return create(v8::Persistent<T>()); in create() 71 explicit SharedPersistent(v8::Persistent<T> value) : m_value(value) { } in SharedPersistent() 72 v8::Persistent<T> m_value;
|
D | V8DOMMap.h | 54 …virtual void visitDOMWrapper(DOMDataStore* store, KeyType* key, v8::Persistent<ValueType> object) … 59 virtual v8::Persistent<ValueType> get(KeyType* obj) = 0; 60 virtual void set(KeyType* obj, v8::Persistent<ValueType> wrapper) = 0; 63 virtual bool removeIfPresent(KeyType*, v8::Persistent<ValueType>) = 0; 83 virtual v8::Persistent<ValueType> get(KeyType* obj) in get() 86 return wrapper ? v8::Persistent<ValueType>(wrapper) : v8::Persistent<ValueType>(); in get() 89 virtual void set(KeyType* obj, v8::Persistent<ValueType> wrapper) in set() 103 v8::Persistent<ValueType> handle(wrapper); in forget() 108 bool removeIfPresent(KeyType* key, v8::Persistent<ValueType> value) in removeIfPresent() 131 visitor->visitDOMWrapper(store, it->first, v8::Persistent<ValueType>(it->second)); in visit()
|
D | IntrusiveDOMWrapperMap.h | 134 virtual v8::Persistent<v8::Object> get(Node* obj) in get() 136 v8::Persistent<v8::Object>* wrapper = obj->wrapper(); in get() 137 return wrapper ? *wrapper : v8::Persistent<v8::Object>(); in get() 140 virtual void set(Node* obj, v8::Persistent<v8::Object> wrapper) in set() 144 v8::Persistent<v8::Object>* entry = m_table.add(wrapper); in set() 159 virtual bool removeIfPresent(Node* obj, v8::Persistent<v8::Object> value) in removeIfPresent() 162 v8::Persistent<v8::Object>* entry = obj->wrapper(); in removeIfPresent() 185 static void move(v8::Persistent<v8::Object>* target, v8::Persistent<v8::Object>* source) in move() 193 static void clear(v8::Persistent<v8::Object>* entry) in clear() 202 static void visit(DOMDataStore* store, v8::Persistent<v8::Object>* entry, Visitor* visitor) in visit() [all …]
|
D | V8DOMWindowShell.h | 68 v8::Persistent<v8::Context> createNewContext(v8::Handle<v8::Object> global, int extensionGroup); 89 v8::Persistent<v8::Object> boilerplate = m_wrapperBoilerplates.get(type); in createWrapperFromCache() 116 typedef WTF::HashMap<WrapperTypeInfo*, v8::Persistent<v8::Object> > WrapperBoilerplateMap; 119 v8::Persistent<v8::Context> m_context; 120 v8::Persistent<v8::Object> m_global; 121 v8::Persistent<v8::Object> m_document;
|
D | V8GCController.cpp | 104 void V8GCController::registerGlobalHandle(GlobalHandleType type, void* host, v8::Persistent<v8::Val… in registerGlobalHandle() 110 void V8GCController::unregisterGlobalHandle(void* host, v8::Persistent<v8::Value> handle) in unregisterGlobalHandle() 126 void visitDOMWrapper(DOMDataStore* store, void* object, v8::Persistent<v8::Object> wrapper) in visitDOMWrapper() 136 void visitDOMWrapper(DOMDataStore* store, Node* object, v8::Persistent<v8::Object> wrapper) in visitDOMWrapper() 147 void visitDOMWrapper(DOMDataStore* store, void* object, v8::Persistent<v8::Object> wrapper) in visitDOMWrapper() 244 …GrouperItem(GroupId groupId, v8::Persistent<v8::Object> wrapper) : m_groupId(groupId), m_wrapper(w… in GrouperItem() 247 v8::Persistent<v8::Object> wrapper() const { return m_wrapper; } in wrapper() 251 v8::Persistent<v8::Object> m_wrapper; 327 void visitDOMWrapper(DOMDataStore* store, Node* node, v8::Persistent<v8::Object> wrapper) in visitDOMWrapper() 335 void visitDOMWrapper(DOMDataStore* store, void* object, v8::Persistent<v8::Object> wrapper) in visitDOMWrapper() [all …]
|
D | V8HiddenPropertyName.cpp | 45 …static v8::Persistent<v8::String>* string = createString("WebCore::HiddenProperty::" V8_AS_STRING(… 61 v8::Persistent<v8::String>* V8HiddenPropertyName::createString(const char* key) in createString() 64 …return new v8::Persistent<v8::String>(v8::Persistent<v8::String>::New(v8::String::NewSymbol(key))); in createString()
|
D | OwnHandle.h | 42 explicit OwnHandle(v8::Handle<T> handle) : m_handle(v8::Persistent<T>::New(handle)) { } in OwnHandle() 46 void set(v8::Handle<T> handle) { clear(); m_handle = v8::Persistent<T>::New(handle); } in set() 69 static void weakCallback(v8::Persistent<v8::Value> object, void* ownHandle) in weakCallback() 75 v8::Persistent<T> m_handle;
|
D | DOMDataStore.h | 95 … static void weakActiveDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject); 98 static void weakNodeCallback(v8::Persistent<v8::Value> v8Object, void* domObject); 99 static void weakDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject); 101 … static void weakSVGElementInstanceCallback(v8::Persistent<v8::Value> v8Object, void* domObject);
|
D | ScriptWrappable.h | 42 v8::Persistent<v8::Object>* wrapper() const in wrapper() 47 void setWrapper(v8::Persistent<v8::Object>* wrapper) in setWrapper() 56 v8::Persistent<v8::Object>* m_wrapper;
|
D | V8Binding.cpp | 458 static void cachedStringCallback(v8::Persistent<v8::Value> wrapper, void* parameter) in cachedStringCallback() 469 v8::Persistent<v8::String> lastV8String; 482 v8::Persistent<v8::String> handle(cachedV8String); in v8ExternalStringSlow() 494 v8::Persistent<v8::String> wrapper = v8::Persistent<v8::String>::New(newString); in v8ExternalStringSlow() 508 v8::Persistent<v8::FunctionTemplate> createRawTemplate() in createRawTemplate() 512 return v8::Persistent<v8::FunctionTemplate>::New(result); in createRawTemplate() 515 v8::Local<v8::Signature> configureTemplate(v8::Persistent<v8::FunctionTemplate> desc, in configureTemplate() 517 v8::Persistent<v8::FunctionTemplate> parentClass, in configureTemplate() 541 v8::Persistent<v8::String> getToStringName() in getToStringName() 543 DEFINE_STATIC_LOCAL(v8::Persistent<v8::String>, value, ()); in getToStringName() [all …]
|
D | ScriptState.h | 72 static void weakReferenceCallback(v8::Persistent<v8::Value> object, void* parameter); 75 v8::Persistent<v8::Context> m_context; 92 m_context = v8::Persistent<v8::Context>::New(scriptState->context()); in ScriptStateProtectedPtr() 104 v8::Persistent<v8::Context> m_context;
|
D | ScriptValue.h | 58 m_value = v8::Persistent<v8::Value>::New(value); in ScriptValue() 69 m_value = v8::Persistent<v8::Value>::New(value.m_value); in ScriptValue() 85 m_value = v8::Persistent<v8::Value>::New(value.m_value); 163 mutable v8::Persistent<v8::Value> m_value;
|
D | V8NPObject.cpp | 162 static void weakTemplateCallback(v8::Persistent<v8::Value>, void* parameter); 167 static void weakTemplateCallback(v8::Persistent<v8::Value> object, void* parameter) in weakTemplateCallback() 203 v8::Persistent<v8::FunctionTemplate> functionTemplate = staticTemplateMap.get(id); in npObjectGetProperty() 209 functionTemplate = v8::Persistent<v8::FunctionTemplate>::New(temp); in npObjectGetProperty() 341 static void weakNPObjectCallback(v8::Persistent<v8::Value>, void* parameter); 345 static void weakNPObjectCallback(v8::Persistent<v8::Value> object, void* parameter) in weakNPObjectCallback() 362 static v8::Persistent<v8::FunctionTemplate> npObjectDesc; in createV8ObjectForNPObject() 380 npObjectDesc = v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New()); in createV8ObjectForNPObject() 402 v8::Persistent<v8::Object> weakRef = v8::Persistent<v8::Object>::New(value); in createV8ObjectForNPObject() 412 v8::Persistent<v8::Object> handle(staticNPObjectMap.get(object)); in forgetV8ObjectForNPObject()
|
D | ScheduledAction.cpp | 50 m_function = v8::Persistent<v8::Function>::New(func); in ScheduledAction() 58 m_argv = new v8::Persistent<v8::Value>[argc]; in ScheduledAction() 60 m_argv[i] = v8::Persistent<v8::Value>::New(argv[i]); in ScheduledAction() 119 …proxy->callFunction(v8::Persistent<v8::Function>::Cast(m_function), v8Context->Global(), m_argc, m… in execute()
|
D | V8DOMWrapper.h | 108 static void setJSWrapperForDOMObject(void*, v8::Persistent<v8::Object>); 109 static void setJSWrapperForActiveDOMObject(void*, v8::Persistent<v8::Object>); 110 static void setJSWrapperForDOMNode(Node*, v8::Persistent<v8::Object>); 132 v8::Persistent<v8::Object>* wrapper = node->wrapper(); in getWrapper()
|
D | V8Binding.h | 83 extern v8::Persistent<v8::String> lastV8String; 184 v8::Persistent<v8::FunctionTemplate> createRawTemplate(); 189 v8::Local<v8::Signature> configureTemplate(v8::Persistent<v8::FunctionTemplate>, 191 v8::Persistent<v8::FunctionTemplate> parentClass, 205 v8::Persistent<v8::String> getToStringName(); 206 v8::Persistent<v8::FunctionTemplate> getToStringTemplate();
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
D | V8HTMLAudioElementConstructor.cpp | 76 … V8DOMWrapper::setJSWrapperForDOMNode(audio.get(), v8::Persistent<v8::Object>::New(args.Holder())); in v8HTMLAudioElementConstructorCallback() 80 v8::Persistent<v8::FunctionTemplate> V8HTMLAudioElementConstructor::GetTemplate() in GetTemplate() 82 static v8::Persistent<v8::FunctionTemplate> cachedTemplate; in GetTemplate() 94 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(result); in GetTemplate()
|
D | V8LocationCustom.cpp | 153 …static v8::Persistent<v8::FunctionTemplate> privateTemplate = v8::Persistent<v8::FunctionTemplate>… in reloadAccessorGetter() 162 …static v8::Persistent<v8::FunctionTemplate> sharedTemplate = v8::Persistent<v8::FunctionTemplate>:… in reloadAccessorGetter() 171 …static v8::Persistent<v8::FunctionTemplate> privateTemplate = v8::Persistent<v8::FunctionTemplate>… in replaceAccessorGetter() 180 …static v8::Persistent<v8::FunctionTemplate> sharedTemplate = v8::Persistent<v8::FunctionTemplate>:… in replaceAccessorGetter() 189 static v8::Persistent<v8::FunctionTemplate> privateTemplate = in assignAccessorGetter() 190 …v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New(V8Location::assignCallback, v8… in assignAccessorGetter() 199 …static v8::Persistent<v8::FunctionTemplate> sharedTemplate = v8::Persistent<v8::FunctionTemplate>:… in assignAccessorGetter()
|
D | V8HTMLImageElementConstructor.cpp | 87 … V8DOMWrapper::setJSWrapperForDOMNode(image.get(), v8::Persistent<v8::Object>::New(args.Holder())); in v8HTMLImageElementConstructorCallback() 91 v8::Persistent<v8::FunctionTemplate> V8HTMLImageElementConstructor::GetTemplate() in GetTemplate() 93 static v8::Persistent<v8::FunctionTemplate> cachedTemplate; in GetTemplate() 105 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(result); in GetTemplate()
|
D | V8HTMLOptionElementConstructor.cpp | 85 …V8DOMWrapper::setJSWrapperForDOMNode(option.get(), v8::Persistent<v8::Object>::New(args.Holder())); in v8HTMLOptionElementConstructorCallback() 89 v8::Persistent<v8::FunctionTemplate> V8HTMLOptionElementConstructor::GetTemplate() in GetTemplate() 91 static v8::Persistent<v8::FunctionTemplate> cachedTemplate; in GetTemplate() 103 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(result); in GetTemplate()
|
/external/v8/test/cctest/ |
D | test-lockers.cc | 51 using ::v8::Persistent; 92 Persistent<v8::Context> context_; 99 Persistent<v8::Context> context; in TEST() 357 Persistent<v8::Context> context_; 473 Persistent<v8::Context> context1; in Run() 474 Persistent<v8::Context> context2; in Run() 565 v8::Persistent<v8::Context> context_; 576 Persistent<v8::Context> context; in TEST() 616 v8::Persistent<v8::Context> context_; 626 Persistent<v8::Context> context; in TEST() [all …]
|