Searched refs:v8 (Results 1 - 25 of 823) sorted by relevance

1234567891011>>

/external/v8/src/
H A Dstring-search.cc28 #include "v8.h"
31 namespace v8 { namespace
41 }} // namespace v8::internal
/external/webkit/Source/WebCore/bindings/v8/
H A DV8NPObject.h40 #include <v8.h>
46 v8::Handle<v8::Value> npObjectNamedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo&);
47 v8::Handle<v8::Value> npObjectIndexedPropertyGetter(uint32_t index, const v8::AccessorInfo&);
48 v8
[all...]
H A DV8EventListener.cpp38 V8EventListener::V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, const WorldContextHandle& worldContext)
44 v8::Local<v8::Function> V8EventListener::getListenerFunction(ScriptExecutionContext* context)
46 v8::Local<v8::Object> listener = getListenerObject(context);
50 return v8::Local<v8::Function>();
53 return v8::Local<v8
[all...]
H A DV8Utilities.h35 #include <v8.h>
46 void createHiddenDependency(v8::Handle<v8::Object>, v8::Local<v8::Value>, int cacheIndex);
47 void removeHiddenDependency(v8::Handle<v8::Object>, v8::Local<v8::Value>, int cacheIndex);
50 void transferHiddenDependency(v8
[all...]
H A DDateExtension.h34 #include <v8.h>
39 class DateExtension : public v8::Extension {
46 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(v8::Handle<v8::String>);
47 static v8::Handle<v8::Value> Setup(const v8::Arguments&);
48 static v8
[all...]
H A DV8Proxy.h44 #include <v8.h>
78 v8::AccessorGetter getter;
79 v8::AccessorSetter setter;
81 v8::AccessControl settings;
82 v8::PropertyAttribute attribute;
86 void batchConfigureAttributes(v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::ObjectTemplate>, const BatchedAttribute*, size_t attributeCount);
88 inline void configureAttribute(v8
[all...]
H A DScriptScope.h34 #include <v8.h>
44 v8::Local<v8::Object> global() const { return m_context->Global(); }
47 v8::HandleScope m_handleScope;
48 v8::Local<v8::Context> m_context;
49 v8::Context::Scope m_scope;
50 v8::TryCatch m_exceptionCatcher;
H A DV8DOMWindowShell.h54 v8::Handle<v8::Context> context() const { return m_context; }
68 v8::Persistent<v8::Context> createNewContext(v8::Handle<v8::Object> global, int extensionGroup);
69 void setContext(v8::Handle<v8::Context>);
70 static bool installDOMWindow(v8::Handle<v8
[all...]
H A DDateExtension.cpp41 static const char* dateExtensionName = "v8/DateExtension";
65 DateExtension::DateExtension() : v8::Extension(dateExtensionName, dateExtensionScript)
78 v8::Local<v8::Value> result = V8Proxy::currentContext()->Global()->Get(v8::String::New("Date"));
82 v8::Handle<v8::Object> dateObject = v8::Handle<v8::Object>::Cast(result);
86 v8
117 OnSleepDetected(const v8::Arguments&) argument
[all...]
H A DV8Binding.h40 #include <v8.h>
59 StringType v8StringToWebCoreString(v8::Handle<v8::String> v8String, ExternalMode external);
61 // Convert v8 types to a WTF::String. If the V8 string is not already
64 inline String v8StringToWebCoreString(v8::Handle<v8::String> v8String)
68 String v8NonStringValueToWebCoreString(v8::Handle<v8::Value>);
69 String v8ValueToWebCoreString(v8::Handle<v8
[all...]
/external/v8/test/cctest/
H A Dtest-platform-macos.cc7 #include "v8.h"
10 using namespace ::v8::internal;
H A Dtest-thread-termination.cc28 #include "v8.h"
33 v8::internal::Semaphore* semaphore = NULL;
36 v8::Handle<v8::Value> Signal(const v8::Arguments& args) {
38 return v8::Undefined();
42 v8::Handle<v8::Value> TerminateCurrentThread(const v8::Arguments& args) {
43 CHECK(!v8
[all...]
/external/v8/src/extensions/
H A Dgc-extension.h31 #include "v8.h"
33 namespace v8 { namespace
36 class GCExtension : public v8::Extension {
38 GCExtension() : v8::Extension("v8/gc", kSource) {}
39 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
40 v8::Handle<v8::String> name);
41 static v8
[all...]
H A Dexternalize-string-extension.h31 #include "v8.h"
33 namespace v8 { namespace
36 class ExternalizeStringExtension : public v8::Extension {
38 ExternalizeStringExtension() : v8::Extension("v8/externalize", kSource) {}
39 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
40 v8::Handle<v8::String> name);
41 static v8
[all...]
H A Dgc-extension.cc30 namespace v8 { namespace
36 v8::Handle<v8::FunctionTemplate> GCExtension::GetNativeFunction(
37 v8::Handle<v8::String> str) {
38 return v8::FunctionTemplate::New(GCExtension::GC);
42 v8::Handle<v8::Value> GCExtension::GC(const v8::Arguments& args) {
44 return v8
[all...]
/external/webkit/Source/WebCore/bindings/scripts/test/V8/
H A DV8TestObj.h28 #include <v8.h>
36 static bool HasInstance(v8::Handle<v8::Value> value);
37 static v8::Persistent<v8::FunctionTemplate> GetRawTemplate();
38 static v8::Persistent<v8::FunctionTemplate> GetTemplate();
39 static TestObj* toNative(v8::Handle<v8::Object> object)
43 inline static v8
[all...]
H A DV8TestInterface.h30 #include <v8.h>
38 static bool HasInstance(v8::Handle<v8::Value> value);
39 static v8::Persistent<v8::FunctionTemplate> GetRawTemplate();
40 static v8::Persistent<v8::FunctionTemplate> GetTemplate();
41 static TestInterface* toNative(v8::Handle<v8::Object> object)
45 inline static v8
[all...]
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8CoordinatesCustom.cpp35 v8::Handle<v8::Value> V8Coordinates::altitudeAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
38 v8::Handle<v8::Object> holder = info.Holder();
41 return v8::Null();
42 return v8::Number::New(imp->altitude());
45 v8
[all...]
H A DV8ImageDataCustom.cpp38 v8::Handle<v8::Value> toV8(ImageData* impl)
41 return v8::Null();
42 v8::Handle<v8::Object> wrapper = V8ImageData::wrap(impl);
45 v8::Handle<v8::Value> pixelArray = toV8(impl->data());
47 // the created v8 object, eliminating the C++ callback
50 wrapper->Set(v8::String::NewSymbol("data"),
52 v8
[all...]
H A DV8MessagePortCustom.h35 #include <v8.h>
44 bool getMessagePortArray(v8::Local<v8::Value>, MessagePortArray&);
H A DV8ScriptProfileCustom.cpp38 #include <v8-profiler.h>
42 v8::Handle<v8::Value> toV8(ScriptProfile* impl)
45 return v8::Null();
46 v8::Local<v8::Function> function = V8ScriptProfile::GetTemplate()->GetFunction();
49 return v8::Local<v8::Object>();
51 v8::Local<v8
[all...]
H A DV8HTMLPlugInElementCustom.cpp48 static v8::Handle<v8::Value> npObjectNamedGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
55 v8::Local<v8::Object> instance = v8::Local<v8::Object>::New(scriptInstance->instance());
63 static v8
[all...]
H A DV8HTMLSelectElementCustom.h35 #include <v8.h>
41 v8::Handle<v8::Value> removeElement(HTMLSelectElement*, const v8::Arguments&);
H A DV8CanvasPixelArrayCustom.cpp36 v8::Handle<v8::Value> toV8(CanvasPixelArray* impl)
39 return v8::Null();
40 v8::Handle<v8::Object> wrapper = V8CanvasPixelArray::wrap(impl);
43 wrapper->Set(v8::String::NewSymbol("length"),
44 v8::Integer::New(impl->length()),
45 v8::ReadOnly);
H A DV8PopStateEventCustom.cpp40 v8::Handle<v8::Value> V8PopStateEvent::stateAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
47 return v8::Null();

Completed in 238 milliseconds

1234567891011>>