Lines Matching defs:target
326 void ContextifyContext::Init(Environment* env, Local<Object> target) {
328 SetMethod(context, target, "makeContext", MakeContext);
329 SetMethod(context, target, "isContext", IsContext);
330 SetMethod(context, target, "compileFunction", CompileFunction);
741 void ContextifyScript::Init(Environment* env, Local<Object> target) {
756 target->Set(context, class_name,
915 Local<Object> target,
921 if (!target->GetCreationContext().ToLocal(&context)) {
925 if (target
941 if (target->Set(context, env->cached_data_string(), buf.ToLocalChecked())
946 if (target
1364 void MicrotaskQueueWrap::Init(Environment* env, Local<Object> target) {
1372 SetConstructorFunction(context, target, "MicrotaskQueue", tmpl);
1380 void Initialize(Local<Object> target,
1386 ContextifyContext::Init(env, target);
1387 ContextifyScript::Init(env, target);
1388 MicrotaskQueueWrap::Init(env, target);
1390 SetMethod(context, target, "startSigintWatchdog", StartSigintWatchdog);
1391 SetMethod(context, target, "stopSigintWatchdog", StopSigintWatchdog);
1394 context, target, "watchdogHasPendingSigint", WatchdogHasPendingSigint);
1419 target->Set(context, env->constants_string(), constants).Check();
1421 SetMethod(context, target, "measureMemory", MeasureMemory);