Lines Matching defs:context
408 Local<Context> context);
431 // FIXME(bnoordhuis) Not multi-context ready. TBD how to resolve the conflict
442 auto context = env->context();
452 if (args.Length() > 2 && !args[2]->Int32Value(context).To(&flags)) {
459 if (!args[0]->ToObject(context).ToLocal(&module) ||
460 !module->Get(context, env->exports_string()).ToLocal(&exports_v) ||
461 !exports_v->ToObject(context).ToLocal(&exports)) {
501 callback(exports, module, context);
509 exports, module, context, JSVM_Callback, module_api_version);
528 callback(exports, module, context);
554 mp->nm_context_register_func(exports, module, context, mp->nm_priv);
600 Local<Context> context) {
612 Local<Object> obj = ctor->GetFunction(context)
614 ->NewInstance(context)
621 Local<Context> context = realm->context();
623 realm->isolate_data(), mod->nm_modname, context);
628 mod->nm_context_register_func(exports, unused, context, mod->nm_priv);
636 Local<Context> context = realm->context();
650 CHECK(exports->SetPrototype(context, Null(isolate)).FromJust());
653 exports = realm->env()->builtin_loader()->GetSourceObject(context);
657 ->Set(context,
700 module->Set(env->context(), exports_prop, exports).Check();
704 exports, module, env->context(), mod->nm_priv);
713 module->Get(env->context(), exports_prop).ToLocalChecked();