Home
last modified time | relevance | path

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

12

/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
DECFieldF2m_ImplTest.java108 BigInteger.valueOf(0L).setBit(0).setBit(367).setBit(1999),
114 BigInteger.valueOf(0L).setBit(0).setBit(1).setBit(2).setBit(981).setBit(2000),
126 BigInteger.valueOf(0L).setBit(1).setBit(367).setBit(1999),
132 BigInteger.valueOf(0L).setBit(0).setBit(367).setBit(1998),
138 BigInteger.valueOf(0L).setBit(0).setBit(2367).setBit(1999),
144 … BigInteger.valueOf(0L).setBit(0).setBit(2001).setBit(2002).setBit(2003).setBit(2000),
150 BigInteger.valueOf(0L).setBit(0).setBit(2000),
156 BigInteger.valueOf(0L).setBit(0).setBit(1).setBit(2).setBit(2000),
162 BigInteger.valueOf(0L).setBit(0).setBit(1).setBit(2).
163 setBit(981).setBit(985).setBit(2000),
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DECFieldF2mTest.java353 setBit(0).setBit(1).setBit(2). in testHashCode05()
354 setBit(981).setBit(2000)).hashCode()); in testHashCode05()
385 setBit(0).setBit(367).setBit(1999)))); in testEqualsObject03()
397 setBit(0).setBit(1).setBit(2). in testEqualsObject04()
398 setBit(981).setBit(2000)); in testEqualsObject04()
410 setBit(0).setBit(1).setBit(2). in testEqualsObject05()
411 setBit(981).setBit(2000)); in testEqualsObject05()
459 BigInteger.valueOf(0L).setBit(0).setBit(1). in testGetMidTermsOfReductionPolynomial01()
460 setBit(2).setBit(981).setBit(2000)). in testGetMidTermsOfReductionPolynomial01()
491 BigInteger rp = BigInteger.valueOf(0L).setBit(0).setBit(1).setBit(2). in testGetReductionPolynomial01()
[all …]
/external/skia/tests/
DBitSetTest.cpp20 set0.setBit(22, true); in TestBitSet()
22 set0.setBit(24, true); in TestBitSet()
24 set0.setBit(35, true); // on a different DWORD in TestBitSet()
26 set0.setBit(22, false); in TestBitSet()
37 set1.setBit(12345, true); in TestBitSet()
65 set2.setBit(0, true); in TestBitSet()
67 set5.setBit(0, true); in TestBitSet()
70 set3.setBit(0, true); in TestBitSet()
/external/guava/guava-tests/test/com/google/common/math/
DBigIntegerMathTest.java55 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()
DIntMathTest.java50 BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Integer.SIZE - 1), FLOOR).intValue(), in testConstantMaxPowerOfSqrt2Unsigned()
DLongMathTest.java48 assertEquals(BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Long.SIZE - 1), FLOOR).longValue(), in testConstantMaxPowerOfSqrt2Unsigned()
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerOperateBitsTest.java728 aNumber.setBit(number); in testSetBitException()
743 BigInteger result = aNumber.setBit(number); in testSetBitZero()
761 BigInteger result = aNumber.setBit(number); in testSetBitZeroOutside1()
779 BigInteger result = aNumber.setBit(number); in testSetBitPositiveInside1()
797 BigInteger result = aNumber.setBit(number); in testSetBitPositiveInside2()
815 BigInteger result = aNumber.setBit(number); in testSetBitPositiveInside3()
833 BigInteger result = aNumber.setBit(number); in testSetBitPositiveInside4()
851 BigInteger result = aNumber.setBit(number); in testSetBitPositiveOutside1()
869 BigInteger result = aNumber.setBit(number); in testSetBitPositiveOutside2()
887 BigInteger result = aNumber.setBit(number); in testSetBitTopPositive()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECFieldElement.java1050 vz.setBit(m); in invert()
1051 vz.setBit(0); in invert()
1052 vz.setBit(this.k1); in invert()
1055 vz.setBit(this.k2); in invert()
1056 vz.setBit(this.k3); in invert()
1061 g1z.setBit(0); in invert()
DIntArray.java331 public void setBit(int n)
DTnaf.java524 BigInteger twoToW = ECConstants.ZERO.setBit(w); in getTw()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp461 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()
680 DemandedMaskIn.setBit(BitWidth-1); in SimplifyDemandedUseBits()
946 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
955 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1039 LeftDemanded.setBit(MaskVal); in SimplifyDemandedVectorElts()
1041 RightDemanded.setBit(MaskVal - LHSVWidth); in SimplifyDemandedVectorElts()
1060 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1063 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1067 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
1072 UndefElts.setBit(i); in SimplifyDemandedVectorElts()
[all …]
DInstCombineVectorOps.cpp132 DemandedMask.setBit(IndexVal); in visitExtractElementInst()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDHKeyGeneratorHelper.java27 return new BigInteger(limit, random).setBit(limit - 1); in calculatePrivate()
/external/skia/src/utils/
DSkBitSet.h33 void setBit(int index, bool value);
DSkBitSet.cpp59 void SkBitSet::setBit(int index, bool value) { in setBit() function in SkBitSet
/external/apache-harmony/math/src/test/java/tests/api/java/math/
DBigIntegerTest.java136 .setBit(16).subtract(two))); in test_Constructor$B()
150 .setBit(16).subtract(two))); in test_ConstructorI$B()
153 .setBit(16).subtract(two).negate())); in test_ConstructorI$B()
309 BigInteger midbit = zero.setBit(i); in test_addLjava_math_BigInteger()
311 .equals(zero.setBit(i + 1))); in test_addLjava_math_BigInteger()
346 BigInteger midbit = zero.setBit(i); in test_negate()
472 BigInteger b = BigInteger.ZERO.setBit(i); in test_shiftRightI()
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedLongTest.java61 : BigInteger.valueOf(value).add(BigInteger.ZERO.setBit(64)); in testAsUnsignedBigIntegerValue()
221 (a >= 0) ? BigInteger.valueOf(a) : BigInteger.valueOf(a).add(BigInteger.ZERO.setBit(64)); in testEqualsAndValueOf()
DUnsignedLongsTest.java117 BigInteger max = BigInteger.ZERO.setBit(64).subtract(ONE); in testParseLongWithRadix()
/external/guava/guava/src/com/google/common/primitives/
DUnsignedLong.java201 bigInt = bigInt.setBit(Long.SIZE - 1); in bigIntegerValue()
/external/llvm/include/llvm/ADT/
DAPInt.h416 API.setBit(numBits - 1); in getSignedMinValue()
452 Res.setBit(BitNo); in getOneBitSet()
1106 void setBit(unsigned bitPosition);
/external/llvm/lib/Support/
DConstantRange.cpp151 Size.setBit(getBitWidth()); in getSetSize()
471 MaxBitValue.setBit(DstTySize); in truncate()
/external/llvm/lib/Analysis/
DValueTracking.cpp189 KnownZero.setBit(BitWidth - 1); in ComputeMaskedBitsMul()
191 KnownOne.setBit(BitWidth - 1); in ComputeMaskedBitsMul()
579 KnownZero.setBit(BitWidth - 1); in ComputeMaskedBits()
1321 API.setBit(BitToSet); in ComputeMultiple()
/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
/external/llvm/unittests/ADT/
DAPIntTest.cpp68 i65minus.setBit(64); in TEST()
/external/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp1256 PositiveMask.setBit(i); in emitSoftFailTableEntry()
1260 NegativeMask.setBit(i); in emitSoftFailTableEntry()

12