• Home
  • Raw
  • Download

Lines Matching refs:sandbox

269   Local<Object> sandbox = args[0].As<Object>();  in MakeContext()  local
273 !sandbox->HasPrivate( in MakeContext()
302 std::make_unique<ContextifyContext>(env, sandbox, options); in MakeContext()
313 sandbox->SetPrivate( in MakeContext()
324 Local<Object> sandbox = args[0].As<Object>(); in IsContext() local
327 sandbox->HasPrivate(env->context(), in IsContext()
342 const Local<Object>& sandbox) { in ContextFromContextifiedSandbox() argument
344 sandbox->GetPrivate(env->context(), in ContextFromContextifiedSandbox()
375 Local<Object> sandbox = ctx->sandbox(); in PropertyGetterCallback() local
377 sandbox->GetRealNamedProperty(context, property); in PropertyGetterCallback()
385 if (rv == sandbox) in PropertyGetterCallback()
412 bool is_declared_on_sandbox = ctx->sandbox() in PropertySetterCallback()
451 USE(ctx->sandbox()->Set(context, property, value)); in PropertySetterCallback()
466 Local<Object> sandbox = ctx->sandbox(); in PropertyDescriptorCallback() local
468 if (sandbox->HasOwnProperty(context, property).FromMaybe(false)) { in PropertyDescriptorCallback()
470 if (sandbox->GetOwnPropertyDescriptor(context, property).ToLocal(&desc)) { in PropertyDescriptorCallback()
504 Local<Object> sandbox = ctx->sandbox(); in PropertyDefinerCallback() local
515 USE(sandbox->DefineProperty(context, property, *desc_for_sandbox)); in PropertyDefinerCallback()
548 Maybe<bool> success = ctx->sandbox()->Delete(ctx->context(), property); in PropertyDeleterCallback()
569 if (!ctx->sandbox()->GetPropertyNames(ctx->context()).ToLocal(&properties)) in PropertyEnumeratorCallback()
643 Maybe<bool> success = ctx->sandbox()->Delete(ctx->context(), index); in IndexedPropertyDeleterCallback()
711 ContextifyContext* sandbox = in New() local
714 CHECK_NOT_NULL(sandbox); in New()
715 parsing_context = sandbox->context(); in New()
893 Local<Object> sandbox = args[0].As<Object>(); in RunInContext() local
896 ContextifyContext::ContextFromContextifiedSandbox(env, sandbox); in RunInContext()
1071 ContextifyContext* sandbox = in CompileFunction() local
1074 CHECK_NOT_NULL(sandbox); in CompileFunction()
1075 parsing_context = sandbox->context(); in CompileFunction()