HomeSort by relevance Sort by last modified time
    Searched refs:bitIndex (Results 1 - 25 of 31) sorted by null

1 2

  /external/icu/icu4c/source/test/perf/usetperf/
bitset.h 28 UBool get(int32_t bitIndex) const;
30 void set(int32_t bitIndex);
bitset.cpp 30 UBool BitSet::get(int32_t bitIndex) const {
31 uint32_t longIndex = bitIndex >> 5;
32 int32_t bitInLong = bitIndex & 0x1F;
37 void BitSet::set(int32_t bitIndex) {
38 uint32_t longIndex = bitIndex >> 5;
39 int32_t bitInLong = bitIndex & 0x1F;
  /external/libgdx/gdx/src/com/badlogic/gdx/utils/compression/rangecoder/
BitTreeDecoder.java 34 for (int bitIndex = NumBitLevels; bitIndex != 0; bitIndex--)
42 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++) {
46 symbol |= (bit << bitIndex);
55 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++) {
    [all...]
BitTreeEncoder.java 36 for (int bitIndex = NumBitLevels; bitIndex != 0;) {
37 bitIndex--;
38 int bit = (symbol >>> bitIndex) & 1;
57 for (int bitIndex = NumBitLevels; bitIndex != 0;) {
58 bitIndex--;
59 int bit = (symbol >>> bitIndex) & 1;
  /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;
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
DaysOfWeek.java 60 static int convertBitIndexToDay(int bitIndex) {
61 return (bitIndex + 1) % DAYS_IN_A_WEEK + 1;
112 for (int bitIndex = startDay; bitIndex < DAYS_IN_A_WEEK + startDay; ++bitIndex) {
113 if ((mBitSet & (1 << (bitIndex % DAYS_IN_A_WEEK))) != 0) {
114 ret.append(dayList[convertBitIndexToDay(bitIndex)]);
133 private boolean isBitEnabled(int bitIndex) {
134 return ((mBitSet & (1 << bitIndex)) > 0);
137 private void setBit(int bitIndex, boolean set)
    [all...]
  /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...]
  /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...]
  /external/protobuf/src/google/protobuf/compiler/java/
java_helpers.h 233 // Effectively, GetBitFieldName(bitIndex / 32)
234 string GetBitFieldNameForBit(int bitIndex);
239 string GenerateGetBit(int bitIndex);
244 string GenerateSetBit(int bitIndex);
249 string GenerateClearBit(int bitIndex);
255 string GenerateGetBitFromLocal(int bitIndex);
261 string GenerateSetBitToLocal(int bitIndex);
267 string GenerateGetBitMutableLocal(int bitIndex);
273 string GenerateSetBitMutableLocal(int bitIndex);
java_helpers.cc 523 string GetBitFieldNameForBit(int bitIndex) {
524 return GetBitFieldName(bitIndex / 32);
529 string GenerateGetBitInternal(const string& prefix, int bitIndex) {
530 string varName = prefix + GetBitFieldNameForBit(bitIndex);
531 int bitInVarIndex = bitIndex % 32;
538 string GenerateSetBitInternal(const string& prefix, int bitIndex) {
539 string varName = prefix + GetBitFieldNameForBit(bitIndex);
540 int bitInVarIndex = bitIndex % 32;
549 string GenerateGetBit(int bitIndex) {
550 return GenerateGetBitInternal("", bitIndex);
    [all...]
  /libcore/ojluni/src/main/java/java/util/
BitSet.java 111 private static int wordIndex(int bitIndex) {
112 return bitIndex >> ADDRESS_BITS_PER_WORD;
368 * @param bitIndex the index of the bit to flip
372 public void flip(int bitIndex) {
373 if (bitIndex < 0)
374 throw new IndexOutOfBoundsException("bitIndex < 0: " + bitIndex);
376 int wordIndex = wordIndex(bitIndex);
379 words[wordIndex] ^= (1L << bitIndex);
432 * @param bitIndex a bit inde
    [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;
  /external/skia/src/codec/
SkSwizzler.cpp 67 // increment src by byte offset and bitIndex by bit offset
69 int bitIndex = offset % 8;
72 dst[0] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK;
75 int bitOffset = bitIndex + deltaSrc;
76 bitIndex = bitOffset % 8;
78 dst[x] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK;
91 // increment src by byte offset and bitIndex by bit offset
93 int bitIndex = offset % 8;
96 dst[0] = ((currByte >> (7-bitIndex)) & 1);
99 int bitOffset = bitIndex + deltaSrc
    [all...]
  /external/pdfium/xfa/src/fxbarcode/qrcode/
BC_QRCoderMatrixUtil.cpp 169 int32_t bitIndex = 6 * 3 - 1;
172 int32_t bit = versionInfoBits.At(bitIndex, e);
174 bitIndex--;
188 int32_t bitIndex = 0;
207 if (bitIndex < dataBits->Size()) {
208 bit = dataBits->At(bitIndex, e);
210 bitIndex++;
230 if (bitIndex != dataBits->Size()) {
  /external/protobuf/src/google/protobuf/compiler/javanano/
javanano_helpers.cc 556 int bitIndex, map<string, string>* variables) {
557 (*variables)["get_" + name] = GenerateGetBit(bitIndex);
558 (*variables)["set_" + name] = GenerateSetBit(bitIndex);
559 (*variables)["clear_" + name] = GenerateClearBit(bitIndex);
560 (*variables)["different_" + name] = GenerateDifferentBit(bitIndex);
javanano_helpers.h 182 int bitIndex, map<string, string>* variables);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
IccUtils.java 417 int bitIndex = 7;
423 bitIndex = 7;
425 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01);
  /external/llvm/utils/TableGen/
FixedLenDecoderEmitter.cpp 464 void reportRegion(bitAttr_t RA, unsigned StartBit, unsigned BitIndex,
548 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex)
549 BitValueArray[StartBit + bitIndex] = BIT_UNSET;
571 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) {
572 if (Inst.first & (1ULL << bitIndex))
573 BitValueArray[StartBit + bitIndex] = BIT_TRUE
    [all...]
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3collections.c     [all...]
  /external/libgdx/gdx/jni/etc1/
etc1_utils.cpp 299 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex,
329 << bitIndex;
  /external/skia/third_party/etc1/
etc1.cpp 307 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex,
337 << bitIndex;
  /frameworks/native/opengl/libs/ETC1/
etc1.cpp 299 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex,
329 << bitIndex;
  /external/icu/icu4c/source/common/
dictbe.cpp     [all...]
utext.cpp 33 #define I32_FLAG(bitIndex) ((int32_t)1<<(bitIndex))
    [all...]

Completed in 748 milliseconds

1 2