Lines Matching defs:args
434 void DLOpen(const FunctionCallbackInfo<Value>& args) {
435 Environment* env = Environment::GetCurrent(args);
446 if (args.Length() < 2) {
452 if (args.Length() > 2 && !args[2]->Int32Value(context).To(&flags)) {
459 if (!args[0]->ToObject(context).ToLocal(&module) ||
465 node::Utf8Value filename(env->isolate(), args[1]); // Cast
632 void GetInternalBinding(const FunctionCallbackInfo<Value>& args) {
633 Realm* realm = Realm::GetCurrent(args);
638 CHECK(args[0]->IsString());
640 Local<String> module = args[0].As<String>();
665 args.GetReturnValue().Set(exports);
668 void GetLinkedBinding(const FunctionCallbackInfo<Value>& args) {
669 Environment* env = Environment::GetCurrent(args);
671 CHECK(args[0]->IsString());
673 Local<String> module_name = args[0].As<String>();
715 args.GetReturnValue().Set(effective_exports);