/external/webkit/Source/WebCore/bindings/v8/ |
ScriptProfile.h | 37 namespace v8 { namespace 47 static PassRefPtr<ScriptProfile> create(const v8::CpuProfile* profile) 60 ScriptProfile(const v8::CpuProfile* profile) 64 const v8::CpuProfile* m_profile;
|
V8DataGridDataSource.cpp | 45 V8DataGridDataSource::V8DataGridDataSource(v8::Handle<v8::Value> dataSource, Frame* frame) 46 : m_dataSource(v8::Persistent<v8::Value>::New(dataSource))
|
WorkerScriptDebugServer.h | 52 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Context>); 53 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>);
|
WorldContextHandle.cpp | 48 v8::Local<v8::Context> WorldContextHandle::adjustedContext(V8Proxy* proxy) const 53 return v8::Local<v8::Context>::New(m_context->get());
|
WrapperTypeInfo.h | 34 #include <v8.h> 47 typedef v8::Persistent<v8::FunctionTemplate> (*GetTemplateFunction)(); 49 typedef ActiveDOMObject* (*ToActiveDOMObjectFunction)(v8::Handle<v8::Object>); 52 // v8 objects. Each v8 bindings class has exactly one static WrapperTypeInfo member, so 56 static WrapperTypeInfo* unwrap(v8::Handle<v8::Value> typeInfoWrapper) 58 return reinterpret_cast<WrapperTypeInfo*>(v8::External::Unwrap(typeInfoWrapper)) [all...] |
ScriptController.cpp | 85 v8::V8::SetFlagsFromString(string, length); 100 return !v8::Context::InContext() || V8BindingSecurity::canAccessFrame(V8BindingState::Only(), frame, true); 167 v8::HandleScope handleScope; 168 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(activeFrame); 175 v8::Context::Scope scope(v8Context); 177 v8::Handle<v8::Object> global = v8Context->Global(); 178 v8::Handle<v8::String> eventSymbol = V8HiddenPropertyName::event() [all...] |
DOMDataStore.cpp | 65 // that does not own them. In V8, GC can kick in from any thread. To ensure 67 // V8 in multi-threading environment, we do following: 71 // running V8 instances are created by WTF and thus a destructor will 137 void DOMDataStore::weakDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject) 139 v8::HandleScope scope; 141 DOMData::handleWeakObject(DOMDataStore::DOMObjectMap, v8::Persistent<v8::Object>::Cast(v8Object), domObject); 144 void DOMDataStore::weakActiveDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject [all...] |
ScriptFunctionCall.cpp | 42 #include <v8.h> 76 m_arguments.append(v8::Number::New(argument)); 82 m_arguments.append(v8::Number::New(argument)); 88 m_arguments.append(v8::Number::New(argument)); 94 m_arguments.append(v8::Number::New(argument)); 100 m_arguments.append(v8::Number::New(argument)); 119 v8::Local<v8::Object> thisObject = m_thisObject.v8Object(); 120 v8::Local<v8::Value> value = thisObject->Get(v8String(m_name)) [all...] |
ScriptObject.h | 36 #include <v8.h> 45 ScriptObject(ScriptState*, v8::Handle<v8::Object>); 49 v8::Local<v8::Object> v8Object() const;
|
ScriptProfiler.cpp | 39 #include <v8-profiler.h> 46 v8::HandleScope hs; 47 v8::CpuProfiler::StartProfiling(v8String(title)); 52 v8::HandleScope hs; 53 const v8::CpuProfile* profile = state ? 54 v8::CpuProfiler::StopProfiling(v8String(title), state->context()->GetSecurityToken()) : 55 v8::CpuProfiler::StopProfiling(v8String(title)); 61 // NOTE : There is currently no direct way to collect memory from the v8 C++ API 64 v8::V8::LowMemoryNotification() [all...] |
WorkerContextExecutionProxy.h | 38 #include <v8.h> 73 v8::Local<v8::Context> context() { return v8::Local<v8::Context>::New(m_context); } 81 v8::Local<v8::Value> runScript(v8::Handle<v8::Script>); 88 v8::Persistent<v8::Context> m_context [all...] |
/external/v8/test/cctest/ |
test-threads.cc | 1 // Copyright 2008 the V8 project authors. All rights reserved. 28 #include "v8.h" 37 v8::Locker locker; 38 v8::V8::Initialize(); 39 v8::HandleScope scope; 40 v8::Context::Scope context_scope(v8::Context::New()); 42 v8::Locker::StartPreemption(100); 44 v8::Handle<v8::Script> script = v8::Script::Compile [all...] |
test-api.cc | 1 // Copyright 2012 the V8 project authors. All rights reserved. 30 #include "v8.h" 53 using ::v8::AccessorInfo; 54 using ::v8::Arguments; 55 using ::v8::Context; 56 using ::v8::Extension; 57 using ::v8::Function; 58 using ::v8::FunctionTemplate; 59 using ::v8::Handle; 60 using ::v8::HandleScope [all...] |
test-log.cc | 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 12 #include "v8.h" 21 using v8::internal::Address; 22 using v8::internal::EmbeddedVector; 23 using v8::internal::Logger; 24 using v8::internal::StrLength; 40 env_(v8::Context::New()) { 54 v8::Handle<v8::Context>& env() { return env_; } 80 v8::HandleScope scope_ [all...] |
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8DOMSettableTokenListCustom.cpp | 35 v8::Handle<v8::Value> V8DOMSettableTokenList::indexedPropertyGetter(uint32_t index, const v8::AccessorInfo& info)
|
V8EntryCustom.cpp | 47 v8::Handle<v8::Value> toV8(Entry* impl) 50 return v8::Null();
|
V8EntrySyncCustom.cpp | 47 v8::Handle<v8::Value> toV8(EntrySync* impl) 50 return v8::Null();
|
V8FileReaderCustom.cpp | 43 v8::Handle<v8::Value> V8FileReader::constructorCallback(const v8::Arguments& args) 60 V8DOMWrapper::setJSWrapperForActiveDOMObject(fileReader.get(), v8::Persistent<v8::Object>::New(args.Holder())); 64 v8::Handle<v8::Value> V8FileReader::resultAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info [all...] |
V8SharedWorkerCustom.cpp | 47 v8::Handle<v8::Value> V8SharedWorker::constructorCallback(const v8::Arguments& args) 57 v8::TryCatch tryCatch; 58 v8::Handle<v8::String> scriptUrl = args[0]->ToString(); 67 return v8::Undefined(); 72 return v8::Undefined(); 82 v8::Handle<v8::Object> wrapperObject = args.Holder() [all...] |
V8SQLTransactionSyncCustom.cpp | 51 v8::Handle<v8::Value> V8SQLTransactionSync::executeSqlCallback(const v8::Arguments& args) 67 v8::Local<v8::Object> sqlArgsObject = args[1]->ToObject(); 68 EXCEPTION_BLOCK(v8::Local<v8::Value>, length, sqlArgsObject->Get(v8::String::New("length"))); 76 v8::Local<v8::Integer> key = v8::Integer::New(i) [all...] |
V8DataViewCustom.cpp | 37 v8::Handle<v8::Value> V8DataView::constructorCallback(const v8::Arguments& args) 46 return constructWebGLArrayWithArrayBufferArgument<DataView, char>(args, &info, v8::kExternalByteArray, false); 49 v8::Handle<v8::Value> toV8(DataView* impl) 52 return v8::Null(); 56 v8::Handle<v8::Value> V8DataView::getInt8Callback(const v8::Arguments& args [all...] |
V8DedicatedWorkerContextCustom.cpp | 45 v8::Handle<v8::Value> V8DedicatedWorkerContext::postMessageCallback(const v8::Arguments& args) 52 return v8::Undefined(); 56 return v8::Undefined();
|
V8SVGLengthCustom.cpp | 42 v8::Handle<v8::Value> V8SVGLength::valueAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 51 return v8::Handle<v8::Value>(); 53 return v8::Number::New(value); 56 void V8SVGLength::valueAccessorSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info [all...] |
V8XMLHttpRequestConstructor.cpp | 43 v8::Handle<v8::Value> V8XMLHttpRequest::constructorCallback(const v8::Arguments& args) 60 V8DOMWrapper::setJSWrapperForActiveDOMObject(xmlHttpRequest.get(), v8::Persistent<v8::Object>::New(args.Holder()));
|
/external/v8/src/ |
messages.h | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 28 // The infrastructure used for (localized) message reporting in V8. 39 namespace v8 { namespace 42 } } // namespace v8::internal 48 v8::internal::Handle<v8::internal::JSArray> args, 49 const v8::internal::MessageLocation* loc) : 52 v8::internal::Handle<v8::internal::JSArray> args() const { return args_; } 53 const v8::internal::MessageLocation* loc() const { return loc_; 61 namespace v8 { namespace [all...] |