/external/llvm/include/llvm/ADT/ |
D | APInt.h | 166 void fromString(unsigned numBits, StringRef str, uint8_t radix); 178 void initSlowCase(unsigned numBits, uint64_t val, bool isSigned); 227 APInt(unsigned numBits, uint64_t val, bool isSigned = false) 228 : BitWidth(numBits), VAL(0) { in BitWidth() argument 233 initSlowCase(numBits, val, isSigned); in BitWidth() 242 APInt(unsigned numBits, ArrayRef<uint64_t> bigVal); 250 APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]); 262 APInt(unsigned numBits, StringRef str, uint8_t radix); 394 static APInt getMaxValue(unsigned numBits) { in getMaxValue() argument 395 return getAllOnesValue(numBits); in getMaxValue() [all …]
|
D | APSInt.h | 241 static APSInt getMaxValue(uint32_t numBits, bool Unsigned) { in getMaxValue() argument 242 return APSInt(Unsigned ? APInt::getMaxValue(numBits) in getMaxValue() 243 : APInt::getSignedMaxValue(numBits), Unsigned); in getMaxValue() 248 static APSInt getMinValue(uint32_t numBits, bool Unsigned) { in getMinValue() argument 249 return APSInt(Unsigned ? APInt::getMinValue(numBits) in getMinValue() 250 : APInt::getSignedMinValue(numBits), Unsigned); in getMinValue()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | SecureRandom2Test.java | 160 int numBits = 29; in test_nextJ() local 161 int random = mySecureRandom.getNext(numBits); in test_nextJ() 162 assertEquals(numBits, Integer.bitCount(random)); in test_nextJ() 164 numBits = 0; in test_nextJ() 165 random = mySecureRandom.getNext(numBits); in test_nextJ() 166 assertEquals(numBits, Integer.bitCount(random)); in test_nextJ() 168 numBits = 40; in test_nextJ() 169 random = mySecureRandom.getNext(numBits); in test_nextJ() 172 numBits = -1; in test_nextJ() 173 random = mySecureRandom.getNext(numBits); in test_nextJ() [all …]
|
/external/llvm/test/Scripts/ |
D | common_dump.py | 34 def HexDump(val, numBits=32): argument 43 val = val & (( 1 << numBits) - 1) 44 newFmt = "0x%0" + "%d" % (numBits / 4) + "x"
|
/external/llvm/utils/TableGen/ |
D | CodeEmitterGen.cpp | 43 unsigned numBits = BI->getNumBits(); in reverseBits() local 44 BitsInit *NewBI = new BitsInit(numBits); in reverseBits() 45 for (unsigned bit = 0, end = numBits / 2; bit != end; ++bit) { in reverseBits() 46 unsigned bitSwapIdx = numBits - bit - 1; in reverseBits() 52 if (numBits % 2) { in reverseBits() 53 unsigned middle = (numBits + 1) / 2; in reverseBits()
|
D | FixedLenDecoderEmitter.cpp | 167 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed); 373 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, in Filter() argument 374 bool mixed) : Owner(&owner), StartBit(startBit), NumBits(numBits), in Filter()
|
D | ARMDecoderEmitter.cpp | 306 ARMFilter(ARMFilterChooser &owner, unsigned startBit, unsigned numBits, 547 ARMFilter::ARMFilter(ARMFilterChooser &owner, unsigned startBit, unsigned numBits, in ARMFilter() argument 548 bool mixed) : Owner(&owner), StartBit(startBit), NumBits(numBits), in ARMFilter()
|
/external/webkit/Source/WebCore/platform/image-decoders/bmp/ |
D | BMPImageReader.cpp | 385 const int numBits = (m_infoHeader.biBitCount == 16) ? 5 : 8; in processBitmasks() local 387 …itMasks[i] = ((static_cast<uint32_t>(1) << (numBits * (3 - i))) - 1) ^ ((static_cast<uint32_t>(1) … in processBitmasks()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 765 uint32_t numBits = ((Len * 64) / 19) + 2; in LexDigitOrNegative() local 766 APInt Tmp(numBits, StringRef(TokStart, Len), 10); in LexDigitOrNegative() 769 if (minBits > 0 && minBits < numBits) in LexDigitOrNegative() 774 if (activeBits > 0 && activeBits < numBits) in LexDigitOrNegative()
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_ota.c | 96 …_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue); 989 …A_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue) in OTA_FetchBitField() argument 998 bitsLeft = pData->current.bitCount - numBits; in OTA_FetchBitField()
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | eas_ota.c | 96 …_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue); 989 …A_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue) in OTA_FetchBitField() argument 998 bitsLeft = pData->current.bitCount - numBits; in OTA_FetchBitField()
|
/external/sonivox/arm-fm-22k/lib_src/ |
D | eas_ota.c | 96 …_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue); 989 …A_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue) in OTA_FetchBitField() argument 998 bitsLeft = pData->current.bitCount - numBits; in OTA_FetchBitField()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 73 void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) { in initSlowCase() argument 103 APInt::APInt(unsigned numBits, ArrayRef<uint64_t> bigVal) in APInt() argument 104 : BitWidth(numBits), VAL(0) { in APInt() 108 APInt::APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]) in APInt() argument 109 : BitWidth(numBits), VAL(0) { in APInt() 760 APInt APInt::getHiBits(unsigned numBits) const { in getHiBits() 761 return APIntOps::lshr(*this, BitWidth - numBits); in getHiBits() 765 APInt APInt::getLoBits(unsigned numBits) const { in getLoBits() 766 return APIntOps::lshr(APIntOps::shl(*this, BitWidth - numBits), in getLoBits() 767 BitWidth - numBits); in getLoBits()
|
/external/antlr/src/org/antlr/runtime/ |
D | BitSet.java | 258 public int numBits() { in numBits() method in BitSet
|
/external/icu4c/test/testdata/ |
D | rbbitst.txt | 328 …teger, uniformly distributed over the range \<tt>0\</tt> to \<tt>(2\<sup>numBits\</sup> - 1\)\</tt…
|