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

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/v8/test/cctest/
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...]
test-accessors.cc 68 v8::HandleScope scope(env->GetIsolate());
149 CHECK_EQ(isolate, info.GetIsolate());
171 CHECK_EQ(isolate, info.GetIsolate());
193 v8::HandleScope scope(context->GetIsolate());
237 v8::HandleScope scope(context->GetIsolate());
280 v8::String::NewFromUtf8(info.GetIsolate(), "foo");
281 info.GetReturnValue().Set(v8::String::NewFromUtf8(info.GetIsolate(), "foo"));
287 v8::HandleScope scope(context->GetIsolate());
292 context->Global()->Set(v8::String::NewFromUtf8(context->GetIsolate(), "obj"),
297 v8::HandleScope scope(context->GetIsolate());
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8GeolocationCustom.cpp 132 OwnPtr<PositionCallback> positionCallback = createFunctionOnlyCallback<V8PositionCallback>(info[0], succeeded, info.GetIsolate());
138 OwnPtr<PositionErrorCallback> positionErrorCallback = createFunctionOnlyCallback<V8PositionErrorCallback>(info[1], succeeded, info.GetIsolate(), CallbackAllowUndefined | CallbackAllowNull);
142 RefPtr<PositionOptions> positionOptions = createPositionOptions(info[2], info.GetIsolate(), succeeded);
155 OwnPtr<PositionCallback> positionCallback = createFunctionOnlyCallback<V8PositionCallback>(info[0], succeeded, info.GetIsolate());
161 OwnPtr<PositionErrorCallback> positionErrorCallback = createFunctionOnlyCallback<V8PositionErrorCallback>(info[1], succeeded, info.GetIsolate(), CallbackAllowUndefined | CallbackAllowNull);
165 RefPtr<PositionOptions> positionOptions = createPositionOptions(info[2], info.GetIsolate(), succeeded);
V8CanvasRenderingContext2DCustom.cpp 74 v8SetReturnValue(info, toV8Object(impl->strokeStyle(), info.Holder(), info.GetIsolate()));
83 impl->setStrokeStyle(toCanvasStyle(value, info.GetIsolate()));
89 v8SetReturnValue(info, toV8Object(impl->fillStyle(), info.Holder(), info.GetIsolate()));
98 impl->setFillStyle(toCanvasStyle(value, info.GetIsolate()));
V8HTMLFrameElementCustom.cpp 50 ExceptionState exceptionState(info.Holder(), info.GetIsolate());
V8HTMLOptionsCollectionCustom.cpp 76 ExceptionState exceptionState(ExceptionState::ExecutionContext, "add", "HTMLOptionsCollection", info.Holder(), info.GetIsolate());
77 if (!V8HTMLOptionElement::hasInstance(info[0], info.GetIsolate(), worldType(info.GetIsolate()))) {
103 ExceptionState exceptionState(ExceptionState::SetterContext, "length", "HTMLOptionsCollection", info.Holder(), info.GetIsolate());
V8HTMLDocumentCustom.cpp 67 v8::Local<v8::Value> function = global->Get(v8AtomicString(info.GetIsolate(), "open"));
70 throwTypeError("open is not a function", info.GetIsolate());
V8TextTrackCueCustom.cpp 50 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TextTrackCue", info.Holder(), info.GetIsolate());
64 v8::Handle<v8::Object> wrapper = wrap(impl.get(), info.Holder(), info.GetIsolate());
V8InjectedScriptManager.cpp 88 v8::Local<v8::Object> scriptHostWrapper = createInjectedScriptHostV8Wrapper(m_injectedScriptHost.get(), inspectedContext->GetIsolate());
102 v8::Handle<v8::Value> info[] = { scriptHostWrapper, windowGlobal, v8::Number::New(inspectedContext->GetIsolate(), id) };
103 v8::Local<v8::Value> injectedScriptValue = V8ScriptRunner::callInternalFunction(v8::Local<v8::Function>::Cast(value), windowGlobal, WTF_ARRAY_LENGTH(info), info, inspectedContext->GetIsolate());
114 v8::Handle<v8::Object> holder = global->FindInstanceInPrototypeChain(V8Window::domTemplate(context->GetIsolate(), MainWorld));
116 holder = global->FindInstanceInPrototypeChain(V8Window::domTemplate(context->GetIsolate(), IsolatedWorld));
V8InjectedScriptHostCustom.cpp 92 throwTypeError("argument has to be an integer", info.GetIsolate());
122 v8SetReturnValue(info, V8HTMLAllCollection::hasInstance(info[0], info.GetIsolate(), worldType(info.GetIsolate())));
129 v8::Isolate* isolate = info.GetIsolate();
201 v8::Isolate* isolate = info.GetIsolate();
282 if (!V8Node::hasInstance(value, info.GetIsolate(), worldType(info.GetIsolate())))
294 v8::Handle<v8::Array> listeners = getJSListenerFunctions(&node->document(), listenersArray[i], info.GetIsolate());
298 result->Set(v8String(info.GetIsolate(), eventType), listeners);
310 ScriptValue object(info[0], info.GetIsolate());
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/templates/
attributes.cpp 12 v8::Handle<v8::Object> holder = info.This()->FindInstanceInPrototypeChain({{v8_class}}::domTemplate(info.GetIsolate(), worldType(info.GetIsolate())));
18 v8::Handle<v8::String> propertyName = v8::String::NewFromUtf8(info.GetIsolate(), "{{attribute.name}}", v8::String::kInternalizedString);
36 ExceptionState exceptionState(ExceptionState::GetterContext, "{{attribute.name}}", "{{interface_name}}", info.Holder(), info.GetIsolate());
71 v8::Handle<v8::Value> wrapper = toV8(result.get(), info.Holder(), info.GetIsolate());
102 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->GetCurrentContext());
129 ExceptionState exceptionState(ExceptionState::SetterContext, "{{attribute.name}}", "{{interface_name}}", info.Holder(), info.GetIsolate());
134 if (!isUndefinedOrNull(jsValue) && !V8{{attribute.idl_type}}::hasInstance(jsValue, info.GetIsolate(), worldType(info.GetIsolate()))) {
150 transferHiddenDependency(info.Holder(), {{attribute.event_handler_getter_expression}}, jsValue, {{v8_class}}::eventListenerCacheIndex, info.GetIsolate());
    [all...]
methods.cpp 8 ExceptionState exceptionState(ExceptionState::ExecutionContext, "{{method.name}}", "{{interface_name}}", info.Holder(), info.GetIsolate());
72 {{hidden_dependency_action}}(info.Holder(), info[1], {{v8_class}}::eventListenerCacheIndex, info.GetIsolate());
92 if (info.Length() > {{argument.index}} && !isUndefinedOrNull(info[{{argument.index}}]) && !V8{{argument.idl_type}}::hasInstance(info[{{argument.index}}], info.GetIsolate(), worldType(info.GetIsolate()))) {
109 {{argument.cpp_type}} {{argument.name}} = SerializedScriptValue::create(info[{{argument.index}}], 0, 0, {{did_throw}}, info.GetIsolate());
115 if (!V8{{argument.idl_type}}::hasInstance(info[i], info.GetIsolate(), worldType(info.GetIsolate()))) {
173 throwError(exception, info.GetIsolate());
184 throwTypeError(ExceptionMessages::failedToConstruct("{{interface_name}}", {{error_message}}), info.GetIsolate());
186 throwTypeError(ExceptionMessages::failedToExecute("{{method.name}}", "{{interface_name}}", {{error_message}}), info.GetIsolate());
    [all...]
  /external/chromium_org/chrome/renderer/extensions/
css_native_handler.cc 32 output_selector, context()->v8_context()->GetIsolate()));
page_actions_custom_bindings.cc 34 v8::Local<v8::Array> page_action_vector = v8::Array::New(args.GetIsolate());
38 v8::String::NewFromUtf8(args.GetIsolate(),
set_icon_natives.cc 39 v8::Isolate* isolate = context()->v8_context()->GetIsolate();
103 ->Get(v8::String::NewFromUtf8(args.GetIsolate(), "0"))->ToObject();
105 details->Get(v8::String::NewFromUtf8(args.GetIsolate(), "imageData"))
111 v8::String::NewFromUtf8(args.GetIsolate(), kImageSizeKeys[i])))
114 ->Get(v8::String::NewFromUtf8(args.GetIsolate(), kImageSizeKeys[i]))
133 ->Get(v8::String::NewFromUtf8(args.GetIsolate(), "0"))->ToObject();
138 if (details->Has(v8::String::NewFromUtf8(args.GetIsolate(), "tabId"))) {
141 args.GetIsolate(), "tabId"))->Int32Value());
webstore_bindings.cc 81 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8(
82 args.GetIsolate(), kPreferredStoreLinkUrlNotAString));
91 args.GetIsolate()->ThrowException(
92 v8::String::NewFromUtf8(args.GetIsolate(), error.c_str()));
98 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8(
99 args.GetIsolate(), kSuccessCallbackNotAFunctionError));
104 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8(
105 args.GetIsolate(), kFailureCallbackNotAFunctionError));
cast_streaming_native_handler.cc 263 args.GetIsolate()->ThrowException(v8::Exception::TypeError(
264 v8::String::NewFromUtf8(args.GetIsolate(), kUnableToConvertParams)));
269 args.GetIsolate()->ThrowException(v8::Exception::TypeError(
270 v8::String::NewFromUtf8(args.GetIsolate(), kInvalidRtpParams)));
317 args.GetIsolate()->ThrowException(v8::Exception::TypeError(
318 v8::String::NewFromUtf8(args.GetIsolate(), kUnableToConvertArgs)));
323 args.GetIsolate()->ThrowException(v8::Exception::TypeError(
324 v8::String::NewFromUtf8(args.GetIsolate(), kInvalidUdpParams)));
329 args.GetIsolate()->ThrowException(v8::Exception::TypeError(
330 v8::String::NewFromUtf8(args.GetIsolate(), kInvalidUdpParams)))
    [all...]
  /external/chromium_org/v8/src/
