HomeSort by relevance Sort by last modified time
    Searched refs:GetIsolate (Results 51 - 75 of 304) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/v8/test/cctest/
test-thread-termination.cc 43 CHECK(!v8::V8::IsExecutionTerminating(args.GetIsolate()));
44 v8::V8::TerminateExecution(args.GetIsolate());
54 CHECK(!v8::V8::IsExecutionTerminating(args.GetIsolate()));
56 args.GetIsolate(), "try { doloop(); fail(); } catch(e) { fail(); }");
59 CHECK(v8::V8::IsExecutionTerminating(args.GetIsolate()));
65 CHECK(!v8::V8::IsExecutionTerminating(args.GetIsolate()));
66 v8::Script::Compile(v8::String::NewFromUtf8(args.GetIsolate(),
84 CHECK(v8::V8::IsExecutionTerminating(args.GetIsolate()));
90 CHECK(!v8::V8::IsExecutionTerminating(args.GetIsolate()));
91 v8::Script::Compile(v8::String::NewFromUtf8(args.GetIsolate(),
    [all...]
test-weaktypedarrays.cc 40 return reinterpret_cast<Isolate*>((*context)->GetIsolate());
94 v8::HandleScope s1(context->GetIsolate());
96 v8::ArrayBuffer::New(context->GetIsolate(), 256);
98 v8::HandleScope s2(context->GetIsolate());
100 v8::ArrayBuffer::New(context->GetIsolate(), 128);
134 v8::HandleScope scope(context->GetIsolate());
137 v8::HandleScope s1(context->GetIsolate());
165 v8::HandleScope s2(context->GetIsolate());
190 v8::HandleScope s1(context->GetIsolate());
192 v8::ArrayBuffer::New(context->GetIsolate(), 2048)
    [all...]
print-extension.cc 43 v8::HandleScope scope(args.GetIsolate());
test-javascript-arm64.cc 90 v8::HandleScope scope(env->GetIsolate());
98 v8::HandleScope scope(env->GetIsolate());
106 v8::HandleScope scope(env->GetIsolate());
116 v8::HandleScope scope(env->GetIsolate());
179 v8::HandleScope scope(env->GetIsolate());
194 v8::HandleScope scope(env->GetIsolate());
216 v8::HandleScope scope(env->GetIsolate());
233 v8::HandleScope scope(env->GetIsolate());
246 v8::HandleScope scope(env->GetIsolate());
test-heap-profiler.cc 176 v8::HandleScope scope(env2->GetIsolate());
177 v8::HeapProfiler* heap_profiler = env2->GetIsolate()->GetHeapProfiler();
212 v8::HandleScope scope(env->GetIsolate());
213 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler();
245 v8::HandleScope scope(env->GetIsolate());
246 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler();
258 CHECK_EQ(v8::String::NewFromUtf8(env->GetIsolate(), "native_bind"),
285 v8::HandleScope scope(env->GetIsolate());
286 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler();
311 v8::HandleScope scope(env->GetIsolate());
    [all...]
  /external/chromium_org/extensions/renderer/
object_backed_native_handler.cc 22 : router_data_(context->v8_context()->GetIsolate()),
25 v8::ObjectTemplate::New(context->v8_context()->GetIsolate())) {}
36 v8::HandleScope handle_scope(args.GetIsolate());
40 data->Get(v8::String::NewFromUtf8(args.GetIsolate(), kHandlerFunction));
44 console::Error(args.GetIsolate()->GetCallingContext(),
71 v8::Isolate* ObjectBackedNativeHandler::GetIsolate() const {
css_native_handler.cc 32 output_selector, context()->v8_context()->GetIsolate()));
process_info_native_handler.cc 49 v8::String::NewFromUtf8(args.GetIsolate(), extension_id_.c_str()));
55 v8::String::NewFromUtf8(args.GetIsolate(), context_type_.c_str()));
72 args.GetIsolate(),
83 args.GetReturnValue().Set(v8::Boolean::New(args.GetIsolate(), has_switch));
utils_native_handler.cc 36 v8::HandleScope handle_scope(GetIsolate());
39 GetIsolate(),
58 source, v8::String::NewFromUtf8(GetIsolate(), name.c_str()));
72 GetIsolate(), "privates", v8::String::kInternalizedString)),
blob_native_handler.cc 19 v8::String::NewFromUtf8(args.GetIsolate(), blob.uuid().utf8().data()));
37 args.GetReturnValue().Set(blob.toV8Value(args.Holder(), args.GetIsolate()));
set_icon_natives.cc 40 v8::Isolate* isolate = context()->v8_context()->GetIsolate();
108 v8::Isolate* isolate = context()->v8_context()->GetIsolate();
134 v8::Local<v8::Object> bitmap_set_value(v8::Object::New(args.GetIsolate()));
138 v8::Local<v8::Object> dict(v8::Object::New(args.GetIsolate()));
139 dict->Set(v8::String::NewFromUtf8(args.GetIsolate(), "imageData"),
141 if (details->Has(v8::String::NewFromUtf8(args.GetIsolate(), "tabId"))) {
143 v8::String::NewFromUtf8(args.GetIsolate(), "tabId"),
144 details->Get(v8::String::NewFromUtf8(args.GetIsolate(), "tabId")));
  /external/chromium_org/third_party/WebKit/Source/bindings/templates/
attributes.cpp 22 v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "{{attribute.name}}");
25 v8::Handle<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName);
40 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate());
43 ScriptState* scriptState = ScriptState::current(info.GetIsolate());
47 ExceptionState exceptionState(ExceptionState::GetterContext, "{{attribute.name}}", "{{interface_name}}", holder, info.GetIsolate());
65 if (!BindingSecurity::shouldAllowAccessToNode(info.GetIsolate(), {{attribute.cpp_value}}, exceptionState)) {
84 V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, propertyName, {{attribute.cpp_value_to_v8_value}});
90 v8::Handle<v8::Value> wrapper = toV8({{attribute.cpp_value}}.get(), holder, info.GetIsolate());
92 V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "{{attribute.name}}"), wrapper)
    [all...]
