Searched refs:GetIsolate (Results 1 - 25 of 304) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/cctest/
H A Dtest-microtask-delivery.cc48 Isolate* GetIsolate() const { return isolate_; } function in class:__anon17410::HarmonyIsolate
58 HandleScope scope(isolate.GetIsolate());
59 LocalContext context(isolate.GetIsolate());
96 HandleScope scope(isolate.GetIsolate());
97 LocalContext context1(isolate.GetIsolate());
98 isolate.GetIsolate()->SetAutorunMicrotasks(false);
103 LocalContext context2(isolate.GetIsolate());
104 context2->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"),
118 LocalContext context3(isolate.GetIsolate());
119 context3->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "ob
[all...]
H A Dtest-js-arm64-variables.cc74 v8::HandleScope scope(env->GetIsolate());
86 v8::HandleScope scope(env->GetIsolate());
97 v8::HandleScope scope(env->GetIsolate());
108 v8::HandleScope scope(env->GetIsolate());
122 v8::HandleScope scope(env->GetIsolate());
136 v8::HandleScope scope(env->GetIsolate());
H A Dprofiler-extension.cc60 v8::CpuProfiler* cpu_profiler = args.GetIsolate()->GetCpuProfiler();
63 : v8::String::Empty(args.GetIsolate()));
69 v8::CpuProfiler* cpu_profiler = args.GetIsolate()->GetCpuProfiler();
72 : v8::String::Empty(args.GetIsolate()));
H A Dtest-cpu-profiler.cc351 v8::HandleScope scope(env->GetIsolate());
352 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler();
356 v8::Local<v8::String> name1 = v8::String::NewFromUtf8(env->GetIsolate(), "1");
365 v8::Local<v8::String> name2 = v8::String::NewFromUtf8(env->GetIsolate(), "2");
371 v8::Local<v8::String> name3 = v8::String::NewFromUtf8(env->GetIsolate(), "3");
390 v8::HandleScope scope(env->GetIsolate());
391 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler();
394 v8::String::NewFromUtf8(env->GetIsolate(), "test");
405 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler();
407 v8::String::NewFromUtf8(env->GetIsolate(), "my_profil
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
H A DV8MessageChannelCustom.cpp45 ExecutionContext* context = currentExecutionContext(info.GetIsolate());
54 V8HiddenValue::setHiddenValue(info.GetIsolate(), wrapper, V8HiddenValue::port1(info.GetIsolate()), toV8(obj->port1(), info.Holder(), info.GetIsolate()));
55 V8HiddenValue::setHiddenValue(info.GetIsolate(), wrapper, V8HiddenValue::port2(info.GetIsolate()), toV8(obj->port2(), info.Holder(), info.GetIsolate()));
57 V8DOMWrapper::associateObjectWithWrapper<V8MessageChannel>(obj.release(), &wrapperTypeInfo, wrapper, info.GetIsolate());
H A DV8MessageEventCustom.cpp52 result = V8HiddenValue::getHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::data(info.GetIsolate()));
57 v8::Local<v8::Value> mainWorldData = V8HiddenValue::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::data(info.GetIsolate()));
59 event->setSerializedData(SerializedScriptValue::createAndSwallowExceptions(mainWorldData, info.GetIsolate()));
62 result = event->dataAsSerializedScriptValue()->deserialize(info.GetIsolate());
64 result = v8::Null(info.GetIsolate());
72 result = serializedValue->deserialize(info.GetIsolate(), &ports);
74 result = v8::Null(info.GetIsolate());
79 result = V8HiddenValue::getHiddenValue(info.GetIsolate(), inf
[all...]
H A DV8PopStateEventCustom.cpp51 v8::Handle<v8::Value> result = V8HiddenValue::getHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::state(info.GetIsolate()));
64 v8::Local<v8::Value> mainWorldState = V8HiddenValue::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::state(info.GetIsolate()));
66 event->setSerializedState(SerializedScriptValue::createAndSwallowExceptions(mainWorldState, info.GetIsolate()));
71 result = v8::Null(info.GetIsolate());
72 v8SetReturnValue(info, cacheState(info.Holder(), result, info.GetIsolate()));
85 v8::Handle<v8::Object> v8History = toV8(history, info.Holder(), info.GetIsolate()).As<v8::Object>();
87 result = V8HiddenValue::getHiddenValue(info.GetIsolate(), v8History, V8HiddenValue::state(info.GetIsolate()));
[all...]
H A DV8ErrorEventCustom.cpp48 v8::Handle<v8::Value> error = V8HiddenValue::getHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::error(info.GetIsolate()));
H A DV8HistoryCustom.cpp48 v8::Handle<v8::Value> value = V8HiddenValue::getHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::state(info.GetIsolate()));
56 value = serialized ? serialized->deserialize(info.GetIsolate()) : v8::Handle<v8::Value>(v8::Null(info.GetIsolate()));
57 V8HiddenValue::setHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::state(info.GetIsolate()), value);
64 ExceptionState exceptionState(ExceptionState::ExecutionContext, "pushState", "History", info.Holder(), info.GetIsolate());
65 RefPtr<SerializedScriptValue> historyState = SerializedScriptValue::create(info[0], 0, 0, exceptionState, info.GetIsolate());
74 V8HiddenValue::deleteHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::state(info.GetIsolate()));
[all...]
H A DV8CustomEventCustom.cpp56 v8::Handle<v8::Value> result = V8HiddenValue::getHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::detail(info.GetIsolate()));
66 v8::Local<v8::Value> mainWorldDetail = V8HiddenValue::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::detail(info.GetIsolate()));
68 event->setSerializedDetail(SerializedScriptValue::createAndSwallowExceptions(mainWorldDetail, info.GetIsolate()));
73 v8SetReturnValue(info, cacheState(info.Holder(), result, info.GetIsolate()));
77 v8SetReturnValue(info, cacheState(info.Holder(), v8::Null(info.GetIsolate()), info.GetIsolate()));
93 V8HiddenValue::setHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::detail(info.GetIsolate()), detailsAr
[all...]
H A DV8HTMLDocumentCustom.cpp61 v8::Local<v8::Context> context = toV8Context(frame.get(), DOMWrapperWorld::current(info.GetIsolate()));
67 v8::Local<v8::Value> function = global->Get(v8AtomicString(info.GetIsolate(), "open"));
73 V8ThrowException::throwTypeError("open is not a function", info.GetIsolate());
86 ExceptionState exceptionState(ExceptionState::ExecutionContext, "open", "Document", info.Holder(), info.GetIsolate());
87 htmlDocument->open(callingDOMWindow(info.GetIsolate())->document(), exceptionState);
H A DV8ElementCustom.cpp50 ExceptionState exceptionState(ExceptionState::SetterContext, "scrollLeft", "Element", info.Holder(), info.GetIsolate());
54 TONATIVE_VOID(Dictionary, scrollOptionsHorizontal, Dictionary(value, info.GetIsolate()));
66 ExceptionState exceptionState(ExceptionState::SetterContext, "scrollTop", "Element", info.Holder(), info.GetIsolate());
70 TONATIVE_VOID(Dictionary, scrollOptionsVertical, Dictionary(value, info.GetIsolate()));
89 TONATIVE_VOID(AnimationEffect*, effect, V8AnimationEffect::toImplWithTypeCheck(info.GetIsolate(), info[0]));
96 ExceptionState exceptionState(ExceptionState::ExecutionContext, "animate", "Element", info.Holder(), info.GetIsolate());
98 TONATIVE_VOID_EXCEPTIONSTATE(Vector<Dictionary>, keyframes, toImplArray<Dictionary>(info[0], 1, info.GetIsolate(), exceptionState), exceptionState);
109 TONATIVE_VOID(AnimationEffect*, effect, V8AnimationEffect::toImplWithTypeCheck(info.GetIsolate(), info[0]));
118 TONATIVE_VOID(AnimationEffect*, effect, V8AnimationEffect::toImplWithTypeCheck(info.GetIsolate(), info[0]));
119 TONATIVE_VOID(Dictionary, timingInput, Dictionary(info[1], info.GetIsolate()));
[all...]
H A DV8DocumentCustom.cpp65 ExceptionState exceptionState(ExceptionState::ExecutionContext, "evaluate", "Document", info.Holder(), info.GetIsolate());
67 RefPtrWillBeRawPtr<Node> contextNode = V8Node::toImplWithTypeCheck(info.GetIsolate(), info[1]);
70 RefPtrWillBeRawPtr<XPathNSResolver> resolver = toXPathNSResolver(info[resolverArgumentIndex], info.GetIsolate());
78 RefPtrWillBeRawPtr<XPathResult> inResult = V8XPathResult::toImplWithTypeCheck(info.GetIsolate(), info[4]);
/external/chromium_org/v8/src/extensions/
H A Dstatistics-extension.cc52 Isolate* isolate = reinterpret_cast<Isolate*>(args.GetIsolate());
62 v8::Local<v8::Object> result = v8::Object::New(args.GetIsolate());
65 AddCounter(args.GetIsolate(), result, counters->name(), #name);
71 AddCounter(args.GetIsolate(), result, counters->count_of_##name(), \
73 AddCounter(args.GetIsolate(), result, counters->size_of_##name(), \
79 AddCounter(args.GetIsolate(), result, counters->count_of_CODE_TYPE_##name(), \
81 AddCounter(args.GetIsolate(), result, counters->size_of_CODE_TYPE_##name(), \
87 AddCounter(args.GetIsolate(), result, \
90 AddCounter(args.GetIsolate(), result, \
97 AddNumber(args.GetIsolate(), resul
[all...]
H A Dexternalize-string-extension.cc57 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8(
58 args.GetIsolate(),
67 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8(
68 args.GetIsolate(),
76 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8(
77 args.GetIsolate(),
88 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate());
99 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate());
105 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8(
106 args.GetIsolate(), "externalizeStrin
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DPostMessage.h24 ExceptionState exceptionState(ExceptionState::ExecutionContext, "postMessage", interfaceName, info.Holder(), info.GetIsolate());
29 if (!SerializedScriptValue::extractTransferables(info[transferablesArgIndex], transferablesArgIndex, ports, arrayBuffers, exceptionState, info.GetIsolate())) {
34 RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffers, exceptionState, info.GetIsolate());
38 ExecutionContext* context = currentExecutionContext(info.GetIsolate());
/external/chromium_org/chrome/renderer/extensions/
H A Dautomation_internal_custom_bindings.cc59 v8::Boolean::New(GetIsolate(), automation_info->interact));
64 v8::Local<v8::Object> additions = v8::Object::New(GetIsolate());
67 v8::String::NewFromUtf8(GetIsolate(), "EventType"),
68 ToEnumObject(GetIsolate(), ui::AX_EVENT_NONE, ui::AX_EVENT_LAST));
71 v8::String::NewFromUtf8(GetIsolate(), "RoleType"),
72 ToEnumObject(GetIsolate(), ui::AX_ROLE_NONE, ui::AX_ROLE_LAST));
75 v8::String::NewFromUtf8(GetIsolate(), "StateType"),
76 ToEnumObject(GetIsolate(), ui::AX_STATE_NONE, ui::AX_STATE_LAST));
H A Dfile_browser_handler_custom_bindings.cc41 v8::String::NewFromUtf8(args.GetIsolate(), "fileSystemName"))));
44 v8::String::NewFromUtf8(args.GetIsolate(), "fileSystemRoot"))));
47 v8::String::NewFromUtf8(args.GetIsolate(), "fileFullPath"))));
49 args.GetIsolate(), "fileIsDirectory"))->ToBoolean()->Value();
64 args.GetIsolate()));
75 blink::WebScriptBindings::toV8String(url.string(), args.GetIsolate()));
/external/chromium_org/extensions/renderer/
H A Dscoped_persistent.h26 handle_.Reset(GetIsolate(handle), handle);
38 return v8::Local<T>::New(GetIsolate(handle_), handle_);
55 static v8::Isolate* GetIsolate(v8::Handle<U> object_handle) { function in class:extensions::ScopedPersistent
59 return GetIsolate(object_handle->CreationContext());
62 static v8::Isolate* GetIsolate(v8::Handle<v8::Context> context_handle) { function in class:extensions::ScopedPersistent
64 return context_handle->GetIsolate();
67 static v8::Isolate* GetIsolate( function in class:extensions::ScopedPersistent
H A Dmodule_system.cc158 v8::HandleScope scope(GetIsolate());
161 v8::String::NewFromUtf8(GetIsolate(), kModulesField));
163 v8::String::NewFromUtf8(GetIsolate(), kModuleSystem));
192 v8::EscapableHandleScope handle_scope(GetIsolate());
194 v8::String::NewFromUtf8(GetIsolate(), module_name.c_str())));
205 v8::EscapableHandleScope handle_scope(GetIsolate());
214 v8::String::NewFromUtf8(GetIsolate(), kModulesField));
216 Warn(GetIsolate(), "Extension view no longer exists");
217 return v8::Undefined(GetIsolate());
233 v8::EscapableHandleScope handle_scope(GetIsolate());
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
H A DV8TestInterfaceConstructor.cpp40 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor", info.Holder(), info.GetIsolate());
41 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate());
42 Document& document = *toDocument(currentExecutionContext(info.GetIsolate()));
49 impl->associateWithWrapper(&V8TestInterfaceConstructor::wrapperTypeInfo, wrapper, info.GetIsolate());
55 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor", info.Holder(), info.GetIsolate());
67 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.GetIsolate(), info[2]);
73 dictionaryArg = Dictionary(info[3], info.GetIsolate());
74 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(sequenceStringArg, toImplArray<String>(info[4], 5, info.GetIsolate(), exceptionState), exceptionState);
75 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(sequenceDictionaryArg, toImplArray<Dictionary>(info[5], 6, info.GetIsolate(), exceptionState), exceptionState);
81 optionalDictionaryArg = Dictionary(info[6], info.GetIsolate());
[all...]
/external/chromium_org/v8/src/
H A Dd8-posix.cc229 args.GetIsolate()->ThrowException(String::NewFromUtf8(
230 args.GetIsolate(), "system: Argument 4 must be a number"));
238 args.GetIsolate()->ThrowException(String::NewFromUtf8(
239 args.GetIsolate(), "system: Argument 3 must be a number"));
441 HandleScope scope(args.GetIsolate());
448 args.GetIsolate()->ThrowException(String::NewFromUtf8(
449 args.GetIsolate(), "system: Argument 2 must be an array"));
454 command_args = Array::New(args.GetIsolate(), 0);
457 args.GetIsolate()->ThrowException(String::NewFromUtf8(
458 args.GetIsolate(), "To
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/custom/
H A DV8SQLResultSetRowListCustom.cpp44 ExceptionState exceptionState(ExceptionState::ExecutionContext, "item", "SQLResultSetRowList", info.Holder(), info.GetIsolate());
66 v8::Local<v8::Object> item = v8::Object::New(info.GetIsolate());
75 value = v8String(info.GetIsolate(), sqlValue.string());
78 value = v8::Null(info.GetIsolate());
81 value = v8::Number::New(info.GetIsolate(), sqlValue.number());
87 item->ForceSet(v8String(info.GetIsolate(), rowList->columnNames()[i]), value, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::ReadOnly));
H A DV8SubtleCryptoCustom.cpp24 TONATIVE_VOID(Dictionary, algorithm, Dictionary(info[0], info.GetIsolate()));
26 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute("verify", "SubtleCrypto", "parameter 1 ('algorithm') is not an object."), info.GetIsolate());
29 TONATIVE_VOID(CryptoKey*, key, V8CryptoKey::toImplWithTypeCheck(info.GetIsolate(), info[1]));
32 v8SetReturnValue(info, impl->verifySignature(ScriptState::current(info.GetIsolate()), algorithm, key, signature, data).v8Value());
39 TONATIVE_VOID(Dictionary, algorithm, Dictionary(info[0], info.GetIsolate()));
41 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute("verify", "SubtleCrypto", "parameter 1 ('algorithm') is not an object."), info.GetIsolate());
44 TONATIVE_VOID(CryptoKey*, key, V8CryptoKey::toImplWithTypeCheck(info.GetIsolate(), info[1]));
47 v8SetReturnValue(info, impl->verifySignature(ScriptState::current(info.GetIsolate()), algorithm, key, signature, data).v8Value());
54 TONATIVE_VOID(Dictionary, algorithm, Dictionary(info[0], info.GetIsolate()));
56 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute("verify", "SubtleCrypto", "parameter 1 ('algorithm') is not an object."), info.GetIsolate());
[all...]
/external/pdfium/fpdfsdk/src/javascript/
H A Dcolor.cpp17 static v8::Isolate* GetIsolate(IFXJS_Context* cc) function
25 return pRuntime->GetIsolate();
79 array.SetElement(0, CJS_Value(array.GetIsolate(), "T"));
82 array.SetElement(0, CJS_Value(array.GetIsolate(),"G"));
83 array.SetElement(1, CJS_Value(array.GetIsolate(),color.fColor1));
86 array.SetElement(0, CJS_Value(array.GetIsolate(),"RGB"));
87 array.SetElement(1, CJS_Value(array.GetIsolate(),color.fColor1));
88 array.SetElement(2, CJS_Value(array.GetIsolate(),color.fColor2));
89 array.SetElement(3, CJS_Value(array.GetIsolate(),color.fColor3));
92 array.SetElement(0, CJS_Value(array.GetIsolate(),"CMY
[all...]

Completed in 423 milliseconds

1234567891011>>