Searched defs:ONE (Results 1 - 21 of 21) sorted by relevance

/openjdk7/langtools/test/tools/javac/processing/6512707/
H A DTestEnum.java26 ONE, enum constant in enum:TestEnum
/openjdk7/langtools/test/com/sun/javadoc/testDeprecatedDocs/pkg/
H A DTestEnum.java34 ONE, TWO, THREE; enum constant in enum:TestEnum
/openjdk7/jdk/test/java/util/EnumMap/
H A DProperEntrySetOnClone.java35 ONE, TWO enum constant in enum:ProperEntrySetOnClone.Test
40 map1.put(Test.ONE, "1");
51 map2.remove(Test.ONE);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DPasswordView.java135 ONE[0] = c;
137 g, ONE, 0, 1, x, y);
235 static char[] ONE = new char[1]; field in class:PasswordView
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djdct.h135 #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/provider/
H A DDSAParameterGenerator.java65 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/test/java/security/spec/
H A DECCBasic.java37 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/langtools/test/tools/javac/warnings/
H A DDivZero.java11 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/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/
H A DMultiplicity.java51 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/langtools/test/tools/javac/generics/diamond/7030687/
H A DParserTest.java55 ONE(1, "A1#TA1"), enum constant in enum:ParserTest.TypeQualifierArity
85 if (arity == TypeQualifierArity.ONE) {
/openjdk7/langtools/test/tools/javac/multicatch/7030606/
H A DDisjunctiveTypeWellFormednessTest.java81 ONE(1), enum constant in enum:DisjunctiveTypeWellFormednessTest.Arity
102 if (arity == Arity.ONE) {
/openjdk7/jdk/test/java/math/BigInteger/
H A DBigIntegerTest.java89 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/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageAffine.h277 #define ONE (FTYPE)1.0 macro
/openjdk7/langtools/test/tools/javac/generics/diamond/7030150/
H A DGenericConstructorAndDiamondTest.java85 ONE(1), enum constant in enum:GenericConstructorAndDiamondTest.TypeArgArity
215 .replace("#TA1", declTypeArgumentKind.getArgs(TypeArgArity.ONE))
239 useTypeArgArity != TypeArgArity.ONE;
/openjdk7/langtools/test/tools/javac/generics/diamond/7046778/
H A DDiamondAndInnerClassTest.java88 ONE(1, "A1#TA1"), enum constant in enum:DiamondAndInnerClassTest.TypeQualifierArity
114 ONE(1, "class A1<X> { A1(X x1) { } #B }"), enum constant in enum:DiamondAndInnerClassTest.InnerClassDeclArity
128 ONE(1, "(#A1)"), enum constant in enum:DiamondAndInnerClassTest.ArgumentListArity
174 innerClassDeclArity != InnerClassDeclArity.ONE) continue;
176 if (innerClassDeclArity == innerClassDeclArity.ONE) {
/openjdk7/langtools/test/tools/javac/varargs/6199075/
H A DT6199075.java97 ONE(1), enum constant in enum:T6199075.ArgumentsArity
/openjdk7/jdk/src/share/classes/java/math/
H A DMutableBigInteger.java76 static final MutableBigInteger ONE = new MutableBigInteger(1); field in class:MutableBigInteger
H A DBigDecimal.java286 new BigDecimal(BigInteger.ONE, 1, 0, 1),
336 public static final BigDecimal ONE = field in class:BigDecimal
1488 mq.add(MutableBigInteger.ONE);
1941 * #ONE}.
1983 * <li> if {@code n} is zero, {@link #ONE} is returned even if
2018 return ONE; // x**0 == 1 in X3.274
2032 BigDecimal acc = ONE; // accumulator
2044 // else (!seenbit) no point in squaring ONE
2048 acc=ONE.divide(acc, workmc);
3436 private static volatile BigInteger BIG_TEN_POWERS_TABLE[] = {BigInteger.ONE,
[all...]
H A DBigInteger.java661 if ((this.signum == 0) || this.equals(ONE))
664 BigInteger result = this.add(ONE);
671 result = result.add(ONE);
699 result = result.subtract(ONE);
765 BigInteger thisPlusOne = this.add(ONE);
841 BigInteger u = ONE; BigInteger u2;
842 BigInteger v = ONE; BigInteger v2;
891 BigInteger thisMinusOne = this.subtract(ONE);
905 } while (b.compareTo(ONE) <= 0 || b.compareTo(this) >= 0);
909 while(!((j==0 && z.equals(ONE)) ||
1020 public static final BigInteger ONE = valueOf(1); field in class:BigInteger
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Dtype.hpp374 static const TypeF *ONE; member in class:TypeF
401 static const TypeD *ONE; member in class:TypeD
441 static const TypeInt *ONE; member in class:TypeInt
445 static const TypeInt *CC_GT; // [1] == ONE
497 static const TypeLong *ONE; member in class:TypeLong
H A Dtype.cpp235 TypeF::ONE = TypeF::make(1.0); // Float 1 member in class:TypeF
238 TypeD::ONE = TypeD::make(1.0); // Double 1 member in class:TypeD
242 TypeInt::ONE = TypeInt::make( 1); // 1 member in class:TypeInt
246 TypeInt::CC_GT = TypeInt::make( 1, 1, WidenMin); // == TypeInt::ONE
262 assert( TypeInt::CC_GT == TypeInt::ONE, "types must match for CmpL to work" );
269 TypeLong::ONE = TypeLong::make( 1); // 1 member in class:TypeLong
845 const TypeF *TypeF::ONE; // Floating point one member in class:TypeF
962 const TypeD *TypeD::ONE; // Floating point one member in class:TypeD
1076 const TypeInt *TypeInt::ONE; // 1 member in class:TypeInt
1080 const TypeInt *TypeInt::CC_GT; // [1] == ONE
1342 const TypeLong *TypeLong::ONE; // 1 member in class:TypeLong
[all...]

Completed in 147 milliseconds