/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8StyleSheetListCustom.cpp | 42 v8::Handle<v8::Value> V8StyleSheetList::namedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
|
V8HTMLAllCollectionCustom.cpp | 44 static v8::Handle<v8::Value> getNamedItems(HTMLAllCollection* collection, AtomicString name) 50 return v8::Handle<v8::Value>(); 58 static v8::Handle<v8::Value> getItem(HTMLAllCollection* collection, v8::Handle<v8::Value> argument) 60 v8::Local<v8::Uint32> index = argument->ToArrayIndex() [all...] |
V8NamedNodeMapCustom.cpp | 46 v8::Handle<v8::Value> V8NamedNodeMap::indexedPropertyGetter(uint32_t index, const v8::AccessorInfo& info) 57 v8::Handle<v8::Value> V8NamedNodeMap::namedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 61 v8::Handle<v8::Value> value = info.Holder()->GetRealNamedPropertyInPrototypeChain(name) [all...] |
V8DirectoryEntryCustom.cpp | 49 v8::Handle<v8::Value> V8DirectoryEntry::getDirectoryCallback(const v8::Arguments& args) 56 return v8::Handle<v8::Value>(); 60 EXCEPTION_BLOCK(v8::Handle<v8::Object>, object, v8::Handle<v8::Object>::Cast(args[1])); 62 v8::Local<v8::Value> v8Create = object->Get(v8::String::New("create")) [all...] |
V8WorkerContextCustom.cpp | 50 v8::Handle<v8::Value> SetTimeoutOrInterval(const v8::Arguments& args, bool singleShot) 56 return v8::Undefined(); 58 v8::Handle<v8::Value> function = args[0]; 64 return v8::Undefined(); 66 v8::Handle<v8::Context> v8Context = proxy->context(); 72 v8::Local<v8::Value>* params = 0 [all...] |
V8ClipboardCustom.cpp | 47 v8::Handle<v8::Value> V8Clipboard::typesAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 54 return v8::Null(); 56 v8::Local<v8::Array> result = v8::Array::New(types.size()); 60 result->Set(v8::Integer::New(index), v8String(*it)) [all...] |
V8HistoryCustom.cpp | 44 v8::Handle<v8::Value> V8History::pushStateCallback(const v8::Arguments& args) 49 return v8::Undefined(); 51 v8::TryCatch tryCatch; 54 return v8::Undefined(); 59 return v8::Undefined(); 68 v8::Handle<v8::Value> V8History::replaceStateCallback(const v8::Arguments& args [all...] |
V8GeolocationCustom.cpp | 43 static PassRefPtr<PositionOptions> createPositionOptions(v8::Local<v8::Value> value, bool& succeeded) 57 v8::Local<v8::Object> object = value->ToObject(); 63 v8::Local<v8::Value> enableHighAccuracyValue = object->Get(v8::String::New("enableHighAccuracy")); 69 v8::Local<v8::Boolean> enableHighAccuracyBoolean = enableHighAccuracyValue->ToBoolean(); 77 v8::Local<v8::Value> timeoutValue = object->Get(v8::String::New("timeout")) [all...] |
V8MessageEventCustom.cpp | 45 v8::Handle<v8::Value> V8MessageEvent::portsAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 52 return v8::Null(); 54 v8::Local<v8::Array> portArray = v8::Array::New(ports->size()); 56 portArray->Set(v8::Integer::New(i), toV8((*ports)[i].get())) [all...] |
V8ConsoleCustom.cpp | 51 v8::Handle<v8::Value> V8Console::profilesAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 56 v8::Handle<v8::Array> result = v8::Array::New(profiles.size()); 60 result->Set(v8::Integer::New(index++), toV8(iter->get())); 65 v8::Handle<v8::Value> V8Console::traceCallback(const v8::Arguments& args [all...] |
/external/v8/test/cctest/ |
test-func-name-inference.cc | 1 // Copyright 2007-2009 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...] |
test-log-stack-tracer.cc | 1 // Copyright 2011 the V8 project authors. All rights reserved. 34 #include "v8.h" 44 using v8::Function; 45 using v8::Local; 46 using v8::Object; 47 using v8::Script; 48 using v8::String; 49 using v8::Value; 51 using v8::internal::byte; 52 using v8::internal::Address [all...] |
cctest.h | 1 // Copyright 2008 the V8 project authors. All rights reserved. 31 #include "v8.h" 80 // the tests alternate, not relying solely on the big V8 lock. 87 class ApiTestFuzzer: public v8::internal::Thread { 90 explicit ApiTestFuzzer(v8::internal::Isolate* isolate, int num) 93 gate_(v8::internal::OS::CreateSemaphore(0)), 116 v8::internal::Semaphore* gate_; 120 static v8::internal::Semaphore* all_tests_done_; 162 // A LocalContext holds a reference to a v8::Context. 165 LocalContext(v8::ExtensionConfiguration* extensions = 0 [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
SerializedScriptValue.h | 35 #include <v8.h> 42 static void deserializeAndSetProperty(v8::Handle<v8::Object>, const char* propertyName, 43 v8::PropertyAttribute, SerializedScriptValue*); 44 static void deserializeAndSetProperty(v8::Handle<v8::Object>, const char* propertyName, 45 v8::PropertyAttribute, PassRefPtr<SerializedScriptValue>); 48 // function returns an empty representation, schedules a V8 exception to 49 // be thrown using v8::ThrowException(), and sets |didThrow|. In this case 50 // the caller must not invoke any V8 operations until control returns t [all...] |
IDBBindingUtilities.cpp | 41 PassRefPtr<IDBKey> createIDBKeyFromValue(v8::Handle<v8::Value> value) 58 bool getValueFrom(T indexOrName, v8::Handle<v8::Value>& v8Value) 60 v8::Local<v8::Object> object = v8Value->ToObject(); 68 bool setValue(v8::Handle<v8::Value>& v8Object, T indexOrName, const v8::Handle<v8::Value>& v8Value [all...] |
ScheduledAction.cpp | 46 ScheduledAction::ScheduledAction(v8::Handle<v8::Context> context, v8::Handle<v8::Function> func, int argc, v8::Handle<v8::Value> argv[]) 50 m_function = v8::Persistent<v8::Function>::New(func); 58 m_argv = new v8::Persistent<v8::Value>[argc] [all...] |
ScriptDebugServer.h | 40 #include <v8-debug.h> 94 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Context>) = 0; 95 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) = 0; 98 static v8::Handle<v8::Value> breakProgramCallback(const v8::Arguments& args); 99 void breakProgram(v8::Handle<v8::Object> executionState) [all...] |
V8NPObject.cpp | 69 static v8::Handle<v8::Value> npObjectInvokeImpl(const v8::Arguments& args, InvokeFunctionType functionId) 116 v8::Handle<v8::String> functionName(v8::String::Cast(*args.Data())); 140 v8::Handle<v8::Value> returnValue = convertNPVariantToV8Object(&result, npObject); 147 v8::Handle<v8::Value> npObjectMethodHandler(const v8::Arguments& args [all...] |
OwnHandle.h | 34 #include <v8.h> 42 explicit OwnHandle(v8::Handle<T> handle) : m_handle(v8::Persistent<T>::New(handle)) { } 45 v8::Handle<T> get() const { return m_handle; } 46 void set(v8::Handle<T> handle) { clear(); m_handle = v8::Persistent<T>::New(handle); } 48 // Note: This is clear in the OwnPtr sense, not the v8::Handle sense. 69 static void weakCallback(v8::Persistent<v8::Value> object, void* ownHandle) 75 v8::Persistent<T> m_handle [all...] |
PageScriptDebugServer.cpp | 48 static Frame* retrieveFrame(v8::Handle<v8::Context> context) 54 v8::Handle<v8::Object> global = context->Global(); 87 v8::HandleScope scope; 88 v8::Local<v8::Context> debuggerContext = v8::Debug::GetDebugContext(); 89 v8::Context::Scope contextScope(debuggerContext); 94 v8::Debug::SetDebugEventListener2(&PageScriptDebugServer::v8DebugEventCallback, v8::External::New(thi (…) [all...] |
V8DataGridDataSource.h | 38 #include <v8.h> 49 static PassRefPtr<V8DataGridDataSource> create(v8::Handle<v8::Value> dataSource, Frame* frame) 57 v8::Handle<v8::Value> jsDataSource() const { return m_dataSource; } 60 V8DataGridDataSource(v8::Handle<v8::Value>, Frame*); 62 v8::Persistent<v8::Value> m_dataSource;
|
/hardware/ril/mock-ril/src/cpp/ |
node_object_wrap.h | 30 #include <v8.h> 42 handle_->SetInternalField(0, v8::Undefined()); 49 static inline T* Unwrap (v8::Handle<v8::Object> handle) 53 return static_cast<T*>(v8::Handle<v8::External>::Cast( 57 v8::Persistent<v8::Object> handle_; // ro 60 inline void Wrap (v8::Handle<v8::Object> handle [all...] |
experiments.cpp | 17 #include <v8.h> 55 v8::Handle<v8::Value> GetReqScreenState(v8::Local<v8::String> property, 56 const v8::AccessorInfo &info) { 57 v8::Local<v8::Object> self = info.Holder(); 58 v8::Local<v8::External> wrap [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
WebDevToolsFrontendImpl.cpp | 68 static v8::Local<v8::String> ToV8String(const String& s) 71 return v8::Local<v8::String>(); 73 return v8::String::New(reinterpret_cast<const uint16_t*>(s.characters()), s.length()); 110 v8::HandleScope scope; 111 v8::Handle<v8::Context> frameContext = V8Proxy::context(frame->frame()); 112 v8::Context::Scope contextScope(frameContext); 113 v8::Handle<v8::Value> inspectorBackendValue = frameContext->Global()->Get(v8::String::New("InspectorB (…) [all...] |
/external/v8/src/ |
api.h | 1 // Copyright 2008 the V8 project authors. All rights reserved. 34 #include "../include/v8-testing.h" 36 namespace v8 { namespace 40 // we want to keep them out of v8.h because it is an externally 56 explicit inline NeanderObject(v8::internal::Handle<v8::internal::Object> obj); 57 explicit inline NeanderObject(v8::internal::Object* obj); 58 inline v8::internal::Object* get(int index); 59 inline void set(int index, v8::internal::Object* value); 60 inline v8::internal::Handle<v8::internal::JSObject> value() { return value_; [all...] |