HomeSort by relevance Sort by last modified time
    Searched refs:v8 (Results 151 - 175 of 1123) sorted by null

1 2 3 4 5 67 8 91011>>

  /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;
ScriptObject.cpp 44 #include <v8.h>
48 ScriptObject::ScriptObject(ScriptState* scriptState, v8::Handle<v8::Object> v8Object)
54 v8::Local<v8::Object> ScriptObject::v8Object() const
57 return v8::Local<v8::Object>(v8::Object::Cast(*v8Value()));
63 scope.global()->Set(v8::String::New(name), value.v8Value());
71 scope.global()->Set(v8::String::New(name), toV8(value))
    [all...]
  /external/webkit/Source/WebCore/bindings/v8/custom/
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...]
V8HTMLAudioElementConstructor.cpp 49 static v8::Handle<v8::Value> v8HTMLAudioElementConstructorCallback(const v8::Arguments& args)
76 V8DOMWrapper::setJSWrapperForDOMNode(audio.get(), v8::Persistent<v8::Object>::New(args.Holder()));
80 v8::Persistent<v8::FunctionTemplate> V8HTMLAudioElementConstructor::GetTemplate()
82 static v8::Persistent<v8::FunctionTemplate> cachedTemplate;
86 v8::HandleScope scope
    [all...]
V8HTMLImageElementConstructor.cpp 49 static v8::Handle<v8::Value> v8HTMLImageElementConstructorCallback(const v8::Arguments& args)
87 V8DOMWrapper::setJSWrapperForDOMNode(image.get(), v8::Persistent<v8::Object>::New(args.Holder()));
91 v8::Persistent<v8::FunctionTemplate> V8HTMLImageElementConstructor::GetTemplate()
93 static v8::Persistent<v8::FunctionTemplate> cachedTemplate;
97 v8::HandleScope scope
    [all...]
V8HTMLOptionElementConstructor.cpp 49 static v8::Handle<v8::Value> v8HTMLOptionElementConstructorCallback(const v8::Arguments& args)
85 V8DOMWrapper::setJSWrapperForDOMNode(option.get(), v8::Persistent<v8::Object>::New(args.Holder()));
89 v8::Persistent<v8::FunctionTemplate> V8HTMLOptionElementConstructor::GetTemplate()
91 static v8::Persistent<v8::FunctionTemplate> cachedTemplate;
95 v8::HandleScope scope
    [all...]
  /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/test/cctest/
test-log-stack-tracer.cc 1 // Copyright 2011 the V8 project authors. All rights reserved.
32 #include "v8.h"
42 using v8::Function;
43 using v8::Local;
44 using v8::Object;
45 using v8::Script;
46 using v8::String;
47 using v8::Value;
49 using v8::internal::byte;
50 using v8::internal::Address
    [all...]
  /external/v8/src/
api.h 1 // Copyright 2012 the V8 project authors. All rights reserved.
31 #include "v8.h"
33 #include "../include/v8-testing.h"
40 namespace v8 { namespace
44 // we want to keep them out of v8.h because it is an externally
60 explicit inline NeanderObject(v8::internal::Handle<v8::internal::Object> obj);
61 explicit inline NeanderObject(v8::internal::Object* obj);
62 inline v8::internal::Object* get(int index);
63 inline void set(int index, v8::internal::Object* value)
    [all...]

Completed in 232 milliseconds

1 2 3 4 5 67 8 91011>>