/external/owasp/sanitizer/src/main/org/owasp/html/ |
D | HtmlEntities.java | 223 .put("quot", Integer.valueOf('"')) 224 .put("amp", Integer.valueOf('&')) 225 .put("lt", Integer.valueOf('<')) 226 .put("gt", Integer.valueOf('>')) 229 .put("apos", Integer.valueOf('\'')) 232 .put("nbsp", Integer.valueOf('\u00a0')) 233 .put("iexcl", Integer.valueOf('\u00a1')) 234 .put("cent", Integer.valueOf('\u00a2')) 235 .put("pound", Integer.valueOf('\u00a3')) 236 .put("curren", Integer.valueOf('\u00a4')) [all …]
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
D | EllipticCurveTest.java | 43 ECFieldFp f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01() 45 BigInteger b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01() 53 b = BigInteger.valueOf(23L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01() 59 f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01() 61 b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01() 79 BigInteger b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02() 90 f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02() 92 b = BigInteger.valueOf(19L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02() 102 f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02() 127 ECFieldFp f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03() [all …]
|
D | RSAOtherPrimeInfoTest.java | 50 new RSAOtherPrimeInfo(BigInteger.valueOf(1L), in testRSAOtherPrimeInfo01() 51 BigInteger.valueOf(2L), in testRSAOtherPrimeInfo01() 52 BigInteger.valueOf(3L)); in testRSAOtherPrimeInfo01() 63 BigInteger.valueOf(2L), in testRSAOtherPrimeInfo02() 64 BigInteger.valueOf(3L)); in testRSAOtherPrimeInfo02() 76 new RSAOtherPrimeInfo(BigInteger.valueOf(1L), in testRSAOtherPrimeInfo03() 78 BigInteger.valueOf(3L)); in testRSAOtherPrimeInfo03() 90 new RSAOtherPrimeInfo(BigInteger.valueOf(1L), in testRSAOtherPrimeInfo04() 91 BigInteger.valueOf(2L), in testRSAOtherPrimeInfo04() 105 BigInteger.valueOf(2L), in testRSAOtherPrimeInfo05() [all …]
|
D | ECPointTest.java | 55 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.valueOf(-23456L)); in testECPoint01() 56 new ECPoint(BigInteger.valueOf(123456L), BigInteger.valueOf(123456L)); in testECPoint01() 57 new ECPoint(BigInteger.valueOf(-56L), BigInteger.valueOf(234L)); in testECPoint01() 58 new ECPoint(BigInteger.valueOf(3456L), BigInteger.valueOf(-2344L)); in testECPoint01() 103 BigInteger x = BigInteger.valueOf(-23456L); in testGetAffineX01() 104 ECPoint p = new ECPoint(x, BigInteger.valueOf(23456L)); in testGetAffineX01() 131 BigInteger y = BigInteger.valueOf(23456L); in testGetAffineY01() 132 ECPoint p = new ECPoint(BigInteger.valueOf(-23456L), y); in testGetAffineY01() 158 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); in testEqualsObject01() 162 p1 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); in testEqualsObject01() [all …]
|
D | ECFieldFpTest.java | 54 new ECFieldFp(BigInteger.valueOf(23L)); in testECFieldFp01() 64 new ECFieldFp(BigInteger.valueOf(21L)); in testECFieldFp02() 74 new ECFieldFp(BigInteger.valueOf(-1L)); in testECFieldFp03() 88 new ECFieldFp(BigInteger.valueOf(0L)); in testECFieldFp04() 116 ECFieldFp f = new ECFieldFp(BigInteger.valueOf(23L)); in testHashCode01() 135 assertTrue(new ECFieldFp(BigInteger.valueOf(23L)).hashCode() == in testHashCode02() 136 new ECFieldFp(BigInteger.valueOf(23L)).hashCode()); in testHashCode02() 145 assertEquals(5, new ECFieldFp(BigInteger.valueOf(23L)).getFieldSize()); in testGetFieldSize() 154 BigInteger p = BigInteger.valueOf(23L); in testGetP() 164 ECFieldFp obj = new ECFieldFp(BigInteger.valueOf(23L)); in testEqualsObject01() [all …]
|
D | RSAPrivateCrtKeySpecTest.java | 111 BigInteger.valueOf(5L)); in testGetCrtCoefficient() 112 assertTrue(BigInteger.valueOf(5L).equals(ks.getCrtCoefficient())); in testGetCrtCoefficient() 126 BigInteger.valueOf(5L), in testGetPrimeExponentP() 129 assertTrue(BigInteger.valueOf(5L).equals(ks.getPrimeExponentP())); in testGetPrimeExponentP() 144 BigInteger.valueOf(5L), in testGetPrimeExponentQ() 146 assertTrue(BigInteger.valueOf(5L).equals(ks.getPrimeExponentQ())); in testGetPrimeExponentQ() 158 BigInteger.valueOf(5L), in testGetPrimeP() 163 assertTrue(BigInteger.valueOf(5L).equals(ks.getPrimeP())); in testGetPrimeP() 176 BigInteger.valueOf(5L), in testGetPrimeQ() 180 assertTrue(BigInteger.valueOf(5L).equals(ks.getPrimeQ())); in testGetPrimeQ() [all …]
|
D | RSAPublicKeySpecTest.java | 52 new RSAPublicKeySpec(BigInteger.valueOf(1234567890L), in testRSAPublicKeySpec01() 53 BigInteger.valueOf(3L)); in testRSAPublicKeySpec01() 76 new RSAPublicKeySpec(BigInteger.valueOf(1234567890L), in testGetModulus() 77 BigInteger.valueOf(3L)); in testGetModulus() 78 assertTrue(BigInteger.valueOf(1234567890L).equals(rpks.getModulus())); in testGetModulus() 87 new RSAPublicKeySpec(BigInteger.valueOf(3L), in testGetPublicExponent() 88 BigInteger.valueOf(1234567890L)); in testGetPublicExponent() 89 assertTrue(BigInteger.valueOf(1234567890L).equals(rpks.getPublicExponent())); in testGetPublicExponent()
|
D | RSAPrivateKeySpecTest.java | 50 KeySpec ks = new RSAPrivateKeySpec(BigInteger.valueOf(1234567890L), in testRSAPrivateKeySpec() 51 BigInteger.valueOf(3L)); in testRSAPrivateKeySpec() 61 new RSAPrivateKeySpec(BigInteger.valueOf(1234567890L), in testGetModulus() 62 BigInteger.valueOf(3L)); in testGetModulus() 72 new RSAPrivateKeySpec(BigInteger.valueOf(1234567890L), in testGetPrivateExponent() 73 BigInteger.valueOf(3L)); in testGetPrivateExponent()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/ |
D | EllipticCurve_ImplTest.java | 45 new EllipticCurve(new ECFieldFp(BigInteger.valueOf(23L)), in testEqualsObject02() 47 BigInteger.valueOf(19L)); in testEqualsObject02() 51 c1 = new EllipticCurve(new ECFieldFp(BigInteger.valueOf(23L)), in testEqualsObject02() 53 BigInteger.valueOf(19L)); in testEqualsObject02() 54 c2 = new EllipticCurve(new ECFieldFp(BigInteger.valueOf(31L)), in testEqualsObject02() 55 BigInteger.valueOf(1L), in testEqualsObject02() 56 BigInteger.valueOf(19L)); in testEqualsObject02() 60 c1 = new EllipticCurve(new ECFieldFp(BigInteger.valueOf(23L)), in testEqualsObject02() 62 BigInteger.valueOf(19L)); in testEqualsObject02() 63 c2 = new EllipticCurve(new ECFieldFp(BigInteger.valueOf(23L)), in testEqualsObject02() [all …]
|
D | ECParameterSpec_ImplTest.java | 55 new EllipticCurve(new ECFieldFp(BigInteger.valueOf(5L)), in testECParameterSpec01() 57 BigInteger.valueOf(4L)); in testECParameterSpec01() 58 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L)); in testECParameterSpec01() 59 new ECParameterSpec(c, g, BigInteger.valueOf(5L), 10); in testECParameterSpec01() 72 new EllipticCurve(new ECFieldFp(BigInteger.valueOf(5L)), in testECParameterSpec02() 74 BigInteger.valueOf(4L)); in testECParameterSpec02() 75 ECPoint generator = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L)); in testECParameterSpec02() 76 BigInteger order = BigInteger.valueOf(5L); in testECParameterSpec02() 120 new EllipticCurve(new ECFieldFp(BigInteger.valueOf(5L)), in testECParameterSpec03() 122 BigInteger.valueOf(4L)); in testECParameterSpec03() [all …]
|
D | ECPublicKeySpec_ImplTest.java | 56 new EllipticCurve(new ECFieldFp(BigInteger.valueOf(5L)), in testECPublicKeySpec01() 58 BigInteger.valueOf(4L)); in testECPublicKeySpec01() 59 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L)); in testECPublicKeySpec01() 61 new ECParameterSpec(c, g, BigInteger.valueOf(5L), 10)); in testECPublicKeySpec01() 75 new EllipticCurve(new ECFieldFp(BigInteger.valueOf(5L)), in testECPublicKeySpec02() 77 BigInteger.valueOf(4L)); in testECPublicKeySpec02() 78 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L)); in testECPublicKeySpec02() 83 new ECParameterSpec(c, g, BigInteger.valueOf(5L), 10)); in testECPublicKeySpec02() 116 new EllipticCurve(new ECFieldFp(BigInteger.valueOf(5L)), in testECPublicKeySpec03() 118 BigInteger.valueOf(4L)); in testECPublicKeySpec03() [all …]
|
D | ECPrivateKeySpec_ImplTest.java | 56 new EllipticCurve(new ECFieldFp(BigInteger.valueOf(5L)), in testECPrivateKeySpec01() 58 BigInteger.valueOf(4L)); in testECPrivateKeySpec01() 59 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L)); in testECPrivateKeySpec01() 61 new ECParameterSpec(c, g, BigInteger.valueOf(5L), 10)); in testECPrivateKeySpec01() 75 new EllipticCurve(new ECFieldFp(BigInteger.valueOf(5L)), in testECPrivateKeySpec02() 77 BigInteger.valueOf(4L)); in testECPrivateKeySpec02() 78 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L)); in testECPrivateKeySpec02() 83 new ECParameterSpec(c, g, BigInteger.valueOf(5L), 10)); in testECPrivateKeySpec02() 91 new ECPrivateKeySpec(BigInteger.valueOf(0L), null); in testECPrivateKeySpec02() 117 new EllipticCurve(new ECFieldFp(BigInteger.valueOf(5L)), in testGetParams() [all …]
|
D | ECFieldF2m_ImplTest.java | 106 BigInteger.valueOf(0L).setBit(0).setBit(367).setBit(1999), 112 … BigInteger.valueOf(0L).setBit(0).setBit(1).setBit(2).setBit(981).setBit(2000), 124 BigInteger.valueOf(0L).setBit(1).setBit(367).setBit(1999), 130 BigInteger.valueOf(0L).setBit(0).setBit(367).setBit(1998), 136 BigInteger.valueOf(0L).setBit(0).setBit(2367).setBit(1999), 142 … BigInteger.valueOf(0L).setBit(0).setBit(2001).setBit(2002).setBit(2003).setBit(2000), 148 BigInteger.valueOf(0L).setBit(0).setBit(2000), 154 BigInteger.valueOf(0L).setBit(0).setBit(1).setBit(2).setBit(2000), 160 BigInteger.valueOf(0L).setBit(0).setBit(1).setBit(2). 167 BigInteger.valueOf(0L), [all …]
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheRefreshTest.java | 43 assertEquals(Integer.valueOf(i), cache.getUnchecked(i)); in testAutoRefresh() 50 assertEquals(Integer.valueOf(0), cache.getUnchecked(0)); in testAutoRefresh() 51 assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); in testAutoRefresh() 52 assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); in testAutoRefresh() 58 assertEquals(Integer.valueOf(1), cache.getUnchecked(0)); in testAutoRefresh() 60 assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); in testAutoRefresh() 61 assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); in testAutoRefresh() 68 assertEquals(Integer.valueOf(1), cache.getUnchecked(0)); in testAutoRefresh() 69 assertEquals(Integer.valueOf(-1), cache.getUnchecked(1)); in testAutoRefresh() 70 assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); in testAutoRefresh() [all …]
|
/external/chromium_org/v8/test/mjsunit/regress/ |
D | regress-1365.js | 36 var valueOf = Object.prototype.valueOf; 39 function callGlobalValueOf() { valueOf(); } 40 function callGlobalHasOwnProperty() { valueOf(); } 42 assertEquals(Object.prototype, Object.prototype.valueOf()); 46 %OptimizeFunctionOnNextCall(Object.prototype.valueOf); 47 Object.prototype.valueOf(); 49 assertEquals(Object.prototype, Object.prototype.valueOf()); 54 var valueOf = Object.prototype.valueOf; 57 try { valueOf(); } catch(e) { exception = true; } 70 CheckExceptionCallParameter(Object.prototype.valueOf);
|
D | regress-353004.js | 9 var array1 = new Uint8Array(buffer1, {valueOf : function() { method 19 var array2 = new Uint8Array(buffer2, 0, {valueOf : function() { method 27 var dataView1 = new DataView(buffer3, {valueOf : function() { method 36 var dataView2 = new DataView(buffer4, 0, {valueOf : function() { method 44 var buffer6 = buffer5.slice({valueOf : function() { method 52 var buffer8 = buffer7.slice(0, {valueOf : function() { method 60 var array10 = array9.subarray({valueOf : function() { method 69 var array12 = array11.subarray(0, {valueOf : function() { method
|
/external/chromium_org/v8/test/webkit/ |
D | date-constructor.js | 31 object.valueOf = function() { return 1111; } function 77 var year = { valueOf: function() { testStr += 1; return 2007; } }; method 78 var month = { valueOf: function() { testStr += 2; return 2; } }; method 79 var date = { valueOf: function() { testStr += 3; return 4; } }; method 80 var hours = { valueOf: function() { testStr += 4; return 13; } }; method 81 var minutes = { valueOf: function() { testStr += 5; return 50; } }; method 82 var seconds = { valueOf: function() { testStr += 6; return 0; } }; method 83 var ms = { valueOf: function() { testStr += 7; return 999; } }; method
|
/external/apache-http/src/org/apache/commons/logging/impl/ |
D | Jdk14Logger.java | 113 log(Level.FINE, String.valueOf(message), null); in debug() 125 log(Level.FINE, String.valueOf(message), exception); in debug() 136 log(Level.SEVERE, String.valueOf(message), null); in error() 148 log(Level.SEVERE, String.valueOf(message), exception); in error() 159 log(Level.SEVERE, String.valueOf(message), null); in fatal() 171 log(Level.SEVERE, String.valueOf(message), exception); in fatal() 193 log(Level.INFO, String.valueOf(message), null); in info() 205 log(Level.INFO, String.valueOf(message), exception); in info() 264 log(Level.FINEST, String.valueOf(message), null); in trace() 276 log(Level.FINEST, String.valueOf(message), exception); in trace() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
D | SECNamedCurves.java | 52 BigInteger h = BigInteger.valueOf(1); 78 BigInteger h = BigInteger.valueOf(4); 104 BigInteger h = BigInteger.valueOf(1); 130 BigInteger h = BigInteger.valueOf(4); 153 BigInteger b = BigInteger.valueOf(7); 156 BigInteger h = BigInteger.valueOf(1); 182 BigInteger h = BigInteger.valueOf(1); 208 BigInteger h = BigInteger.valueOf(1); 231 BigInteger b = BigInteger.valueOf(3); 234 BigInteger h = BigInteger.valueOf(1); [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ForwardingConcurrentMapTest.java | 43 assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2)); in testPutIfAbsent() 44 assertEquals(Integer.valueOf(1), map.get("foo")); in testPutIfAbsent() 46 assertEquals(Integer.valueOf(3), map.get("bar")); in testPutIfAbsent() 54 assertEquals(Integer.valueOf(1), map.get("foo")); in testRemove() 62 assertEquals(Integer.valueOf(1), map.replace("foo", 2)); in testReplace() 64 assertEquals(Integer.valueOf(2), map.get("foo")); in testReplace() 73 assertEquals(Integer.valueOf(1), map.get("foo")); in testReplaceConditional() 76 assertEquals(Integer.valueOf(4), map.get("foo")); in testReplaceConditional()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
D | SecretKeyUtil.java | 18 keySizes.put(PKCSObjectIdentifiers.des_EDE3_CBC.getId(), Integers.valueOf(192)); in PKCSObjectIdentifiers.des_EDE3_CBC.getId() 20 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC, Integers.valueOf(128)); in keySizes.put() 21 keySizes.put(NISTObjectIdentifiers.id_aes192_CBC, Integers.valueOf(192)); in keySizes.put() 22 keySizes.put(NISTObjectIdentifiers.id_aes256_CBC, Integers.valueOf(256)); in keySizes.put() 24 keySizes.put(NTTObjectIdentifiers.id_camellia128_cbc, Integers.valueOf(128)); in keySizes.put() 25 keySizes.put(NTTObjectIdentifiers.id_camellia192_cbc, Integers.valueOf(192)); in keySizes.put() 26 keySizes.put(NTTObjectIdentifiers.id_camellia256_cbc, Integers.valueOf(256)); in keySizes.put()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
D | X962NamedCurves.java | 32 BigInteger.valueOf(1), 51 BigInteger.valueOf(1), 70 BigInteger.valueOf(1), 89 BigInteger.valueOf(1), 108 BigInteger.valueOf(1), 127 BigInteger.valueOf(1), 146 BigInteger.valueOf(1), 159 BigInteger c2m163v1h = BigInteger.valueOf(2); 182 BigInteger c2m163v2h = BigInteger.valueOf(2); 205 BigInteger c2m163v3h = BigInteger.valueOf(2); [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | ECConstants.java | 7 public static final BigInteger ZERO = BigInteger.valueOf(0); 8 public static final BigInteger ONE = BigInteger.valueOf(1); 9 public static final BigInteger TWO = BigInteger.valueOf(2); 10 public static final BigInteger THREE = BigInteger.valueOf(3); 11 public static final BigInteger FOUR = BigInteger.valueOf(4);
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | LongMathTest.java | 29 import static java.math.BigInteger.valueOf; 65 BigInteger.valueOf(LongMath.HALF_POWERS_OF_10[i])); in testConstantsHalfPowersOf10() 69 assertTrue(nextBigger.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0); in testConstantsHalfPowersOf10() 164 assertEquals(BigIntegerMath.log2(valueOf(x), mode), LongMath.log2(x, mode)); in testLog2MatchesBigInteger() 207 assertEquals(BigIntegerMath.log10(valueOf(x), mode), LongMath.log10(x, mode)); in testLog10MatchesBigInteger() 250 assertEquals(BigIntegerMath.sqrt(valueOf(x), mode), valueOf(LongMath.sqrt(x, mode))); in testSqrtMatchesBigInteger() 273 assertEquals(LongMath.pow(i, exp), valueOf(i) in testPow() 285 new BigDecimal(valueOf(p)).divide(new BigDecimal(valueOf(q)), 0, mode).longValue(); in testDivNonZero() 329 assertEquals(valueOf(x) in testIntMod() 330 .mod(valueOf(m)) in testIntMod() [all …]
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TimeTest.java | 124 Time theReturn = Time.valueOf(validTime[i]); in testValueOfString() 130 Time.valueOf(element); in testValueOfString() 239 Time.valueOf("15:43:12:34"); in test_valueOf_IllegalArgumentException() 246 Time.valueOf(":10:07:01"); in test_valueOf_IllegalArgumentException() 253 Time.valueOf("::01"); in test_valueOf_IllegalArgumentException() 260 Time.valueOf("11::"); in test_valueOf_IllegalArgumentException() 267 Time.valueOf(":01:"); in test_valueOf_IllegalArgumentException() 274 Time.valueOf(":10:w2:01"); in test_valueOf_IllegalArgumentException() 281 Time.valueOf("07:w2:"); in test_valueOf_IllegalArgumentException() 288 Time.valueOf("17:w2:w2"); in test_valueOf_IllegalArgumentException() [all …]
|