/external/webkit/Source/WebCore/bindings/v8/custom/ |
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()));
|
V8WebSocketCustom.cpp | 48 v8::Handle<v8::Value> V8WebSocket::constructorCallback(const v8::Arguments& args) 57 v8::TryCatch tryCatch; 58 v8::Handle<v8::String> urlstring = args[0]->ToString(); 77 v8::TryCatch tryCatchProtocol; 78 v8::Handle<v8::String> protocol = args[1]->ToString(); 91 V8DOMWrapper::setJSWrapperForActiveDOMObject(webSocket.get(), v8::Persistent<v8::Object>::New(args.Holder())) [all...] |
V8XMLHttpRequestCustom.cpp | 51 v8::Handle<v8::Value> V8XMLHttpRequest::responseTextAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 62 v8::Handle<v8::Value> V8XMLHttpRequest::responseAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info [all...] |
V8NavigatorCustom.cpp | 46 v8::Handle<v8::Value> V8Navigator::webkitGetUserMediaCallback(const v8::Arguments& args) 50 v8::TryCatch exceptionCatcher; 59 return v8::Undefined(); 64 return v8::Undefined(); 68 return v8::Undefined(); 74 v8::Local<v8::Value> value, bool& succeeded) 88 v8::Handle<v8::Value> V8Navigator::isApplicationInstalledCallback(const v8::Arguments& args [all...] |
V8WebGLRenderingContextCustom.cpp | 73 static float* jsArrayToFloatArray(v8::Handle<v8::Array> array, uint32_t len) 80 v8::Local<v8::Value> val = array->Get(v8::Integer::New(i)); 92 static int* jsArrayToIntArray(v8::Handle<v8::Array> array, uint32_t len) 99 v8::Local<v8::Value> val = array->Get(v8::Integer::New(i)) [all...] |
V8DocumentCustom.cpp | 67 v8::Handle<v8::Value> V8Document::evaluateCallback(const v8::Arguments& args) 76 contextNode = V8Node::toNative(v8::Handle<v8::Object>::Cast(args[1])); 85 inResult = V8XPathResult::toNative(v8::Handle<v8::Object>::Cast(args[4])); 87 v8::TryCatch exceptionCatcher; 99 v8::Handle<v8::Value> V8Document::getCSSCanvasContextCallback(const v8::Arguments& args [all...] |
V8IDBAnyCustom.cpp | 46 v8::Handle<v8::Value> toV8(IDBAny* impl) 49 return v8::Null(); 53 return v8::Undefined(); 55 return v8::Null(); 77 return v8::Undefined();
|
V8MessageChannelConstructor.cpp | 48 v8::Handle<v8::Value> V8MessageChannel::constructorCallback(const v8::Arguments& args) 51 // FIXME: The logic here is almost exact duplicate of V8::constructDOMObject. 59 return v8::Undefined(); 65 v8::Local<v8::Object> messageChannel = args.Holder();
|
V8ElementCustom.cpp | 56 v8::Handle<v8::Value> toV8(Element* impl, bool forceNewObject) 59 return v8::Null();
|
/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...] |
checks.cc | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 30 #include "v8.h" 65 v8::Handle<v8::Value> expected, 67 v8::Handle<v8::Value> value) { 69 v8::String::Utf8Value value_str(value); 70 v8::String::Utf8Value expected_str(expected); 81 v8::Handle<v8::Value> unexpected 103 namespace v8 { namespace internal { namespace [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
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...] |
OptionsObject.h | 30 #include <v8.h> 40 OptionsObject(const v8::Local<v8::Value>& options); 53 bool getKey(const String& key, v8::Local<v8::Value>&) const; 55 // This object can only be used safely when stack allocated because of v8::Local. 60 v8::Local<v8::Value> m_options;
|
SharedPersistent.h | 34 #include <v8.h> 40 // A shareable reference to a v8 persistent handle. Using a shared 41 // persistent any number of objects can share a reference to a v8 47 void set(v8::Persistent<T> value) 51 v8::Persistent<T> get() 62 static PassRefPtr<SharedPersistent<T> > create(v8::Persistent<T> value) 68 return create(v8::Persistent<T>()); 71 explicit SharedPersistent(v8::Persistent<T> value) : m_value(value) { } 72 v8::Persistent<T> m_value;
|
ScriptValue.h | 37 #include <v8.h> 53 ScriptValue(v8::Handle<v8::Value> value) 58 m_value = v8::Persistent<v8::Value>::New(value); 69 m_value = v8::Persistent<v8::Value>::New(value.m_value); 85 m_value = v8::Persistent<v8::Value>::New(value.m_value); 136 static ScriptValue undefined() { return ScriptValue(v8::Undefined()); [all...] |
ScriptValue.cpp | 67 v8::TryCatch block; 68 v8::Handle<v8::String> s = m_value->ToString(); 76 static PassRefPtr<InspectorValue> v8ToInspectorValue(v8::Handle<v8::Value> value) 91 v8::Handle<v8::Array> array = v8::Handle<v8::Array>::Cast(value); 95 v8::Local<v8::Value> value = array->Get(v8::Int32::New(i)) [all...] |
ScriptEventListener.cpp | 91 v8::HandleScope scope; 93 v8::Handle<v8::Context> context = toV8Context(document, v8Listener->worldContext()); 94 v8::Context::Scope contextScope(context); 95 v8::Handle<v8::Object> function = v8Listener->getListenerObject(document); 107 v8::HandleScope scope; 109 v8::Handle<v8::Context> context = toV8Context(document, v8Listener->worldContext()); 110 v8::Context::Scope contextScope(context) [all...] |
ScriptHeapSnapshot.cpp | 36 #include <v8.h> 37 #include <v8-profiler.h> 45 const_cast<v8::HeapSnapshot*>(m_snapshot)->Delete(); 50 v8::HandleScope scope; 61 class OutputStreamAdapter : public v8::OutputStream { 81 m_snapshot->Serialize(&outputStream, v8::HeapSnapshot::kJSON);
|
IDBBindingUtilities.h | 31 #include <v8.h> 40 PassRefPtr<IDBKey> createIDBKeyFromValue(v8::Handle<v8::Value>);
|
ScriptGCEvent.cpp | 50 v8::V8::AddGCPrologueCallback(ScriptGCEvent::gcPrologueCallback); 51 v8::V8::AddGCEpilogueCallback(ScriptGCEvent::gcEpilogueCallback); 64 v8::V8::RemoveGCPrologueCallback(ScriptGCEvent::gcPrologueCallback); 65 v8::V8::RemoveGCEpilogueCallback(ScriptGCEvent::gcEpilogueCallback); 71 v8::HeapStatistics heapStatistics; 72 v8::V8::GetHeapStatistics(&heapStatistics) [all...] |
/external/webkit/Source/WebCore/bindings/scripts/test/V8/ |
V8TestCallback.h | 29 #include <v8.h> 38 static PassRefPtr<V8TestCallback> create(v8::Local<v8::Value> value, ScriptExecutionContext* context) 56 V8TestCallback(v8::Local<v8::Object>, ScriptExecutionContext*); 58 v8::Persistent<v8::Object> m_callback;
|
/hardware/ril/mock-ril/src/cpp/ |
node_util.cpp | 15 #include <v8.h> 23 enum encoding ParseEncoding(v8::Handle<v8::Value> encoding_v, enum encoding _default) { 24 v8::HandleScope scope; 28 v8::String::Utf8Value encoding(encoding_v->ToString()); 51 v8::Local<v8::Value> Encode(const void *buf, size_t len, enum encoding encoding) { 52 v8::HandleScope scope; 54 if (!len) return scope.Close(v8::String::Empty()); 63 v8::Local<v8::String> chunk = v8::String::New(twobytebuf, len) [all...] |
/external/srtp/crypto/rng/ |
prng.c | 114 *dest++ = buffer.v8[0]; 115 *dest++ = buffer.v8[1]; 116 *dest++ = buffer.v8[2]; 117 *dest++ = buffer.v8[3]; 118 *dest++ = buffer.v8[4]; 119 *dest++ = buffer.v8[5]; 120 *dest++ = buffer.v8[6]; 121 *dest++ = buffer.v8[7]; 122 *dest++ = buffer.v8[8]; 123 *dest++ = buffer.v8[9] [all...] |
/external/v8/test/cctest/ |
test-cpu-profiler.cc | 1 // Copyright 2010 the V8 project authors. All rights reserved. 7 #include "v8.h" 10 #include "../include/v8-profiler.h" 12 namespace i = v8::internal; 36 static v8::Persistent<v8::Context> env; 39 if (env.IsEmpty()) env = v8::Context::New(); 40 v8::HandleScope scope; 241 // http://code.google.com/p/v8/issues/detail?id=1398 317 v8::HandleScope scope [all...] |