/third_party/node/deps/npm/node_modules/jsbn/ |
D | index.js | 17 function BigInteger(a,b,c) { class 25 function nbi() { return new BigInteger(null); } 74 BigInteger.prototype.am = am2; class 78 BigInteger.prototype.am = am1; 82 BigInteger.prototype.am = am3; 86 BigInteger.prototype.DB = dbits; 87 BigInteger.prototype.DM = ((1<<dbits)-1); 88 BigInteger.prototype.DV = (1<<dbits); 91 BigInteger.prototype.FV = Math.pow(2,BI_FP); 92 BigInteger.prototype.F1 = BI_FP-dbits; [all …]
|
D | example.js | 1 var BigInteger = require('./'); variable 2 var a = new BigInteger('91823918239182398123');
|
D | README.md | 9 var BigInteger = require('jsbn'); 11 var a = new BigInteger('91823918239182398123'); 23 returns a new BigInteger equal to the negation of `bi`
|
/third_party/node/deps/npm/node_modules/ecc-jsbn/lib/ |
D | sec.js | 4 var BigInteger = require('jsbn').BigInteger variable 43 function fromHex(s) { return new BigInteger(s, 16); } 52 var h = BigInteger.ONE; 63 var a = BigInteger.ZERO; 67 var h = BigInteger.ONE; 82 var h = BigInteger.ONE; 93 var a = BigInteger.ZERO; 97 var h = BigInteger.ONE; 112 var h = BigInteger.ONE; 127 var h = BigInteger.ONE; [all …]
|
D | ec.js | 6 var BigInteger = require('jsbn').BigInteger variable 7 var Barrett = BigInteger.prototype.Barrett 72 this.z = BigInteger.ONE; 106 if(!u.equals(BigInteger.ZERO)) return false; 109 return v.equals(BigInteger.ZERO); 114 return this.z.equals(BigInteger.ZERO) && !this.y.toBigInteger().equals(BigInteger.ZERO); 130 if(BigInteger.ZERO.equals(v)) { 131 if(BigInteger.ZERO.equals(u)) { 137 var THREE = new BigInteger("3"); 163 var THREE = new BigInteger("3"); [all …]
|
/third_party/node/deps/npm/node_modules/ecc-jsbn/ |
D | index.js | 2 var BigInteger = require("jsbn").BigInteger; variable 33 priv = new BigInteger(key.toString("hex"), 16); 36 var n1 = n.subtract(BigInteger.ONE); 37 var r = new BigInteger(crypto.randomBytes(n.bitLength())); 38 priv = r.mod(n1).add(BigInteger.ONE);
|
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | TimeUtil.java | 36 import java.math.BigInteger; 364 private static final BigInteger NANOS_PER_SECOND_BIG_INTEGER = 365 new BigInteger(String.valueOf(NANOS_PER_SECOND)); 367 private static BigInteger toBigInteger(Duration duration) { in toBigInteger() 373 private static BigInteger toBigInteger(long value) { in toBigInteger() 374 return new BigInteger(String.valueOf(value)); in toBigInteger() 377 private static Duration createDurationFromBigInteger(BigInteger value) { in createDurationFromBigInteger() 378 long seconds = value.divide(new BigInteger(String.valueOf(NANOS_PER_SECOND))).longValue(); in createDurationFromBigInteger() 379 int nanos = value.remainder(new BigInteger(String.valueOf(NANOS_PER_SECOND))).intValue(); in createDurationFromBigInteger()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
D | DecimalQuantity_64BitBCD.java | 6 import java.math.BigInteger; 39 public DecimalQuantity_64BitBCD(BigInteger input) { in DecimalQuantity_64BitBCD() 130 protected void readBigIntegerToBcd(BigInteger n) { in readBigIntegerToBcd() 135 BigInteger[] temp = n.divideAndRemainder(BigInteger.TEN); in readBigIntegerToBcd()
|
D | DecimalQuantity_ByteArrayBCD.java | 6 import java.math.BigInteger; 39 public DecimalQuantity_ByteArrayBCD(BigInteger input) { in DecimalQuantity_ByteArrayBCD() 151 protected void readBigIntegerToBcd(BigInteger n) { in readBigIntegerToBcd() 155 BigInteger[] temp = n.divideAndRemainder(BigInteger.TEN); in readBigIntegerToBcd()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/ |
D | DecimalQuantity_64BitBCD.java | 7 import java.math.BigInteger; 42 public DecimalQuantity_64BitBCD(BigInteger input) { in DecimalQuantity_64BitBCD() 133 protected void readBigIntegerToBcd(BigInteger n) { in readBigIntegerToBcd() 138 BigInteger[] temp = n.divideAndRemainder(BigInteger.TEN); in readBigIntegerToBcd()
|
D | DecimalQuantity_ByteArrayBCD.java | 7 import java.math.BigInteger; 42 public DecimalQuantity_ByteArrayBCD(BigInteger input) { in DecimalQuantity_ByteArrayBCD() 154 protected void readBigIntegerToBcd(BigInteger n) { in readBigIntegerToBcd() 158 BigInteger[] temp = n.divideAndRemainder(BigInteger.TEN); in readBigIntegerToBcd()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 7 import java.math.BigInteger; 52 public DecimalQuantity_DualStorageBCD(BigInteger input) { in DecimalQuantity_DualStorageBCD() 75 } else if (number instanceof BigInteger) { in DecimalQuantity_DualStorageBCD() 76 setToBigInteger((BigInteger) number); in DecimalQuantity_DualStorageBCD() 230 protected void readBigIntegerToBcd(BigInteger n) { in readBigIntegerToBcd() 235 BigInteger[] temp = n.divideAndRemainder(BigInteger.TEN); in readBigIntegerToBcd()
|
D | DecimalQuantity_AbstractBCD.java | 7 import java.math.BigInteger; 393 readBigIntegerToBcd(BigInteger.valueOf(n).negate()); in _setToLong() 401 public void setToBigInteger(BigInteger n) { in setToBigInteger() 414 private void _setToBigInteger(BigInteger n) { in _setToBigInteger() 600 BigInteger bi = n.toBigInteger(); in _setToBigDecimal() 1234 protected abstract void readBigIntegerToBcd(BigInteger input); in readBigIntegerToBcd()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 6 import java.math.BigInteger; 51 public DecimalQuantity_DualStorageBCD(BigInteger input) { in DecimalQuantity_DualStorageBCD() 74 } else if (number instanceof BigInteger) { in DecimalQuantity_DualStorageBCD() 75 setToBigInteger((BigInteger) number); in DecimalQuantity_DualStorageBCD() 224 protected void readBigIntegerToBcd(BigInteger n) { in readBigIntegerToBcd() 229 BigInteger[] temp = n.divideAndRemainder(BigInteger.TEN); in readBigIntegerToBcd()
|
D | DecimalQuantity_AbstractBCD.java | 6 import java.math.BigInteger; 399 readBigIntegerToBcd(BigInteger.valueOf(n).negate()); in _setToLong() 407 public void setToBigInteger(BigInteger n) { in setToBigInteger() 420 private void _setToBigInteger(BigInteger n) { in _setToBigInteger() 606 BigInteger bi = n.toBigInteger(); in _setToBigDecimal() 1232 protected abstract void readBigIntegerToBcd(BigInteger input); in readBigIntegerToBcd()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
D | ComplexUnitsConverter.java | 6 import java.math.BigInteger; 167 BigInteger sign = BigInteger.ONE; in convert() 179 List<BigInteger> intValues = new ArrayList<>(unitsConverters_.size() - 1); in convert() 190 …BigInteger flooredQuantity = quantity.multiply(EPSILON_MULTIPLIER).setScale(0, RoundingMode.FLOOR)… in convert() 235 …private BigDecimal applyRounder(List<BigInteger> intValues, BigDecimal quantity, Precision rounder… in applyRounder()
|
/third_party/skia/third_party/externals/brotli/java/org/brotli/integration/ |
D | BundleHelper.java | 12 import java.math.BigInteger; 72 new BigInteger("C96C5795D7870F42", 16).longValue(); 111 return new BigInteger(entryCrcString, 16).longValue(); in getExpectedFingerprint()
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/ |
D | CalculateCRC32.java | 12 import java.math.BigInteger; 86 return new BigInteger(new Integer(cachedCRC).toString()).toByteArray(); in toBytes()
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | Utils.java | 47 import java.math.BigInteger; 145 … RubyBignum.newBignum(runtime, UINT64_COMPLEMENTARY.add(new BigInteger(ret + ""))); in wrapPrimaryValue() 300 …private static BigInteger UINT64_COMPLEMENTARY = new BigInteger("18446744073709551616"); //Math.po…
|
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/ |
D | StandardMessageCodec.java | 12 import java.math.BigInteger; 241 } else if (value instanceof BigInteger) { in writeValue() 244 ((BigInteger) value).toString(16).getBytes(UTF8)); in writeValue() 372 result = new BigInteger(new String(hex, UTF8), 16); in readValueOfType()
|
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ |
D | ICULocaleServiceProviderConfig.properties | 29 # BigInteger/BigDecimal are not handled by the ICU implementation. If a client expects 32 # BigInteger/BigDecimal support is not done by ICU's implementation.
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/ |
D | Scale.java | 7 import java.math.BigInteger; 48 if (arbitrary.precision() == 1 && arbitrary.unscaledValue().equals(BigInteger.ONE)) { in Scale()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | Scale.java | 6 import java.math.BigInteger; 47 if (arbitrary.precision() == 1 && arbitrary.unscaledValue().equals(BigInteger.ONE)) { in Scale()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | NumberFormat.java | 17 import java.math.BigInteger; 263 } else if (number instanceof BigInteger) { in format() 264 return format((BigInteger) number, toAppendTo, pos); in format() 314 public final String format(BigInteger number) { in format() 362 public abstract StringBuffer format(BigInteger number, in format()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberFormat.java | 16 import java.math.BigInteger; 276 } else if (number instanceof BigInteger) { in format() 277 return format((BigInteger) number, toAppendTo, pos); in format() 331 public final String format(BigInteger number) { in format() 385 public abstract StringBuffer format(BigInteger number, in format()
|