Lines Matching refs:isolate
24 CustomAsyncResource(Isolate* isolate, Local<Object> resource) in CustomAsyncResource() argument
25 : AsyncResource(isolate, resource, "CustomAsyncResource") {} in CustomAsyncResource()
32 Isolate* isolate = args.GetIsolate(); in CreateAsyncResource() local
36 r = new AsyncResource(isolate, args[0].As<Object>(), "foobär", in CreateAsyncResource()
39 r = new AsyncResource(isolate, args[0].As<Object>(), "foobär"); in CreateAsyncResource()
43 External::New(isolate, static_cast<void*>(r))); in CreateAsyncResource()
53 Isolate* isolate = args.GetIsolate(); in CallViaFunction() local
58 String::NewFromUtf8(isolate, "methöd").ToLocalChecked(); in CallViaFunction()
60 r->get_resource()->Get(isolate->GetCurrentContext(), name) in CallViaFunction()
64 Local<Value> arg = Integer::New(isolate, 42); in CallViaFunction()
70 Isolate* isolate = args.GetIsolate(); in CallViaString() local
75 String::NewFromUtf8(isolate, "methöd").ToLocalChecked(); in CallViaString()
77 Local<Value> arg = Integer::New(isolate, 42); in CallViaString()
83 Isolate* isolate = args.GetIsolate(); in CallViaUtf8Name() local
87 Local<Value> arg = Integer::New(isolate, 42); in CallViaUtf8Name()
111 Isolate* isolate = args.GetIsolate(); in RunSubclassTest() local
112 Local<Object> obj = Object::New(isolate); in RunSubclassTest()
115 CustomAsyncResource* resource = new CustomAsyncResource(isolate, obj); in RunSubclassTest()