/external/v8/src/extensions/experimental/ |
break-iterator.cc | 1 // Copyright 2011 the V8 project authors. All rights reserved. 34 namespace v8 { namespace 37 v8::Persistent<v8::FunctionTemplate> BreakIterator::break_iterator_template_; 40 v8::Handle<v8::Object> obj) { 50 v8::Handle<v8::Object> obj, v8::Handle<v8::Value> value) [all...] |
i18n-extension.cc | 1 // Copyright 2010 the V8 project authors. All rights reserved. 38 namespace v8 { namespace 54 : v8::Extension("v8/i18n", GetScriptSource()) { 57 v8::Handle<v8::FunctionTemplate> I18NExtension::GetNativeFunction( 58 v8::Handle<v8::String> name) { 59 if (name->Equals(v8::String::New("NativeJSLocale"))) { 60 return v8::FunctionTemplate::New(JSLocale) [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
ScriptCallStackFactory.h | 34 #include <v8.h> 43 const v8::StackTrace::StackTraceOptions stackTraceOptions = static_cast<v8::StackTrace::StackTraceOptions>( 44 v8::StackTrace::kLineNumber 45 | v8::StackTrace::kColumnOffset 46 | v8::StackTrace::kScriptNameOrSourceURL 47 | v8::StackTrace::kFunctionName); 49 PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace>, size_t maxStackSize); 51 PassRefPtr<ScriptArguments> createScriptArguments(const v8::Arguments& v8arguments, unsigned skipArgumentCount) [all...] |
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...] |
V8Proxy.h | 44 #include <v8.h> 78 v8::AccessorGetter getter; 79 v8::AccessorSetter setter; 81 v8::AccessControl settings; 82 v8::PropertyAttribute attribute; 86 void batchConfigureAttributes(v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::ObjectTemplate>, const BatchedAttribute*, size_t attributeCount); 88 inline void configureAttribute(v8::Handle<v8::ObjectTemplate> instance, v8::Handle<v8::ObjectTemplate> proto, const BatchedAttribute (…) [all...] |
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8HTMLOutputElementCustom.cpp | 41 v8::Handle<v8::Value> V8HTMLOutputElement::htmlForAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 48 void V8HTMLOutputElement::htmlForAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info [all...] |
V8WebKitAnimationCustom.cpp | 34 #include <v8.h> 38 v8::Handle<v8::Value> V8WebKitAnimation::iterationCountAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 41 v8::Handle<v8::Object> holder = info.Holder(); 45 return v8::Number::New(std::numeric_limits<float>::infinity()); 46 return v8::Number::New(count) [all...] |
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...] |
/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/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/ |
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...] |