Searched refs:ctx (Results 1 - 25 of 443) sorted by relevance

1234567891011>>

/openjdk10/jdk/make/src/classes/build/tools/jdwpgen/
H A DContext.java53 Context ctx;
55 ctx = new Context(level, level);
57 ctx = new Context(whereJava + "." + level, whereC + "_" + level);
59 ctx.state = state;
60 ctx.inEvent = inEvent;
61 return ctx;
65 Context ctx = new Context(whereJava, whereC);
66 ctx.state = state;
67 ctx.inEvent = inEvent;
68 return ctx;
[all...]
H A DAbstractSimpleTypeNode.java32 void constrain(Context ctx) { argument
33 context = ctx;
34 nameNode.constrain(ctx);
H A DEventNode.java33 void constrain(Context ctx) { argument
34 super.constrain(ctx.inEventSubcontext());
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/
H A DReentrantContextProviderCLQ.java64 K ctx = null;
67 while ((ctx == null) && ((ref = ctxQueue.poll()) != null)) {
68 ctx = ref.get();
70 if (ctx == null) {
72 ctx = newContext();
73 ctx.usage = USAGE_CLQ;
75 return ctx;
81 * @param ctx ReentrantContext instance
84 public final void release(final K ctx) { argument
85 if (ctx
[all...]
H A DReentrantContextProviderTL.java89 K ctx = null;
92 ctx = ref.get();
94 if (ctx == null) {
96 ctx = newContext();
98 ctxTL.set(getOrCreateReference(ctx));
101 if (ctx.usage == USAGE_TL_INACTIVE) {
102 ctx.usage = USAGE_TL_IN_USE;
105 ctx = ctxProviderCLQ.acquire();
107 return ctx;
113 * @param ctx ReentrantContex
116 release(final K ctx) argument
[all...]
H A DReentrantContextProvider.java37 * instance that must later be returned for reuse by a call to release(ctx)
70 * ReentrantContextImpl ctx = contextProvider.acquire();
74 * contextProvider.release(ctx);
129 * @param ctx ReentrantContext instance
131 public abstract void release(K ctx); argument
134 protected final Reference<K> getOrCreateReference(final K ctx) { argument
135 if (ctx.reference == null) {
139 ctx.reference = new HardReference<K>(ctx);
142 ctx
[all...]
/openjdk10/jdk/test/javax/naming/InitialContext/
H A DEnvClone.java48 EnvClone ctx = new EnvClone(env);
50 if (env == ctx.myProps) {
55 ctx = new EnvClone(true);
56 ctx.init(env);
58 if (env != ctx.myProps) {
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/tree/
H A DCommaExpression.java49 public Vset check(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) { argument
50 vset = left.check(env, ctx, vset, exp);
51 vset = right.check(env, ctx, vset, exp);
58 void selectType(Environment env, Context ctx, int tm) { argument
78 public Expression inline(Environment env, Context ctx) { argument
80 left = left.inline(env, ctx);
83 right = right.inline(env, ctx);
87 public Expression inlineValue(Environment env, Context ctx) { argument
89 left = left.inline(env, ctx);
92 right = right.inlineValue(env, ctx);
100 codeLValue(Environment env, Context ctx, Assembler asm) argument
115 codeLoad(Environment env, Context ctx, Assembler asm) argument
126 codeStore(Environment env, Context ctx, Assembler asm) argument
136 codeValue(Environment env, Context ctx, Assembler asm) argument
142 code(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DAssignExpression.java53 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) { argument
57 vset = right.checkValue(env, ctx, vset, exp);
58 vset = left.checkLHS(env, ctx, vset, exp);
61 vset = left.checkLHS(env, ctx, vset, exp);
62 vset = right.checkValue(env, ctx, vset, exp);
65 right = convert(env, ctx, type, right);
68 updater = left.getAssigner(env, ctx);
76 public Expression inlineValue(Environment env, Context ctx) { argument
78 return implementation.inlineValue(env, ctx);
81 left = left.inlineLHS(env, ctx);
92 copyInline(Context ctx) argument
107 costInline(int thresh, Environment env, Context ctx) argument
125 codeValue(Environment env, Context ctx, Assembler asm) argument
142 code(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DInlineReturnStatement.java53 Context getDestination(Context ctx) { argument
54 for (; ctx != null ; ctx = ctx.prev) {
55 if ((ctx.node != null) && ((ctx.node.op == INLINEMETHOD) || (ctx.node.op == INLINENEWINSTANCE))) {
56 return ctx;
65 public Statement inline(Environment env, Context ctx) { argument
67 expr = expr.inlineValue(env, ctx);
75 copyInline(Context ctx, boolean valNeeded) argument
86 costInline(int thresh, Environment env, Context ctx) argument
93 code(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DPostIncExpression.java48 public void codeValue(Environment env, Context ctx, Assembler asm) { argument
49 codeIncDec(env, ctx, asm, true, false, true);
51 public void code(Environment env, Context ctx, Assembler asm) { argument
52 codeIncDec(env, ctx, asm, true, false, false);
H A DPostDecExpression.java48 public void codeValue(Environment env, Context ctx, Assembler asm) { argument
49 codeIncDec(env, ctx, asm, false, false, true);
51 public void code(Environment env, Context ctx, Assembler asm) { argument
52 codeIncDec(env, ctx, asm, false, false, false);
H A DPreIncExpression.java48 public void codeValue(Environment env, Context ctx, Assembler asm) { argument
49 codeIncDec(env, ctx, asm, true, true, true);
51 public void code(Environment env, Context ctx, Assembler asm) { argument
52 codeIncDec(env, ctx, asm, true, true, false);
H A DPreDecExpression.java48 public void codeValue(Environment env, Context ctx, Assembler asm) { argument
49 codeIncDec(env, ctx, asm, false, true, true);
51 public void code(Environment env, Context ctx, Assembler asm) { argument
52 codeIncDec(env, ctx, asm, false, true, false);
H A DBinaryAssignExpression.java70 public Vset check(Environment env, Context ctx, Vset vset, Hashtable<Object,Object> exp) { argument
71 return checkValue(env, ctx, vset, exp);
77 public Expression inline(Environment env, Context ctx) { argument
79 return implementation.inline(env, ctx);
80 return inlineValue(env, ctx);
82 public Expression inlineValue(Environment env, Context ctx) { argument
84 return implementation.inlineValue(env, ctx);
85 left = left.inlineLHS(env, ctx);
86 right = right.inlineValue(env, ctx);
90 public Expression copyInline(Context ctx) { argument
96 costInline(int thresh, Environment env, Context ctx) argument
[all...]
H A DExpressionStatement.java53 Vset check(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) { argument
54 checkLabel(env, ctx);
55 return expr.check(env, ctx, reach(env, vset), exp);
61 public Statement inline(Environment env, Context ctx) { argument
63 expr = expr.inline(env, ctx);
72 public Statement copyInline(Context ctx, boolean valNeeded) { argument
74 s.expr = expr.copyInline(ctx);
81 public int costInline(int thresh, Environment env, Context ctx) { argument
82 return expr.costInline(thresh, env, ctx);
88 public void code(Environment env, Context ctx, Assemble argument
[all...]
H A DBinaryBitExpression.java49 void selectType(Environment env, Context ctx, int tm) { argument
57 left = convert(env, ctx, type, left);
58 right = convert(env, ctx, type, right);
64 public void codeValue(Environment env, Context ctx, Assembler asm) { argument
65 left.codeValue(env, ctx, asm);
66 right.codeValue(env, ctx, asm);
67 codeOperation(env, ctx, asm);
H A DConditionalExpression.java67 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) { argument
68 ConditionVars cvars = cond.checkCondition(env, ctx, vset, exp);
69 vset = left.checkValue(env, ctx, cvars.vsTrue, exp).join(
70 right.checkValue(env, ctx, cvars.vsFalse, exp) );
71 cond = convert(env, ctx, Type.tBoolean, cond);
95 } else if (((tm & TM_CHAR) != 0) && left.fitsType(env, ctx, Type.tChar) && right.fitsType(env, ctx, Type.tChar)) {
97 } else if (((tm & TM_SHORT) != 0) && left.fitsType(env, ctx, Type.tShort) && right.fitsType(env, ctx, Type.tShort)) {
99 } else if (((tm & TM_BYTE) != 0) && left.fitsType(env, ctx, Typ
110 check(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) argument
139 inline(Environment env, Context ctx) argument
154 inlineValue(Environment env, Context ctx) argument
164 costInline(int thresh, Environment env, Context ctx) argument
178 copyInline(Context ctx) argument
193 codeValue(Environment env, Context ctx, Assembler asm) argument
204 code(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DAssignOpExpression.java57 final void selectType(Environment env, Context ctx, int tm) { argument
125 right = convert(env, ctx, rtype, right);
152 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) { argument
153 vset = left.checkAssignOp(env, ctx, vset, exp, this);
154 vset = right.checkValue(env, ctx, vset, exp);
159 selectType(env, ctx, tm);
161 convert(env, ctx, itype, left);
163 updater = left.getUpdater(env, ctx); // Must be called after 'checkAssignOp'.
170 public Expression inlineValue(Environment env, Context ctx) { argument
172 left = left.inlineValue(env, ctx);
183 copyInline(Context ctx) argument
196 costInline(int thresh, Environment env, Context ctx) argument
225 code(Environment env, Context ctx, Assembler asm, boolean valNeeded) argument
265 codeValue(Environment env, Context ctx, Assembler asm) argument
268 code(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DDoStatement.java56 Vset check(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) { argument
57 checkLabel(env,ctx);
58 CheckContext newctx = new CheckContext(ctx, this);
69 ctx.checkBackBranch(env, this, vsEntry, cvars.vsTrue);
72 return ctx.removeAdditionalVars(vset);
78 public Statement inline(Environment env, Context ctx) { argument
79 ctx = new Context(ctx, this);
81 body = body.inline(env, ctx);
83 cond = cond.inlineValue(env, ctx);
90 copyInline(Context ctx, boolean valNeeded) argument
102 costInline(int thresh, Environment env, Context ctx) argument
110 code(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DAddExpression.java48 void selectType(Environment env, Context ctx, int tm) { argument
56 super.selectType(env, ctx, tm);
89 public Expression inlineValue(Environment env, Context ctx) { argument
91 StringBuffer buffer = inlineValueSB(env, ctx, new StringBuffer());
99 return super.inlineValue(env, ctx);
148 Context ctx,
153 return super.inlineValueSB(env, ctx, buffer);
156 buffer = left.inlineValueSB(env, ctx, buffer);
158 buffer = right.inlineValueSB(env, ctx, buffer);
188 public int costInline(int thresh, Environment env, Context ctx) { argument
147 inlineValueSB(Environment env, Context ctx, StringBuffer buffer) argument
197 codeOperation(Environment env, Context ctx, Assembler asm) argument
207 codeAppend(Environment env, Context ctx, Assembler asm, ClassDeclaration sbClass, boolean needBuffer) argument
218 codeValue(Environment env, Context ctx, Assembler asm) argument
[all...]
/openjdk10/jdk/src/java.naming/share/classes/javax/naming/spi/
H A DContinuationContext.java66 Context ctx = getTargetContext();
67 return ctx.lookup(name);
71 Context ctx = getTargetContext();
72 return ctx.lookup(name);
76 Context ctx = getTargetContext();
77 ctx.bind(name, newObj);
81 Context ctx = getTargetContext();
82 ctx.bind(name, newObj);
86 Context ctx = getTargetContext();
87 ctx
[all...]
/openjdk10/jdk/src/jdk.httpserver/share/classes/sun/net/httpserver/
H A DContextList.java38 public synchronized void add (HttpContextImpl ctx) { argument
39 assert ctx.getPath() != null;
40 list.add (ctx);
58 for (HttpContextImpl ctx: list) {
59 if (!ctx.getProtocol().equals(protocol)) {
62 String cpath = ctx.getPath();
70 lc = ctx;
79 HttpContextImpl ctx = findContext (protocol, path, true);
80 if (ctx == null) {
83 list.remove (ctx);
[all...]
/openjdk10/jdk/test/javax/script/
H A DDummyScriptEngine.java33 public Object eval(String str, ScriptContext ctx) { argument
34 return eval(new StringReader(str), ctx);
37 public Object eval(Reader reader, ScriptContext ctx) { argument
/openjdk10/jdk/src/java.naming/share/classes/com/sun/jndi/toolkit/url/
H A DGenericURLDirContext.java77 DirContext ctx = (DirContext)res.getResolvedObj();
79 return ctx.getAttributes(res.getRemainingName());
81 ctx.close();
89 DirContext ctx = getContinuationDirContext(name);
91 return ctx.getAttributes(name.getSuffix(1));
93 ctx.close();
101 DirContext ctx = (DirContext)res.getResolvedObj();
103 return ctx.getAttributes(res.getRemainingName(), attrIds);
105 ctx.close();
114 DirContext ctx
[all...]

Completed in 193 milliseconds

1234567891011>>