/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/ |
D | BigIntegerMathTest.java | 79 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/ |
D | sanitizer_bvgraph_test.cc | 83 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()
|
D | sanitizer_bitvector_test.cc | 82 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/ |
D | BigIntegerMathTest.java | 57 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()
|
D | MathBenchmarking.java | 72 .setBit(digits); in randomNonNegativeBigInteger()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_bvgraph.h | 46 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()
|
D | sanitizer_bitvector.h | 34 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()
|
D | sanitizer_deadlock_detector.h | 63 if (!bv_.setBit(lock_id)) { in addLock() 195 CHECK(recycled_nodes_.setBit(idx)); in removeNode()
|
/external/pdfium/xfa/fxbarcode/datamatrix/ |
D | BC_DefaultPlacement.cpp | 52 void CBC_DefaultPlacement::setBit(int32_t col, int32_t row, 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()
|
D | BC_DefaultPlacement.h | 23 void setBit(int32_t col, int32_t row, bool bit);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 451 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits() 648 DemandedMaskIn.setBit(BitWidth-1); in SimplifyDemandedUseBits() 833 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 836 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 940 LeftDemanded.setBit(MaskVal); in SimplifyDemandedVectorElts() 942 RightDemanded.setBit(MaskVal - LHSVWidth); in SimplifyDemandedVectorElts() 961 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 964 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 968 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 973 UndefElts.setBit(i); in SimplifyDemandedVectorElts() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 497 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits() 638 DemandedMaskIn.setBit(BitWidth-1); in SimplifyDemandedUseBits() 716 KnownZero.setBit(KnownZero.getBitWidth() - 1); in SimplifyDemandedUseBits() 940 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 949 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 1033 LeftDemanded.setBit(MaskVal); in SimplifyDemandedVectorElts() 1035 RightDemanded.setBit(MaskVal - LHSVWidth); in SimplifyDemandedVectorElts() 1054 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 1057 UndefElts.setBit(i); in SimplifyDemandedVectorElts() 1061 UndefElts.setBit(i); in SimplifyDemandedVectorElts() [all …]
|
/external/llvm/include/llvm/Transforms/IPO/ |
D | WholeProgramDevirt.h | 75 void setBit(uint64_t Pos, bool b) { in setBit() function 165 TM->Bits->Before.setBit(Pos - 8 * minBeforeBytes(), RetVal); in setBeforeBit() 171 TM->Bits->After.setBit(Pos - 8 * minAfterBytes(), RetVal); in setAfterBit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | DHKeyGeneratorHelper.java | 30 BigInteger x = new BigInteger(limit, random).setBit(limit - 1); in calculatePrivate()
|
D | DSAParametersGenerator.java | 261 BigInteger q = U.setBit(0).setBit(N - 1); in generateParameters_FIPS186_3()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | UnsignedLongTest.java | 73 : 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()
|
D | UnsignedLongsTest.java | 203 BigInteger max = BigInteger.ZERO.setBit(64).subtract(ONE); in testParseLongWithRadix()
|
/external/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 183 AB.setBit(BitWidth-1); in determineLiveOperandBits() 241 AB.setBit(BitWidth-1); in determineLiveOperandBits()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | UnsignedLong.java | 228 bigInt = bigInt.setBit(Long.SIZE - 1); in bigIntegerValue()
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | UnsignedLongsTest.java | 186 BigInteger max = BigInteger.ZERO.setBit(64).subtract(ONE); in testParseLongWithRadix()
|
D | UnsignedLongTest.java | 69 : BigInteger.valueOf(value).add(BigInteger.ZERO.setBit(64)); in testAsUnsignedBigIntegerValue()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APInt.h | 413 API.setBit(numBits - 1); in getSignedMinValue() 449 Res.setBit(BitNo); in getOneBitSet() 1077 void setBit(unsigned bitPosition);
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 439 API.setBit(numBits - 1); in getSignedMinValue() 482 Res.setBit(BitNo); in getOneBitSet() 1242 void setBit(unsigned bitPosition);
|
/external/pdfium/third_party/bigint/ |
D | BigUnsigned.hh | 116 void setBit(Index bi, bool newBit);
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 259 Size.setBit(getBitWidth()); in getSetSize() 584 MaxBitValue.setBit(DstTySize); in truncate()
|