dictionary_v8.h 28 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()));
  /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
V8TestObject.cpp 86 UseCounter::countDeprecation(callingExecutionContext(info.GetIsolate()), UseCounter::Constant);
94 UseCounter::count(callingExecutionContext(info.GetIsolate()), UseCounter::Constant);
103 v8SetReturnValueString(info, impl->stringifierAttribute(), info.GetIsolate());
132 v8SetReturnValueString(info, impl->readonlyStringAttribute(), info.GetIsolate());
149 v8::Handle<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
151 V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "readonlyTestInterfaceEmptyAttribute"), wrapper);
181 v8SetReturnValue(info, v8DateOrNaN(impl->dateAttribute(), info.GetIsolate()));
210 v8SetReturnValueString(info, impl->stringAttribute(), info.GetIsolate());
239 v8SetReturnValueString(info, impl->byteStringAttribute(), info.GetIsolate());
    [all...]
V8TestInterfaceGarbageCollected.cpp 54 TestInterfaceGarbageCollected* cppValue = V8TestInterfaceGarbageCollected::toImplWithTypeCheck(info.GetIsolate(), v8Value);
68 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod("func", "TestInterfaceGarbageCollected", 1, info.Length(), info.GetIsolate()), info.GetIsolate());
74 arg = V8TestInterfaceGarbageCollected::toImplWithTypeCheck(info.GetIsolate(), info[0]);
89 V8ThrowException::throwException(createMinimumArityTypeErrorForConstructor("TestInterfaceGarbageCollected", 1, info.Length(), info.GetIsolate()), info.GetIsolate());
98 impl->associateWithWrapper(&V8TestInterfaceGarbageCollected::wrapperTypeInfo, wrapper, info.GetIsolate());
116 V8ThrowException::throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("TestInterfaceGarbageCollected"), info.GetIsolate());
120 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExistingObject) {
V8TestTypedefs.cpp 55 ExceptionState exceptionState(ExceptionState::SetterContext, "uLongLongAttribute", "TestTypedefs", holder, info.GetIsolate());
91 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodArrayOfLongsArg", "TestTypedefs", info.Holder(), info.GetIsolate());
99 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(arrayOfLongsArg, toImplArray<int>(info[0], 1, info.GetIsolate(), exceptionState), exceptionState);
113 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodFloatArgStringArg", "TestTypedefs", info.Holder(), info.GetIsolate());
139 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod("voidMethodTestCallbackInterfaceTypeArg", "TestTypedefs", 1, info.Length(), info.GetIsolate()), info.GetIsolate());
146 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute("voidMethodTestCallbackInterfaceTypeArg", "TestTypedefs", "The callback provided as parameter 1 is not a function."), info.GetIsolate());
149 testCallbackInterfaceTypeArg = V8TestCallbackInterface::create(v8::Handle<v8::Function>::Cast(info[0]), ScriptState::current(info.GetIsolate()));
163 ExceptionState exceptionState(ExceptionState::ExecutionContext, "uLongLongMethodTestInterfaceEmptyTypeSequenceArg", "TestTypedefs", info.Holder(), info.GetIsolate());
172 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(testInterfaceEmptyTypeSequenceArg, (toRefPtrNativeArray<TestInterfaceEmpty, V8TestInterfaceEmpty>(info[0], 1, info.GetIsolate(), exceptionState)), exceptionState)
    [all...]
