Home
last modified time | relevance | path

Searched refs:ONE (Results 1 – 25 of 135) sorted by relevance

123456

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DRSAMultiPrimePrivateCrtKeySpecTest.java41 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE),
42 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE),
43 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE)
73 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01()
74 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01()
75 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01()
76 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01()
77 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01()
78 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01()
79 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01()
[all …]
DRSAPrivateCrtKeySpecTest.java52 BigInteger.ONE, in testRSAPrivateCrtKeySpec01()
53 BigInteger.ONE, in testRSAPrivateCrtKeySpec01()
54 BigInteger.ONE, in testRSAPrivateCrtKeySpec01()
55 BigInteger.ONE, in testRSAPrivateCrtKeySpec01()
56 BigInteger.ONE, in testRSAPrivateCrtKeySpec01()
57 BigInteger.ONE, in testRSAPrivateCrtKeySpec01()
58 BigInteger.ONE, in testRSAPrivateCrtKeySpec01()
59 BigInteger.ONE); in testRSAPrivateCrtKeySpec01()
70 BigInteger.ONE, in testRSAPrivateCrtKeySpec02()
71 BigInteger.ONE, in testRSAPrivateCrtKeySpec02()
[all …]
DEllipticCurveTest.java45 BigInteger a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01()
61 a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01()
79 BigInteger a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02()
102 a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02()
253 BigInteger a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigInteger01()
268 a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigInteger01()
285 BigInteger a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigInteger02()
306 a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigInteger02()
441 .valueOf(4L), BigInteger.ONE); in testEllipticCurveECFieldBigIntegerBigInteger05()
443 assertEquals("incorrect b", ec.getB(), BigInteger.ONE); in testEllipticCurveECFieldBigIntegerBigInteger05()
[all …]
DECPointTest.java158 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); in testEqualsObject01()
162 p1 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); in testEqualsObject01()
181 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); in testEqualsObject02()
185 p1 = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); in testEqualsObject02()
190 p1 = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); in testEqualsObject02()
207 ECPoint f = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); in testHashCode01()
238 ECPoint p1 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); in testHashCode02()
/external/icu4c/test/testdata/
DWordBreakTest.txt59 ÷ 0001 ÷ 0031 ÷ 003A ÷ # ÷ [0.2] <START OF HEADING> (Other) ÷ [999.0] DIGIT ONE (Numeric) ÷ [999.0…
60 …F HEADING> (Other) × [4.0] COMBINING DIAERESIS (Extend_FE) ÷ [999.0] DIGIT ONE (Numeric) ÷ [999.0]…
61 ÷ 0001 ÷ 0031 ÷ 0027 ÷ # ÷ [0.2] <START OF HEADING> (Other) ÷ [999.0] DIGIT ONE (Numeric) ÷ [999.0…
62 …F HEADING> (Other) × [4.0] COMBINING DIAERESIS (Extend_FE) ÷ [999.0] DIGIT ONE (Numeric) ÷ [999.0]…
63 ÷ 0001 ÷ 0031 ÷ 002C ÷ # ÷ [0.2] <START OF HEADING> (Other) ÷ [999.0] DIGIT ONE (Numeric) ÷ [999.0…
64 …F HEADING> (Other) × [4.0] COMBINING DIAERESIS (Extend_FE) ÷ [999.0] DIGIT ONE (Numeric) ÷ [999.0]…
65 ÷ 0001 ÷ 0031 ÷ 002E × 2060 ÷ # ÷ [0.2] <START OF HEADING> (Other) ÷ [999.0] DIGIT ONE (Numeric) ÷…
66 …F HEADING> (Other) × [4.0] COMBINING DIAERESIS (Extend_FE) ÷ [999.0] DIGIT ONE (Numeric) ÷ [999.0]…
103 ÷ 000D ÷ 0031 ÷ 003A ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [3.1] DIGIT ONE (Numeric) ÷ [999.0]…
104 … RETURN (CR)> (CR) ÷ [3.1] COMBINING DIAERESIS (Extend_FE) ÷ [999.0] DIGIT ONE (Numeric) ÷ [999.0]…
[all …]
/external/icu4c/data/unidata/
DDerivedNumericValues.txt91 09F4 ; 0.0625 ; ; 1/16 # No BENGALI CURRENCY NUMERATOR ONE
92 0B75 ; 0.0625 ; ; 1/16 # No ORIYA FRACTION ONE SIXTEENTH
93 A833 ; 0.0625 ; ; 1/16 # No NORTH INDIC FRACTION ONE SIXTEENTH
99 2152 ; 0.1 ; ; 1/10 # No VULGAR FRACTION ONE TENTH
105 2151 ; 0.11111111 ; ; 1/9 # No VULGAR FRACTION ONE NINTH
112 0B76 ; 0.125 ; ; 1/8 # No ORIYA FRACTION ONE EIGHTH
113 215B ; 0.125 ; ; 1/8 # No VULGAR FRACTION ONE EIGHTH
114 A834 ; 0.125 ; ; 1/8 # No NORTH INDIC FRACTION ONE EIGHTH
115 1245F ; 0.125 ; ; 1/8 # Nl CUNEIFORM NUMERIC SIGN ONE EIGHTH ASH
121 2150 ; 0.14285714 ; ; 1/7 # No VULGAR FRACTION ONE SEVENTH
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
DEllipticCurve_ImplTest.java47 BigInteger.ONE, in testEqualsObject02()
53 BigInteger.ONE, in testEqualsObject02()
62 BigInteger.ONE, in testEqualsObject02()
71 BigInteger.ONE, in testEqualsObject02()
74 BigInteger.ONE, in testEqualsObject02()
80 BigInteger.ONE, in testEqualsObject02()
91 BigInteger.ONE, in testEqualsObject02()
102 BigInteger.ONE, in testEqualsObject02()
106 BigInteger.ONE, in testEqualsObject02()
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
DRSAKeyPairGenerator.java18 private static final BigInteger ONE = BigInteger.valueOf(1); field in RSAKeyPairGenerator
52 if (p.mod(e).equals(ONE)) in generateKeyPair()
62 if (e.gcd(p.subtract(ONE)).equals(ONE)) in generateKeyPair()
85 if (q.mod(e).equals(ONE)) in generateKeyPair()
95 if (e.gcd(q.subtract(ONE)).equals(ONE)) in generateKeyPair()
125 pSub1 = p.subtract(ONE); in generateKeyPair()
126 qSub1 = q.subtract(ONE); in generateKeyPair()
DDSAParametersGenerator.java25 private static final BigInteger ONE = BigInteger.valueOf(1); field in DSAParametersGenerator
128 BigInteger p = x.subtract(c.subtract(ONE)); in generateParameters_FIPS186_2()
147 BigInteger e = p.subtract(ONE).divide(q); in calculateGenerator_FIPS186_2()
195 BigInteger U = new BigInteger(1, output).mod(ONE.shiftLeft(N - 1)); in generateParameters_FIPS186_3()
198 BigInteger q = ONE.shiftLeft(N - 1).add(U).add(ONE).subtract(U.mod(TWO)); in generateParameters_FIPS186_3()
229 Vj = Vj.mod(ONE.shiftLeft(b)); in generateParameters_FIPS186_3()
236 BigInteger X = W.add(ONE.shiftLeft(L - 1)); in generateParameters_FIPS186_3()
242 BigInteger p = X.subtract(c.subtract(ONE)); in generateParameters_FIPS186_3()
DDHParametersHelper.java17 private static final BigInteger ONE = BigInteger.valueOf(1); field in DHParametersHelper
43 p = q.shiftLeft(1).add(ONE); in generateSafePrimes()
88 while (g.equals(ONE)); in selectGenerator()
DDSAKeyPairGenerator.java24 private static final BigInteger ONE = BigInteger.valueOf(1); field in DSAKeyPairGenerator
54 return BigIntegers.createRandomInRange(ONE, q.subtract(ONE), random); in generatePrivateKey()
/external/v8/test/mjsunit/
Dint32-ops.js34 const ONE = 1; constant
63 assertEquals(SMI_MAX + ONE, Add1(SMI_MAX), "smimax + 1");
64 assertEquals(SMI_MAX + ONE, Add1Reversed(SMI_MAX), "1 + smimax");
65 assertEquals(42 + ONE, Add1(OBJ_42)); // non-smi
66 assertEquals(42 + ONE, Add1Reversed(OBJ_42)); // non-smi
96 assertEquals(SMI_MIN - ONE, Sub1(SMI_MIN)); // overflow
97 assertEquals(ONE - SMI_MIN, Sub1Reversed(SMI_MIN)); // overflow
98 assertEquals(42 - ONE, Sub1(OBJ_42)); // non-smi
99 assertEquals(ONE - 42, Sub1Reversed(OBJ_42)); // non-smi
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DAlgorithmParameterGenerator3Test.java160 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE, in test_initLjava_security_spec_AlgorithmParameterSpec()
161 BigInteger.ONE, BigInteger.ONE); in test_initLjava_security_spec_AlgorithmParameterSpec()
181 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE, in test_initLjava_security_spec_AlgorithmParameterSpecLjava_security_SecureRandom()
182 BigInteger.ONE, BigInteger.ONE); in test_initLjava_security_spec_AlgorithmParameterSpecLjava_security_SecureRandom()
DSignature2Test.java140 sig.setParameter("r", BigInteger.ONE); in test_setParameterLjava_lang_StringLjava_lang_Object()
141 sig.setParameter("s", BigInteger.ONE); in test_setParameterLjava_lang_StringLjava_lang_Object()
156 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE, in test_setParameterLjava_security_spec_AlgorithmParameterSpec()
157 BigInteger.ONE, BigInteger.ONE); in test_setParameterLjava_security_spec_AlgorithmParameterSpec()
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
DTnaf.java14 private static final BigInteger MINUS_ONE = ECConstants.ONE.negate();
41 new ZTauElement(ECConstants.ONE, ECConstants.ZERO), null,
44 new ZTauElement(ECConstants.ONE, MINUS_ONE), null
60 new ZTauElement(ECConstants.ONE, ECConstants.ZERO), null,
61 new ZTauElement(MINUS_THREE, ECConstants.ONE), null,
62 new ZTauElement(MINUS_ONE, ECConstants.ONE), null,
63 new ZTauElement(ECConstants.ONE, ECConstants.ONE), null
221 if (eta.compareTo(ECConstants.ONE) >= 0) in round()
244 if (check1.compareTo(ECConstants.ONE) >= 0) in round()
300 ls = ls.add(ECConstants.ONE); in approximateDivisionByN()
[all …]
/external/flac/libFLAC/
Dfloat.c277 const FLAC__uint32 ONE = (1u << fracbits); in FLAC__fixedpoint_log2() local
283 if(x < ONE) in FLAC__fixedpoint_log2()
293 while (x > ONE && k < precision) { in FLAC__fixedpoint_log2()
294 if (x - z >= ONE) { in FLAC__fixedpoint_log2()
/external/skia/samplecode/
DSampleMeasure.cpp24 static const SkScalar ONE = SkIntToScalar(9999)/10000; variable
31 { ONE, false, false },
32 { ONE, false, true },
33 { ONE, true, false },
34 { ONE, true, true }
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
DSHA1withDSA_SignatureTest.java75 { BigInteger.ZERO, BigInteger.ZERO, BigInteger.ONE },
76 { BigInteger.ZERO, BigInteger.ONE, BigInteger.ONE },
77 { BigInteger.ONE, BigInteger.ZERO, BigInteger.ONE },
78 { BigInteger.ONE, BigInteger.ONE, BigInteger.ONE },
80 { BigInteger.ONE, BigInteger.ONE, MINUS_ONE },
81 { MINUS_ONE, BigInteger.ONE, BigInteger.ONE },
82 { BigInteger.ONE, MINUS_ONE, BigInteger.ONE }, };
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Statements/
Dswitch-004.js28 ONE = new Number(1); variable
46 SwitchTest( ONE, "ONE" );
82 case ONE: result += "ONE"; break;
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DDHPrivateKeySpecTest.java43 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
45 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
47 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
DDHPublicKeySpecTest.java43 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
45 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
47 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DTypeConverter.java27 private static final String ONE = "1"; field in TypeConverter
94 if (value.equals(ONE)) { in asNumber()
124 if (value.equals(ONE)) { in asBoolean()
/external/icu4c/test/intltest/
Ditrbnf.cpp782 const llong ONE(0, 1);
805 … &ZERO, &ONE, &NEG_ONE, &THREE, &NEG_THREE, &TWO_TO_16, &NEG_TWO_TO_16, &TWO_TO_32, &NEG_TWO_TO_32
810 …&ZERO, &ONE, &NEG_ONE, &THREE, &NEG_THREE, &TWO_TO_16, &NEG_TWO_TO_16, &TWO_TO_32, &NEG_TWO_TO_3…
811 … &ZERO, &NEG_ONE, &ONE, &NEG_THREE, &THREE, &NEG_TWO_TO_16, &TWO_TO_16, &NEG_TWO_TO_32, &TWO_TO_32,
843 const llong ONE(0, 1);
844 const llong NEG_ONE = -ONE;
860 &ONE, &ZERO,&MAX,
862 &ONE, &ONE, &ONE,
863 &ONE, &NEG_ONE, &NEG_ONE,
864 &NEG_ONE, &ONE, &NEG_ONE,
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x9/
DX9ECParameters.java23 private static final BigInteger ONE = BigInteger.valueOf(1); field in X9ECParameters
36 || !((DERInteger)seq.getObjectAt(0)).getValue().equals(ONE)) in X9ECParameters()
61 this(curve, g, n, ONE, null); in X9ECParameters()
120 … return ONE; // TODO - this should be calculated, it will cause issues with custom curves. in getH()
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/
DMacData.java18 private static final BigInteger ONE = BigInteger.valueOf(1); field in MacData
52 this.iterationCount = ONE; in MacData()
99 if (!iterationCount.equals(ONE)) in toASN1Object()

123456