/openjdk7/langtools/test/tools/javac/processing/6512707/ |
H A D | TestEnum.java | 26 ONE, enum constant in enum:TestEnum
|
/openjdk7/langtools/test/com/sun/javadoc/testDeprecatedDocs/pkg/ |
H A D | TestEnum.java | 34 ONE, TWO, THREE; enum constant in enum:TestEnum
|
/openjdk7/jdk/test/java/math/BigDecimal/ |
H A D | ScaleByPowerOfTenTests.java | 37 BigDecimal bd = BigDecimal.ONE.scaleByPowerOfTen(i); 40 if (!bd.equals(expected = new BigDecimal(BigInteger.ONE, -i))) { 47 bd = BigDecimal.ONE.negate().scaleByPowerOfTen(i); 48 if (!bd.equals(expected = new BigDecimal(BigInteger.ONE.negate(), -i))) {
|
H A D | CompareToTests.java | 37 final BigDecimal MINUS_ONE = BigDecimal.ONE.negate(); 45 {valueOf(2), valueOf(1), ONE}, 50 {valueOf(2,-1), valueOf(2), ONE}, 52 {valueOf(1,-1), valueOf(2), ONE}, 53 {valueOf(5,-1), valueOf(2), ONE}, 61 {valueOf(Long.MIN_VALUE+1), valueOf(Long.MAX_VALUE), ONE},
|
/openjdk7/jdk/test/java/math/BigInteger/ |
H A D | ExtremeShiftingTests.java | 35 ONE.shiftLeft(Integer.MIN_VALUE); 42 ONE.shiftRight(Integer.MIN_VALUE);
|
H A D | CompareToTests.java | 37 final BigDecimal MINUS_ONE = BigDecimal.ONE.negate(); 45 {valueOf(2), valueOf(1), ONE}, 50 {valueOf(2,-1), valueOf(2), ONE}, 52 {valueOf(1,-1), valueOf(2), ONE}, 53 {valueOf(5,-1), valueOf(2), ONE}, 61 {valueOf(Long.MIN_VALUE+1), valueOf(Long.MAX_VALUE), ONE},
|
H A D | OperatorNpeTests.java | 37 BigInteger[] specialValues = {ZERO, ONE, TEN};
|
H A D | BigIntegerTest.java | 89 y = y.add(BigInteger.ONE); 109 y = y.add(BigInteger.ONE); 258 ? y[0].subtract(BigInteger.ONE) 291 if (!y[0].equals(BigInteger.ONE)) { 359 while(m.compareTo(BigInteger.ONE) != 1) 369 if (prod.equals(BigInteger.ONE)) 385 while(m.compareTo(BigInteger.ONE) != 1) 412 while(m.compareTo(BigInteger.ONE) != 1) 414 BigInteger exp = m.subtract(BigInteger.ONE); 422 if (!one.equals(BigInteger.ONE)) { 461 private static final BigInteger ONE = BigInteger.ONE; field in class:BigIntegerTest [all...] |
/openjdk7/langtools/test/tools/javac/warnings/ |
H A D | DivZero.java | 11 public static final int ONE = 1; field in class:DivZero 20 public static final int i6 = 1 / (ONE - 1); 21 public static final int i7 = 1 / (ONE - ONE); 24 public static final int i9 = 1 % (ONE - 1); 25 public static final int i10 = 1 % (ONE - ONE); 62 public static final int ONE = 1; field in class:DivZero2 71 public static final int i6 = 1 / (ONE - 1); 72 public static final int i7 = 1 / (ONE [all...] |
/openjdk7/jdk/test/java/util/EnumMap/ |
H A D | ProperEntrySetOnClone.java | 35 ONE, TWO enum constant in enum:ProperEntrySetOnClone.Test 40 map1.put(Test.ONE, "1"); 51 map2.remove(Test.ONE);
|
/openjdk7/jdk/test/java/security/spec/ |
H A D | ECCBasic.java | 37 private static final BigInteger ONE = BigInteger.ONE; field in class:ECCBasic 49 (new ECFieldFp(TEN), ONE, ONE); 50 private static final ECPoint POINT = new ECPoint(ONE, TEN); 51 private static final BigInteger ORDER = ONE; 238 new ECPoint(ONE, null); 246 if (!(ONE.equals(POINT.getAffineX()))) { 290 new ECPrivateKeySpec(ONE, null); 308 BigInteger a = ONE; [all...] |
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageAffine_BL_D64.c | 45 FTYPE scale = ONE / MLIB_PREC; 67 k2 = (ONE - t) * u; 68 k1 = t * (ONE - u); 69 k0 = (ONE - t) * (ONE - u); 85 k2 = (ONE - t) * u; 86 k1 = t * (ONE - u); 87 k0 = (ONE - t) * (ONE - u); 107 FTYPE scale = ONE / MLIB_PRE [all...] |
H A D | mlib_ImageAffine_BL_F32.c | 45 FTYPE scale = ONE / MLIB_PREC; 67 k2 = (ONE - t) * u; 68 k1 = t * (ONE - u); 69 k0 = (ONE - t) * (ONE - u); 85 k2 = (ONE - t) * u; 86 k1 = t * (ONE - u); 87 k0 = (ONE - t) * (ONE - u); 107 FTYPE scale = ONE / MLIB_PRE [all...] |
H A D | mlib_ImageAffine_BL_S32.c | 47 FTYPE scale = ONE / MLIB_PREC; 69 k2 = (ONE - t) * u; 70 k1 = t * (ONE - u); 71 k0 = (ONE - t) * (ONE - u); 87 k2 = (ONE - t) * u; 88 k1 = t * (ONE - u); 89 k0 = (ONE - t) * (ONE - u); 109 FTYPE scale = ONE / MLIB_PRE [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | AlphaMacros.c | 48 * Fblend = ONE 50 * Fblend = (ONE - alpha) 52 * The value ONE in these equations represents the same numeric value 81 * ONE 0 0 ONE 82 * alpha ONE 0 0 83 * ONE-alpha ONE -1 ONE+1 92 * ((alpha AND 0 ) XOR 0) PLUS ONE [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/ |
H A D | DurationDayTimeImpl.java | 180 minutes = BigInteger.valueOf((long) getMinutes()).add(BigInteger.ONE); 186 hours = BigInteger.valueOf((long) getHours()).add(BigInteger.ONE); 192 days = BigInteger.valueOf((long) getDays()).add(BigInteger.ONE);
|
H A D | DurationYearMonthImpl.java | 197 years = BigInteger.valueOf((long) getYears()).add(BigInteger.ONE);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/ |
H A D | Multiplicity.java | 51 if (BigInteger.ONE.equals(min) && max==null) return PLUS; 54 if(BigInteger.ZERO.equals(min) && BigInteger.ONE.equals(max)) return OPTIONAL; 55 if(BigInteger.ONE.equals(min) && BigInteger.ONE.equals(max)) return ONE; 97 return BigInteger.ONE.equals(min) && BigInteger.ONE.equals(max); 103 return BigInteger.ZERO.equals(min) && BigInteger.ONE.equals(max); 109 return max.compareTo(BigInteger.ONE)<=0; 152 public static final Multiplicity ONE field in class:Multiplicity [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/ |
H A D | MultiplicityCounter.java | 37 import static com.sun.tools.internal.xjc.model.Multiplicity.ONE; 64 return ONE; 93 return ONE;
|
/openjdk7/jdk/test/java/lang/Long/ |
H A D | Decode.java | 94 checkFailure(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE).toString(), 96 checkFailure(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE).toString(),
|
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | DSAParameterGenerator.java | 65 private static final BigInteger ONE = BigInteger.valueOf(1); field in class:DSAParameterGenerator 203 byte[] U2 = SHA(toByteArray((SEED.add(ONE)).mod(TWOG))); 243 BigInteger p = X.subtract(c.subtract(ONE)); 251 offset = offset.add(BigInteger.valueOf(n)).add(ONE); 266 BigInteger h = ONE; 267 BigInteger pMinusOneOverQ = (p.subtract(ONE)).divide(q); 268 BigInteger g = ONE; 271 h = h.add(ONE);
|
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/ |
H A D | jdct.h | 135 #define ONE ((INT32) 1) macro 136 #define CONST_SCALE (ONE << CONST_BITS) 150 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n)
|
/openjdk7/jdk/src/share/classes/sun/security/rsa/ |
H A D | RSAKeyPairGenerator.java | 147 BigInteger p1 = p.subtract(BigInteger.ONE); 148 BigInteger q1 = q.subtract(BigInteger.ONE); 152 if (e.gcd(phi).equals(BigInteger.ONE) == false) {
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | PasswordView.java | 135 ONE[0] = c; 137 g, ONE, 0, 1, x, y); 235 static char[] ONE = new char[1]; field in class:PasswordView
|
/openjdk7/jdk/test/com/sun/crypto/provider/KeyAgreement/ |
H A D | TestExponentSize.java | 139 p.subtract(BigInteger.ONE).subtract(BigInteger.ONE); 141 if ((x.compareTo(BigInteger.ONE) < 0 ||
|