Lines Matching refs:isolate
16 v8::Isolate* isolate; member
35 v8::Isolate* isolate = req->isolate; in AfterAsync() local
36 v8::HandleScope scope(isolate); in AfterAsync()
39 v8::Null(isolate), in AfterAsync()
40 v8::Integer::New(isolate, req->output) in AfterAsync()
43 v8::TryCatch try_catch(isolate); in AfterAsync()
45 v8::Local<v8::Object> global = isolate->GetCurrentContext()->Global(); in AfterAsync()
47 v8::Local<v8::Function>::New(isolate, req->callback); in AfterAsync()
51 node::MakeCallback(isolate, global, callback, 2, argv, req->context) in AfterAsync()
56 callback->Call(isolate->GetCurrentContext(), in AfterAsync()
61 v8::SealHandleScope seal_handle_scope(isolate); in AfterAsync()
63 node::EmitAsyncDestroy(isolate, req->context); in AfterAsync()
67 node::FatalException(isolate, try_catch); in AfterAsync()
73 v8::Isolate* isolate = args.GetIsolate(); in Method() local
80 req->isolate = isolate; in Method()
81 req->context = node::EmitAsyncInit(isolate, v8::Object::New(isolate), "test"); in Method()
84 req->callback.Reset(isolate, callback); in Method()
86 uv_queue_work(node::GetCurrentEventLoop(isolate), in Method()