HomeSort by relevance Sort by last modified time
    Searched full:numbits (Results 26 - 50 of 143) sorted by null

12 3 4 5 6

  /libcore/luni/src/main/java/java/security/
SecureRandom.java 277 * @param numBits
283 protected final int next(int numBits) {
284 if (numBits < 0) {
285 numBits = 0;
287 if (numBits > 32) {
288 numBits = 32;
291 int bytes = (numBits+7)/8;
299 ret = ret >>> (bytes*8 - numBits);
  /external/chromium_org/third_party/openssl/openssl/crypto/des/
ofb_enc.c 62 * What this means is that if you hame numbits=12 and length=2
67 void DES_ofb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
71 register DES_LONG d0,d1,vv0,vv1,v0,v1,n=(numbits+7)/8;
74 register int num=numbits;
des_old.c 116 void _ossl_old_des_cfb_encrypt(unsigned char *in,unsigned char *out,int numbits,
119 DES_cfb_encrypt(in, out, numbits, length,
203 int numbits,long length,des_key_schedule schedule,_ossl_old_des_cblock *ivec)
205 DES_ofb_encrypt(in, out, numbits, length, (DES_key_schedule *)schedule,
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;
  /external/openssl/crypto/des/
ofb_enc.c 62 * What this means is that if you hame numbits=12 and length=2
67 void DES_ofb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
71 register DES_LONG d0,d1,vv0,vv1,v0,v1,n=(numbits+7)/8;
74 register int num=numbits;
des_old.c 116 void _ossl_old_des_cfb_encrypt(unsigned char *in,unsigned char *out,int numbits,
119 DES_cfb_encrypt(in, out, numbits, length,
203 int numbits,long length,des_key_schedule schedule,_ossl_old_des_cblock *ivec)
205 DES_ofb_encrypt(in, out, numbits, length, (DES_key_schedule *)schedule,
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;
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3bitset.c 76 antlr3BitsetNew(ANTLR3_UINT32 numBits)
93 if (numBits < (8 * ANTLR3_BITSET_BITS))
95 numBits = 8 * ANTLR3_BITSET_BITS;
101 numelements = ((numBits -1) >> ANTLR3_BITSET_LOG_BITS) + 1;
132 bitset->numBits = antlr3BitsetNumBits;
649 ANTLR3_UINT32 numBits; // How many bits are in the set
656 numBits = bitset->numBits(bitset);
669 for (i = 0, index = 1; i<numBits; i++)
  /external/llvm/include/llvm/ADT/
APSInt.h 254 static APSInt getMaxValue(uint32_t numBits, bool Unsigned) {
255 return APSInt(Unsigned ? APInt::getMaxValue(numBits)
256 : APInt::getSignedMaxValue(numBits), Unsigned);
261 static APSInt getMinValue(uint32_t numBits, bool Unsigned) {
262 return APSInt(Unsigned ? APInt::getMinValue(numBits)
263 : APInt::getSignedMinValue(numBits), Unsigned);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/app/
Linker.java 604 int numBits = 30;
605 for (; numBits > 1; numBits--) {
606 if ((1 << numBits) <= offsetLimit)
611 final int maxValue = (1 << numBits) - 1;
612 Log.i(TAG, String.format("offsetLimit=%d numBits=%d maxValue=%d (0x%x)",
613 offsetLimit, numBits, maxValue, maxValue));
616 // Find a random offset between 0 and (2^numBits - 1), included.
617 int offset = getRandomBits(numBits);
631 * Return a cryptographically-strong random number of numBits bits
    [all...]
  /dalvik/vm/
BitVector.h 55 * dvmSetInitialBits sets all bits in [0..numBits-1]. Won't expand the vector.
63 void dvmSetInitialBits(BitVector* pBits, unsigned int numBits);
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;
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
h264bsd_stream.c 61 numBits number of bits to read
72 u32 h264bsdGetBits(strmData_t *pStrmData, u32 numBits)
78 ASSERT(numBits < 32);
80 out = h264bsdShowBits32(pStrmData) >> (32 - numBits);
82 if (h264bsdFlushBits(pStrmData, numBits) == HANTRO_OK)
177 numBits number of bits to remove
188 u32 h264bsdFlushBits(strmData_t *pStrmData, u32 numBits)
197 pStrmData->strmBuffReadBits += numBits;
h264bsd_stream.h 58 u32 h264bsdGetBits(strmData_t *pStrmData, u32 numBits);
62 u32 h264bsdFlushBits(strmData_t *pStrmData, u32 numBits);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_random.py 291 numbits = i+1
293 self.assertEqual(k, numbits)
298 self.assertIn(k, [numbits, numbits+1])
303 self.assertEqual(k, numbits) # note the stronger assertion
447 numbits = i+1
449 self.assertEqual(k, numbits)
454 self.assertIn(k, [numbits, numbits+1])
459 self.assertEqual(k, numbits) # note the stronger assertio
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_random.py 291 numbits = i+1
293 self.assertEqual(k, numbits)
298 self.assertIn(k, [numbits, numbits+1])
303 self.assertEqual(k, numbits) # note the stronger assertion
447 numbits = i+1
449 self.assertEqual(k, numbits)
454 self.assertIn(k, [numbits, numbits+1])
459 self.assertEqual(k, numbits) # note the stronger assertio
    [all...]
  /external/llvm/utils/TableGen/
CodeEmitterGen.cpp 66 unsigned numBits = BI->getNumBits();
68 SmallVector<Init *, 16> NewBits(numBits);
70 for (unsigned bit = 0, end = numBits / 2; bit != end; ++bit) {
71 unsigned bitSwapIdx = numBits - bit - 1;
77 if (numBits % 2) {
78 unsigned middle = (numBits + 1) / 2;
  /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,
  /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/chromium_org/third_party/tlslite/scripts/
tlsdb.py 180 def numBits(n):
186 print numBits(N), username
  /external/chromium_org/third_party/tlslite/tlslite/utils/
compat.py 70 def numBits(n):
120 def numBits(n):
jython_compat.py 28 def numBits(n):
84 def numBits(n):
  /external/llvm/lib/Target/ARM/
Thumb2InstrInfo.cpp 522 unsigned NumBits = 0;
531 NumBits = 8;
536 NumBits = 12;
544 NumBits = 8;
554 NumBits = 8;
573 unsigned Mask = (1 << NumBits) - 1;
580 ImmedOffset |= 1 << NumBits;
594 ImmedOffset |= 1 << NumBits;
  /external/llvm/tools/llvm-bcanalyzer/
llvm-bcanalyzer.cpp 291 /// NumBits - The total size in bits of all of these blocks.
292 uint64_t NumBits;
308 : NumInstances(0), NumBits(0),
340 BlockStats.NumBits += BlockBitEnd-BlockBitStart;
380 BlockStats.NumBits += BlockBitEnd-BlockBitStart;
562 PrintSize(Stats.NumBits);
564 double pct = (Stats.NumBits * 100.0) / BufferSizeBits;
568 PrintSize(Stats.NumBits/(double)Stats.NumInstances);
  /libcore/luni/src/test/java/tests/java/security/
SecureRandomTest.java 291 public int nextElement(int numBits) {
292 return super.next(numBits);

Completed in 257 milliseconds

12 3 4 5 6