transitions.cc 80 maybe_result = AllocateRaw(target->GetIsolate(), kSimpleTransitionSize);
84 maybe_result = Allocate(target->GetIsolate(), 1);
97 MaybeObject* maybe_result = Allocate(GetIsolate(), nof);
119 maybe_array = TransitionArray::Allocate(GetIsolate(), new_size);
  /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
V8TestInterfacePython.h 87 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()));
93 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()));
99 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()));
V8TestObjectPython.cpp 115 v8SetReturnValueString(info, imp->readonlyStringAttribute(), info.GetIsolate());
131 v8::Handle<v8::Value> wrapper = toV8(result.get(), info.Holder(), info.GetIsolate());
161 v8SetReturnValue(info, v8DateOrNull(imp->dateAttribute(), info.GetIsolate()));
188 v8SetReturnValueString(info, imp->stringAttribute(), info.GetIsolate());
646 V8TRYCATCH_VOID(RefPtr<NodeFilter>, cppValue, toNodeFilter(jsValue, info.GetIsolate()));
660 v8SetReturnValue(info, imp->serializedScriptValueAttribute() ? imp->serializedScriptValueAttribute()->deserialize() : v8::Handle<v8::Value>(v8::Null(info.GetIsolate())));
673 V8TRYCATCH_VOID(RefPtr<SerializedScriptValue>, cppValue, SerializedScriptValue::create(jsValue, info.GetIsolate()));
700 V8TRYCATCH_VOID(ScriptValue, cppValue, ScriptValue(jsValue, info.GetIsolate()));
    [all...]
