Lines Matching defs:isolate
9 v8::Isolate* isolate;
24 v8::Isolate* isolate = req->isolate;
25 v8::HandleScope scope(isolate);
28 v8::Null(isolate),
29 v8::Integer::New(isolate, req->output)
32 v8::TryCatch try_catch(isolate);
34 v8::Local<v8::Object> global = isolate->GetCurrentContext()->Global();
36 v8::Local<v8::Function>::New(isolate, req->callback);
40 node::MakeCallback(isolate, global, callback, 2, argv, req->context)
45 callback->Call(isolate->GetCurrentContext(),
50 v8::SealHandleScope seal_handle_scope(isolate);
52 node::EmitAsyncDestroy(isolate, req->context);
56 node::FatalException(isolate, try_catch);
62 v8::Isolate* isolate = args.GetIsolate();
69 req->isolate = isolate;
70 req->context = node::EmitAsyncInit(isolate, v8::Object::New(isolate), "test");
73 req->callback.Reset(isolate, callback);
75 uv_queue_work(node::GetCurrentEventLoop(isolate),