• Home
  • Raw
  • Download

Lines Matching refs:isolate_

363       : js_bindings_(js_bindings), error_listener_(error_listener), isolate_(isolate) {  in Context()
367 v8::Locker locked(isolate_); in ~Context()
368 v8::Isolate::Scope isolate_scope(isolate_); in ~Context()
376 v8::Locker locked(isolate_); in ResolveProxy()
377 v8::Isolate::Scope isolate_scope(isolate_); in ResolveProxy()
378 v8::HandleScope scope(isolate_); in ResolveProxy()
381 v8::Local<v8::Context>::New(isolate_, v8_context_); in ResolveProxy()
392 UTF16StringToV8String(isolate_, url), in ResolveProxy()
393 UTF16StringToV8String(isolate_, host) }; in ResolveProxy()
427 v8::Locker locked(isolate_); in InitV8()
428 v8::Isolate::Scope isolate_scope(isolate_); in InitV8()
429 v8::HandleScope scope(isolate_); in InitV8()
431 v8_this_.Reset(isolate_, v8::External::New(isolate_, this)); in InitV8()
433 v8::Local<v8::External>::New(isolate_, v8_this_); in InitV8()
438 v8::FunctionTemplate::New(isolate_, &AlertCallback, v8_this); in InitV8()
439 global_template->Set(ASCIILiteralToV8String(isolate_, "alert"), alert_template); in InitV8()
442 v8::FunctionTemplate::New(isolate_, &MyIpAddressCallback, v8_this); in InitV8()
443 global_template->Set(ASCIILiteralToV8String(isolate_, "myIpAddress"), in InitV8()
447 v8::FunctionTemplate::New(isolate_, &DnsResolveCallback, v8_this); in InitV8()
448 global_template->Set(ASCIILiteralToV8String(isolate_, "dnsResolve"), in InitV8()
454 v8::FunctionTemplate::New(isolate_, &DnsResolveExCallback, v8_this); in InitV8()
455 global_template->Set(ASCIILiteralToV8String(isolate_, "dnsResolveEx"), in InitV8()
459 v8::FunctionTemplate::New(isolate_, &MyIpAddressExCallback, v8_this); in InitV8()
460 global_template->Set(ASCIILiteralToV8String(isolate_, "myIpAddressEx"), in InitV8()
464 v8::FunctionTemplate::New(isolate_, &SortIpAddressListCallback, v8_this); in InitV8()
465 global_template->Set(ASCIILiteralToV8String(isolate_, "sortIpAddressList"), in InitV8()
469 v8::FunctionTemplate::New(isolate_, &IsInNetExCallback, v8_this); in InitV8()
470 global_template->Set(ASCIILiteralToV8String(isolate_, "isInNetEx"), in InitV8()
474 isolate_, v8::Context::New(isolate_, NULL, global_template)); in InitV8()
477 v8::Local<v8::Context>::New(isolate_, v8_context_); in InitV8()
484 ASCIILiteralToV8String(isolate_, in InitV8()
493 rv = RunScript(UTF16StringToV8String(isolate_, pac_script), kPacResourceName); in InitV8()
508 v8::Locker locked(isolate_); in PurgeMemory()
509 v8::Isolate::Scope isolate_scope(isolate_); in PurgeMemory()
510 isolate_->LowMemoryNotification(); in PurgeMemory()
516 v8::Local<v8::Context>::New(isolate_, v8_context_); in GetFindProxyForURL()
518 ASCIILiteralToV8String(isolate_, "FindProxyForURL")); in GetFindProxyForURL()
536 v8::ScriptOrigin(ASCIILiteralToV8String(isolate_, script_name)); in RunScript()
708 v8::Isolate* isolate_; member in net::ProxyResolverV8::Context