Lines Matching defs:context

144   Local<Context> context = env->context();
151 if (!args[0]->Int32Value(context).To(&pid)) return;
153 if (!args[1]->Int32Value(context).To(&sig)) return;
456 int code = args[0]->Int32Value(env->context()).FromMaybe(0);
465 Local<Context> context = realm->context();
468 object->Set(context, FIXED_ONE_BYTE_STRING(isolate, "hrtimeBuffer"), ab)
477 Local<Context> ctx = env()->context();
538 bool BindingData::PrepareForSerialization(Local<Context> context,
555 void BindingData::Deserialize(Local<Context> context,
560 v8::HandleScope scope(context->GetIsolate());
561 Realm* realm = Realm::GetCurrent(context);
563 BindingData* binding = realm->AddBindingData<BindingData>(context, holder);
569 Local<Context> context,
571 Realm* realm = Realm::GetCurrent(context);
574 realm->AddBindingData<BindingData>(context, target);
580 SetMethod(context, target, "_debugProcess", DebugProcess);
581 SetMethod(context, target, "abort", Abort);
582 SetMethod(context, target, "causeSegfault", CauseSegfault);
583 SetMethod(context, target, "chdir", Chdir);
586 SetMethod(context, target, "umask", Umask);
587 SetMethod(context, target, "memoryUsage", MemoryUsage);
588 SetMethod(context, target, "constrainedMemory", GetConstrainedMemory);
589 SetMethod(context, target, "rss", Rss);
590 SetMethod(context, target, "cpuUsage", CPUUsage);
591 SetMethod(context, target, "resourceUsage", ResourceUsage);
593 SetMethod(context, target, "_debugEnd", DebugEnd);
594 SetMethod(context, target, "_getActiveRequests", GetActiveRequests);
595 SetMethod(context, target, "_getActiveHandles", GetActiveHandles);
596 SetMethod(context, target, "getActiveResourcesInfo", GetActiveResourcesInfo);
597 SetMethod(context, target, "_kill", Kill);
598 SetMethod(context, target, "_rawDebug", RawDebug);
600 SetMethodNoSideEffect(context, target, "cwd", Cwd);
601 SetMethod(context, target, "dlopen", binding::DLOpen);
602 SetMethod(context, target, "reallyExit", ReallyExit);
603 SetMethodNoSideEffect(context, target, "uptime", Uptime);
604 SetMethod(context, target, "patchProcessObject", PatchProcessObject);