/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 121 * {@code [0, pow(2, numBits)-1]}. 123 * @param numBits maximum length of the new {@code BigInteger} in bits. 125 * @throws IllegalArgumentException if {@code numBits} < 0. 127 public BigInteger(int numBits, Random random) { 128 if (numBits < 0) { 129 throw new IllegalArgumentException("numBits < 0: " + numBits); 131 if (numBits == 0) { 135 int numberLength = (numBits + 31) >> 5; 141 digits[numberLength - 1] >>>= (-numBits) & 31 [all...] |
/libcore/luni/src/main/native/ |
java_lang_StringToReal.cpp | 255 int32_t numBits; 261 numBits = highestSetBitHighPrecision (f, length) + 1; 262 numBits -= lowestSetBitHighPrecision (f, length); 263 if (numBits < 54 && e >= 0 && e < DOUBLE_LOG5_OF_TWO_TO_THE_N) 267 else if (numBits < 54 && e < 0 && (-e) < DOUBLE_LOG5_OF_TWO_TO_THE_N) 689 int32_t numBits; 693 numBits = highestSetBitHighPrecision (f, length) + 1; 694 if (numBits < 25 && e >= 0 && e < FLOAT_LOG5_OF_TWO_TO_THE_N) 698 else if (numBits < 25 && e < 0 && (-e) < FLOAT_LOG5_OF_TWO_TO_THE_N)
|
/libcore/luni/src/test/java/tests/java/security/ |
SecureRandomTest.java | 291 public int nextElement(int numBits) { 292 return super.next(numBits);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_slice_header.c | 414 u32 tmp,numBits,mask; 428 numBits = 0; 431 /* set numBits to position of right-most non-zero bit */ 432 while (tmp & (mask<<++numBits)) 434 numBits--; 436 /* add one more bit if value greater than 2^numBits */ 437 if (tmp & ((1<<numBits)-1)) 438 numBits++; 440 return(numBits); [all...] |
/external/webkit/Source/WebCore/platform/image-decoders/bmp/ |
BMPImageReader.cpp | 385 const int numBits = (m_infoHeader.biBitCount == 16) ? 5 : 8; 387 m_bitMasks[i] = ((static_cast<uint32_t>(1) << (numBits * (3 - i))) - 1) ^ ((static_cast<uint32_t>(1) << (numBits * (2 - i))) - 1);
|
/external/aac/libFDK/include/ |
FDK_bitstream.h | 313 * \param numBits The number of bits to be retrieved. 316 FDK_INLINE UINT FDKgetBits (HANDLE_FDK_BITSTREAM hBitStream, UINT numBits) 318 return FDK_get (&hBitStream->hBitBuf, numBits) ;
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_ota.c | 96 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue); 989 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue) 998 bitsLeft = pData->current.bitCount - numBits; [all...] |
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_ota.c | 96 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue); 989 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue) 998 bitsLeft = pData->current.bitCount - numBits; [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_ota.c | 96 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue); 989 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue) 998 bitsLeft = pData->current.bitCount - numBits; [all...] |
/frameworks/av/media/libstagefright/ |
avc_utils.cpp | 526 unsigned numBits = 0; 528 ++numBits; 532 br.skipBits(numBits); // fixed_vop_time_increment
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
BitSet.as | 208 public function get numBits():int {
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
BitSet.java | 258 public int numBits() {
|
/external/llvm/lib/AsmParser/ |
LLLexer.cpp | 453 uint64_t NumBits = atoull(StartChar, CurPtr); 454 if (NumBits < IntegerType::MIN_INT_BITS || 455 NumBits > IntegerType::MAX_INT_BITS) { 459 TyVal = IntegerType::get(Context, NumBits); 817 uint32_t numBits = ((Len * 64) / 19) + 2; 818 APInt Tmp(numBits, StringRef(TokStart, Len), 10); 821 if (minBits > 0 && minBits < numBits) 826 if (activeBits > 0 && activeBits < numBits)
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
header.cpp | 232 int i, iGroup, numBits; 274 numBits = 0;/* ceil(log2(num_slice_groups_minus1+1)) bits */ 278 numBits++; 284 status = BitstreamWriteBits(stream, numBits, picParam->slice_group_id[i]); [all...] |
/external/llvm/lib/Support/ |
APInt.cpp | 76 void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) { 106 APInt::APInt(unsigned numBits, ArrayRef<uint64_t> bigVal) 107 : BitWidth(numBits), VAL(0) { 111 APInt::APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]) 112 : BitWidth(numBits), VAL(0) { 116 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix) 117 : BitWidth(numbits), VAL(0) { 119 fromString(numbits, Str, radix); 670 /// HiBits - This function returns the high "numBits" bits of this APInt. 671 APInt APInt::getHiBits(unsigned numBits) const [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3collections.c | [all...] |
antlr3baserecognizer.c | 1231 ANTLR3_UINT32 numbits; local [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
BitSet.js | 526 numBits: function() {
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
BitSet.java | 414 public int numBits() {
|
/external/llvm/utils/TableGen/ |
FixedLenDecoderEmitter.cpp | 224 unsigned NumBits; // number of bits to filter 257 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed); 404 unsigned NumBits) const; 495 : Owner(f.Owner), StartBit(f.StartBit), NumBits(f.NumBits), Mixed(f.Mixed), 502 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, 504 : Owner(&owner), StartBit(startBit), NumBits(numBits), Mixed(mixed) { 505 assert(StartBit + NumBits - 1 < Owner->BitWidth); 518 bool ok = Owner->fieldFromInsn(Field, Insn, StartBit, NumBits); [all...] |
/external/aac/libAACdec/src/ |
block.cpp | 545 int bits = hcb->numBits;
|
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3defs.h | 533 ANTLR3_API pANTLR3_BITSET antlr3BitsetNew (ANTLR3_UINT32 numBits);
|
/frameworks/av/libvideoeditor/vss/mcs/src/ |
M4MCS_API.c | 208 M4OSA_UInt32 H264MCS_getBits( ComBitStreamMCS_t *p_bs, M4OSA_UInt32 numBits ) 213 p_bs->i8BitCnt -= numBits; 217 ui32RetBits = p_bs->ui32TempBuff >> (32 - numBits); 219 /* Read numBits in ui32TempBuff */ 220 p_bs->ui32TempBuff <<= numBits; 221 p_bs->bitPos += numBits; 265 M4OSA_Void H264MCS_flushBits( ComBitStreamMCS_t *p_bs, M4OSA_UInt32 numBits ) 269 p_bs->i8BitCnt -= numBits; 272 p_bs->ui32TempBuff <<= numBits; 273 p_bs->bitPos += numBits; [all...] |
/external/zxing/core/ |
core.jar | |
/frameworks/base/core/java/android/view/ |
View.java | [all...] |