/external/v8/src/ |
rewriter.h | 1 // Copyright 2011 the V8 project authors. All rights reserved. 31 namespace v8 { namespace 48 } } // namespace v8::internal
|
/external/webkit/Source/WebCore/bindings/v8/ |
ScriptHeapSnapshot.h | 36 namespace v8 { namespace 53 static PassRefPtr<ScriptHeapSnapshot> create(const v8::HeapSnapshot* snapshot) 64 ScriptHeapSnapshot(const v8::HeapSnapshot* snapshot) 68 const v8::HeapSnapshot* m_snapshot;
|
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...] |
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8NodeCustom.cpp | 61 v8::Handle<v8::Value> V8Node::insertBeforeCallback(const v8::Arguments& args) 64 v8::Handle<v8::Object> holder = args.Holder(); 67 Node* newChild = V8Node::HasInstance(args[0]) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0; 68 Node* refChild = V8Node::HasInstance(args[1]) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(args[1])) : 0; 72 return v8::Handle<v8::Value>() [all...] |
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();
|
/hardware/ril/mock-ril/src/cpp/ |
mock_ril.cpp | 32 #include <v8.h> 218 v8::Handle<v8::Context> context_; 221 UnsolicitedThread(v8::Handle<v8::Context> context) : 226 v8::HandleScope handle_scope; 229 v8::Handle<v8::String> name = v8::String::New("onUnsolicitedTick"); 230 v8::Handle<v8::Value> functionValue = context_->Global()->Get(name) [all...] |
/external/v8/test/cctest/ |
test-heap-profiler.cc | 1 // Copyright 2009 the V8 project authors. All rights reserved. 7 #include "v8.h" 13 #include "../include/v8-profiler.h" 15 namespace i = v8::internal; 53 v8::HandleScope scope; 140 v8::HandleScope scope; 178 v8::HandleScope scope; 208 v8::HandleScope scope; 260 v8::HandleScope scope; 354 v8::HandleScope scope [all...] |
test-api.cc | 1 // Copyright 2011 the V8 project authors. All rights reserved. 30 #include "v8.h" 52 using ::v8::AccessorInfo; 53 using ::v8::Arguments; 54 using ::v8::Context; 55 using ::v8::Extension; 56 using ::v8::Function; 57 using ::v8::FunctionTemplate; 58 using ::v8::Handle; 59 using ::v8::HandleScope [all...] |
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...] |