Searched defs:numBits (Results 1 - 23 of 23) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
H A DBitWriterBuffer.java16 public void writeBits(int i, int numBits) { argument
17 assert i <= ((1 << numBits)-1): String.format("Trying to write a value bigger (%s) than the number bits (%s) allows. " +
18 "Please mask the value before writing it and make your code is really working as intended.", i, (1<<numBits)-1);
21 if (numBits <= left) {
24 current += i << (left - numBits);
26 position += numBits;
28 int bitsSecondWrite = numBits - left;
/external/aac/libAACdec/src/
H A Daac_rom.h135 UCHAR numBits; member in struct:__anon6
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3bitset.h101 ANTLR3_UINT32 (*numBits) (struct ANTLR3_BITSET_struct * bitset); member in struct:ANTLR3_BITSET_struct
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DSecureRandom2Test.java160 int numBits = 29;
161 int random = mySecureRandom.getNext(numBits);
162 assertEquals(numBits, Integer.bitCount(random));
164 numBits = 0;
165 random = mySecureRandom.getNext(numBits);
166 assertEquals(numBits, Integer.bitCount(random));
168 numBits = 40;
169 random = mySecureRandom.getNext(numBits);
172 numBits = -1;
173 random = mySecureRandom.getNext(numBits);
184 getNext(int numBits) argument
[all...]
/external/aac/libFDK/include/
H A DFDK_bitstream.h313 * \param numBits The number of bits to be retrieved.
316 FDK_INLINE UINT FDKgetBits (HANDLE_FDK_BITSTREAM hBitStream, UINT numBits) argument
318 return FDK_get (&hBitStream->hBitBuf, numBits) ;
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3bitset.c76 antlr3BitsetNew(ANTLR3_UINT32 numBits) argument
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 local
656 numBits = bitset->numBits(bitset);
669 for (i = 0, index = 1; i<numBits; i++)
H A Dantlr3collections.c2481 ANTLR3_UINT32 numBits; // How many bits are in the set local
2485 numBits = edges->numBits(edges);
2492 for (i=0; i<= numBits && range > 0; i++)
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DBitSet.java258 public int numBits() { method in class:BitSet
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DBitSet.java414 public int numBits() { method in class:BitSet
/external/llvm/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);
/external/llvm/lib/AsmParser/
H A DLLLexer.cpp776 uint32_t numBits = ((Len * 64) / 19) + 2; local
777 APInt Tmp(numBits, StringRef(TokStart, Len), 10);
780 if (minBits > 0 && minBits < numBits)
785 if (activeBits > 0 && activeBits < numBits)
/external/llvm/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"
/external/webkit/Source/WebCore/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);
/external/llvm/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...]
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_ota.c96 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue);
989 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue) argument
998 bitsLeft = pData->current.bitCount - numBits;
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_ota.c96 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue);
989 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue) argument
998 bitsLeft = pData->current.bitCount - numBits;
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_ota.c96 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue);
989 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numBits, EAS_U8 *pValue) argument
998 bitsLeft = pData->current.bitCount - numBits;
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DBitSet.js526 numBits: function() {
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...

Completed in 4618 milliseconds