Searched refs:setBit (Results 1 - 25 of 53) sorted by relevance

123

/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
H A 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(36
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
H A DECFieldF2mTest.java352 setBit(0).setBit(1).setBit(2).
353 setBit(981).setBit(2000)).hashCode());
384 setBit(0).setBit(367).setBit(1999))));
396 setBit(0).setBit(
[all...]
/external/chromium_org/third_party/skia/tests/
H A DBitSetTest.cpp20 set0.setBit(22, true);
22 set0.setBit(24, true);
24 set0.setBit(35, true); // on a different DWORD
26 set0.setBit(22, false);
37 set1.setBit(12345, true);
65 set2.setBit(0, true);
67 set5.setBit(0, true);
70 set3.setBit(0, true);
/external/skia/tests/
H A DBitSetTest.cpp20 set0.setBit(22, true);
22 set0.setBit(24, true);
24 set0.setBit(35, true); // on a different DWORD
26 set0.setBit(22, false);
37 set1.setBit(12345, true);
65 set2.setBit(0, true);
67 set5.setBit(0, true);
70 set3.setBit(0, true);
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
H A DBitArrayTest.java55 assertEquals(b.data, BigInteger.ZERO.setBit(63).longValue());
79 assertEquals(b.data, BigInteger.ZERO.setBit(10).shiftLeft(2).shiftLeft(2).longValue());
152 b = b.setBit(64);
156 b = b.setBit(1000000);
164 b = b.setBit(0xF00D);
166 b = b.setBit(0xBEEF);
168 b = b.setBit(0xDEAD);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_bvgraph.h46 return v[from].setBit(to);
56 if (v[node].setBit(to))
116 visited.setBit(from);
119 if (visited.setBit(idx))
H A Dsanitizer_bitvector.h34 bool setBit(uptr idx) { function in class:__sanitizer::BasicBitVector
144 bool setBit(uptr idx) { function in class:__sanitizer::TwoLevelBitVector
150 l1_[i0].setBit(i1);
153 bool res = l2_[i0][i1].setBit(i2);
188 l1_[i0].setBit(i1);
204 if (l1_[i0].setBit(i1))
H A Dsanitizer_deadlock_detector.h61 if (!bv_.setBit(lock_id)) {
191 CHECK(recycled_nodes_.setBit(idx));
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_bvgraph_test.cc83 EXPECT_EQ(target.setBit(idx), s_target.insert(idx).second);
137 bv.setBit(idx);
173 target.setBit(t0);
174 target.setBit(t1);
252 target.setBit(i);
272 t7.setBit(7);
315 from.setBit(0);
321 from.setBit(1);
326 from.setBit(2);
327 from.setBit(
[all...]
H A Dsanitizer_bitvector_test.cc82 bv.setBit(5);
98 EXPECT_EQ(bv.setBit(bit), s.insert(bit).second);
124 bv.setBit(bits[i]);
129 bv1.setBit(bits[bv.size() / 2 + i]);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
H A DDHKeyGeneratorHelper.java27 return new BigInteger(limit, random).setBit(limit - 1);
/external/chromium_org/third_party/skia/src/utils/
H A DSkBitSet.h33 void setBit(int index, bool value);
H A DSkBitSet.cpp59 void SkBitSet::setBit(int index, bool value) { function in class:SkBitSet
/external/skia/src/utils/
H A DSkBitSet.h33 void setBit(int index, bool value);
H A DSkBitSet.cpp59 void SkBitSet::setBit(int index, bool value) { function in class:SkBitSet
/external/guava/guava-tests/test/com/google/common/math/
H A DBigIntegerMathTest.java55 BigInteger.ZERO.setBit(2 * BigIntegerMath.SQRT2_PRECOMPUTE_THRESHOLD + 1), FLOOR),
91 assertTrue(ZERO.setBit(result).compareTo(x) <= 0);
92 assertTrue(ZERO.setBit(result + 1).compareTo(x) > 0);
101 assertTrue(ZERO.setBit(result).compareTo(x) >= 0);
102 assertTrue(result == 0 || ZERO.setBit(result - 1).compareTo(x) < 0);
113 assertEquals(x, ZERO.setBit(BigIntegerMath.log2(x, UNNECESSARY)));
126 assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) > 0);
128 assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) <= 0);
137 assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) >= 0);
139 assertTrue(result == 0 || ZERO.setBit(
[all...]
H A DIntMathTest.java50 BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Integer.SIZE - 1), FLOOR).intValue(),
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DIntArray.java454 public void setBit(int n) method in class:IntArray
745 vz.setBit(m);
746 vz.setBit(0);
747 vz.setBit(ks[0]);
750 vz.setBit(ks[1]);
751 vz.setBit(ks[2]);
756 g1z.setBit(0);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp462 InputDemandedBits.setBit(SrcBitWidth-1);
681 DemandedMaskIn.setBit(BitWidth-1);
758 KnownZero.setBit(KnownZero.getBitWidth() - 1);
951 UndefElts.setBit(i);
960 UndefElts.setBit(i);
1044 LeftDemanded.setBit(MaskVal);
1046 RightDemanded.setBit(MaskVal - LHSVWidth);
1065 UndefElts.setBit(i);
1068 UndefElts.setBit(i);
1072 UndefElts.setBit(
[all...]
/external/guava/guava-tests/test/com/google/common/primitives/
H A DUnsignedLongTest.java61 : BigInteger.valueOf(value).add(BigInteger.ZERO.setBit(64));
221 (a >= 0) ? BigInteger.valueOf(a) : BigInteger.valueOf(a).add(BigInteger.ZERO.setBit(64));
H A DUnsignedLongsTest.java117 BigInteger max = BigInteger.ZERO.setBit(64).subtract(ONE);
/external/guava/guava/src/com/google/common/primitives/
H A DUnsignedLong.java201 bigInt = bigInt.setBit(Long.SIZE - 1);
/external/llvm/include/llvm/ADT/
H A DAPInt.h433 API.setBit(numBits - 1);
476 Res.setBit(BitNo);
1211 void setBit(unsigned bitPosition);
/external/deqp/modules/gles3/functional/
H A Des3fASTCDecompressionCases.cpp156 void setBit (int ndx, deUint32 val) function in class:deqp::gles3::Functional::ASTCDecompressionCaseInternal::ASTCBlockGeneratorInternal::AssignBlock128
274 block.setBit(9, params.isHDR);
556 #define SB(NDX, VAL) dst.setBit((NDX), (VAL))
610 dst.setBit(25 + partNdx, c);
611 dst.setBit(lowMBit0Ndx < 4 ? 25+lowMBit0Ndx : extraCemBitsStart+lowMBit0Ndx-4, getBit(m, 0));
612 dst.setBit(lowMBit1Ndx < 4 ? 25+lowMBit1Ndx : extraCemBitsStart+lowMBit1Ndx-4, getBit(m, 1));
/external/llvm/lib/IR/
H A DConstantRange.cpp149 Size.setBit(getBitWidth());
474 MaxBitValue.setBit(DstTySize);

Completed in 578 milliseconds

123