Home
last modified time | relevance | path

Searched refs:rp (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/security/spec/
DECFieldF2m.java39 private final BigInteger rp; field in ECFieldF2m
57 this.rp = null; in ECFieldF2m()
77 public ECFieldF2m(int m, BigInteger rp) { in ECFieldF2m() argument
82 this.rp = rp; in ECFieldF2m()
83 if (this.rp == null) { in ECFieldF2m()
89 int rp_bc = this.rp.bitCount(); in ECFieldF2m()
90 if ((this.rp.bitLength() != (m+1)) || in ECFieldF2m()
92 (!this.rp.testBit(0) || !this.rp.testBit(m)) ) { in ECFieldF2m()
100 BigInteger rpTmp = rp.clearBit(0); in ECFieldF2m()
166 rp = rpTmp; in ECFieldF2m()
[all …]
/libcore/luni/src/test/java/tests/security/spec/
DECFieldF2mTest.java68 final BigInteger rp; field in ECFieldF2mTest.ECFieldF2mDomainParams
91 final BigInteger rp, in ECFieldF2mDomainParams() argument
95 this.rp = rp; in ECFieldF2mDomainParams()
298 new ECFieldF2m(tp.m, tp.rp); in testECFieldF2mintBigInteger()
524 BigInteger rp = BigInteger.valueOf(0L).setBit(0).setBit(1).setBit(2). in testGetReductionPolynomial01() local
526 assertTrue(new ECFieldF2m(2000, rp).getReductionPolynomial().equals(rp)); in testGetReductionPolynomial01()
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataTest.java2325 private boolean doesMatch(String pattern, int pp, String result, int rp) { in doesMatch() argument
2328 if (pp == pattern.length() && rp == result.length()) return true; in doesMatch()
2338 if (rp == result.length()) return false; in doesMatch()
2341 rp++; in doesMatch()
2354 for (int sp = rp; sp < result.length(); sp++) { in doesMatch()
2369 if (rp == result.length()) return false; in doesMatch()
2372 if (pc != result.charAt(rp)) { in doesMatch()
2377 rp++; in doesMatch()