HomeSort by relevance Sort by last modified time
    Searched refs:Local (Results 1 - 25 of 152) sorted by null

1 2 3 4 5 6 7

  /external/webkit/WebCore/bindings/v8/custom/
V8CustomEventListener.cpp 38 V8EventListener::V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, const WorldContextHandle& worldContext)
44 v8::Local<v8::Function> V8EventListener::getListenerFunction(ScriptExecutionContext* context)
46 v8::Local<v8::Object> listener = getListenerObject(context);
50 return v8::Local<v8::Function>();
53 return v8::Local<v8::Function>::Cast(listener);
56 v8::Local<v8::Value> property = listener->Get(v8::String::NewSymbol("handleEvent"));
58 return v8::Local<v8::Function>::Cast(property);
61 return v8::Local<v8::Function>();
64 v8::Local<v8::Value> V8EventListener::callListenerFunction(ScriptExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event)
67 v8::Local<v8::Function> handlerFunction = getListenerFunction(context)
    [all...]
V8CustomEventListener.h 47 static PassRefPtr<V8EventListener> create(v8::Local<v8::Object> listener, bool isAttribute, const WorldContextHandle& worldContext)
53 V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, const WorldContextHandle& worldContext);
55 v8::Local<v8::Function> getListenerFunction(ScriptExecutionContext*);
58 virtual v8::Local<v8::Value> callListenerFunction(ScriptExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*);
V8MessagePortCustom.h 44 bool getMessagePortArray(v8::Local<v8::Value>, MessagePortArray&);
V8HTMLFrameElementCustom.cpp 44 void V8HTMLFrameElement::srcAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
55 void V8HTMLFrameElement::locationAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
V8HTMLIFrameElementCustom.cpp 44 void V8HTMLIFrameElement::srcAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
V8HTMLPlugInElementCustom.cpp 48 static v8::Handle<v8::Value> npObjectNamedGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
55 v8::Local<v8::Object> instance = v8::Local<v8::Object>::New(scriptInstance->instance());
63 static v8::Handle<v8::Value> npObjectNamedSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
70 v8::Local<v8::Object> instance = v8::Local<v8::Object>::New(scriptInstance->instance());
77 v8::Handle<v8::Value> V8HTMLAppletElement::namedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
83 v8::Handle<v8::Value> V8HTMLEmbedElement::namedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
89 v8::Handle<v8::Value> V8HTMLObjectElement::namedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info
    [all...]
V8DocumentLocationCustom.cpp 35 v8::Handle<v8::Value> V8Document::locationAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
45 void V8Document::locationAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
V8GeolocationCustom.cpp 48 static PassRefPtr<PositionCallback> createPositionCallback(v8::Local<v8::Value> value, bool& succeeded)
63 static PassRefPtr<PositionErrorCallback> createPositionErrorCallback(v8::Local<v8::Value> value, bool& succeeded)
82 static PassRefPtr<PositionOptions> createPositionOptions(v8::Local<v8::Value> value, bool& succeeded)
96 v8::Local<v8::Object> object = value->ToObject();
102 v8::Local<v8::Value> enableHighAccuracyValue = object->Get(v8::String::New("enableHighAccuracy"));
108 v8::Local<v8::Boolean> enableHighAccuracyBoolean = enableHighAccuracyValue->ToBoolean();
116 v8::Local<v8::Value> timeoutValue = object->Get(v8::String::New("timeout"));
122 v8::Local<v8::Number> timeoutNumber = timeoutValue->ToNumber();
130 v8::Local<v8::Int32> timeoutInt32 = timeoutValue->ToInt32();
140 v8::Local<v8::Value> maximumAgeValue = object->Get(v8::String::New("maximumAge"))
    [all...]
