/openjdk7/jdk/src/share/classes/sun/tools/tree/ |
H A D | BinaryLogicalExpression.java | 48 public Vset checkValue(Environment env, Context ctx, argument 53 checkCondition(env, ctx, vset, exp, cvars); 63 public void checkCondition(Environment env, Context ctx, Vset vset, argument 70 public Expression inline(Environment env, Context ctx) { argument 71 left = left.inlineValue(env, ctx); 72 right = right.inlineValue(env, ctx);
|
H A D | ReturnStatement.java | 54 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 55 checkLabel(env, ctx); 58 vset = expr.checkValue(env, ctx, vset, exp); 62 if (ctx.field.isInitializer()) { 67 if (ctx.field.getType().getReturnType().isType(TC_VOID)) { 69 if (ctx.field.isConstructor()) { 70 env.error(where, "return.with.value.constr", ctx.field); 72 env.error(where, "return.with.value", ctx.field); 78 env.error(where, "return.without.value", ctx.field); 80 expr = convert(env, ctx, ct 126 inline(Environment env, Context ctx) argument 136 costInline(int thresh, Environment env, Context ctx) argument 143 copyInline(Context ctx, boolean valNeeded) argument 158 code(Environment env, Context ctx, Assembler asm) argument [all...] |
H A D | ArrayAccessExpression.java | 65 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 66 vset = right.checkValue(env, ctx, vset, exp); 71 vset = index.checkValue(env, ctx, vset, exp); 72 index = convert(env, ctx, Type.tInt, index); 85 public Vset checkAmbigName(Environment env, Context ctx, argument 89 vset = right.checkAmbigName(env, ctx, vset, exp, this); 105 return super.checkAmbigName(env, ctx, vset, exp, loc); 111 public Vset checkLHS(Environment env, Context ctx, argument 113 return checkValue(env, ctx, vset, exp); 119 public Vset checkAssignOp(Environment env, Context ctx, argument 129 getAssigner(Environment env, Context ctx) argument 136 getUpdater(Environment env, Context ctx) argument 143 toType(Environment env, Context ctx) argument 156 inline(Environment env, Context ctx) argument 165 inlineValue(Environment env, Context ctx) argument 174 inlineLHS(Environment env, Context ctx) argument 181 copyInline(Context ctx) argument 198 costInline(int thresh, Environment env, Context ctx) argument 210 codeLValue(Environment env, Context ctx, Assembler asm) argument 219 codeLoad(Environment env, Context ctx, Assembler asm) argument 235 codeStore(Environment env, Context ctx, Assembler asm) argument 251 codeValue(Environment env, Context ctx, Assembler asm) argument [all...] |
H A D | ExprExpression.java | 51 public void checkCondition(Environment env, Context ctx, Vset vset, argument 53 right.checkCondition(env, ctx, vset, exp, cvars); 62 public Vset checkAssignOp(Environment env, Context ctx, argument 64 vset = right.checkAssignOp(env, ctx, vset, exp, outside); 73 public FieldUpdater getUpdater(Environment env, Context ctx) { argument 74 return right.getUpdater(env, ctx); 82 // public Vset checkLHS(Environment env, Context ctx, 84 // vset = right.check(env, ctx, vset, exp); 108 Context ctx, 110 return right.inlineValueSB(env, ctx, buffe 107 inlineValueSB(Environment env, Context ctx, StringBuffer buffer) argument 116 selectType(Environment env, Context ctx, int tm) argument [all...] |
H A D | SuperExpression.java | 56 public SuperExpression(long where, Context ctx) { argument 57 super(where, ctx); 64 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 65 vset = checkCommon(env, ctx, vset, exp); 76 public Vset checkAmbigName(Environment env, Context ctx, argument 79 return checkCommon(env, ctx, vset, exp); 83 private Vset checkCommon(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 84 ClassDeclaration superClass = ctx.field.getClassDefinition().getSuperClass(); 90 vset = super.checkValue(env, ctx, vset, exp);
|
H A D | Context.java | 51 public Context(Context ctx, MemberDefinition field) { argument 53 if (ctx == null) { 58 this.prev = ctx; 59 this.locals = ctx.locals; 60 this.classes = ctx.classes; 66 this.frameNumber = ctx.frameNumber; 67 this.scopeNumber = ctx.scopeNumber + 1; 69 this.frameNumber = ctx.scopeNumber + 1; 72 this.varNumber = ctx.varNumber; 79 public Context(Context ctx, ClassDefinitio argument 86 Context(Context ctx, Node node) argument 105 Context(Context ctx) argument 842 newEnvironment(Environment env, Context ctx) argument 849 Context ctx; field in class:ContextEnvironment 852 ContextEnvironment(Environment env, Context ctx) argument [all...] |
H A D | IfStatement.java | 58 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 59 checkLabel(env, ctx); 60 CheckContext newctx = new CheckContext(ctx, this); 93 return ctx.removeAdditionalVars(vset); 99 public Statement inline(Environment env, Context ctx) { argument 100 ctx = new Context(ctx, this); 101 cond = cond.inlineValue(env, ctx); 117 ifTrue = ifTrue.inline(env, ctx); 120 ifFalse = ifFalse.inline(env, ctx); 141 copyInline(Context ctx, boolean valNeeded) argument 156 costInline(int thresh, Environment env, Context ctx) argument 170 code(Environment env, Context ctx, Assembler asm) argument [all...] |
H A D | CheckContext.java | 49 CheckContext(Context ctx, Statement stat) { argument 50 super(ctx, stat);
|
H A D | CaseStatement.java | 52 Vset check(Environment env, Context ctx, Vset vset, Hashtable 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 D | CatchStatement.java | 70 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 72 ctx = new Context(ctx, this); 73 Type type = texpr.toType(env, ctx); 76 if (ctx.getLocalField(id) != null) { 92 field = new LocalMember(where, ctx.field.getClassDefinition(), mod, type, id); 93 ctx.declare(env, field); 96 return body.check(env, ctx, vset, exp); 106 public Statement inline(Environment env, Context ctx) { argument 107 ctx 120 copyInline(Context ctx, boolean valNeeded) argument 134 costInline(int thresh, Environment env, Context ctx) argument 145 code(Environment env, Context ctx, Assembler asm) argument [all...] |
H A D | DivRemExpression.java | 49 public Expression inline(Environment env, Context ctx) { argument 53 right = right.inlineValue(env, ctx); 56 left = left.inline(env, ctx); 59 left = left.inlineValue(env, ctx); 69 return super.inline(env, ctx);
|
H A D | FinallyStatement.java | 71 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 79 ClassDefinition sourceClass = ctx.field.getClassDefinition(); 87 vset = tryExpr.checkValue(env, ctx, vset, exp); 91 vset = tryDecl.checkBlockStatement(env, ctx, vset, exp); 102 vset = init.check(env, ctx, vset, exp); 127 env.error(where, "class.not.found", ee.name, ctx.field); 139 ctx = new Context(ctx, this); 140 ctx.declare(env, tryTemp); 168 CheckContext newctx1 = new CheckContext(ctx, thi 196 inline(Environment env, Context ctx) argument 222 copyInline(Context ctx, boolean valNeeded) argument 242 costInline(int thresh, Environment env, Context ctx) argument 261 code(Environment env, Context ctx, Assembler asm) argument [all...] |
H A D | AndExpression.java | 56 public void checkCondition(Environment env, Context ctx, Vset vset, argument 59 left.checkCondition(env, ctx, vset, exp, cvars); 60 left = convert(env, ctx, Type.tBoolean, left); 65 right.checkCondition(env, ctx, vsTrue, exp, cvars); 66 right = convert(env, ctx, Type.tBoolean, right); 104 void codeBranch(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) { argument 107 left.codeBranch(env, ctx, asm, lbl2, false); 108 right.codeBranch(env, ctx, asm, lbl, true); 111 left.codeBranch(env, ctx, asm, lbl, false); 112 right.codeBranch(env, ctx, as [all...] |
H A D | InlineMethodExpression.java | 54 public Expression inline(Environment env, Context ctx) { argument 55 body = body.inline(env, new Context(ctx, this)); 68 public Expression inlineValue(Environment env, Context ctx) { argument 74 return inline(env, ctx); 80 public Expression copyInline(Context ctx) { argument 83 e.body = body.copyInline(ctx, true); 91 public void code(Environment env, Context ctx, Assembler asm) { argument 93 super.code(env, ctx, asm); 95 public void codeValue(Environment env, Context ctx, Assembler asm) { argument 96 CodeContext newctx = new CodeContext(ctx, thi [all...] |
H A D | OrExpression.java | 56 public void checkCondition(Environment env, Context ctx, Vset vset, argument 59 left.checkCondition(env, ctx, vset, exp, cvars); 60 left = convert(env, ctx, Type.tBoolean, left); 65 right.checkCondition(env, ctx, vsFalse, exp, cvars); 66 right = convert(env, ctx, Type.tBoolean, right); 104 void codeBranch(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) { argument 106 left.codeBranch(env, ctx, asm, lbl, true); 107 right.codeBranch(env, ctx, asm, lbl, true); 110 left.codeBranch(env, ctx, asm, lbl2, true); 111 right.codeBranch(env, ctx, as [all...] |
H A D | ThisExpression.java | 58 public ThisExpression(long where, Context ctx) { argument 60 field = ctx.getLocalField(idThis); 90 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 91 if (ctx.field.isStatic()) { 97 field = ctx.getLocalField(idThis); 100 if (field.scopeNumber < ctx.frameNumber) { 102 implementation = ctx.makeReference(env, field); 108 type = ctx.field.getClassDeclaration().getType(); 122 public FieldUpdater getAssigner(Environment env, Context ctx) { argument 126 public FieldUpdater getUpdater(Environment env, Context ctx) { argument 133 inlineValue(Environment env, Context ctx) argument 151 copyInline(Context ctx) argument 171 codeValue(Environment env, Context ctx, Assembler asm) argument [all...] |
H A D | ThrowStatement.java | 53 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 54 checkLabel(env, ctx); 57 expr.checkValue(env, ctx, vset, exp); 69 expr = convert(env, ctx, Type.tObject, expr); 76 CheckContext exitctx = ctx.getTryExitContext(); 86 public Statement inline(Environment env, Context ctx) { argument 87 expr = expr.inlineValue(env, ctx); 94 public Statement copyInline(Context ctx, boolean valNeeded) { argument 96 s.expr = expr.copyInline(ctx); 103 public int costInline(int thresh, Environment env, Context ctx) { argument 110 code(Environment env, Context ctx, Assembler asm) argument [all...] |
H A D | AssignAddExpression.java | 49 public int costInline(int thresh, Environment env, Context ctx) { argument 50 return type.isType(TC_CLASS) ? 25 : super.costInline(thresh, env, ctx); 56 void code(Environment env, Context ctx, Assembler asm, boolean valNeeded) { argument 72 int depth = left.codeLValue(env, ctx, asm); 73 codeDup(env, ctx, asm, depth, 2); // copy past 2 string buffers 78 left.codeLoad(env, ctx, asm); 79 left.ensureString(env, ctx, asm); // Why is this needed? 82 ClassDefinition sourceClass = ctx.field.getClassDefinition(); 89 right.codeAppend(env, ctx, asm, c, false); 96 codeDup(env, ctx, as 146 codeOperation(Environment env, Context ctx, Assembler asm) argument [all...] |
H A D | InstanceOfExpression.java | 51 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 52 vset = left.checkValue(env, ctx, vset, exp); 53 right = new TypeExpression(right.where, right.toType(env, ctx)); 77 public Expression inline(Environment env, Context ctx) { argument 78 return left.inline(env, ctx); 80 public Expression inlineValue(Environment env, Context ctx) { argument 81 left = left.inlineValue(env, ctx); 85 public int costInline(int thresh, Environment env, Context ctx) { argument 86 if (ctx == null) { 87 return 1 + left.costInline(thresh, env, ctx); 108 codeValue(Environment env, Context ctx, Assembler asm) argument 116 codeBranch(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) argument 120 code(Environment env, Context ctx, Assembler asm) argument [all...] |
H A D | WhileStatement.java | 56 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 57 checkLabel(env, ctx); 58 CheckContext newctx = new CheckContext(ctx, this); 70 ctx.checkBackBranch(env, this, vsEntry, vset); 73 return ctx.removeAdditionalVars(vset); 79 public Statement inline(Environment env, Context ctx) { argument 80 ctx = new Context(ctx, this); 81 cond = cond.inlineValue(env, ctx); 83 body = body.inline(env, ctx); 91 costInline(int thresh, Environment env, Context ctx) argument 99 copyInline(Context ctx, boolean valNeeded) argument 111 code(Environment env, Context ctx, Assembler asm) argument [all...] |
H A D | BreakStatement.java | 54 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 56 checkLabel(env, ctx); 57 CheckContext destctx = (CheckContext)new CheckContext(ctx, this).getBreakContext(lbl); 59 if (destctx.frameNumber != ctx.frameNumber) { 70 CheckContext exitctx = ctx.getTryExitContext(); 80 public int costInline(int thresh, Environment env, Context ctx) { argument 87 public void code(Environment env, Context ctx, Assembler asm) { argument 88 CodeContext newctx = new CodeContext(ctx, this); 90 codeFinally(env, ctx, asm, destctx, null);
|
H A D | ContinueStatement.java | 55 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument 56 checkLabel(env, ctx); 61 CheckContext destctx = (CheckContext)new CheckContext(ctx, this).getContinueContext(lbl); 67 if (destctx.frameNumber != ctx.frameNumber) { 82 CheckContext exitctx = ctx.getTryExitContext(); 92 public int costInline(int thresh, Environment env, Context ctx) { argument 99 public void code(Environment env, Context ctx, Assembler asm) { argument 100 CodeContext destctx = (CodeContext)ctx.getContinueContext(lbl); 101 codeFinally(env, ctx, asm, destctx, null);
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/url/ |
H A D | GenericURLContext.java | 201 Context ctx = (Context)res.getResolvedObj(); 203 return ctx.lookup(res.getRemainingName()); 205 ctx.close(); 213 Context ctx = getContinuationContext(name); 215 return ctx.lookup(name.getSuffix(1)); 217 ctx.close(); 224 Context ctx = (Context)res.getResolvedObj(); 226 ctx.bind(res.getRemainingName(), obj); 228 ctx.close(); 236 Context ctx [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | PainterImpl.template | 42 private PaintContext ctx; 58 public ${PAINTER_NAME}(PaintContext ctx, int state) { 61 this.ctx = ctx; 79 return ctx;
|
/openjdk7/jdk/src/macosx/native/jobjc/src/tests/java/com/apple/jobjc/ |
H A D | SubclassingTest.java | 42 NativeArgumentBuffer ctx; field in class:SubclassingTest 47 this.ctx = runtime.getThreadLocalState(); 69 sel.init(ctx, instObj); 70 sel.invoke(ctx); 85 msgSend.init(ctx, obj); 86 msgSend.invoke(ctx); 87 assertEquals("foo", Utils.get().strings().javaString((NSString) IDCoder.INST.pop(ctx))); 93 msgSendSuper.init(ctx, obj, cls); 94 msgSendSuper.invoke(ctx); 95 assertEquals("foo", Utils.get().strings().javaString((NSString) IDCoder.INST.pop(ctx))); [all...] |