Home
last modified time | relevance | path

Searched refs:lcm (Results 1 – 10 of 10) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
DMath.java22 public static long lcm(long a, long b) { in lcm() method in Math
26 public static int lcm(int a, int b) { in lcm() method in Math
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DRSAKeyPairGenerator.java35 BigInteger p, q, n, d, e, pSub1, qSub1, phi, lcm, dLowerBound; in generateKeyPair() local
107 lcm = phi.divide(pSub1.gcd(qSub1)); in generateKeyPair()
112 d = e.modInverse(lcm); in generateKeyPair()
/external/boringssl/src/crypto/rsa/
Drsa.c502 BIGNUM n, pm1, qm1, lcm, gcd, de, dmp1, dmq1, iqmp; in RSA_check_key() local
536 BN_init(&lcm); in RSA_check_key()
548 !BN_mul(&lcm, &pm1, &qm1, ctx) || in RSA_check_key()
550 !BN_div(&lcm, NULL, &lcm, &gcd, ctx) || in RSA_check_key()
552 !BN_mod_mul(&de, key->d, key->e, &lcm, ctx)) { in RSA_check_key()
599 BN_free(&lcm); in RSA_check_key()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMathUtils.java1161 public static int lcm(int a, int b) {
1165 int lcm = FastMath.abs(mulAndCheck(a / gcd(a, b), b));
1166 if (lcm == Integer.MIN_VALUE) {
1171 return lcm;
1196 public static long lcm(long a, long b) {
1200 long lcm = FastMath.abs(mulAndCheck(a / gcd(a, b), b));
1201 if (lcm == Long.MIN_VALUE){
1206 return lcm;
/external/llvm/lib/CodeGen/
DTargetSchedule.cpp47 static unsigned lcm(unsigned A, unsigned B) { in lcm() function
67 ResourceLCM = lcm(ResourceLCM, NumUnits); in init()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DSyncSampleIntersectFinderImpl.java27 import static com.googlecode.mp4parser.util.Math.lcm;
298 timeScale = lcm(timeScale, track1.getTrackMetaData().getTimescale()); in calculateTracktimesScalingFactor()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRuleSet.java581 leastCommonMultiple = lcm(leastCommonMultiple, rules[i].getBaseValue()); in findFractionRuleSetRule()
639 private static long lcm(long x, long y) { in lcm() method in NFRuleSet
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DMultiplyTimeScaleTrack.java30 import static com.googlecode.mp4parser.util.Math.lcm;
/external/v8/benchmarks/
Dearley-boyer.js418 var lcm = 1;
420 var f = Math.round(arguments[i] / sc_euclid_gcd(arguments[i], lcm));
421 lcm *= Math.abs(f);
423 return lcm;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...