V8StorageCustom.cpp 58 static v8::Handle<v8::Value> storageGetter(v8::Local<v8::String> v8Name, const v8::AccessorInfo& info)
72 v8::Local<v8::Integer> indexV8 = v8::Integer::New(index);
76 v8::Handle<v8::Value> V8Storage::namedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
82 static v8::Handle<v8::Value> storageSetter(v8::Local<v8::String> v8Name, v8::Local<v8::Value> v8Value, const v8::AccessorInfo& info)
104 v8::Handle<v8::Value> V8Storage::indexedPropertySetter(uint32_t index, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
107 v8::Local<v8::Integer> indexV8 = v8::Integer::New(index);
111 v8::Handle<v8::Value> V8Storage::namedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
117 static v8::Handle<v8::Boolean> storageDeleter(v8::Local<v8::String> v8Name, const v8::AccessorInfo& info
    [all...]
V8CustomVoidCallback.cpp 39 V8CustomVoidCallback::V8CustomVoidCallback(v8::Local<v8::Object> callback, Frame* frame)
71 v8::Local<v8::Function> callbackFunction;
73 callbackFunction = v8::Local<v8::Function>::New(v8::Persistent<v8::Function>::Cast(callback));
75 v8::Local<v8::Value> handleEventFunction = callback->Get(v8::String::NewSymbol("handleEvent"));
77 callbackFunction = v8::Local<v8::Function>::Cast(handleEventFunction);
95 v8::Local<v8::Message> message = exceptionCatcher.Message();
  /external/webkit/WebCore/bindings/v8/
V8NPObject.h 44 v8::Handle<v8::Value> npObjectNamedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo&);
46 v8::Handle<v8::Value> npObjectGetNamedProperty(v8::Local<v8::Object> self, v8::Local<v8::String> name);
47 v8::Handle<v8::Value> npObjectGetIndexedProperty(v8::Local<v8::Object> self, uint32_t index);
50 v8::Handle<v8::Value> npObjectNamedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value>, const v8::AccessorInfo&);
52 v8::Handle<v8::Value> npObjectSetNamedProperty(v8::Local<v8::Object> self, v8::Local<v8::String> name, v8::Local<v8::Value>);
53 v8::Handle<v8::Value> npObjectSetIndexedProperty(v8::Local<v8::Object> self, uint32_t index, v8::Local<v8::Value>)
    [all...]
V8Utilities.h 46 void createHiddenDependency(v8::Handle<v8::Object>, v8::Local<v8::Value>, int cacheIndex);
47 void removeHiddenDependency(v8::Handle<v8::Object>, v8::Local<v8::Value>, int cacheIndex);
50 void transferHiddenDependency(v8::Handle<v8::Object>, EventListener* oldValue, v8::Local<v8::Value> newValue, int cacheIndex);
85 static inline v8::Local<v8::Object> newInstance(v8::Handle<v8::Function>);
86 static inline v8::Local<v8::Object> newInstance(v8::Handle<v8::ObjectTemplate>);
87 static inline v8::Local<v8::Object> newInstance(v8::Handle<v8::Function>, int argc, v8::Handle<v8::Value> argv[]);
90 v8::Local<v8::Object> SafeAllocation::newInstance(v8::Handle<v8::Function> function)
93 return v8::Local<v8::Object>();
98 v8::Local<v8::Object> SafeAllocation::newInstance(v8::Handle<v8::ObjectTemplate> objectTemplate)
101 return v8::Local<v8::Object>()
    [all...]
V8WorkerContextEventListener.h 47 static PassRefPtr<V8WorkerContextEventListener> create(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext)
56 V8WorkerContextEventListener(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext);
58 virtual v8::Local<v8::Value> callListenerFunction(ScriptExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*);
59 v8::Local<v8::Object> getReceiverObject(ScriptExecutionContext*, Event*);
ScriptScope.h 44 v8::Local<v8::Object> global() const { return m_context->Global(); }
48 v8::Local<v8::Context> m_context;
WorldContextHandle.cpp 48 v8::Local<v8::Context> WorldContextHandle::adjustedContext(V8Proxy* proxy) const
54 return v8::Local<v8::Context>::New(m_context->get());
ScriptState.h 48 void setException(v8::Local<v8::Value> exception)
52 v8::Local<v8::Value> exception() { return m_exception; }
54 v8::Local<v8::Context> context() const
56 return v8::Local<v8::Context>::New(m_context);
59 static ScriptState* forContext(v8::Local<v8::Context>);
72 v8::Local<v8::Value> m_exception;
V8AbstractEventListener.h 80 v8::Local<v8::Object> getListenerObject(ScriptExecutionContext* context)
83 return v8::Local<v8::Object>::New(m_listener);
86 v8::Local<v8::Object> getExistingListenerObject()
88 return v8::Local<v8::Object>::New(m_listener);
109 v8::Local<v8::Object> getReceiverObject(Event*);
117 virtual v8::Local<v8::Value> callListenerFunction(ScriptExecutionContext*, v8::Handle<v8::Value> jsevent, Event*) = 0;
V8WorkerContextEventListener.cpp 52 V8WorkerContextEventListener::V8WorkerContextEventListener(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext)
62 // The callback function on XMLHttpRequest can clear the event listener and destroys 'this' object. Keep a local reference to it.
90 // The callback function can clear the event listener and destroy 'this' object. Keep a local reference to it.
106 v8::Local<v8::Object> listener = getListenerObject(context);
107 v8::Local<v8::Value> returnValue;
115 v8::Local<v8::Function> callFunction = v8::Local<v8::Function>::Cast(listener);
116 v8::Local<v8::Object> thisValue = v8::Context::GetCurrent()->Global();
135 v8::Local<v8::Value> V8WorkerContextEventListener::callListenerFunction(ScriptExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event)
137 v8::Local<v8::Function> handlerFunction = getListenerFunction(context)
    [all...]
