/external/webkit/Source/WebCore/bindings/v8/ |
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) [all...] |
OptionsObject.cpp | 44 OptionsObject::OptionsObject(const v8::Local<v8::Value>& options) 68 v8::Local<v8::Value> v8Value; 72 v8::Local<v8::Boolean> v8Bool = v8Value->ToBoolean(); 81 v8::Local<v8::Value> v8Value; 85 v8::Local<v8::Int32> v8Int32 = v8Value->ToInt32() [all...] |
V8Binding.cpp | 52 class WebCoreStringResource : public v8::String::ExternalStringResource { 61 v8::V8::AdjustAmountOfExternalAllocatedMemory(2 * string.length()); 72 v8::V8::AdjustAmountOfExternalAllocatedMemory(2 * string.length()); 83 v8::V8::AdjustAmountOfExternalAllocatedMemory(reducedExternalMemory); 104 v8::V8::AdjustAmountOfExternalAllocatedMemory(2 * m_atomicString.length()); 109 static WebCoreStringResource* toStringResource(v8::Handle<v8::String> v8String [all...] |
ScriptInstance.h | 34 #include <v8.h> 44 static PassRefPtr<V8ScriptInstance> create(v8::Handle<v8::Object> instance) 49 V8ScriptInstance(v8::Handle<v8::Object>); 51 v8::Persistent<v8::Object> instance(); 55 void set(v8::Handle<v8::Object>); 56 mutable v8::Persistent<v8::Object> m_instance [all...] |
V8WorkerContextEventListener.h | 37 #include <v8.h> 47 static PassRefPtr<V8WorkerContextEventListener> create(v8::Local<v8::Object> listener, bool isInline, const WorldContextHandle& worldContext) 55 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*) [all...] |
WorkerScriptDebugServer.cpp | 43 #include <v8.h> 48 static WorkerContext* retrieveWorkerContext(v8::Handle<v8::Context> context) 50 v8::Handle<v8::Object> global = context->Global(); 53 v8::Handle<v8::Object> prototype = v8::Handle<v8::Object>::Cast(global->GetPrototype()); 56 prototype = v8::Handle<v8::Object>::Cast(prototype->GetPrototype()) [all...] |
V8DOMWrapper.cpp | 94 #include <v8-debug.h> 102 typedef HashMap<Node*, v8::Object*> DOMNodeMap; 103 typedef HashMap<void*, v8::Object*> DOMObjectMap; 106 void V8DOMWrapper::setJSWrapperForDOMObject(void* object, v8::Persistent<v8::Object> wrapper) 114 void V8DOMWrapper::setJSWrapperForActiveDOMObject(void* object, v8::Persistent<v8::Object> wrapper) 122 void V8DOMWrapper::setJSWrapperForDOMNode(Node* node, v8::Persistent<v8::Object> wrapper) 128 v8::Local<v8::Function> V8DOMWrapper::getConstructor(WrapperTypeInfo* type, v8::Handle<v8::Value> obj (…) [all...] |
V8Collection.h | 39 #include <v8.h> 45 template<class T> static v8::Handle<v8::Value> getV8Object(T* implementation) 48 return v8::Handle<v8::Value>(); 52 template<class Collection> static Collection* toNativeCollection(v8::Local<v8::Object> object) 57 template<class T> static v8::Handle<v8::Value> getV8Object(PassRefPtr<T> implementation) 63 template<class Collection, class ItemType> static v8::Handle<v8::Value> getNamedPropertyOfCollection(v8::Local<v8::String> name, v8::Local<v8::Object> (…) [all...] |
V8AbstractEventListener.cpp | 49 static void weakEventListenerCallback(v8::Persistent<v8::Value>, void* parameter) 66 v8::HandleScope scope; 67 v8::Local<v8::Object> listener = v8::Local<v8::Object>::New(m_listener); 83 // Don't reenter V8 if execution was terminated in this instance of V8. 93 v8::HandleScope handleScope [all...] |
ScriptControllerQt.cpp | 38 v8::HandleScope handleScope; 39 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(m_frame); 40 v8::Context::Scope scope(v8Context);
|
WorldContextHandle.h | 36 #include <v8.h> 48 v8::Local<v8::Context> adjustedContext(V8Proxy*) const; 52 RefPtr<SharedPersistent<v8::Context> > m_context;
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8MessagePortCustom.cpp | 45 v8::Handle<v8::Value> V8MessagePort::postMessageCallback(const v8::Arguments& args) 52 return v8::Undefined(); 56 return v8::Undefined(); 63 bool getMessagePortArray(v8::Local<v8::Value> value, MessagePortArray& portArray) 75 v8::Local<v8::Object> ports = v8::Local<v8::Object>::Cast(value) [all...] |
V8HTMLCollectionCustom.cpp | 44 static v8::Handle<v8::Value> getNamedItems(HTMLCollection* collection, AtomicString name) 50 return v8::Handle<v8::Value>(); 58 static v8::Handle<v8::Value> getItem(HTMLCollection* collection, v8::Handle<v8::Value> argument) 60 v8::Local<v8::Uint32> index = argument->ToArrayIndex() [all...] |
V8InjectedScriptManager.cpp | 48 static void WeakReferenceCallback(v8::Persistent<v8::Value> object, void* parameter) 55 static v8::Local<v8::Object> createInjectedScriptHostV8Wrapper(InjectedScriptHost* host) 57 v8::Local<v8::Function> function = V8InjectedScriptHost::GetTemplate()->GetFunction(); 60 return v8::Local<v8::Object>(); 62 v8::Local<v8::Object> instance = SafeAllocation::newInstance(function) [all...] |
V8CustomApplicationInstalledCallback.cpp | 36 V8CustomApplicationInstalledCallback::V8CustomApplicationInstalledCallback(v8::Local<v8::Object> callback, Frame* frame) 37 : m_callback(v8::Persistent<v8::Object>::New(callback)) 49 v8::HandleScope handleScope; 51 v8::Handle<v8::Context> context = V8Proxy::context(m_frame.get()); 55 v8::Context::Scope scope(context); 57 v8::Handle<v8::Value> argv[] = [all...] |
V8CustomVoidCallback.h | 36 #include <v8.h> 46 static PassRefPtr<V8CustomVoidCallback> create(v8::Local<v8::Value> value, ScriptExecutionContext* context) 56 V8CustomVoidCallback(v8::Local<v8::Object>, ScriptExecutionContext* context); 58 v8::Persistent<v8::Object> m_callback; 64 bool invokeCallback(v8::Persistent<v8::Object> callback, int argc, v8::Handle<v8::Value> argv[], bool& callbackReturnValue, ScriptExecutionContext* scriptExecutionConte (…) [all...] |
V8DocumentLocationCustom.cpp | 35 v8::Handle<v8::Value> V8Document::locationAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 39 return v8::Null(); 45 void V8Document::locationAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info [all...] |
V8DirectoryEntrySyncCustom.cpp | 50 static bool extractBooleanValue(const v8::Handle<v8::Object>& object, const char* name, ExceptionCode& ec) { 52 v8::Local<v8::Value> value = object->Get(v8::String::New(name)); 54 v8::TryCatch block; 65 static PassRefPtr<WebKitFlags> getFlags(const v8::Local<v8::Value>& arg, ExceptionCode& ec) 71 return V8WebKitFlags::toNative(v8::Handle<v8::Object>::Cast(arg)) [all...] |
V8InjectedScriptHostCustom.cpp | 56 return V8Node::toNative(v8::Handle<v8::Object>::Cast(value.v8Value())); 61 v8::HandleScope scope; 62 v8::Local<v8::Context> context = state->context(); 63 v8::Context::Scope contextScope(context); 68 v8::Handle<v8::Value> V8InjectedScriptHost::inspectedNodeCallback(const v8::Arguments& args) 72 return v8::Undefined() [all...] |
V8XSLTProcessorCustom.cpp | 49 v8::Handle<v8::Value> V8XSLTProcessor::constructorCallback(const v8::Arguments& args) 56 v8::Handle<v8::Value> V8XSLTProcessor::importStylesheetCallback(const v8::Arguments& args) 60 return v8::Undefined(); 64 Node* node = V8Node::toNative(v8::Handle<v8::Object>::Cast(args[0])); 66 return v8::Undefined() [all...] |
V8SQLResultSetRowListCustom.cpp | 42 v8::Handle<v8::Value> V8SQLResultSetRowList::itemCallback(const v8::Arguments& args) 48 return v8::Undefined(); 53 return v8::Undefined(); 61 return v8::Undefined(); 64 v8::Local<v8::Object> item = v8::Object::New(); 70 v8::Handle<v8::Value> value [all...] |
/external/v8/test/cctest/ |
test-heap-profiler.cc | 1 // Copyright 2011 the V8 project authors. All rights reserved. 5 #include "v8.h" 11 #include "../include/v8-profiler.h" 55 static const v8::HeapGraphNode* GetGlobalObject( 56 const v8::HeapSnapshot* snapshot) { 58 const v8::HeapGraphNode* global_obj = 66 static const v8::HeapGraphNode* GetProperty(const v8::HeapGraphNode* node, 67 v8::HeapGraphEdge::Type type, 70 const v8::HeapGraphEdge* prop = node->GetChild(i) [all...] |
test-debug.cc | 1 // Copyright 2012 the V8 project authors. All rights reserved. 32 #include "v8.h" 44 using ::v8::internal::EmbeddedVector; 45 using ::v8::internal::Object; 46 using ::v8::internal::OS; 47 using ::v8::internal::Handle; 48 using ::v8::internal::Heap; 49 using ::v8::internal::JSGlobalProxy; 50 using ::v8::internal::Code; 51 using ::v8::internal::Debug 380 namespace v8 { namespace [all...] |
/external/v8/src/ |
d8-windows.cc | 1 // Copyright 2009 the V8 project authors. All rights reserved. 35 namespace v8 { namespace 42 } // namespace v8
|
strtod.h | 1 // Copyright 2010 the V8 project authors. All rights reserved. 31 namespace v8 { namespace 38 } } // namespace v8::internal
|