/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
BitTreeDecoder.java | 22 for (int bitIndex = NumBitLevels; bitIndex != 0; bitIndex--)
31 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++)
36 symbol |= (bit << bitIndex);
46 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++) [all...] |
BitTreeEncoder.java | 23 for (int bitIndex = NumBitLevels; bitIndex != 0; )
25 bitIndex--;
26 int bit = (symbol >>> bitIndex) & 1;
48 for (int bitIndex = NumBitLevels; bitIndex != 0; )
50 bitIndex--;
51 int bit = (symbol >>> bitIndex) & 1;
|
/external/lzma/CS/7zip/Compress/RangeCoder/ |
RangeCoderBitTree.cs | 25 for (int bitIndex = NumBitLevels; bitIndex > 0; )
27 bitIndex--;
28 UInt32 bit = (symbol >> bitIndex) & 1;
50 for (int bitIndex = NumBitLevels; bitIndex > 0; )
52 bitIndex--;
53 UInt32 bit = (symbol >> bitIndex) & 1;
123 for (int bitIndex = NumBitLevels; bitIndex > 0; bitIndex--) [all...] |
/external/icu/icu4c/source/test/perf/usetperf/ |
bitset.cpp | 34 UBool BitSet::get(int32_t bitIndex) const { 35 uint32_t longIndex = bitIndex >> 5; 36 int32_t bitInLong = bitIndex & 0x1F; 41 void BitSet::set(int32_t bitIndex) { 42 uint32_t longIndex = bitIndex >> 5; 43 int32_t bitInLong = bitIndex & 0x1F;
|
bitset.h | 32 UBool get(int32_t bitIndex) const; 34 void set(int32_t bitIndex);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
HighBitSet32.c | 45 INTN BitIndex;
50 for (BitIndex = 31; (INT32)Operand > 0; BitIndex--, Operand <<= 1);
51 return BitIndex;
|
LowBitSet32.c | 44 INTN BitIndex;
50 for (BitIndex = 0; (Operand & 1) == 0; BitIndex++, Operand >>= 1);
51 return BitIndex;
|
LowBitSet64.c | 44 INTN BitIndex;
50 for (BitIndex = 0;
52 BitIndex++, Operand = RShiftU64 (Operand, 1));
53 return BitIndex;
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
HighBitSet32.c | 40 INTN BitIndex;
45 for (BitIndex = 31; (INT32)Operand > 0; BitIndex--, Operand <<= 1);
46 return BitIndex;
|
LowBitSet32.c | 39 INTN BitIndex;
45 for (BitIndex = 0; 0 == (Operand & 1); BitIndex++, Operand >>= 1);
46 return BitIndex;
|
LowBitSet64.c | 40 INTN BitIndex;
46 for (BitIndex = 0;
48 BitIndex++, Operand = RShiftU64 (Operand, 1));
49 return BitIndex;
|
/hardware/interfaces/automotive/vehicle/2.1/default/common/src/ |
Obd2SensorStore.cpp | 39 const size_t bitIndex = index % 8; 41 uint8_t newValue = value ? (byte | (1 << bitIndex)) : 42 (byte & ~(1 << bitIndex)); 48 const size_t bitIndex = index % 8; 50 return (byte & (1 << bitIndex)) != 0;
|
/external/skia/src/codec/ |
SkSwizzler.cpp | 89 // increment src by byte offset and bitIndex by bit offset 91 int bitIndex = offset % 8; 94 dst[0] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; 97 int bitOffset = bitIndex + deltaSrc; 98 bitIndex = bitOffset % 8; 100 dst[x] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; 113 // increment src by byte offset and bitIndex by bit offset 115 int bitIndex = offset % 8; 118 dst[0] = ((currByte >> (7-bitIndex)) & 1); 121 int bitOffset = bitIndex + deltaSrc [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
java_helpers.cc | 543 string GetBitFieldNameForBit(int bitIndex) { 544 return GetBitFieldName(bitIndex / 32); 549 string GenerateGetBitInternal(const string& prefix, int bitIndex) { 550 string varName = prefix + GetBitFieldNameForBit(bitIndex); 551 int bitInVarIndex = bitIndex % 32; 558 string GenerateSetBitInternal(const string& prefix, int bitIndex) { 559 string varName = prefix + GetBitFieldNameForBit(bitIndex); 560 int bitInVarIndex = bitIndex % 32; 569 string GenerateGetBit(int bitIndex) { 570 return GenerateGetBitInternal("", bitIndex); [all...] |
java_helpers.h | 219 // Effectively, GetBitFieldName(bitIndex / 32) 220 string GetBitFieldNameForBit(int bitIndex); 225 string GenerateGetBit(int bitIndex); 230 string GenerateSetBit(int bitIndex); 235 string GenerateClearBit(int bitIndex); 241 string GenerateGetBitFromLocal(int bitIndex); 247 string GenerateSetBitToLocal(int bitIndex); 253 string GenerateGetBitMutableLocal(int bitIndex); 259 string GenerateSetBitMutableLocal(int bitIndex);
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
ARMDecoderEmitter.cpp | 515 void reportRegion(bitAttr_t RA, unsigned StartBit, unsigned BitIndex, 607 unsigned bitIndex; 611 for (bitIndex = 0; bitIndex < NumBits; bitIndex++) 612 BitValueArray[StartBit + bitIndex] = BIT_UNSET; 639 for (bitIndex = 0; bitIndex < NumBits; bitIndex++) { 640 if (mapIterator->first & (1ULL << bitIndex)) [all...] |
FixedLenDecoderEmitter.cpp | 353 void reportRegion(bitAttr_t RA, unsigned StartBit, unsigned BitIndex, 444 unsigned bitIndex; 448 for (bitIndex = 0; bitIndex < NumBits; bitIndex++) 449 BitValueArray[StartBit + bitIndex] = BIT_UNSET; 477 for (bitIndex = 0; bitIndex < NumBits; bitIndex++) { 478 if (mapIterator->first & (1ULL << bitIndex)) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
IconLoader.java | 248 int bitIndex = 7; 254 bitIndex = 7; 256 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); 307 int bitIndex = bitsStartOffset; 313 if (bitIndex < 0) { 315 bitIndex = bitsOverlaps ? (bitsStartOffset) : (bitIndex * -1); 317 int clutEntry = ((currentByte >> bitIndex) & mask); 321 bitIndex -= bitsPerImg;
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/ |
Obd2Connection.java | 237 for (int bitIndex = 7; bitIndex >= 0; --bitIndex) { 238 if (fourByteBitSet.getBit(byteIndex, bitIndex)) { 239 result.add(basePid + 8 * byteIndex + 7 - bitIndex);
|
/libcore/ojluni/src/main/java/java/util/ |
BitSet.java | 111 private static int wordIndex(int bitIndex) { 112 return bitIndex >> ADDRESS_BITS_PER_WORD; 374 * @param bitIndex the index of the bit to flip 378 public void flip(int bitIndex) { 379 if (bitIndex < 0) 380 throw new IndexOutOfBoundsException("bitIndex < 0: " + bitIndex); 382 int wordIndex = wordIndex(bitIndex); 385 words[wordIndex] ^= (1L << bitIndex); 438 * @param bitIndex a bit inde [all...] |
/external/llvm/utils/TableGen/ |
FixedLenDecoderEmitter.cpp | 461 void reportRegion(bitAttr_t RA, unsigned StartBit, unsigned BitIndex, 545 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) 546 BitValueArray[StartBit + bitIndex] = BIT_UNSET; 567 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) { 568 if (Inst.first & (1ULL << bitIndex)) 569 BitValueArray[StartBit + bitIndex] = BIT_TRUE [all...] |
/external/pdfium/xfa/fxbarcode/qrcode/ |
BC_QRCoderMatrixUtil.cpp | 180 int32_t bitIndex = 6 * 3 - 1; 183 int32_t bit = versionInfoBits.At(bitIndex, e); 186 bitIndex--; 200 int32_t bitIndex = 0; 219 if (bitIndex < dataBits->Size()) { 220 bit = dataBits->At(bitIndex, e); 223 bitIndex++; 243 if (bitIndex != dataBits->Size()) {
|
/art/test/910-methods/src/art/ |
Test910.java | 172 int bitIndex = 0; 175 input[inputIndex++] = Class.forName("art.Test910$I" + bitIndex); 178 bitIndex++;
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_getbits.cpp | 115 uint32 bitIndex; 141 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); 144 returnValue <<= bitIndex; 163 uint32 bitIndex; 178 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); 182 returnValue = (returnValue << (bitIndex)); 199 uint32 bitIndex; 217 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); 221 returnValue = 0xFFFFFF & (returnValue << (bitIndex)); 237 uint32 bitIndex; [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/ |
armCOMM_BitDec_s.h | 579 ;// $BitIndex - Destination BitCount after the addition of Offset number of bits 582 M_BD_ADD $ByteIndex, $BitIndex, $Offset 584 ;// ($ByteIndex,$BitIndex) = Current position + $Offset bits 586 AND $BitIndex, $Offset, #7 603 ;// $BitIndex - Destination BitCount after the move 612 M_BD_MOV $ByteIndex, $BitIndex 614 ;// ($pBitStream, $Offset) = ($ByteIndex,$BitIndex) 615 MOV $BitCount, $BitIndex 627 ;// $BitIndex - Destination BitCount 638 M_BD_CMP $ByteIndex, $BitIndex, $T [all...] |