V8LazyEventListener.cpp 55 v8::Local<v8::Value> V8LazyEventListener::callListenerFunction(ScriptExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event)
57 v8::Local<v8::Object> listenerObject = getListenerObject(context);
59 return v8::Local<v8::Value>();
61 v8::Local<v8::Function> handlerFunction = v8::Local<v8::Function>::Cast(listenerObject);
62 v8::Local<v8::Object> receiver = getReceiverObject(event);
64 return v8::Local<v8::Value>();
71 return v8::Local<v8::Value>();
91 v8::Local<v8::Context> v8Context = worldContext().adjustedContext(proxy);
119 v8::Local<v8::Value> value = proxy->runScript(script, false)
    [all...]
V8Utilities.cpp 52 void createHiddenDependency(v8::Handle<v8::Object> object, v8::Local<v8::Value> value, int cacheIndex)
54 v8::Local<v8::Value> cache = object->GetInternalField(cacheIndex);
60 v8::Local<v8::Array> cacheArray = v8::Local<v8::Array>::Cast(cache);
64 void removeHiddenDependency(v8::Handle<v8::Object> object, v8::Local<v8::Value> value, int cacheIndex)
66 v8::Local<v8::Value> cache = object->GetInternalField(cacheIndex);
69 v8::Local<v8::Array> cacheArray = v8::Local<v8::Array>::Cast(cache);
71 v8::Local<v8::Value> cached = cacheArray->Get(v8::Integer::New(i));
81 v8::Local<v8::Value> newValue,
    [all...]
V8EventListenerList.h 46 static PassRefPtr<V8EventListener> findWrapper(v8::Local<v8::Value> value, bool isAttribute)
53 return doFindWrapper(v8::Local<v8::Object>::Cast(value), wrapperProperty);
57 static PassRefPtr<V8EventListener> findOrCreateWrapper(v8::Local<v8::Value>, bool isAttribute);
66 static V8EventListener* doFindWrapper(v8::Local<v8::Object> object, v8::Handle<v8::String> wrapperProperty)
70 v8::Local<v8::Value> listener = object->GetHiddenValue(wrapperProperty);
83 PassRefPtr<V8EventListener> V8EventListenerList::findOrCreateWrapper(v8::Local<v8::Value> value, bool isAttribute)
89 v8::Local<v8::Object> object = v8::Local<v8::Object>::Cast(value);
  /external/v8/test/cctest/
test-decls.cc 62 v8::Handle<Value> value = Local<Value>());
69 virtual v8::Handle<Value> Get(Local<String> key);
70 virtual v8::Handle<Value> Set(Local<String> key, Local<Value> value);
71 virtual v8::Handle<Boolean> Has(Local<String> key);
77 virtual Local<ObjectTemplate> GetHolder(Local<FunctionTemplate> function) {
83 static v8::Handle<Value> HandleGet(Local<String> key,
85 static v8::Handle<Value> HandleSet(Local<String> key,
86 Local<Value> value
    [all...]
  /external/v8/include/
v8.h 124 template <class T> class Local;
171 * There are two types of handles: local and persistent handles.
172 * Local handles are light-weight and transient and typically used in
173 * local operations. They are managed by HandleScopes. Persistent
271 * that return objects from within v8 return them in local handles. They
272 * are created within HandleScopes, and all local handles allocated within a
274 * is not necessary to explicitly deallocate local handles.
276 template <class T> class V8EXPORT_INLINE Local : public Handle<T> {
278 inline Local();
279 template <class S> inline Local(Local<S> that
    [all...]
  /external/v8/src/
apiutils.h 48 static v8::Arguments NewArguments(Local<Value> data,
49 Local<Object> holder,
50 Local<Function> callee,
  /external/webkit/WebKit/chromium/src/
BoundObject.cpp 44 v8::Local<v8::FunctionTemplate> localTemplate = v8::FunctionTemplate::New(WebCore::V8Proxy::checkNewLegal);
57 v8::Local<v8::Signature> signature = v8::Signature::New(m_hostTemplate);
58 v8::Local<v8::ObjectTemplate> proto = m_hostTemplate->PrototypeTemplate();
59 v8::Local<v8::External> v8This = v8::External::New(m_v8This);
72 v8::Local<v8::Function> constructor = m_hostTemplate->GetFunction();
73 v8::Local<v8::Object> boundObject = WebCore::SafeAllocation::newInstance(constructor);

Completed in 120 milliseconds

1 2 3 4 5 6 7