/external/guava/guava/src/com/google/common/hash/ |
BloomFilter.java | 142 int numBits = optimalNumOfBits(expectedInsertions, falsePositiveProbability); 143 int numHashFunctions = optimalNumOfHashFunctions(expectedInsertions, numBits); 144 return new BloomFilter<T>(new BitArray(numBits), numHashFunctions, funnel,
|
/external/openssl/crypto/des/ |
cfb64ede.c | 150 int numbits,long length,DES_key_schedule *ks1, 155 register unsigned long l=length,n=((unsigned int)numbits+7)/8; 156 register int num=numbits,i;
|
des.h | 147 void DES_cfb_encrypt(const unsigned char *in,unsigned char *out,int numbits, 191 int numbits,long length,DES_key_schedule *ks1, 209 void DES_ofb_encrypt(const unsigned char *in,unsigned char *out,int numbits,
|
/dalvik/vm/ |
BitVector.cpp | 151 void dvmSetInitialBits(BitVector* pBits, unsigned int numBits) 154 assert(((numBits + 31) >> 5) <= pBits->storageSize); 155 for (idx = 0; idx < (numBits >> 5); idx++) { 158 unsigned int remNumBits = numBits & 0x1f;
|
/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)
|
/external/llvm/tools/llvm-bcanalyzer/ |
llvm-bcanalyzer.cpp | 289 /// NumBits - The total size in bits of all of these blocks. 290 uint64_t NumBits; 306 : NumInstances(0), NumBits(0), 338 BlockStats.NumBits += BlockBitEnd-BlockBitStart; 377 BlockStats.NumBits += BlockBitEnd-BlockBitStart; 556 PrintSize(Stats.NumBits); 558 double pct = (Stats.NumBits * 100.0) / BufferSizeBits; 562 PrintSize(Stats.NumBits/(double)Stats.NumInstances);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_stream.h | 58 u32 h264bsdGetBits(strmData_t *pStrmData, u32 numBits); 62 u32 h264bsdFlushBits(strmData_t *pStrmData, u32 numBits);
|
h264bsd_cavlc.c | 330 /* macro to read numBits bits from the buffer, bits will be written to 332 #define BUFFER_SHOW(value, bits, outVal, numBits) \ 334 if (bits < (numBits)) \ 341 (outVal) = value >> (32 - (numBits)); \ 344 /* macro to flush numBits bits from the buffer */ 345 #define BUFFER_FLUSH(value, bits, numBits) \ 347 value <<= (numBits); \ 348 bits -= (numBits); \ 351 /* macro to read and flush numBits bits from the buffer, bits will be written 353 #define BUFFER_GET(value, bits, outVal, numBits) \ [all...] |
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...] |
/libcore/luni/src/test/java/tests/java/security/ |
SecureRandomTest.java | 291 public int nextElement(int numBits) { 292 return super.next(numBits);
|
/external/llvm/lib/Target/ARM/ |
Thumb2InstrInfo.cpp | 487 unsigned NumBits = 0; 496 NumBits = 8; 501 NumBits = 12; 509 NumBits = 8; 529 unsigned Mask = (1 << NumBits) - 1; 536 ImmedOffset |= 1 << NumBits; 550 ImmedOffset |= 1 << NumBits;
|
/external/openssl/include/openssl/ |
des.h | 147 void DES_cfb_encrypt(const unsigned char *in,unsigned char *out,int numbits, 191 int numbits,long length,DES_key_schedule *ks1, 209 void DES_ofb_encrypt(const unsigned char *in,unsigned char *out,int numbits,
|
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3bitset.h | 101 ANTLR3_UINT32 (*numBits) (struct ANTLR3_BITSET_struct * bitset);
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRBitSet.h | 75 - (NSInteger) numBits;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRBitSet.h | 75 - (NSInteger) numBits;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRBitSet.h | 75 - (NSInteger) numBits;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRBitSet.h | 76 - (NSInteger) numBits;
|
/external/llvm/include/llvm/ADT/ |
BitVector.h | 120 unsigned NumBits = 0; 123 NumBits += CountPopulation_32((uint32_t)Bits[i]); 125 NumBits += CountPopulation_64(Bits[i]); 128 return NumBits;
|
/external/llvm/lib/AsmParser/ |
LLLexer.cpp | 433 uint64_t NumBits = atoull(StartChar, CurPtr); 434 if (NumBits < IntegerType::MIN_INT_BITS || 435 NumBits > IntegerType::MAX_INT_BITS) { 439 TyVal = IntegerType::get(Context, NumBits); 776 uint32_t numBits = ((Len * 64) / 19) + 2; 777 APInt Tmp(numBits, StringRef(TokStart, Len), 10); 780 if (minBits > 0 && minBits < numBits) 785 if (activeBits > 0 && activeBits < numBits)
|
/external/llvm/utils/TableGen/ |
AsmWriterEmitter.cpp | 381 unsigned NumBits = Log2_32_Ceil(UniqueOperandCommands.size()); 384 if (NumBits > BitsLeft) { 385 DEBUG(errs() << "Not enough bits to densely encode " << NumBits 391 BitsLeft -= NumBits; 442 unsigned NumBits = Log2_32_Ceil(Commands.size()); 443 assert(NumBits <= BitsLeft && "consistency error"); 446 BitsLeft -= NumBits; 448 O << "\n // Fragment " << i << " encoded into " << NumBits 454 << ((1 << NumBits)-1) << ") {\n" 464 << ((1 << NumBits)-1) << ") {\n [all...] |
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...] |
/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...] |
/external/clang/lib/Lex/ |
PPExpressions.cpp | 275 unsigned NumBits; 277 NumBits = TI.getIntWidth(); 279 NumBits = TI.getWCharWidth(); 281 NumBits = TI.getChar16Width(); 283 NumBits = TI.getChar32Width(); 285 NumBits = TI.getCharWidth(); 288 llvm::APSInt Val(NumBits);
|
/external/llvm/include/llvm/ |
DerivedTypes.h | 40 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ 41 setSubclassData(NumBits); 53 /// If an IntegerType with the same NumBits value was previously instantiated, 55 /// one instance with a given NumBits value is ever created. 57 static IntegerType *get(LLVMContext &C, unsigned NumBits);
|
/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...] |