Home
last modified time | relevance | path

Searched refs:bitIndex (Results 1 – 13 of 13) sorted by relevance

/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBitTree.cs25 for (int bitIndex = NumBitLevels; bitIndex > 0; ) in Encode()
27 bitIndex--; in Encode()
28 UInt32 bit = (symbol >> bitIndex) & 1; in Encode()
50 for (int bitIndex = NumBitLevels; bitIndex > 0; ) in GetPrice()
52 bitIndex--; in GetPrice()
53 UInt32 bit = (symbol >> bitIndex) & 1; in GetPrice()
123 for (int bitIndex = NumBitLevels; bitIndex > 0; bitIndex--) in Decode()
132 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++) in ReverseDecode()
137 symbol |= (bit << bitIndex); in ReverseDecode()
147 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++) in ReverseDecode()
[all …]
/external/lzma/Java/SevenZip/Compression/RangeCoder/
DBitTreeDecoder.java22 for (int bitIndex = NumBitLevels; bitIndex != 0; bitIndex--) in Decode()
31 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++) in ReverseDecode()
36 symbol |= (bit << bitIndex); in ReverseDecode()
46 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++) in ReverseDecode()
51 symbol |= (bit << bitIndex); in ReverseDecode()
DBitTreeEncoder.java23 for (int bitIndex = NumBitLevels; bitIndex != 0; ) in Encode()
25 bitIndex--; in Encode()
26 int bit = (symbol >>> bitIndex) & 1; in Encode()
48 for (int bitIndex = NumBitLevels; bitIndex != 0; ) in GetPrice()
50 bitIndex--; in GetPrice()
51 int bit = (symbol >>> bitIndex) & 1; in GetPrice()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc438 string GetBitFieldNameForBit(int bitIndex) { in GetBitFieldNameForBit() argument
439 return GetBitFieldName(bitIndex / 32); in GetBitFieldNameForBit()
444 string GenerateGetBitInternal(const string& prefix, int bitIndex) { in GenerateGetBitInternal() argument
445 string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateGetBitInternal()
446 int bitInVarIndex = bitIndex % 32; in GenerateGetBitInternal()
453 string GenerateSetBitInternal(const string& prefix, int bitIndex) { in GenerateSetBitInternal() argument
454 string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateSetBitInternal()
455 int bitInVarIndex = bitIndex % 32; in GenerateSetBitInternal()
464 string GenerateGetBit(int bitIndex) { in GenerateGetBit() argument
465 return GenerateGetBitInternal("", bitIndex); in GenerateGetBit()
[all …]
Djava_helpers.h175 string GetBitFieldNameForBit(int bitIndex);
180 string GenerateGetBit(int bitIndex);
185 string GenerateSetBit(int bitIndex);
190 string GenerateClearBit(int bitIndex);
196 string GenerateGetBitFromLocal(int bitIndex);
202 string GenerateSetBitToLocal(int bitIndex);
208 string GenerateGetBitMutableLocal(int bitIndex);
214 string GenerateSetBitMutableLocal(int bitIndex);
/external/chromium_org/third_party/icu/source/test/perf/usetperf/
Dbitset.cpp30 UBool BitSet::get(int32_t bitIndex) const { in get()
31 uint32_t longIndex = bitIndex >> 5; in get()
32 int32_t bitInLong = bitIndex & 0x1F; in get()
37 void BitSet::set(int32_t bitIndex) { in set() argument
38 uint32_t longIndex = bitIndex >> 5; in set()
39 int32_t bitInLong = bitIndex & 0x1F; in set()
Dbitset.h28 UBool get(int32_t bitIndex) const;
30 void set(int32_t bitIndex);
/external/icu4c/test/perf/usetperf/
Dbitset.cpp30 UBool BitSet::get(int32_t bitIndex) const { in get()
31 uint32_t longIndex = bitIndex >> 5; in get()
32 int32_t bitInLong = bitIndex & 0x1F; in get()
37 void BitSet::set(int32_t bitIndex) { in set() argument
38 uint32_t longIndex = bitIndex >> 5; in set()
39 int32_t bitInLong = bitIndex & 0x1F; in set()
Dbitset.h28 UBool get(int32_t bitIndex) const;
30 void set(int32_t bitIndex);
/external/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp560 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) in recurse() local
561 BitValueArray[StartBit + bitIndex] = BIT_UNSET; in recurse()
589 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) { in recurse() local
590 if (mapIterator->first & (1ULL << bitIndex)) in recurse()
591 BitValueArray[StartBit + bitIndex] = BIT_TRUE; in recurse()
593 BitValueArray[StartBit + bitIndex] = BIT_FALSE; in recurse()
950 for (unsigned bitIndex = BitWidth; bitIndex > 0; bitIndex--) { in dumpFilterArray() local
951 switch (filter[bitIndex - 1]) { in dumpFilterArray()
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3collections.c1711 static ANTLR3_UINT8 bitIndex[256] = variable
2028 depth = 56 + bitIndex[((xorKey & 0xFF00000000000000)>>56)]; in intTrieAdd()
2032 depth = 48 + bitIndex[((xorKey & 0x00FF000000000000)>>48)]; in intTrieAdd()
2039 depth = 40 + bitIndex[((xorKey & 0x0000FF0000000000)>>40)]; in intTrieAdd()
2043 depth = 32 + bitIndex[((xorKey & 0x000000FF00000000)>>32)]; in intTrieAdd()
2054 depth = 24 + bitIndex[((xorKey & 0x00000000FF000000)>>24)]; in intTrieAdd()
2058 depth = 16 + bitIndex[((xorKey & 0x0000000000FF0000)>>16)]; in intTrieAdd()
2065 depth = 8 + bitIndex[((xorKey & 0x0000000000000FF00)>>8)]; in intTrieAdd()
2069 depth = bitIndex[xorKey & 0x00000000000000FF]; in intTrieAdd()
/external/icu4c/common/
Dutext.cpp33 #define I32_FLAG(bitIndex) ((int32_t)1<<(bitIndex)) argument
/external/chromium_org/third_party/icu/source/common/
Dutext.cpp30 #define I32_FLAG(bitIndex) ((int32_t)1<<(bitIndex)) argument