Searched refs:Context (Results 326 - 350 of 696) sorted by relevance

<<11121314151617181920>>

/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/packageanno/
H A DPackageProcessor.java37 import com.sun.tools.javac.util.Context;
68 Context ctx = ((JavacProcessingEnvironment)processingEnv).getContext();
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DDependencies.java63 protected static final Context.Key<Dependencies> dependenciesKey = new Context.Key<>();
65 public static Dependencies instance(Context context) {
74 protected Dependencies(Context context) {
116 * Register a Context.Factory to create a Dependencies.
118 public static void preRegister(Context context) {
119 context.put(dependenciesKey, (Context.Factory<Dependencies>) GraphDependencies::new);
125 GraphDependencies(Context context) {
426 private DummyDependencies(Context context) {
H A DLog.java60 public static final Context.Key<Log> logKey = new Context.Key<>();
63 public static final Context.Key<PrintWriter> outKey = new Context.Key<>();
66 public static final Context.Key<PrintWriter> errKey = new Context.Key<>();
231 public static Log instance(Context context) {
239 * Register a Context.Factory to create a Log.
241 public static void preRegister(Context context, PrintWriter w) {
242 context.put(Log.class, (Context
[all...]
/openjdk10/langtools/test/tools/javac/processing/environment/round/
H A DTestContext.java48 import com.sun.tools.javac.util.Context;
66 Context c = jpe.getContext();
/openjdk10/langtools/test/tools/javac/scope/
H A DRemoveSymbolUnitTest.java41 Context context;
50 context = new Context();
/openjdk10/langtools/test/tools/javac/tree/
H A DMakeQualIdent.java45 import com.sun.tools.javac.util.Context;
52 Context ctx = ((JavacTaskImpl)task).getContext();
/openjdk10/nashorn/test/script/currently-failing/
H A Dclone_ir.js36 var Context = Java.type("jdk.nashorn.internal.runtime.Context"); variable
40 var ThrowErrorManager = Java.type("jdk.nashorn.internal.runtime.Context$ThrowErrorManager");
70 var parser = new Parser(Context.getContext().getEnv(), src, new ThrowErrorManager());
/openjdk10/nashorn/test/script/nosecurity/
H A DJDK-8067215.js38 var Context = Java.type("jdk.nashorn.internal.runtime.Context"); variable
45 var contextCls = Context.class;
/openjdk10/jdk/src/java.naming/share/classes/com/sun/naming/internal/
H A DVersionHelper.java57 javax.naming.Context.INITIAL_CONTEXT_FACTORY,
58 javax.naming.Context.OBJECT_FACTORIES,
59 javax.naming.Context.URL_PKG_PREFIXES,
60 javax.naming.Context.STATE_FACTORIES,
61 javax.naming.Context.PROVIDER_URL,
62 javax.naming.Context.DNS_URL,
102 * This internal method is used with Thread Context Class Loader (TCCL),
236 * This internal method returns Thread Context Class Loader (TCCL),
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/tree/
H A DFieldExpression.java109 Type toQualifiedType(Environment env, Context ctx) {
191 Type toType(Environment env, Context ctx) {
204 Type toType(Environment env, Context ctx) {
221 public Vset checkAmbigName(Environment env, Context ctx,
234 public Vset checkValue(Environment env, Context ctx,
294 implementFieldAccess(Environment env, Context ctx, Expression base, boolean isLHS) {
349 private ClassDefinition accessBase(Environment env, Context ctx) {
418 private Vset checkCommon(Environment env, Context ctx,
798 public FieldUpdater getAssigner(Environment env, Context ctx) {
829 public FieldUpdater getUpdater(Environment env, Context ct
[all...]
H A DIncDecExpression.java52 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) {
69 public Vset check(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) {
76 public Expression inline(Environment env, Context ctx) {
79 public Expression inlineValue(Environment env, Context ctx) {
88 public int costInline(int thresh, Environment env, Context ctx) {
150 void codeIncDec(Environment env, Context ctx, Assembler asm, boolean inc, boolean prefix, boolean valNeeded) {
H A DSwitchStatement.java57 Vset check(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) {
146 public Statement inline(Environment env, Context ctx) {
147 ctx = new Context(ctx, this);
160 public Statement copyInline(Context ctx, boolean valNeeded) {
175 public int costInline(int thresh, Environment env, Context ctx) {
188 public void code(Environment env, Context ctx, Assembler asm) {
H A DSynchronizedStatement.java59 Vset check(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) {
75 public Statement inline(Environment env, Context ctx) {
86 public Statement copyInline(Context ctx, boolean valNeeded) {
98 public int costInline(int thresh, Environment env, Context ctx){
113 public void code(Environment env, Context ctx, Assembler asm) {
116 ctx = new Context(ctx);
H A DTryStatement.java60 Vset check(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) {
191 public Statement inline(Environment env, Context ctx) {
193 body = body.inline(env, new Context(ctx, this));
200 args[i] = args[i].inline(env, new Context(ctx, this));
209 public Statement copyInline(Context ctx, boolean valNeeded) {
226 public int costInline(int thresh, Environment env, Context ctx){
271 public void code(Environment env, Context ctx, Assembler asm) {
/openjdk10/jdk/test/sun/security/krb5/auto/
H A DSSLwithPerms.java134 Context c;
135 c = Context.fromUserPass(USER, PASS, false);
138 final Context s = Context.fromJAAS("ssl");
144 public byte[] run(Context s, byte[] input) throws Exception {
189 public byte[] run(Context s, byte[] input) throws Exception {
H A DSSL.java150 Context c;
151 final Context s = Context.fromJAAS("ssl");
176 c = Context.fromUserPass(OneKDC.USER, OneKDC.PASS, false);
187 c = Context.fromUserPass(OneKDC.USER, OneKDC.PASS, false);
212 public byte[] run(Context s, byte[] input) throws Exception {
260 public byte[] run(Context s, byte[] input) throws Exception {
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/api/
H A DJavacTool.java51 import com.sun.tools.javac.util.Context;
99 Context context = new Context();
118 Context context = new Context();
131 Context context)
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/api/
H A DJavadocTool.java51 import com.sun.tools.javac.util.Context;
78 Context context = new Context();
90 Context context) {
140 Context context = new Context();
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/dependencies/
H A DNewDependencyCollector.java48 import com.sun.tools.javac.util.Context;
61 private final Context context;
67 public NewDependencyCollector(Context context,
87 private Set<CompletionNode> getDependencyNodes(Context context,
100 private void collectPubApisOfDependencies(Context context,
125 private Map<String, Map<String, Set<String>>> getDependencies(Context context,
/openjdk10/langtools/test/tools/javac/processing/model/completionfailure/
H A DNoAbortForBadClassFile.java58 import com.sun.tools.javac.util.Context;
59 import com.sun.tools.javac.util.Context.Factory;
184 Context context = new Context();
226 public static void preRegister(Context ctx) {
232 public TestClassReader(Context context) {
/openjdk10/langtools/test/tools/javac/lambda/typeInference/combo/
H A DTypeInferenceComboTest.java51 enum Context { enum in class:TypeInferenceComboTest
65 Context(String context) { method in class:TypeInferenceComboTest.Context
74 if(this == Context.METHOD_CALL) {
232 .withDimension("CTX", (x, ctx) -> x.context = ctx, Context.values())
245 Context context;
268 return context == Context.METHOD_CALL || genericDeclKind.ordinal() == 0;
/openjdk10/nashorn/test/src/jdk/nashorn/internal/codegen/test/
H A DCompilerTest.java34 import jdk.nashorn.internal.runtime.Context;
63 private Context context;
85 this.context = new Context(options, errors, pw, pw, Thread.currentThread().getContextClassLoader());
161 final Global oldGlobal = Context.getGlobal();
182 Context.setGlobal(global);
200 Context.setGlobal(oldGlobal);
/openjdk10/jdk/src/demo/share/java2d/J2DBench/src/j2dbench/tests/
H A DGraphicsTests.java231 public static class Context { class in class:GraphicsTests
249 Context ctx = createContext();
256 public int pixelsTouched(Context ctx) {
260 public Context createContext() {
261 return new Context();
268 public void initContext(TestEnvironment env, Context ctx) {
332 Graphics graphics = ((Context) ctx).graphics;
334 ((Context) ctx).graphics = null;
340 public abstract void init(Graphics2D g2d, Context ctx, Dimension dim);
402 public void init(Graphics2D g2d, Context ct
[all...]
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/javac/
H A DSourceMember.java397 * {@code Vset check(Environment, Context, Vset)}.
433 public Vset check(Environment env, Context ctx, Vset vset) throws ClassNotFound {
519 ctx = new Context(ctx, this);
679 if (reqc != null && !Context.outerLinkExists(env, reqc, thisc)) {
709 Context ctx = new Context((Context)null, this);
728 Context ctx = new Context((Context)nul
[all...]
/openjdk10/langtools/test/tools/javac/desugar/
H A DBoxingAndSuper.java71 import com.sun.tools.javac.util.Context;
247 Context context = new Context();
265 public static void preRegister(Context context) {
266 context.put(lowerKey, new Context.Factory<Lower>() {
267 public Lower make(Context c) {
277 public TestLower(Context context) {

Completed in 120 milliseconds

<<11121314151617181920>>