/external/webkit/Source/WebCore/bindings/v8/ |
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...] |
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...] |
/external/v8/test/cctest/ |
test-api.cc | 1 // Copyright 2012 the V8 project authors. All rights reserved. 30 #include "v8.h" 53 using ::v8::AccessorInfo; 54 using ::v8::Arguments; 55 using ::v8::Context; 56 using ::v8::Extension; 57 using ::v8::Function; 58 using ::v8::FunctionTemplate; 59 using ::v8::Handle; 60 using ::v8::HandleScope [all...] |
test-log.cc | 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 12 #include "v8.h" 21 using v8::internal::Address; 22 using v8::internal::EmbeddedVector; 23 using v8::internal::Logger; 24 using v8::internal::StrLength; 40 env_(v8::Context::New()) { 54 v8::Handle<v8::Context>& env() { return env_; } 80 v8::HandleScope scope_ [all...] |
/external/webkit/Source/WebCore/bindings/v8/custom/ |
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();
|
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...] |
/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...] |
/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;
|
/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...] |