/external/webkit/Source/WebCore/bindings/scripts/test/V8/ |
V8TestInterface.cpp | 44 v8::Handle<v8::Value> V8TestInterface::constructorCallback(const v8::Arguments& args) 49 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestInterfaceTemplate(v8::Persistent<v8::FunctionTemplate> desc) 51 v8::Local<v8::Signature> defaultSignature = configureTemplate(desc, "TestInterface", v8::Persistent<v8::FunctionTemplate>(), V8TestInterface::internalFieldCount [all...] |
V8TestSerializedScriptValueInterface.cpp | 45 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestSerializedScriptValueInterfaceTemplate(v8::Persistent<v8::FunctionTemplate> desc) 47 v8::Local<v8::Signature> defaultSignature = configureTemplate(desc, "TestSerializedScriptValueInterface", v8::Persistent<v8::FunctionTemplate>(), V8TestSerializedScriptValueInterface::internalFieldCount, 58 v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetRawTemplate( [all...] |
V8TestMediaQueryListListener.h | 28 #include <v8.h> 36 static bool HasInstance(v8::Handle<v8::Value> value); 37 static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(); 38 static v8::Persistent<v8::FunctionTemplate> GetTemplate(); 39 static TestMediaQueryListListener* toNative(v8::Handle<v8::Object> object) 43 inline static v8::Handle<v8::Object> wrap(TestMediaQueryListListener*) [all...] |
V8TestSerializedScriptValueInterface.h | 30 #include <v8.h> 38 static bool HasInstance(v8::Handle<v8::Value> value); 39 static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(); 40 static v8::Persistent<v8::FunctionTemplate> GetTemplate(); 41 static TestSerializedScriptValueInterface* toNative(v8::Handle<v8::Object> object) 45 inline static v8::Handle<v8::Object> wrap(TestSerializedScriptValueInterface*) [all...] |
V8TestObj.cpp | 55 static v8::Handle<v8::Value> readOnlyIntAttrAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 59 return v8::Integer::New(imp->readOnlyIntAttr()); 62 static v8::Handle<v8::Value> readOnlyStringAttrAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info [all...] |
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8CustomVoidCallback.cpp | 40 V8CustomVoidCallback::V8CustomVoidCallback(v8::Local<v8::Object> callback, ScriptExecutionContext *context) 41 : m_callback(v8::Persistent<v8::Object>::New(callback)) 54 v8::HandleScope handleScope; 56 v8::Handle<v8::Context> v8Context = toV8Context(m_scriptExecutionContext.get(), m_worldContext); 60 v8::Context::Scope scope(v8Context); 66 bool invokeCallback(v8::Persistent<v8::Object> callback, int argc, v8::Handle<v8::Value> argv[], bool& callbackReturnValue, ScriptExecut (…) [all...] |
V8CustomXPathNSResolver.cpp | 41 PassRefPtr<V8CustomXPathNSResolver> V8CustomXPathNSResolver::create(v8::Handle<v8::Object> resolver) 46 V8CustomXPathNSResolver::V8CustomXPathNSResolver(v8::Handle<v8::Object> resolver) 57 v8::Handle<v8::Function> lookupNamespaceURIFunc; 58 v8::Handle<v8::String> lookupNamespaceURIName = v8::String::New("lookupNamespaceURI"); 62 v8::Handle<v8::Value> lookupNamespaceURI = m_resolver->Get(lookupNamespaceURIName) [all...] |
V8JavaScriptCallFrameCustom.cpp | 41 v8::Handle<v8::Value> V8JavaScriptCallFrame::evaluateCallback(const v8::Arguments& args) 49 v8::Handle<v8::Value> V8JavaScriptCallFrame::scopeChainAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 56 v8::Handle<v8::Value> V8JavaScriptCallFrame::scopeTypeCallback(const v8::Arguments& args [all...] |
V8CanvasRenderingContext2DCustom.cpp | 52 static v8::Handle<v8::Value> toV8Object(CanvasStyle* style) 63 static PassRefPtr<CanvasStyle> toCanvasStyle(v8::Handle<v8::Value> value) 69 return CanvasStyle::createFromGradient(V8CanvasGradient::toNative(v8::Handle<v8::Object>::Cast(value))); 72 return CanvasStyle::createFromPattern(V8CanvasPattern::toNative(v8::Handle<v8::Object>::Cast(value))); 77 v8::Handle<v8::Value> V8CanvasRenderingContext2D::strokeStyleAccessorGetter(v8::Local<v8::String> name, const v8 (…) [all...] |
V8CustomXPathNSResolver.h | 38 #include <v8.h> 51 static PassRefPtr<V8CustomXPathNSResolver> create(v8::Handle<v8::Object> resolver); 57 explicit V8CustomXPathNSResolver(v8::Handle<v8::Object> resolver); 59 v8::Handle<v8::Object> m_resolver; // Handle to resolver object.
|
V8IDBKeyCustom.cpp | 39 v8::Handle<v8::Value> toV8(IDBKey* key) 42 return v8::Null(); 46 return v8::Null(); 48 return v8::Number::New(key->number()); 52 return v8::Date::New(key->date()); 56 return v8::Undefined();
|
V8LocationCustom.cpp | 51 void V8Location::hashAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) 63 void V8Location::hostAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info [all...] |
V8ScriptProfileNodeCustom.cpp | 38 #include <v8-profiler.h> 42 v8::Handle<v8::Value> V8ScriptProfileNode::childrenAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 47 v8::Handle<v8::Array> result = v8::Array::New(children.size()); 51 result->Set(v8::Integer::New(index++), toV8(iter->get())) [all...] |
V8Float32ArrayCustom.cpp | 43 v8::Handle<v8::Value> V8Float32Array::constructorCallback(const v8::Arguments& args) 47 return constructWebGLArray<Float32Array, float>(args, &info, v8::kExternalFloatArray); 50 v8::Handle<v8::Value> V8Float32Array::setCallback(const v8::Arguments& args) 56 v8::Handle<v8::Value> toV8(Float32Array* impl) 59 return v8::Null() [all...] |
V8Float64ArrayCustom.cpp | 38 v8::Handle<v8::Value> V8Float64Array::constructorCallback(const v8::Arguments& args) 42 return constructWebGLArray<Float64Array, double>(args, &info, v8::kExternalDoubleArray); 45 v8::Handle<v8::Value> V8Float64Array::setCallback(const v8::Arguments& args) 51 v8::Handle<v8::Value> toV8(Float64Array* impl) 54 return v8::Null() [all...] |
V8Int16ArrayCustom.cpp | 43 v8::Handle<v8::Value> V8Int16Array::constructorCallback(const v8::Arguments& args) 47 return constructWebGLArray<Int16Array, short>(args, &info, v8::kExternalShortArray); 50 v8::Handle<v8::Value> V8Int16Array::setCallback(const v8::Arguments& args) 56 v8::Handle<v8::Value> toV8(Int16Array* impl) 59 return v8::Null() [all...] |
V8Int32ArrayCustom.cpp | 43 v8::Handle<v8::Value> V8Int32Array::constructorCallback(const v8::Arguments& args) 47 return constructWebGLArray<Int32Array, int>(args, &info, v8::kExternalIntArray); 50 v8::Handle<v8::Value> V8Int32Array::setCallback(const v8::Arguments& args) 56 v8::Handle<v8::Value> toV8(Int32Array* impl) 59 return v8::Null() [all...] |
/external/v8/samples/ |
lineprocessor.cc | 1 // Copyright 2009 the V8 project authors. All rights reserved. 32 // Note that V8 itself should be compiled with enabled debugger support 36 #include <v8.h> 39 #include <v8-debug.h> 49 * standalone V8-based application. 84 * When run with "-p" argument, the program starts V8 Debugger Agent and 92 * This way V8 will suspend on the first statement and wait for 95 * 2. Unresponsive V8 96 * V8 Debugger Agent holds a connection with remote debugger, but it does 97 * respond only when V8 is running some script. In particular, when this progra [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
ScheduledAction.h | 39 #include <v8.h> 49 ScheduledAction(v8::Handle<v8::Context>, v8::Handle<v8::Function>, int argc, v8::Handle<v8::Value> argv[]); 50 explicit ScheduledAction(v8::Handle<v8::Context> context, const WTF::String& code, const KURL& url = KURL()) 67 OwnHandle<v8::Context> m_context [all...] |
V8NodeFilterCondition.h | 35 #include <v8.h> 47 static PassRefPtr<V8NodeFilterCondition> create(v8::Handle<v8::Value> filter) 57 explicit V8NodeFilterCondition(v8::Handle<v8::Value> filter); 59 mutable v8::Persistent<v8::Value> m_filter;
|
V8AbstractEventListener.h | 37 #include <v8.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); 106 void setListenerObject(v8::Handle<v8::Object> listener) [all...] |
V8WindowErrorHandler.cpp | 40 V8WindowErrorHandler::V8WindowErrorHandler(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext) 45 v8::Local<v8::Value> V8WindowErrorHandler::callListenerFunction(ScriptExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event) 51 v8::Local<v8::Object> listener = getListenerObject(context); 52 v8::Local<v8::Value> returnValue [all...] |
ScriptDebugServer.cpp | 46 class ClientDataImpl : public v8::Debug::ClientData { 65 v8::HandleScope scope; 66 v8::Local<v8::Context> debuggerContext = v8::Debug::GetDebugContext(); 67 v8::Context::Scope contextScope(debuggerContext); 69 v8::Local<v8::Object> args = v8::Object::New(); 70 args->Set(v8::String::New("sourceID"), v8String(sourceID)) [all...] |
/external/webkit/Source/WebCore/ |
Android.v8bindings.mk | 29 external/v8/include \ 31 $(LOCAL_PATH)/bindings/v8 \ 32 $(LOCAL_PATH)/bindings/v8/custom \ 33 $(LOCAL_PATH)/bindings/v8/specialization \ 36 $(LOCAL_PATH)/bridge/jni/v8 \ 46 bindings/v8/ChildThreadDOMData.cpp \ 47 bindings/v8/DateExtension.cpp \ 48 bindings/v8/DOMData.cpp \ 49 bindings/v8/DOMDataStore.cpp \ 50 bindings/v8/DOMWrapperWorld.cpp [all...] |
/external/v8/test/cctest/ |
test-lockers.cc | 1 // Copyright 2007-2011 the V8 project authors. All rights reserved. 30 #include "v8.h" 43 using ::v8::AccessorInfo; 44 using ::v8::Context; 45 using ::v8::Extension; 46 using ::v8::Function; 47 using ::v8::HandleScope; 48 using ::v8::Local; 49 using ::v8::Object; 50 using ::v8::ObjectTemplate [all...] |