Home | History | Annotate | Download | only in samples

Lines Matching defs:GetIsolate

140   Isolate* GetIsolate() { return isolate_; }
158 HandleScope scope(args.GetIsolate());
169 HandleScope handle_scope(GetIsolate());
173 Local<ObjectTemplate> global = ObjectTemplate::New(GetIsolate());
174 global->Set(String::NewFromUtf8(GetIsolate(), "log", NewStringType::kNormal)
176 FunctionTemplate::New(GetIsolate(), LogCallback));
183 v8::Local<v8::Context> context = Context::New(GetIsolate(), NULL, global);
184 context_.Reset(GetIsolate(), context);
201 String::NewFromUtf8(GetIsolate(), "Process", NewStringType::kNormal)
216 process_.Reset(GetIsolate(), process_fun);
224 HandleScope handle_scope(GetIsolate());
228 TryCatch try_catch(GetIsolate());
230 Local<Context> context(GetIsolate()->GetCurrentContext());
256 HandleScope handle_scope(GetIsolate());
262 v8::Local<v8::Context>::New(GetIsolate(), context_);
267 String::NewFromUtf8(GetIsolate(), "options", NewStringType::kNormal)
275 String::NewFromUtf8(GetIsolate(), "output", NewStringType::kNormal)
286 HandleScope handle_scope(GetIsolate());
289 v8::Local<v8::Context>::New(GetIsolate(), context_);
299 TryCatch try_catch(GetIsolate());
306 v8::Local<v8::Function>::New(GetIsolate(), process_);
339 EscapableHandleScope handle_scope(GetIsolate());
344 Local<ObjectTemplate> raw_template = MakeMapTemplate(GetIsolate());
345 map_template_.Reset(GetIsolate(), raw_template);
348 Local<ObjectTemplate>::New(GetIsolate(), map_template_);
352 templ->NewInstance(GetIsolate()->GetCurrentContext()).ToLocalChecked();
356 Local<External> map_ptr = External::New(GetIsolate(), obj);
405 String::NewFromUtf8(info.GetIsolate(), value.c_str(),
453 EscapableHandleScope handle_scope(GetIsolate());
458 Local<ObjectTemplate> raw_template = MakeRequestTemplate(GetIsolate());
459 request_template_.Reset(GetIsolate(), raw_template);
462 Local<ObjectTemplate>::New(GetIsolate(), request_template_);
466 templ->NewInstance(GetIsolate()->GetCurrentContext()).ToLocalChecked();
470 Local<External> request_ptr = External::New(GetIsolate(), request);
504 String::NewFromUtf8(info.GetIsolate(), path.c_str(),
516 String::NewFromUtf8(info.GetIsolate(), path.c_str(),
527 String::NewFromUtf8(info.GetIsolate(), path.c_str(),
539 String::NewFromUtf8(info.GetIsolate(), path.c_str(),