Searched refs:ctx (Results 76 - 100 of 443) sorted by relevance

1234567891011>>

/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/pipe/
H A DTextRenderer.java52 Object ctx = null;
59 ctx = outpipe.startSequence(sg2d, s, r, bounds);
80 outpipe.needTile(ctx, gx1, gy1, gx2 - gx1, gy2 - gy1))
83 outpipe.renderPathTile(ctx, alpha, off, w,
86 outpipe.skipTile(ctx, gx1, gy1);
90 if (ctx != null) {
91 outpipe.endSequence(ctx);
/openjdk10/jdk/src/demo/share/java2d/J2DBench/src/j2dbench/tests/text/
H A DTextMeasureTests.java132 public void runTest(Object ctx, int numReps) { argument
133 SWContext swctx = (SWContext)ctx;
148 public void runTest(Object ctx, int numReps) { argument
149 SWContext swctx = (SWContext)ctx;
170 public void runTest(Object ctx, int numReps) { argument
171 SWContext swctx = (SWContext)ctx;
186 public void runTest(Object ctx, int numReps) { argument
187 SWContext swctx = (SWContext)ctx;
208 public void runTest(Object ctx, int numReps) { argument
209 Font font = ((TextContext)ctx)
250 runTest(Object ctx, int numReps) argument
265 runTest(Object ctx, int numReps) argument
280 runTest(Object ctx, int numReps) argument
295 runTest(Object ctx, int numReps) argument
310 runTest(Object ctx, int numReps) argument
325 runTest(Object ctx, int numReps) argument
342 runTest(Object ctx, int numReps) argument
360 runTest(Object ctx, int numReps) argument
377 runTest(Object ctx, int numReps) argument
394 runTest(Object ctx, int numReps) argument
411 runTest(Object ctx, int numReps) argument
449 runTest(Object ctx, int numReps) argument
464 runTest(Object ctx, int numReps) argument
479 runTest(Object ctx, int numReps) argument
524 runTest(Object ctx, int numReps) argument
541 runTest(Object ctx, int numReps) argument
559 runTest(Object ctx, int numReps) argument
577 runTest(Object ctx, int numReps) argument
602 runTest(Object ctx, int numReps) argument
627 runTest(Object ctx, int numReps) argument
646 runTest(Object ctx, int numReps) argument
[all...]
/openjdk10/jdk/test/javax/naming/module/src/test/test/
H A DStorePerson.java105 DirContext ctx = new InitialDirContext(env);
113 ctx.bind(dn, person);
118 cleanup(ctx, (String)null);
128 ctx.bind(dn2, person2);
133 cleanup(ctx, dn);
142 Person person3 = (Person) ctx.lookup(dn);
155 cleanup(ctx, dn, dn2);
160 Person person4 = (Person) ctx.lookup(dn2);
173 cleanup(ctx, dn, dn2);
177 cleanup(ctx, d
184 cleanup(DirContext ctx, String... dns) argument
[all...]
H A DStoreFruit.java99 DirContext ctx = new InitialDirContext(env);
106 ctx.bind(dn, fruit);
111 cleanup(ctx, (String)null);
116 ctx.bind(dn2, new Fruit("apple"));
121 cleanup(ctx, dn);
130 Fruit fruit2 = (Fruit) ctx.lookup(dn);
136 cleanup(ctx, dn, dn2);
141 Fruit fruit3 = (Fruit) ctx.lookup(dn2);
147 cleanup(ctx, dn, dn2);
151 cleanup(ctx, d
157 cleanup(DirContext ctx, String... dns) argument
[all...]
H A DStoreRemote.java101 DirContext ctx = new InitialDirContext(env);
106 ctx.bind(dn, hello);
115 cleanup(ctx, (String)null);
124 Hello obj = (Hello) ctx.lookup(dn);
136 cleanup(ctx, dn);
140 cleanup(ctx, dn);
146 private static void cleanup(DirContext ctx, String... dns) argument
151 ctx.destroySubcontext(dn);
158 ctx.close();
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/tree/
H A DMethodExpression.java81 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) { argument
89 ClassDefinition ctxClass = ctx.field.getClassDefinition();
107 insertOuterLink(env, ctx, where, conCls, conOuter, args);
121 staticRef = ctx.field.isStatic();
133 c = ctx.field.getClassDeclaration();
155 int thisN = ctx.getThisNumber();
156 if (!ctx.field.isConstructor()) {
199 vset = right.checkAmbigName(env, ctx, vset, exp, this);
201 vset = right.checkValue(env, ctx, vset, exp);
204 vset = right.checkAmbigName(env, ctx, vse
590 check(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) argument
646 inlineMethod(Environment env, Context ctx, Statement s, boolean valNeeded) argument
678 inline(Environment env, Context ctx) argument
723 inlineValue(Environment env, Context ctx) argument
772 copyInline(Context ctx) argument
778 costInline(int thresh, Environment env, Context ctx) argument
796 makeVarInits(Environment env, Context ctx) argument
851 codeValue(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DNotExpression.java50 void selectType(Environment env, Context ctx, int tm) { argument
51 right = convert(env, ctx, Type.tBoolean, right);
67 public void checkCondition(Environment env, Context ctx, Vset vset, argument
69 right.checkCondition(env, ctx, vset, exp, cvars);
70 right = convert(env, ctx, Type.tBoolean, right);
132 void codeBranch(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) { argument
133 right.codeBranch(env, ctx, asm, lbl, !whenTrue);
140 public void codeValue(Environment env, Context ctx, Assembler asm) { argument
141 right.codeValue(env, ctx, asm);
H A DCaseStatement.java52 Vset check(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) { argument
54 expr.checkValue(env, ctx, vset, exp);
55 expr = convert(env, ctx, Type.tInt, expr);
56 expr = expr.inlineValue(env, ctx);
64 public int costInline(int thresh, Environment env, Context ctx) { argument
H A DNewInstanceExpression.java86 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) { argument
94 vset = outerArg.checkValue(env, ctx, vset, exp);
126 env.resolve(right.where, ctx.field.getClassDefinition(),
134 right = new TypeExpression(right.where, right.toType(env, ctx));
142 env.error(where, "class.not.found", ee.name, ctx.field);
167 insertOuterLink(env, ctx, where, def, outerArg, args);
180 vset = args[i].checkValue(env, ctx, vset, exp);
195 ClassDefinition sourceClass = ctx.field.getClassDefinition();
234 vset = body.checkLocalClass(env, ctx, vset,
279 implMethod = cdef.getAccessMember(env, ctx, fiel
346 insertOuterLink(Environment env, Context ctx, long where, ClassDefinition def, Expression outerArg, Expression args[]) argument
369 check(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) argument
378 copyInline(Context ctx) argument
386 inlineNewInstance(Environment env, Context ctx, Statement s) argument
412 inline(Environment env, Context ctx) argument
415 inlineValue(Environment env, Context ctx) argument
459 costInline(int thresh, Environment env, Context ctx) argument
484 code(Environment env, Context ctx, Assembler asm) argument
487 codeValue(Environment env, Context ctx, Assembler asm) argument
491 codeCommon(Environment env, Context ctx, Assembler asm, boolean forValue) argument
[all...]
H A DBinaryCompareExpression.java47 void selectType(Environment env, Context ctx, int tm) { argument
56 left = convert(env, ctx, t, left);
57 right = convert(env, ctx, t, right);
H A DBinaryArithmeticExpression.java47 void selectType(Environment env, Context ctx, int tm) { argument
57 left = convert(env, ctx, type, left);
58 right = convert(env, ctx, type, right);
H A DNaryExpression.java51 public Expression copyInline(Context ctx) { argument
54 e.right = right.copyInline(ctx);
59 e.args[i] = args[i].copyInline(ctx);
68 public int costInline(int thresh, Environment env, Context ctx) { argument
71 cost += right.costInline(thresh, env, ctx);
74 cost += args[i].costInline(thresh, env, ctx);
H A DGreaterOrEqualExpression.java75 void codeBranch(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) { argument
76 left.codeValue(env, ctx, asm);
80 right.codeValue(env, ctx, asm);
86 right.codeValue(env, ctx, asm);
90 right.codeValue(env, ctx, asm);
94 right.codeValue(env, ctx, asm);
H A DGreaterExpression.java75 void codeBranch(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) { argument
76 left.codeValue(env, ctx, asm);
80 right.codeValue(env, ctx, asm);
86 right.codeValue(env, ctx, asm);
90 right.codeValue(env, ctx, asm);
94 right.codeValue(env, ctx, asm);
H A DLessOrEqualExpression.java75 void codeBranch(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) { argument
76 left.codeValue(env, ctx, asm);
80 right.codeValue(env, ctx, asm);
86 right.codeValue(env, ctx, asm);
90 right.codeValue(env, ctx, asm);
94 right.codeValue(env, ctx, asm);
H A DLessExpression.java75 void codeBranch(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) { argument
76 left.codeValue(env, ctx, asm);
80 right.codeValue(env, ctx, asm);
86 right.codeValue(env, ctx, asm);
90 right.codeValue(env, ctx, asm);
94 right.codeValue(env, ctx, asm);
H A DExpression.java143 Type toType(Environment env, Context ctx) { argument
154 Type toQualifiedType(Environment env, Context ctx) {
168 public boolean fitsType(Environment env, Context ctx, Type t) { argument
173 if (this.type.isType(TC_INT) && this.isConstant() && ctx != null) {
175 Expression n = this.inlineValue(env, ctx);
177 return n.fitsType(env, ctx, t);
195 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) { argument
198 public Vset checkInitializer(Environment env, Context ctx, Vset vset, Type t, Hashtable<Object, Object> exp) { argument
199 return checkValue(env, ctx, vset, exp);
201 public Vset check(Environment env, Context ctx, Vse argument
205 checkLHS(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) argument
226 getAssigner(Environment env, Context ctx) argument
241 getUpdater(Environment env, Context ctx) argument
245 checkAssignOp(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, Expression outside) argument
269 checkAmbigName(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, UnaryExpression loc) argument
279 checkCondition(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) argument
297 checkCondition(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, ConditionVars cvars) argument
348 inline(Environment env, Context ctx) argument
351 inlineValue(Environment env, Context ctx) argument
369 inlineValueSB(Environment env, Context ctx, StringBuffer buffer) argument
405 inlineLHS(Environment env, Context ctx) argument
414 costInline(int thresh, Environment env, Context ctx) argument
421 codeBranch(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) argument
429 codeValue(Environment env, Context ctx, Assembler asm) argument
444 code(Environment env, Context ctx, Assembler asm) argument
461 codeLValue(Environment env, Context ctx, Assembler asm) argument
465 codeLoad(Environment env, Context ctx, Assembler asm) argument
469 codeStore(Environment env, Context ctx, Assembler asm) argument
477 ensureString(Environment env, Context ctx, Assembler asm) argument
534 codeAppend(Environment env, Context ctx, Assembler asm, ClassDeclaration sbClass, boolean needBuffer) argument
579 codeDup(Environment env, Context ctx, Assembler asm, int items, int depth) argument
616 codeConversion(Environment env, Context ctx, Assembler asm, Type f, Type t) argument
765 copyInline(Context ctx) argument
[all...]
H A DPositiveExpression.java48 void selectType(Environment env, Context ctx, int tm) { argument
58 right = convert(env, ctx, type, right);
H A DCodeContext.java43 CodeContext(Context ctx, Node node) { argument
44 super(ctx, node);
/openjdk10/jdk/src/java.naming/share/classes/com/sun/jndi/toolkit/ctx/
H A DPartialCompositeContext.java26 package com.sun.jndi.toolkit.ctx;
139 PartialCompositeContext ctx = this;
146 answer = ctx.p_resolveToClass(nm, contextType, cont);
149 ctx = getPCContext(cont);
150 answer = ctx.p_resolveToClass(nm, contextType, cont);
170 PartialCompositeContext ctx = this;
177 answer = ctx.p_lookup(nm, cont);
180 ctx = getPCContext(cont);
181 answer = ctx.p_lookup(nm, cont);
195 PartialCompositeContext ctx
[all...]
H A DPartialCompositeDirContext.java26 package com.sun.jndi.toolkit.ctx;
134 PartialCompositeDirContext ctx = this;
141 answer = ctx.p_getAttributes(nm, attrIds, cont);
144 ctx = getPCDirContext(cont);
145 answer = ctx.p_getAttributes(nm, attrIds, cont);
161 PartialCompositeDirContext ctx = this;
167 ctx.p_modifyAttributes(nm, mod_op, attrs, cont);
170 ctx = getPCDirContext(cont);
171 ctx.p_modifyAttributes(nm, mod_op, attrs, cont);
186 PartialCompositeDirContext ctx
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/nimbus/
H A DAbstractRegionPainter.java53 private PaintContext ctx; field in class:AbstractRegionPainter
149 ctx = getPaintContext();
150 PaintContext.CacheMode cacheMode = ctx == null ? PaintContext.CacheMode.NO_CACHING : ctx.cacheMode;
160 paintWith9SquareCaching(g, ctx, c, w, h, extendedCacheKeys);
598 if (ctx == null || ctx.canvasSize == null) {
611 if (ctx.inverted) {
612 centerWidth = (ctx.b - ctx
637 paintWith9SquareCaching(Graphics2D g, PaintContext ctx, JComponent c, int w, int h, Object[] extendedCacheKeys) argument
[all...]
/openjdk10/jdk/test/javax/naming/InitialContext/
H A DAppletIsNotUsed.java53 Context ctx = new InitialContext(env);
56 ctx.lookup("whatever");
67 ctx.close();
/openjdk10/corba/src/java.corba/share/classes/org/omg/CORBA/
H A DRequest.java155 public abstract Context ctx(); method in class:Request
164 public abstract void ctx(Context c); method in class:Request
/openjdk10/jdk/src/demo/share/java2d/J2DBench/src/j2dbench/tests/cmm/
H A DDataConversionTests.java112 public void runTest(Object ctx, int numReps) { argument
113 final Context ictx = (Context) ctx;
135 public void runTest(Object ctx, int numReps) { argument
136 final Context ictx = (Context) ctx;
158 public void runTest(Object ctx, int numReps) { argument
159 final Context ictx = (Context) ctx;
182 public void runTest(Object ctx, int numReps) { argument
183 final Context ictx = (Context) ctx;

Completed in 149 milliseconds

1234567891011>>