Home
last modified time | relevance | path

Searched refs:setBit (Results 1 – 25 of 62) sorted by relevance

123

/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
DECFieldF2m_ImplTest.java106 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).
161 setBit(981).setBit(985).setBit(2000),
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DECFieldF2mTest.java352 setBit(0).setBit(1).setBit(2). in testHashCode05()
353 setBit(981).setBit(2000)).hashCode()); in testHashCode05()
384 setBit(0).setBit(367).setBit(1999)))); in testEqualsObject03()
396 setBit(0).setBit(1).setBit(2). in testEqualsObject04()
397 setBit(981).setBit(2000)); in testEqualsObject04()
409 setBit(0).setBit(1).setBit(2). in testEqualsObject05()
410 setBit(981).setBit(2000)); in testEqualsObject05()
458 BigInteger.valueOf(0L).setBit(0).setBit(1). in testGetMidTermsOfReductionPolynomial01()
459 setBit(2).setBit(981).setBit(2000)). in testGetMidTermsOfReductionPolynomial01()
490 BigInteger rp = BigInteger.valueOf(0L).setBit(0).setBit(1).setBit(2). in testGetReductionPolynomial01()
[all …]
/external/skia/tests/
DBitSetTest.cpp20 set0.setBit(22, true); in DEF_TEST()
22 set0.setBit(24, true); in DEF_TEST()
24 set0.setBit(35, true); // on a different DWORD in DEF_TEST()
26 set0.setBit(22, false); in DEF_TEST()
37 set1.setBit(12345, true); in DEF_TEST()
65 set2.setBit(0, true); in DEF_TEST()
67 set5.setBit(0, true); in DEF_TEST()
70 set3.setBit(0, true); in DEF_TEST()
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
DBigIntegerMathTest.java79 assertTrue(ZERO.setBit(result).compareTo(x) <= 0); in testLog2Floor()
80 assertTrue(ZERO.setBit(result + 1).compareTo(x) > 0); in testLog2Floor()
89 assertTrue(ZERO.setBit(result).compareTo(x) >= 0); in testLog2Ceiling()
90 assertTrue(result == 0 || ZERO.setBit(result - 1).compareTo(x) < 0); in testLog2Ceiling()
101 assertEquals(x, ZERO.setBit(BigIntegerMath.log2(x, UNNECESSARY))); in testLog2Exact()
114 assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) > 0); in testLog2HalfUp()
116 assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) <= 0); in testLog2HalfUp()
125 assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) >= 0); in testLog2HalfDown()
127 assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) < 0); in testLog2HalfDown()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_bvgraph_test.cc83 EXPECT_EQ(target.setBit(idx), s_target.insert(idx).second); in BasicTest()
137 bv.setBit(idx); in RemoveEdges()
173 target.setBit(t0); in Test_isReachable()
174 target.setBit(t1); in Test_isReachable()
252 target.setBit(i); in LongCycle()
272 t7.setBit(7); in ShortestPath()
315 from.setBit(0); in RunAddEdgesTest()
321 from.setBit(1); in RunAddEdgesTest()
326 from.setBit(2); in RunAddEdgesTest()
327 from.setBit(3); in RunAddEdgesTest()
Dsanitizer_bitvector_test.cc82 bv.setBit(5); in TestBitVector()
98 EXPECT_EQ(bv.setBit(bit), s.insert(bit).second); in TestBitVector()
124 bv.setBit(bits[i]); in TestBitVector()
129 bv1.setBit(bits[bv.size() / 2 + i]); in TestBitVector()
/external/guava/guava-tests/test/com/google/common/math/
DBigIntegerMathTest.java57 BigInteger.ZERO.setBit(2 * BigIntegerMath.SQRT2_PRECOMPUTE_THRESHOLD + 1), FLOOR), in testConstantSqrt2PrecomputedBits()
91 assertTrue(ZERO.setBit(result).compareTo(x) <= 0); in testLog2Floor()
92 assertTrue(ZERO.setBit(result + 1).compareTo(x) > 0); in testLog2Floor()
101 assertTrue(ZERO.setBit(result).compareTo(x) >= 0); in testLog2Ceiling()
102 assertTrue(result == 0 || ZERO.setBit(result - 1).compareTo(x) < 0); in testLog2Ceiling()
113 assertEquals(x, ZERO.setBit(BigIntegerMath.log2(x, UNNECESSARY))); in testLog2Exact()
126 assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) > 0); in testLog2HalfUp()
128 assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) <= 0); in testLog2HalfUp()
137 assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) >= 0); in testLog2HalfDown()
139 assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) < 0); in testLog2HalfDown()
DMathBenchmarking.java72 .setBit(digits); in randomNonNegativeBigInteger()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_bvgraph.h46 return v[from].setBit(to); in addEdge()
56 if (v[node].setBit(to)) in addEdges()
116 visited.setBit(from); in isReachable()
119 if (visited.setBit(idx)) in isReachable()
Dsanitizer_bitvector.h34 bool setBit(uptr idx) { in setBit() function
144 bool setBit(uptr idx) { in setBit() function
150 l1_[i0].setBit(i1); in setBit()
153 bool res = l2_[i0][i1].setBit(i2); in setBit()
188 l1_[i0].setBit(i1); in getAndClearFirstOne()
204 if (l1_[i0].setBit(i1)) in setUnion()
Dsanitizer_deadlock_detector.h63 if (!bv_.setBit(lock_id)) { in addLock()
195 CHECK(recycled_nodes_.setBit(idx)); in removeNode()
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_DefaultPlacement.cpp52 void CBC_DefaultPlacement::setBit(int32_t col, int32_t row, FX_BOOL bit) { in setBit() function in CBC_DefaultPlacement
95 setBit(m_numcols - 1, m_numrows - 1, TRUE); in place()
96 setBit(m_numcols - 2, m_numrows - 2, TRUE); in place()
113 setBit(col, row, v != 0); in module()
DBC_DefaultPlacement.h20 void setBit(int32_t col, int32_t row, FX_BOOL bit);
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp498 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()
639 DemandedMaskIn.setBit(BitWidth-1); in SimplifyDemandedUseBits()
717 KnownZero.setBit(KnownZero.getBitWidth() - 1); in SimplifyDemandedUseBits()
910 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
919 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1003 LeftDemanded.setBit(MaskVal); in SimplifyDemandedVectorElts()
1005 RightDemanded.setBit(MaskVal - LHSVWidth); in SimplifyDemandedVectorElts()
1024 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1027 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1031 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDHKeyGeneratorHelper.java30 BigInteger x = new BigInteger(limit, random).setBit(limit - 1); in calculatePrivate()
DDSAParametersGenerator.java260 BigInteger q = U.setBit(0).setBit(N - 1); in generateParameters_FIPS186_3()
/external/skia/src/utils/
DSkBitSet.h33 void setBit(int index, bool value) { in setBit() function
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedLongTest.java73 : BigInteger.valueOf(value).add(BigInteger.ZERO.setBit(64)); in testAsUnsignedBigIntegerValue()
262 (a >= 0) ? BigInteger.valueOf(a) : BigInteger.valueOf(a).add(BigInteger.ZERO.setBit(64)); in testEquals()
DUnsignedLongsTest.java203 BigInteger max = BigInteger.ZERO.setBit(64).subtract(ONE); in testParseLongWithRadix()
/external/llvm/lib/Analysis/
DDemandedBits.cpp181 AB.setBit(BitWidth-1); in determineLiveOperandBits()
239 AB.setBit(BitWidth-1); in determineLiveOperandBits()
/external/guava/guava/src/com/google/common/primitives/
DUnsignedLong.java228 bigInt = bigInt.setBit(Long.SIZE - 1); in bigIntegerValue()
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DUnsignedLongsTest.java186 BigInteger max = BigInteger.ZERO.setBit(64).subtract(ONE); in testParseLongWithRadix()
DUnsignedLongTest.java69 : BigInteger.valueOf(value).add(BigInteger.ZERO.setBit(64)); in testAsUnsignedBigIntegerValue()
/external/llvm/include/llvm/ADT/
DAPInt.h439 API.setBit(numBits - 1); in getSignedMinValue()
482 Res.setBit(BitNo); in getOneBitSet()
1237 void setBit(unsigned bitPosition);
/external/pdfium/third_party/bigint/
DBigUnsigned.hh116 void setBit(Index bi, bool newBit);

123