/external/guava/android/guava/src/com/google/common/hash/ |
D | BloomFilterStrategies.java | 49 long bitSize = bits.bitSize(); in MURMUR128_MITZ_32() local 61 bitsChanged |= bits.set(combinedHash % bitSize); in MURMUR128_MITZ_32() 69 long bitSize = bits.bitSize(); in MURMUR128_MITZ_32() local 80 if (!bits.get(combinedHash % bitSize)) { in MURMUR128_MITZ_32() 97 long bitSize = bits.bitSize(); in MURMUR128_MITZ_64() local 106 bitsChanged |= bits.set((combinedHash & Long.MAX_VALUE) % bitSize); in MURMUR128_MITZ_64() 115 long bitSize = bits.bitSize(); in MURMUR128_MITZ_64() local 123 if (!bits.get((combinedHash & Long.MAX_VALUE) % bitSize)) { in MURMUR128_MITZ_64() 211 long bitSize() { in bitSize() method in BloomFilterStrategies.LockFreeBitArray
|
D | BloomFilter.java | 180 return Math.pow((double) bits.bitCount() / bitSize(), numHashFunctions); in expectedFpp() 191 long bitSize = bits.bitSize(); in approximateElementCount() local 200 double fractionOfBitsSet = (double) bitCount / bitSize; in approximateElementCount() 202 -Math.log1p(-fractionOfBitsSet) * bitSize / numHashFunctions, RoundingMode.HALF_UP); in approximateElementCount() 207 long bitSize() { in bitSize() method in BloomFilter 208 return bits.bitSize(); in bitSize() 230 && this.bitSize() == that.bitSize() in isCompatible() 253 this.bitSize() == that.bitSize(), in putAll() 255 this.bitSize(), in putAll() 256 that.bitSize()); in putAll()
|
/external/guava/guava/src/com/google/common/hash/ |
D | BloomFilterStrategies.java | 49 long bitSize = bits.bitSize(); in MURMUR128_MITZ_32() local 61 bitsChanged |= bits.set(combinedHash % bitSize); in MURMUR128_MITZ_32() 69 long bitSize = bits.bitSize(); in MURMUR128_MITZ_32() local 80 if (!bits.get(combinedHash % bitSize)) { in MURMUR128_MITZ_32() 97 long bitSize = bits.bitSize(); in MURMUR128_MITZ_64() local 106 bitsChanged |= bits.set((combinedHash & Long.MAX_VALUE) % bitSize); in MURMUR128_MITZ_64() 115 long bitSize = bits.bitSize(); in MURMUR128_MITZ_64() local 123 if (!bits.get((combinedHash & Long.MAX_VALUE) % bitSize)) { in MURMUR128_MITZ_64() 211 long bitSize() { in bitSize() method in BloomFilterStrategies.LockFreeBitArray
|
D | BloomFilter.java | 181 return Math.pow((double) bits.bitCount() / bitSize(), numHashFunctions); in expectedFpp() 192 long bitSize = bits.bitSize(); in approximateElementCount() local 201 double fractionOfBitsSet = (double) bitCount / bitSize; in approximateElementCount() 203 -Math.log1p(-fractionOfBitsSet) * bitSize / numHashFunctions, RoundingMode.HALF_UP); in approximateElementCount() 208 long bitSize() { in bitSize() method in BloomFilter 209 return bits.bitSize(); in bitSize() 231 && this.bitSize() == that.bitSize() in isCompatible() 254 this.bitSize() == that.bitSize(), in putAll() 256 this.bitSize(), in putAll() 257 that.bitSize()); in putAll()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/ |
D | RSACoreEngine.java | 54 int bitSize = key.getModulus().bitLength(); in getInputBlockSize() local 58 return (bitSize + 7) / 8 - 1; in getInputBlockSize() 62 return (bitSize + 7) / 8; in getInputBlockSize() 75 int bitSize = key.getModulus().bitLength(); in getOutputBlockSize() local 79 return (bitSize + 7) / 8; in getOutputBlockSize() 83 return (bitSize + 7) / 8 - 1; in getOutputBlockSize()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | RSACoreEngine.java | 53 int bitSize = key.getModulus().bitLength(); in getInputBlockSize() local 57 return (bitSize + 7) / 8 - 1; in getInputBlockSize() 61 return (bitSize + 7) / 8; in getInputBlockSize() 74 int bitSize = key.getModulus().bitLength(); in getOutputBlockSize() local 78 return (bitSize + 7) / 8; in getOutputBlockSize() 82 return (bitSize + 7) / 8 - 1; in getOutputBlockSize()
|
/external/parameter-framework/upstream/parameter/ |
D | IntegerParameterType.h | 63 template <bool isSigned, size_t bitSize> 68 using CType = typename detail::IntegerTraits<isSigned, bitSize>::CType; 94 setSize(bitSize / 8); in fromXml() 117 xmlElement.setAttribute("Size", bitSize); in toXml()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultisampleTests.cpp | 1543 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in iterateInternal() local 1556 while (nextSrcBit < de::min(bitSize, 10u)) in iterateInternal() 1588 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in iterateInternal() local 1601 while (nextSrcBit < de::min(bitSize, 10u)) in iterateInternal() 1638 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in iterateInternal() local 1651 while (nextSrcBit < de::min(bitSize, 10u)) in iterateInternal() 1808 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in init() local 1814 while (nextSrcBit < de::min(bitSize, 10u)) in init() 1870 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in init() local 1876 while (nextSrcBit < de::min(bitSize, 10u)) in init() [all …]
|
/external/aac/libDRCdec/src/ |
D | drcDec_reader.cpp | 453 int k, bitSizeLen, extSizeBits, bitSize; in _readUniDrcGainExtension() local 462 bitSize = FDKreadBits(hBs, extSizeBits); in _readUniDrcGainExtension() 463 pExt->extBitSize[k] = bitSize + 1; in _readUniDrcGainExtension() 1635 int k, bitSizeLen, extSizeBits, bitSize; in _readUniDrcConfigExtension() local 1646 bitSize = FDKreadBits(hBs, extSizeBits); in _readUniDrcConfigExtension() 1647 pExt->extBitSize[k] = bitSize + 1; in _readUniDrcConfigExtension() 1954 int k, bitSizeLen, extSizeBits, bitSize; in _readLoudnessInfoSetExtension() local 1965 bitSize = FDKreadBits(hBs, extSizeBits); in _readLoudnessInfoSetExtension() 1966 pExt->extBitSize[k] = bitSize + 1; in _readLoudnessInfoSetExtension()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | BloomFilterTest.java | 67 "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(), in testLargeBloomFilterDoesntOverflow() 68 bitArray.bitSize() > 0); in testLargeBloomFilterDoesntOverflow() 352 BloomFilter.create(Funnels.unencodedCharsFunnel(), i, fpp).bitSize()); in testBitSize()
|
/external/guava/android/guava-tests/test/com/google/common/hash/ |
D | BloomFilterTest.java | 66 "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(), in testLargeBloomFilterDoesntOverflow() 67 bitArray.bitSize() > 0); in testLargeBloomFilterDoesntOverflow() 351 BloomFilter.create(Funnels.unencodedCharsFunnel(), i, fpp).bitSize()); in testBitSize()
|
/external/vixl/src/ |
D | utils-vixl.h | 493 inline T SignExtend(T val, int bitSize) { in SignExtend() argument 494 VIXL_ASSERT(bitSize > 0); in SignExtend() 495 T mask = (T(2) << (bitSize - 1)) - T(1); in SignExtend() 497 T sign_bits = -((val >> (bitSize - 1)) << bitSize); in SignExtend()
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_from_nir.cpp | 300 Converter::getDType(nir_op op, uint8_t bitSize) in getDType() argument 302 DataType ty = typeOfSize(bitSize / 8, isResultFloat(op), isResultSigned(op)); in getDType() 304 ERROR("couldn't get Type for op %s with bitSize %u\n", nir_op_infos[op].name, bitSize); in getDType() 333 uint8_t bitSize; in getSType() local 335 bitSize = src.ssa->bit_size; in getSType() 337 bitSize = src.reg.reg->bit_size; in getSType() 339 DataType ty = typeOfSize(bitSize / 8, isFloat, isSigned); in getSType() 348 ERROR("couldn't get Type for %s with bitSize %u\n", str, bitSize); in getSType()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder_misc.cpp | 1091 uint32_t bitSize = pType->getIntegerBitWidth(); in GetTypeSize() local 1092 return bitSize / 8; in GetTypeSize()
|