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

/macosx-10.9.5/llvmCore-3425.0.33/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.9.5/tcl-102/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.9.5/CF-855.17/
H A DCFBitVector.c236 static CFMutableBitVectorRef __CFBitVectorInit(CFAllocatorRef allocator, CFOptionFlags flags, CFIndex capacity, const uint8_t *bytes, CFIndex numBits) { argument
240 CFAssert2(0 <= numBits, __kCFLogAssertion, "%s(): numValues (%d) cannot be less than zero", __PRETTY_FUNCTION__, numBits);
246 __CFBitVectorSetCapacity(memory, __CFBitVectorRoundUpCapacity(numBits));
247 __CFBitVectorSetNumBuckets(memory, __CFBitVectorNumBucketsForCapacity(__CFBitVectorRoundUpCapacity(numBits)));
255 __CFBitVectorSetNumBucketsUsed(memory, numBits / __CF_BITS_PER_BUCKET + 1);
256 __CFBitVectorSetCount(memory, numBits);
259 memmove(memory->_buckets, bytes, numBits / __CF_BITS_PER_BYTE + (numBits & __CF_BITS_PER_BYTE_MASK ? 1 : 0));
265 CFBitVectorRef CFBitVectorCreate(CFAllocatorRef allocator, const uint8_t *bytes, CFIndex numBits) { argument
[all...]
H A DCFBitVector.h43 CF_EXPORT CFBitVectorRef CFBitVectorCreate(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex numBits);
/macosx-10.9.5/llvmCore-3425.0.33/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.9.5/Security-55471.14.18/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.cpp89 unsigned numBits = BN_num_bits(bn); local
90 appendUint16(cfOut, numBits);
93 int numBytes = (numBits + 7) / 8;
113 uint16_t numBits = readUint16(cp, remLen); local
114 unsigned bytes = (numBits + 7) / 8;
H A DopensshCoding.cpp297 unsigned numBits = BN_num_bits(rsa->n); local
301 snprintf(bitString, sizeof(bitString), "%u ", numBits);
/macosx-10.9.5/hfs-226.1.1/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.9.5/xnu-2422.115.4/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c2268 u_int32_t numBits; // Number of bits in word to allocate local
2334 numBits = kBitsPerWord - firstBit; // number of remaining bits in this word
2335 if (numBits > numBlocks) {
2336 numBits = numBlocks; // entire allocation is inside this one word
2337 bitMask &= ~(kAllBitsSetInWord >> (firstBit + numBits)); // turn off bits after last
2345 numBlocks -= numBits; // adjust number of blocks left to allocate
2582 u_int32_t numBits; // Number of bits in word to allocate local
2661 numBits = kBitsPerWord - currentBit; // number of remaining bits in this word
2662 if (numBits > numBlocks) {
2663 numBits
3283 u_int32_t numBits; // Number of bits in word to allocate local
4577 u_int32_t numBits; // Number of bits in word to allocate local
[all...]
/macosx-10.9.5/WebCore-7537.78.1/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.9.5/Security-55471.14.18/include/security_keychain/
H A DSecImportExportOpenSSH.cpp151 uint16 numBits = readUint16(cp, len); local
152 unsigned numBytes = (numBits + 7) / 8;
242 * 4 bytes numBits
250 * 2 bytes numBits
251 * (numBits + 7)/8 bytes of data
264 /* key points to numBits */
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DSecImportExportOpenSSH.cpp151 uint16 numBits = readUint16(cp, len); local
152 unsigned numBytes = (numBits + 7) / 8;
242 * 4 bytes numBits
250 * 2 bytes numBits
251 * (numBits + 7)/8 bytes of data
264 /* key points to numBits */
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/
H A DSecImportExportOpenSSH.cpp151 uint16 numBits = readUint16(cp, len); local
152 unsigned numBytes = (numBits + 7) / 8;
242 * 4 bytes numBits
250 * 2 bytes numBits
251 * (numBits + 7)/8 bytes of data
264 /* key points to numBits */
/macosx-10.9.5/llvmCore-3425.0.33/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.9.5/llvmCore-3425.0.33/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.9.5/Security-55471.14.18/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.9.5/tcl-102/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
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_csp/open_ssl/opensslUtils/
H A DopensslAsn1.cpp664 unsigned numBits = BN_num_bits(openKey->p); local
665 intToCssmData(numBits, algId.params.keySizeInBits, coder);

Completed in 312 milliseconds