/external/chromium_org/v8/test/cctest/ |
H A D | test-accessors.cc | 68 v8::Isolate* isolate = env->GetIsolate(); 151 CHECK_EQ(isolate, info.GetIsolate()); 173 CHECK_EQ(isolate, info.GetIsolate()); 196 v8::Isolate* isolate = context->GetIsolate(); 238 v8::String::NewFromUtf8(info.GetIsolate(), "foo"); 239 info.GetReturnValue().Set(v8::String::NewFromUtf8(info.GetIsolate(), "foo")); 245 v8::Isolate* isolate = context->GetIsolate(); 270 CHECK(info.GetIsolate() == CcTest::isolate()); 275 CHECK(info.GetIsolate() == CcTest::isolate()); 280 CHECK(info.GetIsolate() [all...] |
H A D | test-deoptimization.cc | 118 v8::HandleScope scope(env->GetIsolate()); 158 v8::HandleScope scope(env->GetIsolate()); 199 v8::HandleScope scope(env->GetIsolate()); 225 v8::HandleScope scope(env->GetIsolate()); 253 v8::HandleScope scope(env->GetIsolate()); 282 v8::HandleScope scope(env->GetIsolate()); 321 v8::HandleScope scope(env->GetIsolate()); 357 v8::HandleScope scope(env->GetIsolate()); 419 i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>((*env)->GetIsolate()); 459 v8::HandleScope scope(env->GetIsolate()); [all...] |
H A D | test-api.cc | 93 v8::HandleScope scope(env->GetIsolate()); 95 v8::String::NewFromUtf8(env->GetIsolate(), "my_profile1"); 96 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler(); 113 v8::Array::New(args.GetIsolate(), args.Length()); 115 result->Set(v8::Integer::New(args.GetIsolate(), i), args[i]); 124 v8::Array::New(args.GetIsolate(), args.Length()); 126 result->Set(v8::Integer::New(args.GetIsolate(), i), args[i]); 177 CHECK(!env->GetIsolate()->InContext()); 178 CHECK(env->GetIsolate() == CcTest::isolate()); 180 CHECK(env->GetIsolate() [all...] |
/external/chromium_org/content/renderer/pepper/ |
H A D | host_var_tracker_unittest.cc | 49 handle_scope_(instance->GetIsolate()), 50 context_scope_(v8::Context::New(instance->GetIsolate())) {} 55 return instance_->GetIsolate()->GetCurrentContext();
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/ |
H A D | V8WorkerGlobalScopeCustom.cpp | 63 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); 72 action = adoptPtr(new ScheduledAction(scriptState, toCoreString(function.As<v8::String>()), KURL(), info.GetIsolate())); 82 action = adoptPtr(new ScheduledAction(scriptState, v8::Handle<v8::Function>::Cast(function), paramCount, params.get(), info.GetIsolate()));
|
H A D | V8CSSStyleDeclarationCustom.cpp | 172 v8::Handle<v8::Array> properties = v8::Array::New(info.GetIsolate(), propertyNamesLength); 176 properties->Set(v8::Integer::New(info.GetIsolate(), i), v8String(info.GetIsolate(), key)); 208 v8SetReturnValueStringOrNull(info, cssValue->cssText(), info.GetIsolate()); 213 v8SetReturnValueString(info, result, info.GetIsolate()); 224 ExceptionState exceptionState(ExceptionState::SetterContext, getPropertyName(static_cast<CSSPropertyID>(propInfo->propID)), "CSSStyleDeclaration", info.Holder(), info.GetIsolate());
|
H A D | V8InspectorFrontendHostCustom.cpp | 51 v8SetReturnValue(info, v8AtomicString(info.GetIsolate(), "mac")); 53 v8SetReturnValue(info, v8AtomicString(info.GetIsolate(), "windows")); 55 v8SetReturnValue(info, v8AtomicString(info.GetIsolate(), "linux")); 121 if (!populateContextMenuItems(array, menu, info.GetIsolate())) 146 if (!populateContextMenuItems(v8::Local<v8::Array>::Cast(array), menu, info.GetIsolate())) 149 v8::Isolate* isolate = info.GetIsolate();
|
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/ |
H A D | V8TestNode.cpp | 39 v8SetReturnValueString(info, impl->href(), info.GetIsolate()); 68 v8SetReturnValueString(info, impl->hrefThrows(), info.GetIsolate()); 81 ExceptionState exceptionState(ExceptionState::SetterContext, "hrefThrows", "TestNode", holder, info.GetIsolate()); 99 v8SetReturnValueString(info, impl->hrefCallWith(), info.GetIsolate()); 114 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); 115 impl->setHrefCallWith(executionContext, callingDOMWindow(info.GetIsolate()), enteredDOMWindow(info.GetIsolate()), cppValue); 129 v8SetReturnValueString(info, impl->hrefByteString(), info.GetIsolate()); 142 ExceptionState exceptionState(ExceptionState::SetterContext, "hrefByteString", "TestNode", holder, info.GetIsolate()); 159 impl->associateWithWrapper(&V8TestNode::wrapperTypeInfo, wrapper, info.GetIsolate()); [all...] |
H A D | V8SVGTestInterface.h | 74 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()); 81 ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate()).isMainWorld()); 88 v8::Handle<v8::Value> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()); 101 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
|
H A D | V8TestException.h | 74 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()); 81 ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate()).isMainWorld()); 88 v8::Handle<v8::Value> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()); 101 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
|
H A D | V8TestInterfaceCheckSecurity.h | 74 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()); 81 ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate()).isMainWorld()); 88 v8::Handle<v8::Value> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()); 101 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
|
H A D | V8TestInterfaceEmpty.h | 74 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()); 81 ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate()).isMainWorld()); 88 v8::Handle<v8::Value> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()); 101 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
|
H A D | V8TestSpecialOperations.h | 74 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()); 81 ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate()).isMainWorld()); 88 v8::Handle<v8::Value> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()); 101 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
|
H A D | V8TestSpecialOperationsNotEnumerable.h | 74 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()); 81 ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate()).isMainWorld()); 88 v8::Handle<v8::Value> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()); 101 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
|
H A D | V8TestSpecialOperations.cpp | 43 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod("namedItem", "TestSpecialOperations", 1, info.Length(), info.GetIsolate()), info.GetIsolate()); 103 Node* propertyValue = V8Node::toImplWithTypeCheck(info.GetIsolate(), v8Value); 122 ExceptionState exceptionState(ExceptionState::GetterContext, *namedProperty, "TestSpecialOperations", info.Holder(), info.GetIsolate()); 142 ExceptionState exceptionState(ExceptionState::EnumerationContext, "TestSpecialOperations", info.Holder(), info.GetIsolate()); 146 v8::Handle<v8::Array> v8names = v8::Array::New(info.GetIsolate(), names.size()); 148 v8names->Set(v8::Integer::New(info.GetIsolate(), i), v8String(info.GetIsolate(), names[i]));
|
H A D | V8TestInterface2.cpp | 41 ExceptionState exceptionState(ExceptionState::ExecutionContext, "item", "TestInterface2", info.Holder(), info.GetIsolate()); 69 ExceptionState exceptionState(ExceptionState::ExecutionContext, "setItem", "TestInterface2", info.Holder(), info.GetIsolate()); 87 v8SetReturnValueString(info, result, info.GetIsolate()); 99 ExceptionState exceptionState(ExceptionState::ExecutionContext, "deleteItem", "TestInterface2", info.Holder(), info.GetIsolate()); 127 ExceptionState exceptionState(ExceptionState::ExecutionContext, "namedItem", "TestInterface2", info.Holder(), info.GetIsolate()); 155 ExceptionState exceptionState(ExceptionState::ExecutionContext, "setNamedItem", "TestInterface2", info.Holder(), info.GetIsolate()); 173 v8SetReturnValueString(info, result, info.GetIsolate()); 185 ExceptionState exceptionState(ExceptionState::ExecutionContext, "deleteNamedItem", "TestInterface2", info.Holder(), info.GetIsolate()); 214 v8SetReturnValueString(info, impl->stringifierMethod(), info.GetIsolate()); 227 v8SetReturnValueString(info, impl->stringifierMethod(), info.GetIsolate()); [all...] |
H A D | V8TestInterfaceNamedConstructor.cpp | 67 V8ThrowException::throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("Audio"), info.GetIsolate()); 71 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExistingObject) { 75 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceNamedConstructor", info.Holder(), info.GetIsolate()); 98 Document& document = *toDocument(currentExecutionContext(info.GetIsolate())); 105 impl->associateWithWrapper(&V8TestInterfaceNamedConstructorConstructor::wrapperTypeInfo, wrapper, info.GetIsolate()); 111 Document& document = *toDocument(currentExecutionContext(info.GetIsolate())); 118 impl->associateWithWrapper(&V8TestInterfaceNamedConstructorConstructor::wrapperTypeInfo, wrapper, info.GetIsolate());
|
/external/chromium_org/v8/src/ |
H A D | prototype.h | 54 isolate_(receiver_map->GetIsolate()) {} 58 handle_(handle(receiver_map->prototype(), receiver_map->GetIsolate())), 59 isolate_(receiver_map->GetIsolate()) {}
|
/external/chromium_org/chrome/renderer/extensions/ |
H A D | file_manager_private_custom_bindings.cc | 44 .toV8Value(args.Holder(), args.GetIsolate()));
|
H A D | sync_file_system_custom_bindings.cc | 59 .toV8Value(args.Holder(), args.GetIsolate()));
|
/external/chromium_org/extensions/renderer/ |
H A D | object_backed_native_handler.h | 33 v8::Isolate* GetIsolate() const;
|
H A D | app_runtime_custom_bindings.cc | 38 v8::String::NewFromUtf8(args.GetIsolate(), v.c_str())); 53 web_blob.toV8Value(args.Holder(), args.GetIsolate()));
|
/external/chromium_org/gin/ |
H A D | arguments.cc | 20 : isolate_(info.GetIsolate()),
|
/external/chromium_org/third_party/WebKit/Source/bindings/templates/ |
H A D | interface.cpp | 29 ExceptionState exceptionState(ExceptionState::SetterContext, *attributeName, "{{interface_name}}", info.Holder(), info.GetIsolate()); 30 if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), impl->frame(), exceptionState)) { 75 ExceptionState exceptionState(ExceptionState::IndexedGetterContext, "{{interface_name}}", info.Holder(), info.GetIsolate()); 122 ExceptionState exceptionState(ExceptionState::IndexedSetterContext, "{{interface_name}}", info.Holder(), info.GetIsolate()); 127 if (!isUndefinedOrNull(v8Value) && !V8{{setter.idl_type}}::hasInstance(v8Value, info.GetIsolate())) { 177 ExceptionState exceptionState(ExceptionState::IndexedDeletionContext, "{{interface_name}}", info.Holder(), info.GetIsolate()); 232 ExceptionState exceptionState(ExceptionState::GetterContext, *namedProperty, "{{interface_name}}", info.Holder(), info.GetIsolate()); 286 ExceptionState exceptionState(ExceptionState::SetterContext, *namedProperty, "{{interface_name}}", info.Holder(), info.GetIsolate()); 341 ExceptionState exceptionState(ExceptionState::GetterContext, *namedProperty, "{{interface_name}}", info.Holder(), info.GetIsolate()); 383 ExceptionState exceptionState(ExceptionState::DeletionContext, *namedProperty, "{{interface_name}}", info.Holder(), info.GetIsolate()); [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/modules/ |
H A D | V8TestInterface5.cpp | 56 ExceptionState exceptionState(ExceptionState::SetterContext, "testInterfaceAttribute", "TestInterface5", holder, info.GetIsolate()); 57 if (!V8TestInterface5::hasInstance(v8Value, info.GetIsolate())) { 63 TestInterface5Implementation* cppValue = V8TestInterface5::toImplWithTypeCheck(info.GetIsolate(), v8Value); 91 ExceptionState exceptionState(ExceptionState::SetterContext, "doubleAttribute", "TestInterface5", holder, info.GetIsolate()); 126 ExceptionState exceptionState(ExceptionState::SetterContext, "floatAttribute", "TestInterface5", holder, info.GetIsolate()); 161 ExceptionState exceptionState(ExceptionState::SetterContext, "unrestrictedDoubleAttribute", "TestInterface5", holder, info.GetIsolate()); 191 ExceptionState exceptionState(ExceptionState::SetterContext, "unrestrictedFloatAttribute", "TestInterface5", holder, info.GetIsolate()); 206 v8SetReturnValueString(info, TestInterface5Implementation::staticStringAttribute(), info.GetIsolate()); 246 ExceptionState exceptionState(ExceptionState::SetterContext, "alwaysExposedAttribute", "TestInterface5", holder, info.GetIsolate()); 276 ExceptionState exceptionState(ExceptionState::SetterContext, "workerExposedAttribute", "TestInterface5", holder, info.GetIsolate()); [all...] |