/openjdk7/jdk/make/tools/src/build/tools/jdwpgen/ |
H A D | Context.java | 53 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 D | AbstractSimpleTypeNode.java | 32 void constrain(Context ctx) { argument 33 context = ctx; 34 nameNode.constrain(ctx);
|
H A D | EventNode.java | 33 void constrain(Context ctx) { argument 34 super.constrain(ctx.inEventSubcontext());
|
/openjdk7/jdk/test/javax/naming/InitialContext/ |
H A D | EnvClone.java | 48 EnvClone ctx = new EnvClone(env); 50 if (env == ctx.myProps) { 55 ctx = new EnvClone(true); 56 ctx.init(env); 58 if (env != ctx.myProps) {
|
/openjdk7/jdk/src/share/classes/sun/tools/tree/ |
H A D | CommaExpression.java | 49 public Vset check(Environment env, Context ctx, Vset vset, Hashtable 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 D | AssignExpression.java | 53 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable 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 D | InlineReturnStatement.java | 53 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 D | PostDecExpression.java | 48 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 D | PostIncExpression.java | 48 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 D | PreDecExpression.java | 48 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 D | PreIncExpression.java | 48 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 D | BinaryAssignExpression.java | 70 public Vset check(Environment env, Context ctx, Vset vset, Hashtable 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 D | ExpressionStatement.java | 53 Vset check(Environment env, Context ctx, Vset vset, Hashtable 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 D | BinaryBitExpression.java | 49 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 D | ConditionalExpression.java | 67 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable 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 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 D | AssignOpExpression.java | 57 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 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 D | DoStatement.java | 56 Vset check(Environment env, Context ctx, Vset vset, Hashtable 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 D | AddExpression.java | 48 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...] |
H A D | IdentifierExpression.java | 78 private Vset assign(Environment env, Context ctx, Vset vset) { argument 81 if (local.scopeNumber < ctx.frameNumber) { 95 vset = FieldExpression.checkFinalAssign(env, ctx, vset, 104 private Vset get(Environment env, Context ctx, Vset vset) { argument 107 if (local.scopeNumber < ctx.frameNumber && !local.isFinal()) { 117 if (!vset.testVar(ctx.getThisNumber())) { 123 int number = ctx.getFieldNumber(field); 135 boolean bind(Environment env, Context ctx) { argument 137 field = ctx.getField(env, id); 139 for (ClassDefinition cdef = ctx 234 checkValue(Environment env, Context ctx, Vset vset, Hashtable exp) argument 252 checkLHS(Environment env, Context ctx, Vset vset, Hashtable exp) argument 265 checkAssignOp(Environment env, Context ctx, Vset vset, Hashtable exp, Expression outside) argument 278 getAssigner(Environment env, Context ctx) argument 287 getUpdater(Environment env, Context ctx) argument 296 checkAmbigName(Environment env, Context ctx, Vset vset, Hashtable exp, UnaryExpression loc) argument 321 toResolvedType(Environment env, Context ctx, boolean pkgOK) argument 359 toType(Environment env, Context ctx) argument 402 inline(Environment env, Context ctx) argument 405 inlineValue(Environment env, Context ctx) argument 424 inlineLHS(Environment env, Context ctx) argument 430 copyInline(Context ctx) argument 441 costInline(int thresh, Environment env, Context ctx) argument 450 codeLValue(Environment env, Context ctx, Assembler asm) argument 453 codeLoad(Environment env, Context ctx, Assembler asm) argument 457 codeStore(Environment env, Context ctx, Assembler asm) argument 462 codeValue(Environment env, Context ctx, Assembler asm) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/naming/spi/ |
H A D | ContinuationContext.java | 66 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...] |
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | ContextList.java | 38 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...] |
/openjdk7/jdk/test/javax/script/ |
H A D | DummyScriptEngine.java | 33 public Object eval(String str, ScriptContext ctx) { argument 34 return eval(new StringReader(str), ctx); 37 public Object eval(Reader reader, ScriptContext ctx) { argument
|
H A D | PluggableContextTest.java | 36 ScriptContext ctx = new MyContext(); 37 ctx.setAttribute("x", "hello", MyContext.APP_SCOPE); 45 e.eval("x", ctx);
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/url/ |
H A D | GenericURLDirContext.java | 77 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...] |
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/dir/ |
H A D | DirSearch.java | 37 public static NamingEnumeration search(DirContext ctx, argument 46 new ContextEnumerator(ctx, SearchControls.ONELEVEL_SCOPE), 51 public static NamingEnumeration search(DirContext ctx, argument 58 new ContextEnumerator(ctx, cons.getSearchScope()), 63 public static NamingEnumeration search(DirContext ctx, argument 68 return search(ctx, strfilter, cons);
|