/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8Int8ArrayCustom.cpp | 43 v8::Handle<v8::Value> V8Int8Array::constructorCallback(const v8::Arguments& args) 47 return constructWebGLArray<Int8Array, signed char>(args, &info, v8::kExternalByteArray); 50 v8::Handle<v8::Value> V8Int8Array::setCallback(const v8::Arguments& args) 56 v8::Handle<v8::Value> toV8(Int8Array* impl) 59 return v8::Null() [all...] |
V8Uint16ArrayCustom.cpp | 43 v8::Handle<v8::Value> V8Uint16Array::constructorCallback(const v8::Arguments& args) 47 return constructWebGLArray<Uint16Array, unsigned short>(args, &info, v8::kExternalUnsignedShortArray); 50 v8::Handle<v8::Value> V8Uint16Array::setCallback(const v8::Arguments& args) 56 v8::Handle<v8::Value> toV8(Uint16Array* impl) 59 return v8::Null() [all...] |
V8Uint32ArrayCustom.cpp | 43 v8::Handle<v8::Value> V8Uint32Array::constructorCallback(const v8::Arguments& args) 47 return constructWebGLArray<Uint32Array, unsigned int>(args, &info, v8::kExternalUnsignedIntArray); 50 v8::Handle<v8::Value> V8Uint32Array::setCallback(const v8::Arguments& args) 56 v8::Handle<v8::Value> toV8(Uint32Array* impl) 59 return v8::Null() [all...] |
V8Uint8ArrayCustom.cpp | 43 v8::Handle<v8::Value> V8Uint8Array::constructorCallback(const v8::Arguments& args) 47 return constructWebGLArray<Uint8Array, unsigned char>(args, &info, v8::kExternalUnsignedByteArray); 50 v8::Handle<v8::Value> V8Uint8Array::setCallback(const v8::Arguments& args) 56 v8::Handle<v8::Value> toV8(Uint8Array* impl) 59 return v8::Null() [all...] |
V8HTMLInputElementCustom.cpp | 41 v8::Handle<v8::Value> V8HTMLInputElement::selectionStartAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 44 v8::Handle<v8::Object> holder = info.Holder(); 51 return v8::Integer::New(v); 54 void V8HTMLInputElement::selectionStartAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info [all...] |
V8CSSStyleSheetCustom.cpp | 39 v8::Handle<v8::Value> toV8(CSSStyleSheet* impl) 42 return v8::Null(); 43 v8::Handle<v8::Object> wrapper = V8CSSStyleSheet::wrap(impl);
|
V8PerformanceCustom.cpp | 42 v8::Handle<v8::Value> V8Performance::memoryAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
|
V8DOMStringMapCustom.cpp | 41 v8::Handle<v8::Integer> V8DOMStringMap::namedPropertyQuery(v8::Local<v8::String> name, const v8::AccessorInfo& info) 45 return v8::Integer::New(v8::None); 46 return v8::Handle<v8::Integer>(); 49 v8::Handle<v8::Value> V8DOMStringMap::namedPropertyGetter(v8::Local<v8::String> name, const v8::Acces (…) [all...] |
V8HTMLElementCustom.cpp | 38 v8::Handle<v8::Value> toV8(HTMLElement* impl, bool forceNewObject) 41 return v8::Null();
|
V8SVGElementCustom.cpp | 40 v8::Handle<v8::Value> toV8(SVGElement* impl, bool forceNewObject) 43 return v8::Null();
|
V8DeviceOrientationEventCustom.cpp | 36 #include <v8.h> 40 v8::Handle<v8::Value> V8DeviceOrientationEvent::alphaAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 43 v8::Handle<v8::Object> holder = info.Holder(); 46 return v8::Null(); 47 return v8::Number::New(imp->orientation()->alpha()) [all...] |
/external/v8/test/cctest/ |
test-func-name-inference.cc | 1 // Copyright 2011 the V8 project authors. All rights reserved. 28 #include "v8.h" 35 using ::v8::internal::CStrVector; 36 using ::v8::internal::Factory; 37 using ::v8::internal::Handle; 38 using ::v8::internal::Heap; 39 using ::v8::internal::Isolate; 40 using ::v8::internal::JSFunction; 41 using ::v8::internal::Object; 42 using ::v8::internal::Runtime [all...] |
/external/v8/src/ |
v8checks.h | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 35 namespace v8 { namespace 42 } } // namespace v8::internal 48 v8::Handle<v8::Value> unexpected, 50 v8::Handle<v8::Value> value); 55 v8::Handle<v8::Value> expected, 57 v8::Handle<v8::Value> value) [all...] |
/external/webkit/Source/WebCore/bindings/scripts/test/V8/ |
V8TestCallback.cpp | 41 V8TestCallback::V8TestCallback(v8::Local<v8::Object> callback, ScriptExecutionContext* context) 43 , m_callback(v8::Persistent<v8::Object>::New(callback)) 60 v8::HandleScope handleScope; 62 v8::Handle<v8::Context> v8Context = toV8Context(scriptExecutionContext(), m_worldContext); 66 v8::Context::Scope scope(v8Context); 69 v8::Handle<v8::Value> *argv = 0 [all...] |
V8TestMediaQueryListListener.cpp | 42 static v8::Handle<v8::Value> methodCallback(const v8::Arguments& args) 48 return v8::Handle<v8::Value>(); 56 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestMediaQueryListListenerTemplate(v8::Persistent<v8::FunctionTemplate> desc) 58 v8::Local<v8::Signature> defaultSignature = configureTemplate(desc, "TestMediaQueryListListener", v8: (…) [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
V8WindowErrorHandler.h | 35 #include <v8.h> 42 static PassRefPtr<V8WindowErrorHandler> create(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext) 48 V8WindowErrorHandler(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext); 50 virtual v8::Local<v8::Value> callListenerFunction(ScriptExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*);
|
V8WorkerContextErrorHandler.h | 37 #include <v8.h> 44 static PassRefPtr<V8WorkerContextErrorHandler> create(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext) 50 V8WorkerContextErrorHandler(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext); 52 virtual v8::Local<v8::Value> callListenerFunction(ScriptExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*);
|
V8WorkerContextErrorHandler.cpp | 42 V8WorkerContextErrorHandler::V8WorkerContextErrorHandler(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext) 47 v8::Local<v8::Value> V8WorkerContextErrorHandler::callListenerFunction(ScriptExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event) 50 v8::Local<v8::Object> listener = getListenerObject(context); 51 v8::Local<v8::Value> returnValue [all...] |
V8EventListenerList.h | 37 #include <v8.h> 43 // This is a container for V8EventListener objects that uses hidden properties of v8::Object to speed up lookups. 46 static PassRefPtr<V8EventListener> findWrapper(v8::Local<v8::Value> value, bool isAttribute) 48 ASSERT(v8::Context::InContext()); 52 v8::Handle<v8::String> wrapperProperty = getHiddenProperty(isAttribute); 53 return doFindWrapper(v8::Local<v8::Object>::Cast(value), wrapperProperty); 57 static PassRefPtr<V8EventListener> findOrCreateWrapper(v8::Local<v8::Value>, bool isAttribute) [all...] |
JavaScriptCallFrame.cpp | 40 JavaScriptCallFrame::JavaScriptCallFrame(v8::Handle<v8::Context> debuggerContext, v8::Handle<v8::Object> callFrame) 53 v8::HandleScope handleScope; 54 v8::Context::Scope contextScope(m_debuggerContext.get()); 55 v8::Handle<v8::Value> callerFrame = m_callFrame.get()->Get(v8String("caller")); 58 m_caller = JavaScriptCallFrame::create(m_debuggerContext.get(), v8::Handle<v8::Object>::Cast(callerFrame)) [all...] |
V8WorkerContextEventListener.cpp | 52 V8WorkerContextEventListener::V8WorkerContextEventListener(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext) 66 v8::HandleScope handleScope; 72 v8::Handle<v8::Context> v8Context = proxy->context(); 76 // Enter the V8 context in which to perform the event handling. 77 v8::Context::Scope scope(v8Context); 79 // Get the V8 wrapper for the event object. 80 v8::Handle<v8::Value> jsEvent = toV8(event) [all...] |
V8Helpers.h | 35 #include <v8.h> 40 v8::Local<v8::Context> toV8Context(NPP, NPObject*);
|
ScriptState.h | 35 #include <v8.h> 50 void setException(v8::Local<v8::Value> exception) 54 v8::Local<v8::Value> exception() { return m_exception; } 56 v8::Local<v8::Context> context() const 58 return v8::Local<v8::Context>::New(m_context); 61 static ScriptState* forContext(v8::Local<v8::Context>) [all...] |
/external/v8/samples/ |
shell.cc | 1 // Copyright 2011 the V8 project authors. All rights reserved. 28 #include <v8.h> 41 * based on V8. This includes initializing V8 with command line options, 48 v8::Persistent<v8::Context> CreateShellContext(); 49 void RunShell(v8::Handle<v8::Context> context); 51 bool ExecuteString(v8::Handle<v8::String> source [all...] |
/hardware/ril/mock-ril/src/cpp/ |
node_util.h | 20 #include <v8.h> 24 enum encoding ParseEncoding(v8::Handle<v8::Value> encoding_v, 27 void FatalException(v8::TryCatch &try_catch); 29 v8::Local<v8::Value> Encode(const void *buf, size_t len, 35 v8::Handle<v8::Value>, 40 v8::Local<v8::Signature> __callback##_SIG = v8::Signature::New(templ); [all...] |