Lines Matching defs:context

67 Local<Object> BuiltinLoader::GetSourceObject(Local<Context> context) {
68 Isolate* isolate = context->GetIsolate();
73 out->Set(context, key, x.second.ToStringChecked(isolate)).FromJust();
122 "internal/tls/parse-cert-string", "internal/tls/secure-context",
259 Local<Context> context,
263 Isolate* isolate = context->GetIsolate();
303 ScriptCompiler::CompileFunction(context,
358 MaybeLocal<Function> BuiltinLoader::LookupAndCompile(Local<Context> context,
363 Isolate* isolate = context->GetIsolate();
413 LookupAndCompileInternal(context, id, &parameters, &result);
421 MaybeLocal<Value> BuiltinLoader::CompileAndCall(Local<Context> context,
424 Isolate* isolate = context->GetIsolate();
435 ->GetFunction(context)
438 ->GetFunction(context)
471 return CompileAndCall(context, id, arguments.size(), arguments.data(), realm);
474 MaybeLocal<Value> BuiltinLoader::CompileAndCall(Local<Context> context,
481 MaybeLocal<Function> maybe_fn = LookupAndCompile(context, id, optional_realm);
486 Local<Value> undefined = Undefined(context->GetIsolate());
487 return fn->Call(context, undefined, argc, argv);
490 bool BuiltinLoader::CompileAllBuiltins(Local<Context> context) {
498 v8::TryCatch bootstrapCatch(context->GetIsolate());
499 USE(LookupAndCompile(context, id.c_str(), nullptr));
505 PrintCaughtException(context->GetIsolate(), context, bootstrapCatch);
537 Local<Context> context = env->context();
551 if (!ToV8Value(context, builtin_categories.cannot_be_required)
555 ->Set(context,
560 if (!ToV8Value(context, builtin_categories.can_be_required)
564 ->Set(context,
576 Local<Context> context = realm->context();
582 if (!ToV8Value(context, realm->builtins_with_cache)
587 ->Set(context,
594 if (!ToV8Value(context, realm->builtins_without_cache)
599 ->Set(context,
606 if (!ToV8Value(context, realm->builtins_in_snapshot)
611 ->Set(context,
654 realm->context(), id, realm);
721 Local<Context> context,
724 target->SetIntegrityLevel(context, IntegrityLevel::kFrozen).FromJust();