Home
last modified time | relevance | path

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

12345678910>>...13

/external/chromium_org/v8/src/extensions/
Dstatistics-extension.cc52 Isolate* isolate = reinterpret_cast<Isolate*>(args.GetIsolate()); in GetCounters()
62 v8::Local<v8::Object> result = v8::Object::New(args.GetIsolate()); in GetCounters()
65 AddCounter(args.GetIsolate(), result, counters->name(), #name); in GetCounters()
71 AddCounter(args.GetIsolate(), result, counters->count_of_##name(), \ in GetCounters()
73 AddCounter(args.GetIsolate(), result, counters->size_of_##name(), \ in GetCounters()
79 AddCounter(args.GetIsolate(), result, counters->count_of_CODE_TYPE_##name(), \ in GetCounters()
81 AddCounter(args.GetIsolate(), result, counters->size_of_CODE_TYPE_##name(), \ in GetCounters()
87 AddCounter(args.GetIsolate(), result, \ in GetCounters()
90 AddCounter(args.GetIsolate(), result, \ in GetCounters()
97 AddNumber(args.GetIsolate(), result, isolate->memory_allocator()->Size(), in GetCounters()
[all …]
Dexternalize-string-extension.cc57 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8( in Externalize()
58 args.GetIsolate(), in Externalize()
67 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8( in Externalize()
68 args.GetIsolate(), in Externalize()
76 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8( in Externalize()
77 args.GetIsolate(), in Externalize()
88 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); in Externalize()
99 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); in Externalize()
105 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8( in Externalize()
106 args.GetIsolate(), "externalizeString() failed.")); in Externalize()
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
DV8MessageEventCustom.cpp52 …result = V8HiddenValue::getHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::data(info. in dataAttributeGetterCustom()
57 …nValue::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::data(info.GetI… in dataAttributeGetterCustom()
59 …erializedData(SerializedScriptValue::createAndSwallowExceptions(mainWorldData, info.GetIsolate())); in dataAttributeGetterCustom()
62 result = event->dataAsSerializedScriptValue()->deserialize(info.GetIsolate()); in dataAttributeGetterCustom()
64 result = v8::Null(info.GetIsolate()); in dataAttributeGetterCustom()
72 result = serializedValue->deserialize(info.GetIsolate(), &ports); in dataAttributeGetterCustom()
74 result = v8::Null(info.GetIsolate()); in dataAttributeGetterCustom()
79 …ult = V8HiddenValue::getHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::stringData(in… in dataAttributeGetterCustom()
82 result = v8String(info.GetIsolate(), stringValue); in dataAttributeGetterCustom()
88 result = toV8(event->dataAsBlob(), info.Holder(), info.GetIsolate()); in dataAttributeGetterCustom()
[all …]
DV8PopStateEventCustom.cpp51 …result = V8HiddenValue::getHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::state(info… in stateAttributeGetterCustom()
64 …nValue::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::state(info.Get… in stateAttributeGetterCustom()
66 …ializedState(SerializedScriptValue::createAndSwallowExceptions(mainWorldState, info.GetIsolate())); in stateAttributeGetterCustom()
71 result = v8::Null(info.GetIsolate()); in stateAttributeGetterCustom()
72 v8SetReturnValue(info, cacheState(info.Holder(), result, info.GetIsolate())); in stateAttributeGetterCustom()
85 …v8::Handle<v8::Object> v8History = toV8(history, info.Holder(), info.GetIsolate()).As<v8::Object>(… in stateAttributeGetterCustom()
87 …result = V8HiddenValue::getHiddenValue(info.GetIsolate(), v8History, V8HiddenValue::state(info.Get… in stateAttributeGetterCustom()
89 v8SetReturnValue(info, cacheState(info.Holder(), result, info.GetIsolate())); in stateAttributeGetterCustom()
93 result = event->serializedState()->deserialize(info.GetIsolate()); in stateAttributeGetterCustom()
94 …V8HiddenValue::setHiddenValue(info.GetIsolate(), v8History, V8HiddenValue::state(info.GetIsolate()… in stateAttributeGetterCustom()
[all …]
DV8HistoryCustom.cpp48 … value = V8HiddenValue::getHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::state(info… in stateAttributeGetterCustom()
56 … = serialized ? serialized->deserialize(info.GetIsolate()) : v8::Handle<v8::Value>(v8::Null(info.G… in stateAttributeGetterCustom()
57 …V8HiddenValue::setHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::state(info.GetIsola… in stateAttributeGetterCustom()
64 …nState(ExceptionState::ExecutionContext, "pushState", "History", info.Holder(), info.GetIsolate()); in pushStateMethodCustom()
65 …ue> historyState = SerializedScriptValue::create(info[0], 0, 0, exceptionState, info.GetIsolate()); in pushStateMethodCustom()
74 …V8HiddenValue::deleteHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::state(info.GetIs… in pushStateMethodCustom()
80 …ate(ExceptionState::ExecutionContext, "replaceState", "History", info.Holder(), info.GetIsolate()); in replaceStateMethodCustom()
81 …ue> historyState = SerializedScriptValue::create(info[0], 0, 0, exceptionState, info.GetIsolate()); in replaceStateMethodCustom()
90 …V8HiddenValue::deleteHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::state(info.GetIs… in replaceStateMethodCustom()
DV8CustomEventCustom.cpp56 …esult = V8HiddenValue::getHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::detail(info… in detailAttributeGetterCustom()
66 …Value::getHiddenValueFromMainWorldWrapper(info.GetIsolate(), event, V8HiddenValue::detail(info.Get… in detailAttributeGetterCustom()
68 …lizedDetail(SerializedScriptValue::createAndSwallowExceptions(mainWorldDetail, info.GetIsolate())); in detailAttributeGetterCustom()
73 v8SetReturnValue(info, cacheState(info.Holder(), result, info.GetIsolate())); in detailAttributeGetterCustom()
77 … v8SetReturnValue(info, cacheState(info.Holder(), v8::Null(info.GetIsolate()), info.GetIsolate())); in detailAttributeGetterCustom()
93 …V8HiddenValue::setHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::detail(info.GetIsol… in initCustomEventMethodCustom()
94 if (DOMWrapperWorld::current(info.GetIsolate()).isIsolatedWorld()) in initCustomEventMethodCustom()
95 …SerializedDetail(SerializedScriptValue::createAndSwallowExceptions(detailsArg, info.GetIsolate())); in initCustomEventMethodCustom()
DV8WindowCustom.cpp85 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); in windowSetTimeoutImpl()
107 … if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), impl->frame(), exceptionState)) in windowSetTimeoutImpl()
124 …riptState, v8::Handle<v8::Function>::Cast(function), paramCount, params.get(), info.GetIsolate())); in windowSetTimeoutImpl()
131 … action = adoptPtr(new ScheduledAction(scriptState, functionString, KURL(), info.GetIsolate())); in windowSetTimeoutImpl()
154 …exceptionState(ExceptionState::GetterContext, "event", "Window", info.Holder(), info.GetIsolate()); in eventAttributeGetterCustom()
155 if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), frame, exceptionState)) { in eventAttributeGetterCustom()
162 … v8::Local<v8::Context> context = toV8Context(frame, DOMWrapperWorld::current(info.GetIsolate())); in eventAttributeGetterCustom()
166 …vent = V8HiddenValue::getHiddenValue(info.GetIsolate(), context->Global(), V8HiddenValue::event(in… in eventAttributeGetterCustom()
175 …exceptionState(ExceptionState::SetterContext, "event", "Window", info.Holder(), info.GetIsolate()); in eventAttributeSetterCustom()
176 if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), frame, exceptionState)) { in eventAttributeSetterCustom()
[all …]
DV8MessageChannelCustom.cpp45 ExecutionContext* context = currentExecutionContext(info.GetIsolate()); in constructorCustom()
54 …setHiddenValue(info.GetIsolate(), wrapper, V8HiddenValue::port1(info.GetIsolate()), toV8(obj->port… in constructorCustom()
55 …setHiddenValue(info.GetIsolate(), wrapper, V8HiddenValue::port2(info.GetIsolate()), toV8(obj->port… in constructorCustom()
57 …teObjectWithWrapper<V8MessageChannel>(obj.release(), &wrapperTypeInfo, wrapper, info.GetIsolate()); in constructorCustom()
DV8WebGLRenderingContextCustom.cpp276 v8SetReturnValue(info, toV8Object(args, info.Holder(), info.GetIsolate())); in getObjectParameter()
286 …ExecutionContext, "getBufferParameter", "WebGLRenderingContext", info.Holder(), info.GetIsolate()); in getBufferParameterMethodCustom()
292 …tate::ExecutionContext, "getExtension", "WebGLRenderingContext", info.Holder(), info.GetIsolate()); in getExtensionMethodCustom()
301 v8SetReturnValue(info, toV8Object(extension.get(), info.Holder(), info.GetIsolate())); in getExtensionMethodCustom()
306 …t, "getFramebufferAttachmentParameter", "WebGLRenderingContext", info.Holder(), info.GetIsolate()); in getFramebufferAttachmentParameterMethodCustom()
325 v8SetReturnValue(info, toV8Object(args, info.Holder(), info.GetIsolate())); in getFramebufferAttachmentParameterMethodCustom()
330 …tate::ExecutionContext, "getParameter", "WebGLRenderingContext", info.Holder(), info.GetIsolate()); in getParameterMethodCustom()
345 v8SetReturnValue(info, toV8Object(args, info.Holder(), info.GetIsolate())); in getParameterMethodCustom()
350 …xecutionContext, "getProgramParameter", "WebGLRenderingContext", info.Holder(), info.GetIsolate()); in getProgramParameterMethodCustom()
363 …) > 0 && !isUndefinedOrNull(info[0]) && !V8WebGLProgram::hasInstance(info[0], info.GetIsolate())) { in getProgramParameterMethodCustom()
[all …]
DV8ElementCustom.cpp50 …ionState(ExceptionState::SetterContext, "scrollLeft", "Element", info.Holder(), info.GetIsolate()); in scrollLeftAttributeSetterCustom()
54 TONATIVE_VOID(Dictionary, scrollOptionsHorizontal, Dictionary(value, info.GetIsolate())); in scrollLeftAttributeSetterCustom()
66 …tionState(ExceptionState::SetterContext, "scrollTop", "Element", info.Holder(), info.GetIsolate()); in scrollTopAttributeSetterCustom()
70 TONATIVE_VOID(Dictionary, scrollOptionsVertical, Dictionary(value, info.GetIsolate())); in scrollTopAttributeSetterCustom()
89 …TONATIVE_VOID(AnimationEffect*, effect, V8AnimationEffect::toImplWithTypeCheck(info.GetIsolate(), … in animate1Method()
96 …ionState(ExceptionState::ExecutionContext, "animate", "Element", info.Holder(), info.GetIsolate()); in animate2Method()
98 …ector<Dictionary>, keyframes, toImplArray<Dictionary>(info[0], 1, info.GetIsolate(), exceptionStat… in animate2Method()
109 …TONATIVE_VOID(AnimationEffect*, effect, V8AnimationEffect::toImplWithTypeCheck(info.GetIsolate(), … in animate3Method()
118 …TONATIVE_VOID(AnimationEffect*, effect, V8AnimationEffect::toImplWithTypeCheck(info.GetIsolate(), … in animate4Method()
119 TONATIVE_VOID(Dictionary, timingInput, Dictionary(info[1], info.GetIsolate())); in animate4Method()
[all …]
/external/chromium_org/v8/src/
Dd8-posix.cc229 args.GetIsolate()->ThrowException(String::NewFromUtf8( in GetTimeouts()
230 args.GetIsolate(), "system: Argument 4 must be a number")); in GetTimeouts()
238 args.GetIsolate()->ThrowException(String::NewFromUtf8( in GetTimeouts()
239 args.GetIsolate(), "system: Argument 3 must be a number")); in GetTimeouts()
441 HandleScope scope(args.GetIsolate()); in System()
448 args.GetIsolate()->ThrowException(String::NewFromUtf8( in System()
449 args.GetIsolate(), "system: Argument 2 must be an array")); in System()
454 command_args = Array::New(args.GetIsolate(), 0); in System()
457 args.GetIsolate()->ThrowException(String::NewFromUtf8( in System()
458 args.GetIsolate(), "Too many arguments to system()")); in System()
[all …]
/external/chromium_org/v8/test/cctest/
Dtest-microtask-delivery.cc48 Isolate* GetIsolate() const { return isolate_; } in GetIsolate() function in __anon6e7d3ea20111::HarmonyIsolate
58 HandleScope scope(isolate.GetIsolate()); in TEST()
59 LocalContext context(isolate.GetIsolate()); in TEST()
96 HandleScope scope(isolate.GetIsolate()); in TEST()
97 LocalContext context1(isolate.GetIsolate()); in TEST()
98 isolate.GetIsolate()->SetAutorunMicrotasks(false); in TEST()
103 LocalContext context2(isolate.GetIsolate()); in TEST()
104 context2->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"), in TEST()
118 LocalContext context3(isolate.GetIsolate()); in TEST()
119 context3->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"), in TEST()
[all …]
Dtest-cpu-profiler.cc351 v8::HandleScope scope(env->GetIsolate()); in TEST()
352 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler(); in TEST()
356 v8::Local<v8::String> name1 = v8::String::NewFromUtf8(env->GetIsolate(), "1"); in TEST()
365 v8::Local<v8::String> name2 = v8::String::NewFromUtf8(env->GetIsolate(), "2"); in TEST()
371 v8::Local<v8::String> name3 = v8::String::NewFromUtf8(env->GetIsolate(), "3"); in TEST()
390 v8::HandleScope scope(env->GetIsolate()); in TEST()
391 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler(); in TEST()
394 v8::String::NewFromUtf8(env->GetIsolate(), "test"); in TEST()
405 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler(); in RunProfiler()
407 v8::String::NewFromUtf8(env->GetIsolate(), "my_profile"); in RunProfiler()
[all …]
Dtest-debug.cc101 inline v8::Isolate* GetIsolate() { return context_->GetIsolate(); } in GetIsolate() function in DebugLocalContext
105 reinterpret_cast<v8::internal::Isolate*>(context_->GetIsolate()); in ExposeDebug()
135 v8::Script::Compile(v8::String::NewFromUtf8(env->GetIsolate(), source)) in CompileFunction()
138 v8::String::NewFromUtf8(env->GetIsolate(), function_name))); in CompileFunction()
165 v8::internal::Isolate* isolate = fun->GetIsolate(); in SetBreakPoint()
983 v8::HandleScope scope(env->GetIsolate()); in TEST()
1066 v8::HandleScope scope(env->GetIsolate()); in TEST()
1103 v8::HandleScope scope(env->GetIsolate()); in TEST()
1106 v8::Script::Compile(v8::String::NewFromUtf8(env->GetIsolate(), in TEST()
1109 env->Global()->Get(v8::String::NewFromUtf8(env->GetIsolate(), "foo"))); in TEST()
[all …]
/external/chromium_org/extensions/renderer/
Dmodule_system.cc158 v8::HandleScope scope(GetIsolate()); in Invalidate()
161 v8::String::NewFromUtf8(GetIsolate(), kModulesField)); in Invalidate()
163 v8::String::NewFromUtf8(GetIsolate(), kModuleSystem)); in Invalidate()
192 v8::EscapableHandleScope handle_scope(GetIsolate()); in Require()
194 v8::String::NewFromUtf8(GetIsolate(), module_name.c_str()))); in Require()
205 v8::EscapableHandleScope handle_scope(GetIsolate()); in RequireForJsInner()
214 v8::String::NewFromUtf8(GetIsolate(), kModulesField)); in RequireForJsInner()
216 Warn(GetIsolate(), "Extension view no longer exists"); in RequireForJsInner()
217 return v8::Undefined(GetIsolate()); in RequireForJsInner()
233 v8::EscapableHandleScope handle_scope(GetIsolate()); in CallModuleMethod()
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
DV8TestInterfaceConstructor.cpp40 …ExceptionState::ConstructionContext, "TestInterfaceConstructor", info.Holder(), info.GetIsolate()); in constructor1()
41 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); in constructor1()
42 Document& document = *toDocument(currentExecutionContext(info.GetIsolate())); in constructor1()
49 …pl->associateWithWrapper(&V8TestInterfaceConstructor::wrapperTypeInfo, wrapper, info.GetIsolate()); in constructor1()
55 …ExceptionState::ConstructionContext, "TestInterfaceConstructor", info.Holder(), info.GetIsolate()); in constructor2()
67 … testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.GetIsolate(), info[2]); in constructor2()
73 dictionaryArg = Dictionary(info[3], info.GetIsolate()); in constructor2()
74 …STATE_INTERNAL(sequenceStringArg, toImplArray<String>(info[4], 5, info.GetIsolate(), exceptionStat… in constructor2()
75 …TERNAL(sequenceDictionaryArg, toImplArray<Dictionary>(info[5], 6, info.GetIsolate(), exceptionStat… in constructor2()
81 optionalDictionaryArg = Dictionary(info[6], info.GetIsolate()); in constructor2()
[all …]
DV8TestInterfaceCheckSecurity.cpp66 …ntext, "doNotCheckSecurityLongAttribute", "TestInterfaceCheckSecurity", holder, info.GetIsolate()); in doNotCheckSecurityLongAttributeAttributeSetter()
110 …doNotCheckSecurityOnSetterLongAttribute", "TestInterfaceCheckSecurity", holder, info.GetIsolate()); in doNotCheckSecurityOnSetterLongAttributeAttributeSetter()
141 …te::SetterContext, *attributeName, "TestInterfaceCheckSecurity", info.Holder(), info.GetIsolate()); in TestInterfaceCheckSecurityForceSetAttributeOnThis()
142 …if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), impl->frame(), exceptionState)) { in TestInterfaceCheckSecurityForceSetAttributeOnThis()
169 …e::ExecutionContext, "voidMethod", "TestInterfaceCheckSecurity", info.Holder(), info.GetIsolate()); in voidMethodMethod()
171 …if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), impl->frame(), exceptionState)) { in voidMethodMethod()
201 V8PerIsolateData* data = V8PerIsolateData::from(info.GetIsolate()); in doNotCheckSecurityVoidMethodOriginSafeMethodGetter()
202 …, v8Undefined(), v8::Signature::New(info.GetIsolate(), V8TestInterfaceCheckSecurity::domTemplate(i… in doNotCheckSecurityVoidMethodOriginSafeMethodGetter()
204 …older = V8TestInterfaceCheckSecurity::findInstanceInPrototypeChain(info.This(), info.GetIsolate()); in doNotCheckSecurityVoidMethodOriginSafeMethodGetter()
212 …if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), impl->frame(), DoNotReportSecuri… in doNotCheckSecurityVoidMethodOriginSafeMethodGetter()
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/custom/
DV8SubtleCryptoCustom.cpp24 TONATIVE_VOID(Dictionary, algorithm, Dictionary(info[0], info.GetIsolate())); in verify1Method()
26 …ecute("verify", "SubtleCrypto", "parameter 1 ('algorithm') is not an object."), info.GetIsolate()); in verify1Method()
29 TONATIVE_VOID(CryptoKey*, key, V8CryptoKey::toImplWithTypeCheck(info.GetIsolate(), info[1])); in verify1Method()
32 …v8SetReturnValue(info, impl->verifySignature(ScriptState::current(info.GetIsolate()), algorithm, k… in verify1Method()
39 TONATIVE_VOID(Dictionary, algorithm, Dictionary(info[0], info.GetIsolate())); in verify2Method()
41 …ecute("verify", "SubtleCrypto", "parameter 1 ('algorithm') is not an object."), info.GetIsolate()); in verify2Method()
44 TONATIVE_VOID(CryptoKey*, key, V8CryptoKey::toImplWithTypeCheck(info.GetIsolate(), info[1])); in verify2Method()
47 …v8SetReturnValue(info, impl->verifySignature(ScriptState::current(info.GetIsolate()), algorithm, k… in verify2Method()
54 TONATIVE_VOID(Dictionary, algorithm, Dictionary(info[0], info.GetIsolate())); in verify3Method()
56 …ecute("verify", "SubtleCrypto", "parameter 1 ('algorithm') is not an object."), info.GetIsolate()); in verify3Method()
[all …]
/external/pdfium/fpdfsdk/src/javascript/
Dcolor.cpp17 static v8::Isolate* GetIsolate(IFXJS_Context* cc) in GetIsolate() function
25 return pRuntime->GetIsolate(); in GetIsolate()
79 array.SetElement(0, CJS_Value(array.GetIsolate(), "T")); in ConvertPWLColorToArray()
82 array.SetElement(0, CJS_Value(array.GetIsolate(),"G")); in ConvertPWLColorToArray()
83 array.SetElement(1, CJS_Value(array.GetIsolate(),color.fColor1)); in ConvertPWLColorToArray()
86 array.SetElement(0, CJS_Value(array.GetIsolate(),"RGB")); in ConvertPWLColorToArray()
87 array.SetElement(1, CJS_Value(array.GetIsolate(),color.fColor1)); in ConvertPWLColorToArray()
88 array.SetElement(2, CJS_Value(array.GetIsolate(),color.fColor2)); in ConvertPWLColorToArray()
89 array.SetElement(3, CJS_Value(array.GetIsolate(),color.fColor3)); in ConvertPWLColorToArray()
92 array.SetElement(0, CJS_Value(array.GetIsolate(),"CMYK")); in ConvertPWLColorToArray()
[all …]
/external/chromium_org/v8/samples/
Dprocess.cc132 Isolate* GetIsolate() { return isolate_; } in GetIsolate() function in JsHttpRequestProcessor
150 HandleScope scope(args.GetIsolate()); in LogCallback()
161 HandleScope handle_scope(GetIsolate()); in Initialize()
165 Handle<ObjectTemplate> global = ObjectTemplate::New(GetIsolate()); in Initialize()
166 global->Set(String::NewFromUtf8(GetIsolate(), "log"), in Initialize()
167 FunctionTemplate::New(GetIsolate(), LogCallback)); in Initialize()
174 v8::Handle<v8::Context> context = Context::New(GetIsolate(), NULL, global); in Initialize()
175 context_.Reset(GetIsolate(), context); in Initialize()
191 Handle<String> process_name = String::NewFromUtf8(GetIsolate(), "Process"); in Initialize()
203 process_.Reset(GetIsolate(), process_fun); in Initialize()
[all …]
Dshell.cc149 v8::HandleScope handle_scope(args.GetIsolate()); in Print()
169 args.GetIsolate()->ThrowException( in Read()
170 v8::String::NewFromUtf8(args.GetIsolate(), "Bad parameters")); in Read()
175 args.GetIsolate()->ThrowException( in Read()
176 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file")); in Read()
179 v8::Handle<v8::String> source = ReadFile(args.GetIsolate(), *file); in Read()
181 args.GetIsolate()->ThrowException( in Read()
182 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file")); in Read()
194 v8::HandleScope handle_scope(args.GetIsolate()); in Load()
197 args.GetIsolate()->ThrowException( in Load()
[all …]
/external/chromium_org/third_party/skia/experimental/SkV8Example/
DPath2D.cpp74 args.GetIsolate()->ThrowException( in MoveTo()
76 args.GetIsolate(), "Error: 2 arguments required.")); in MoveTo()
87 args.GetIsolate()->ThrowException( in LineTo()
89 args.GetIsolate(), "Error: 2 arguments required.")); in LineTo()
100 args.GetIsolate()->ThrowException( in QuadraticCurveTo()
102 args.GetIsolate(), "Error: 4 arguments required.")); in QuadraticCurveTo()
119 args.GetIsolate()->ThrowException( in BezierCurveTo()
121 args.GetIsolate(), "Error: 6 arguments required.")); in BezierCurveTo()
141 args.GetIsolate()->ThrowException( in Arc()
143 args.GetIsolate(), "Error: 5 or 6 args required.")); in Arc()
[all …]
/external/skia/experimental/SkV8Example/
DPath2D.cpp74 args.GetIsolate()->ThrowException( in MoveTo()
76 args.GetIsolate(), "Error: 2 arguments required.")); in MoveTo()
87 args.GetIsolate()->ThrowException( in LineTo()
89 args.GetIsolate(), "Error: 2 arguments required.")); in LineTo()
100 args.GetIsolate()->ThrowException( in QuadraticCurveTo()
102 args.GetIsolate(), "Error: 4 arguments required.")); in QuadraticCurveTo()
119 args.GetIsolate()->ThrowException( in BezierCurveTo()
121 args.GetIsolate(), "Error: 6 arguments required.")); in BezierCurveTo()
141 args.GetIsolate()->ThrowException( in Arc()
143 args.GetIsolate(), "Error: 5 or 6 args required.")); in Arc()
[all …]
/external/chromium_org/chrome/renderer/extensions/
Dautomation_internal_custom_bindings.cc59 v8::Boolean::New(GetIsolate(), automation_info->interact)); in IsInteractPermitted()
64 v8::Local<v8::Object> additions = v8::Object::New(GetIsolate()); in GetSchemaAdditions()
67 v8::String::NewFromUtf8(GetIsolate(), "EventType"), in GetSchemaAdditions()
68 ToEnumObject(GetIsolate(), ui::AX_EVENT_NONE, ui::AX_EVENT_LAST)); in GetSchemaAdditions()
71 v8::String::NewFromUtf8(GetIsolate(), "RoleType"), in GetSchemaAdditions()
72 ToEnumObject(GetIsolate(), ui::AX_ROLE_NONE, ui::AX_ROLE_LAST)); in GetSchemaAdditions()
75 v8::String::NewFromUtf8(GetIsolate(), "StateType"), in GetSchemaAdditions()
76 ToEnumObject(GetIsolate(), ui::AX_STATE_NONE, ui::AX_STATE_LAST)); in GetSchemaAdditions()
/external/chromium_org/third_party/WebKit/Source/bindings/templates/
Dmethods.cpp8 …tate::ExecutionContext, "{{method.name}}", "{{interface_name}}", info.Holder(), info.GetIsolate());
26 …if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), window->frame(), exceptionState)…
34 …if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), impl->frame(), exceptionState)) {
40 …if (!BindingSecurity::shouldAllowAccessToNode(info.GetIsolate(), impl->{{method.name}}(exceptionSt…
117 …&& {% endif %}!V8{{argument.idl_type}}::hasInstance(info[{{argument.index}}], info.GetIsolate())) {
127 {{argument.name}} = V8EventListenerList::getEventListener(ScriptState::current(info.GetIsolate()), …
129 {{argument.name}} = V8EventListenerList::getEventListener(ScriptState::current(info.GetIsolate()), …
142 …v8::Handle<v8::Function>::Cast(info[{{argument.index}}]), ScriptState::current(info.GetIsolate()));
153 …v8::Handle<v8::Function>::Cast(info[{{argument.index}}]), ScriptState::current(info.GetIsolate()));
158 if (!V8{{argument.idl_type}}::hasInstance(info[i], info.GetIsolate())) {
[all …]

12345678910>>...13