Searched refs:numBits (Results 1 - 25 of 27) sorted by relevance

12

/macosx-10.10/llvmCore-3425.0.34/include/llvm/ADT/
H A DAPInt.h168 void fromString(unsigned numBits, StringRef str, uint8_t radix);
180 void initSlowCase(unsigned numBits, uint64_t val, bool isSigned);
225 /// @param numBits the bit width of the constructed APInt
228 /// @brief Create a new APInt of numBits width, initialized as val.
229 APInt(unsigned numBits, uint64_t val, bool isSigned = false) argument
230 : BitWidth(numBits), VAL(0) {
235 initSlowCase(numBits, val, isSigned);
241 /// @param numBits the bit width of the constructed APInt
243 /// @brief Construct an APInt of numBits width, initialized as bigVal[].
244 APInt(unsigned numBits, ArrayRe
397 getMaxValue(unsigned numBits) argument
402 getSignedMaxValue(unsigned numBits) argument
409 getMinValue(unsigned numBits) argument
414 getSignedMinValue(unsigned numBits) argument
429 getAllOnesValue(unsigned numBits) argument
435 getNullValue(unsigned numBits) argument
450 getOneBitSet(unsigned numBits, unsigned BitNo) argument
466 getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) argument
[all...]
H A DAPSInt.h254 static APSInt getMaxValue(uint32_t numBits, bool Unsigned) { argument
255 return APSInt(Unsigned ? APInt::getMaxValue(numBits)
256 : APInt::getSignedMaxValue(numBits), Unsigned);
261 static APSInt getMinValue(uint32_t numBits, bool Unsigned) { argument
262 return APSInt(Unsigned ? APInt::getMinValue(numBits)
263 : APInt::getSignedMinValue(numBits), Unsigned);
/macosx-10.10/WTF-7600.1.24/wtf/
H A DBitVector.cpp52 void BitVector::resize(size_t numBits) argument
54 if (numBits <= maxInlineBits()) {
64 resizeOutOfLine(numBits);
75 BitVector::OutOfLineBits* BitVector::OutOfLineBits::create(size_t numBits) argument
77 numBits = (numBits + bitsInPointer() - 1) & ~(bitsInPointer() - 1);
78 size_t size = sizeof(OutOfLineBits) + sizeof(uintptr_t) * (numBits / bitsInPointer());
79 OutOfLineBits* result = new (NotNull, fastMalloc(size)) OutOfLineBits(numBits);
88 void BitVector::resizeOutOfLine(size_t numBits) argument
90 ASSERT(numBits > maxInlineBit
[all...]
H A DBitVector.h66 explicit BitVector(size_t numBits) argument
69 ensureSize(numBits);
99 return outOfLineBits()->numBits();
102 void ensureSize(size_t numBits) argument
104 if (numBits <= size())
106 resizeOutOfLine(numBits);
110 WTF_EXPORT_PRIVATE void resize(size_t numBits);
288 size_t numBits() const { return m_numBits; }
293 static WTF_EXPORT_PRIVATE OutOfLineBits* create(size_t numBits);
298 OutOfLineBits(size_t numBits)
[all...]
H A DFastBitVector.h70 size_t numBits() const { return m_numBits; } function in class:WTF::FastBitVector
72 void resize(size_t numBits) argument
77 size_t newLength = arrayLength(numBits);
83 m_numBits = numBits;
183 static size_t arrayLength(size_t numBits) { return (numBits + 31) >> 5; }
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/bmp/
H A Dbmp.c41 int *heightPtr, unsigned char **colorMap, int *numBits,
225 CommonMatch(handle, widthPtr, heightPtr, colorMap, numBits, numCols, comp, mask)
229 int *numBits, *numCols, *comp;
300 if (numBits) {
301 *numBits = nBits;
320 int numBits, bytesPerLine, numCols, comp, x, y; local
329 CommonMatch(handle, &fileWidth, &fileHeight, &colorMap, &numBits,
332 if (numBits == 16) {
348 /* printf("reading %d-bit BMP %dx%d\n", numBits, width, height); */
357 bytesPerLine = ((numBits * fileWidt
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/bytecode/
H A DBytecodeLivenessAnalysisInlines.h48 if (index >= out.numBits())
H A DBytecodeLivenessAnalysis.cpp167 uses.resize(out.numBits());
168 defs.resize(out.numBits());
204 newOut.resize(m_basicBlocks.last()->out().numBits());
225 result.resize(block->out().numBits());
245 result.resize(out.numBits() + numCapturedVars);
249 result.resize(out.numBits());
251 int outLength = out.numBits();
292 uses.resize(out.numBits());
293 defs.resize(out.numBits());
335 for (unsigned j = 0; j < liveBefore.numBits();
[all...]
/macosx-10.10/llvmCore-3425.0.34/utils/TableGen/
H A DCodeEmitterGen.cpp66 unsigned numBits = BI->getNumBits(); local
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;
H A DFixedLenDecoderEmitter.cpp257 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed);
502 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, argument
504 : Owner(&owner), StartBit(startBit), NumBits(numBits), Mixed(mixed) {
1862 << " unsigned numBits) {\n"
1863 << " assert(startBit + numBits <= (sizeof(InsnType)*8) &&\n"
1866 << " if (numBits == sizeof(InsnType)*8)\n"
1869 << " fieldMask = ((1 << numBits) - 1) << startBit;\n"
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/lib/
H A DDH_keys.cpp359 uint32 numBits = 0; local
368 numBits = DH_size(dhKey) * 8;
372 numBits = BN_num_bytes(dhKey->pub_key) * 8;
375 keySize.LogicalKeySizeInBits = numBits;
376 keySize.EffectiveKeySizeInBits = numBits;
H A DopensshWrap.cpp88 unsigned numBits = BN_num_bits(bn); local
89 appendUint16(cfOut, numBits);
92 int numBytes = (numBits + 7) / 8;
112 uint16_t numBits = readUint16(cp, remLen); local
113 unsigned bytes = (numBits + 7) / 8;
H A DopensshCoding.cpp296 unsigned numBits = BN_num_bits(rsa->n); local
300 snprintf(bitString, sizeof(bitString), "%u ", numBits);
/macosx-10.10/hfs-285/fsck_hfs/dfalib/
H A DSAllocate.c695 UInt32 numBits; // Number of bits in word to allocate local
732 numBits = kBitsPerWord - firstBit; // number of remaining bits in this word
733 if (numBits > numBlocks) {
734 numBits = numBlocks; // entire allocation is inside this one word
735 bitMask &= ~(kAllBitsSetInWord >> (firstBit + numBits)); // turn off bits after last
745 numBlocks -= numBits; // adjust number of blocks left to allocate
863 UInt32 numBits; // Number of bits in word to allocate local
900 numBits = kBitsPerWord - firstBit; // number of remaining bits in this word
901 if (numBits > numBlocks) {
902 numBits
[all...]
H A DVolumeBitmapCheck.c381 UInt32 numBits; local
420 numBits = kBitsPerWord - firstBit; // number of remaining bits in this word
421 if (numBits > bitCount) {
422 numBits = bitCount; // entire allocation is inside this one word
423 bitMask &= ~(kAllBitsSetInWord >> (firstBit + numBits)); // turn off bits after last
434 bitCount -= numBits;
535 UInt32 numBits; local
574 numBits = kBitsPerWord - firstBit; // number of remaining bits in this word
575 if (numBits > bitCount) {
576 numBits
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c2310 u_int32_t numBits; // Number of bits in word to allocate local
2376 numBits = kBitsPerWord - firstBit; // number of remaining bits in this word
2377 if (numBits > numBlocks) {
2378 numBits = numBlocks; // entire allocation is inside this one word
2379 bitMask &= ~(kAllBitsSetInWord >> (firstBit + numBits)); // turn off bits after last
2387 numBlocks -= numBits; // adjust number of blocks left to allocate
2624 u_int32_t numBits; // Number of bits in word to allocate local
2703 numBits = kBitsPerWord - currentBit; // number of remaining bits in this word
2704 if (numBits > numBlocks) {
2705 numBits
3325 u_int32_t numBits; // Number of bits in word to allocate local
4619 u_int32_t numBits; // Number of bits in word to allocate local
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/sshKey/
H A DsshKey.cpp137 uint16_t numBits = readUint16(cp, remLen); local
138 unsigned bytes = (numBits + 7) / 8;
159 unsigned numBits = BN_num_bits(bn); local
160 appendUint16(cfOut, numBits);
163 int numBytes = (numBits + 7) / 8;
784 unsigned numBits = BN_num_bits(rsa->n); local
788 snprintf(bitString, sizeof(bitString), "%u ", numBits);
/macosx-10.10/WebCore-7600.1.25/platform/image-decoders/bmp/
H A DBMPImageReader.cpp385 const int numBits = (m_infoHeader.biBitCount == 16) ? 5 : 8; local
387 m_bitMasks[i] = ((static_cast<uint32_t>(1) << (numBits * (3 - i))) - 1) ^ ((static_cast<uint32_t>(1) << (numBits * (2 - i))) - 1);
/macosx-10.10/Security-57031.1.35/Security/include/security_keychain/
H A DSecImportExportOpenSSH.cpp150 uint16 numBits = readUint16(cp, len); local
151 unsigned numBytes = (numBits + 7) / 8;
241 * 4 bytes numBits
249 * 2 bytes numBits
250 * (numBits + 7)/8 bytes of data
263 /* key points to numBits */
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DSecImportExportOpenSSH.cpp150 uint16 numBits = readUint16(cp, len); local
151 unsigned numBytes = (numBits + 7) / 8;
241 * 4 bytes numBits
249 * 2 bytes numBits
250 * (numBits + 7)/8 bytes of data
263 /* key points to numBits */
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/lib/
H A DSecImportExportOpenSSH.cpp150 uint16 numBits = readUint16(cp, len); local
151 unsigned numBytes = (numBits + 7) / 8;
241 * 4 bytes numBits
249 * 2 bytes numBits
250 * (numBits + 7)/8 bytes of data
263 /* key points to numBits */
/macosx-10.10/llvmCore-3425.0.34/lib/AsmParser/
H A DLLLexer.cpp779 uint32_t numBits = ((Len * 64) / 19) + 2; local
780 APInt Tmp(numBits, StringRef(TokStart, Len), 10);
783 if (minBits > 0 && minBits < numBits)
788 if (activeBits > 0 && activeBits < numBits)
/macosx-10.10/llvmCore-3425.0.34/lib/Support/
H A DAPInt.cpp76 void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) { argument
106 APInt::APInt(unsigned numBits, ArrayRef<uint64_t> bigVal) argument
107 : BitWidth(numBits), VAL(0) {
111 APInt::APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]) argument
112 : BitWidth(numBits), VAL(0) {
670 /// HiBits - This function returns the high "numBits" bits of this APInt.
671 APInt APInt::getHiBits(unsigned numBits) const {
672 return APIntOps::lshr(*this, BitWidth - numBits);
675 /// LoBits - This function returns the low "numBits" bits of this APInt.
676 APInt APInt::getLoBits(unsigned numBits) cons
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_x509_cl/lib/
H A DclNssUtils.cpp208 size_t numBits = b.Length * 8; local
223 numBits--;
230 /* !foundSet --> numBits = 0 */
231 assert(((numBits > 0) & foundSet) || ((numBits == 0) && !foundSet));
232 b.Length = numBits;
/macosx-10.10/tcl-105/tcl/tcl/generic/
H A DtclStringObj.c2234 int length, numBits = 4, base = 16;
2244 numBits = 3;
2263 int leftover = (big.used * DIGIT_BIT) % numBits;
2267 (((Tcl_WideInt)big.used * DIGIT_BIT) / numBits);
2270 mask >>= numBits;
2306 shift -= numBits;
2211 int length, numBits = 4, base = 16; local
2247 mask >>= numBits; local

Completed in 288 milliseconds

12