Home
last modified time | relevance | path

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

12

/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()
/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/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp504 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()
723 DemandedMaskIn.setBit(BitWidth-1); in SimplifyDemandedUseBits()
801 KnownZero.setBit(KnownZero.getBitWidth() - 1); in SimplifyDemandedUseBits()
994 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1003 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1087 LeftDemanded.setBit(MaskVal); in SimplifyDemandedVectorElts()
1089 RightDemanded.setBit(MaskVal - LHSVWidth); in SimplifyDemandedVectorElts()
1108 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1111 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1115 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()
/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/Transforms/Scalar/
DBDCE.cpp194 AB.setBit(BitWidth-1); in determineLiveOperandBits()
252 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()
1229 void setBit(unsigned bitPosition);
/external/pdfium/third_party/bigint/
DBigUnsigned.hh116 void setBit(Index bi, bool newBit);
DBigUnsigned.cc67 void BigUnsigned::setBit(Index bi, bool newBit) { in setBit() function in BigUnsigned
/external/deqp/modules/gles3/functional/
Des3fASTCDecompressionCases.cpp157 void setBit (int ndx, deUint32 val) in setBit() function in deqp::gles3::Functional::ASTCDecompressionCaseInternal::ASTCBlockGeneratorInternal::AssignBlock128
275 block.setBit(9, params.isHDR); in generateVoidExtentBlock()
557 #define SB(NDX, VAL) dst.setBit((NDX), (VAL)) in writeBlockMode()
611 dst.setBit(25 + partNdx, c); in writeColorEndpointModes()
612 dst.setBit(lowMBit0Ndx < 4 ? 25+lowMBit0Ndx : extraCemBitsStart+lowMBit0Ndx-4, getBit(m, 0)); in writeColorEndpointModes()
613 dst.setBit(lowMBit1Ndx < 4 ? 25+lowMBit1Ndx : extraCemBitsStart+lowMBit1Ndx-4, getBit(m, 1)); in writeColorEndpointModes()
/external/llvm/lib/IR/
DConstantRange.cpp160 Size.setBit(getBitWidth()); in getSetSize()
485 MaxBitValue.setBit(DstTySize); in truncate()
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java793 setBit(signature, idx); in computeSignature()
824 private void setBit(byte[] signature, int idx) in setBit() method in ProxyFactory

12