Lines Matching refs:intValue

71     private static int intValue(Object x) { return ((Number)x).intValue(); }  in intValue()  method in ConstFold
91 return syms.intType.constType(-intValue(od)); in fold1()
93 return syms.intType.constType(~intValue(od)); in fold1()
95 return syms.booleanType.constType(b2i(intValue(od) == 0)); in fold1()
97 return syms.booleanType.constType(b2i(intValue(od) == 0)); in fold1()
99 return syms.booleanType.constType(b2i(intValue(od) != 0)); in fold1()
101 return syms.booleanType.constType(b2i(intValue(od) < 0)); in fold1()
103 return syms.booleanType.constType(b2i(intValue(od) > 0)); in fold1()
105 return syms.booleanType.constType(b2i(intValue(od) <= 0)); in fold1()
107 return syms.booleanType.constType(b2i(intValue(od) >= 0)); in fold1()
149 return syms.intType.constType(intValue(l) + intValue(r)); in fold2()
151 return syms.intType.constType(intValue(l) - intValue(r)); in fold2()
153 return syms.intType.constType(intValue(l) * intValue(r)); in fold2()
155 return syms.intType.constType(intValue(l) / intValue(r)); in fold2()
157 return syms.intType.constType(intValue(l) % intValue(r)); in fold2()
161 .constType(intValue(l) & intValue(r)); in fold2()
163 return syms.booleanType.constType(b2i((intValue(l) & intValue(r)) != 0)); in fold2()
167 .constType(intValue(l) | intValue(r)); in fold2()
169 return syms.booleanType.constType(b2i((intValue(l) | intValue(r)) != 0)); in fold2()
173 .constType(intValue(l) ^ intValue(r)); in fold2()
175 return syms.intType.constType(intValue(l) << intValue(r)); in fold2()
177 return syms.intType.constType(intValue(l) >> intValue(r)); in fold2()
179 return syms.intType.constType(intValue(l) >>> intValue(r)); in fold2()
182 b2i(intValue(l) == intValue(r))); in fold2()
185 b2i(intValue(l) != intValue(r))); in fold2()
188 b2i(intValue(l) < intValue(r))); in fold2()
191 b2i(intValue(l) > intValue(r))); in fold2()
194 b2i(intValue(l) <= intValue(r))); in fold2()
197 b2i(intValue(l) >= intValue(r))); in fold2()
225 Long.valueOf(longValue(l) << intValue(r))); in fold2()
228 Long.valueOf(longValue(l) >> intValue(r))); in fold2()
231 Long.valueOf(longValue(l) >>> intValue(r))); in fold2()
321 return syms.byteType.constType(0 + (byte)intValue(n)); in coerce()
323 return syms.charType.constType(0 + (char)intValue(n)); in coerce()
325 return syms.shortType.constType(0 + (short)intValue(n)); in coerce()
327 return syms.intType.constType(intValue(n)); in coerce()