V8TestObject.cpp 121 v8SetReturnValueString(info, imp->readOnlyStringAttr(), info.GetIsolate());
137 v8::Handle<v8::Value> wrapper = toV8(result.get(), info.Holder(), info.GetIsolate());
165 v8SetReturnValueString(info, TestObj::staticStringAttr(), info.GetIsolate());
191 v8SetReturnValueString(info, imp->enumAttr(), info.GetIsolate());
221 v8SetReturnValueString(info, imp->readOnlyEnumAttr(), info.GetIsolate());
423 v8SetReturnValueString(info, imp->stringAttr(), info.GetIsolate());
450 EventListener* jsValue = imp->eventHandlerAttr(isolatedWorldForIsolate(info.GetIsolate()));
451 v8SetReturnValue(info, jsValue ? v8::Handle<v8::Value>(V8AbstractEventListener::cast(jsValue)->getListenerObject(imp->executionContext())) : v8::Handle<v8::Value>(v8::Null(info.GetIsolate())));
464 transferHiddenDependency(info.Holder(), imp->eventHandlerAttr(isolatedWorldForIsolate(info.GetIsolate())), jsValue, V8TestObject::eventListenerCacheIndex, info.GetIsolate());
    [all...]
V8TestException.h 104 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
111 ASSERT(worldType(callbackInfo.GetIsolate()) == MainWorld);
118 v8::Handle<v8::Value> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
131 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
V8TestInterfaceCheckSecurity.h 104 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
111 ASSERT(worldType(callbackInfo.GetIsolate()) == MainWorld);
118 v8::Handle<v8::Value> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
131 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
  /external/v8/src/
handles.cc 135 CALL_HEAP_FUNCTION(content->GetIsolate(),
142 CALL_HEAP_FUNCTION(first->GetIsolate(),
151 constructor->GetIsolate(),
168 func->GetIsolate()->factory()->CopyMapDropTransitions(
177 CALL_HEAP_FUNCTION_VOID(func->GetIsolate(),
212 CALL_HEAP_FUNCTION_VOID(string->GetIsolate(), string->TryFlatten());
217 CALL_HEAP_FUNCTION(string->GetIsolate(), string->TryFlatten(), String);
224 CALL_HEAP_FUNCTION(function->GetIsolate(),
250 Isolate* isolate = object->GetIsolate();
261 Isolate* isolate = object->GetIsolate();
    [all...]
  /external/chromium_org/gin/
arguments.cc 20 : isolate_(info.GetIsolate()),

Completed in 278 milliseconds

1 23 4 5 6 7 8 91011>>