V8TestInterfaceConstructor4.cpp 40 testInterface4Arg = V8TestInterfaceConstructor4::toImplWithTypeCheck(info.GetIsolate(), info[0]);
44 impl->associateWithWrapper(&V8TestInterfaceConstructor4::wrapperTypeInfo, wrapper, info.GetIsolate());
50 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor4", info.Holder(), info.GetIsolate());
57 impl->associateWithWrapper(&V8TestInterfaceConstructor4::wrapperTypeInfo, wrapper, info.GetIsolate());
63 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor4", info.Holder(), info.GetIsolate());
66 if (V8TestInterfaceConstructor4::hasInstance(info[0], info.GetIsolate())) {
90 V8ThrowException::throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("TestInterfaceConstructor4"), info.GetIsolate());
94 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExistingObject) {
V8TestInterfaceConstructor3.cpp 38 V8ThrowException::throwException(createMinimumArityTypeErrorForConstructor("TestInterfaceConstructor3", 1, info.Length(), info.GetIsolate()), info.GetIsolate());
47 impl->associateWithWrapper(&V8TestInterfaceConstructor3::wrapperTypeInfo, wrapper, info.GetIsolate());
57 V8ThrowException::throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("TestInterfaceConstructor3"), info.GetIsolate());
61 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExistingObject) {
  /external/chromium_org/components/nacl/renderer/
progress_event.cc 61 v8::HandleScope handle_scope(plugin_instance->GetIsolate());
63 plugin_instance->GetIsolate()->GetCurrentContext());
66 context = v8::Context::New(plugin_instance->GetIsolate());
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
V8CanvasRenderingContext2DCustom.cpp 71 v8SetReturnValue(info, toV8Object(impl->strokeStyle(), info.Holder(), info.GetIsolate()));
77 if (RefPtrWillBeRawPtr<CanvasStyle> canvasStyle = toCanvasStyle(value, info.GetIsolate())) {
88 v8SetReturnValue(info, toV8Object(impl->fillStyle(), info.Holder(), info.GetIsolate()));
94 if (RefPtrWillBeRawPtr<CanvasStyle> canvasStyle = toCanvasStyle(value, info.GetIsolate())) {
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
V8NPObject.cpp 73 v8::Isolate* isolate = info.GetIsolate();
94 V8ThrowException::throwReferenceError("NPMethod called on non-NPObject", info.GetIsolate());
215 ASSERT(isolate == map.m_map.GetIsolate());
232 return &V8NPTemplateMap::sharedInstance(data.GetIsolate()).m_map;
290 v8SetReturnValue(info, npObjectGetProperty(info.Holder(), identifier, name, info.GetIsolate()));
296 v8SetReturnValue(info, npObjectGetProperty(info.Holder(), identifier, v8::Number::New(info.GetIsolate(), index), info.GetIsolate()));
302 v8SetReturnValue(info, npObjectGetProperty(self, identifier, name, info.GetIsolate()));
308 v8SetReturnValue(info, npObjectGetProperty(self, identifier, v8::Number::New(info.GetIsolate(), index), info.GetIsolate()));
    [all...]
V8ObjectConstructor.cpp 61 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::CreateNewObject) {
62 V8ThrowException::throwTypeError("Illegal constructor", info.GetIsolate());
  /external/chromium_org/content/renderer/pepper/
v8object_var.cc 20 v8_object_.Reset(instance_->GetIsolate(), v8_object);
40 return v8::Local<v8::Object>::New(instance_->GetIsolate(), v8_object_);
pepper_try_catch.cc 68 DCHECK(isolate == instance_->GetIsolate());
86 return instance_->GetIsolate()->GetCurrentContext();
102 instance_->GetIsolate()->ThrowException(v8::Exception::Error(
103 gin::StringToV8(instance_->GetIsolate(), message)));
125 handle_scope_(instance_->GetIsolate()),
  /external/chromium_org/gin/
object_template_builder.cc 52 v8::Isolate* isolate = info.GetIsolate();
65 v8::Isolate* isolate = info.GetIsolate();
78 v8::Isolate* isolate = info.GetIsolate();
91 v8::Isolate* isolate = info.GetIsolate();
102 v8::Isolate* isolate = info.GetIsolate();
113 v8::Isolate* isolate = info.GetIsolate();
124 v8::Isolate* isolate = info.GetIsolate();

Completed in 416 milliseconds

1 23 4 5 6 7 8 91011>>