Home
last modified time | relevance | path

Searched refs:bitIndex (Results 1 – 19 of 19) 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/libgdx/gdx/src/com/badlogic/gdx/utils/compression/rangecoder/
DBitTreeDecoder.java34 for (int bitIndex = NumBitLevels; bitIndex != 0; bitIndex--) in Decode()
42 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++) { in ReverseDecode()
46 symbol |= (bit << bitIndex); in ReverseDecode()
55 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++) { in ReverseDecode()
59 symbol |= (bit << bitIndex); in ReverseDecode()
DBitTreeEncoder.java36 for (int bitIndex = NumBitLevels; bitIndex != 0;) { in Encode()
37 bitIndex--; in Encode()
38 int bit = (symbol >>> bitIndex) & 1; in Encode()
57 for (int bitIndex = NumBitLevels; bitIndex != 0;) { in GetPrice()
58 bitIndex--; in GetPrice()
59 int bit = (symbol >>> bitIndex) & 1; in GetPrice()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc523 string GetBitFieldNameForBit(int bitIndex) { in GetBitFieldNameForBit() argument
524 return GetBitFieldName(bitIndex / 32); in GetBitFieldNameForBit()
529 string GenerateGetBitInternal(const string& prefix, int bitIndex) { in GenerateGetBitInternal() argument
530 string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateGetBitInternal()
531 int bitInVarIndex = bitIndex % 32; in GenerateGetBitInternal()
538 string GenerateSetBitInternal(const string& prefix, int bitIndex) { in GenerateSetBitInternal() argument
539 string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateSetBitInternal()
540 int bitInVarIndex = bitIndex % 32; in GenerateSetBitInternal()
549 string GenerateGetBit(int bitIndex) { in GenerateGetBit() argument
550 return GenerateGetBitInternal("", bitIndex); in GenerateGetBit()
[all …]
Djava_helpers.h234 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);
/external/skia/src/codec/
DSkSwizzler.cpp69 int bitIndex = offset % 8; in swizzle_bit_to_grayscale() local
72 dst[0] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale()
75 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_grayscale()
76 bitIndex = bitOffset % 8; in swizzle_bit_to_grayscale()
78 dst[x] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale()
93 int bitIndex = offset % 8; in swizzle_bit_to_index() local
96 dst[0] = ((currByte >> (7-bitIndex)) & 1); in swizzle_bit_to_index()
99 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_index()
100 bitIndex = bitOffset % 8; in swizzle_bit_to_index()
102 dst[x] = ((currByte >> (7-bitIndex)) & 1); in swizzle_bit_to_index()
[all …]
/external/icu/icu4c/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/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRCoderMatrixUtil.cpp169 int32_t bitIndex = 6 * 3 - 1; in MaybeEmbedVersionInfo() local
172 int32_t bit = versionInfoBits.At(bitIndex, e); in MaybeEmbedVersionInfo()
174 bitIndex--; in MaybeEmbedVersionInfo()
188 int32_t bitIndex = 0; in EmbedDataBits() local
207 if (bitIndex < dataBits->Size()) { in EmbedDataBits()
208 bit = dataBits->At(bitIndex, e); in EmbedDataBits()
210 bitIndex++; in EmbedDataBits()
230 if (bitIndex != dataBits->Size()) { in EmbedDataBits()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_helpers.cc556 int bitIndex, map<string, string>* variables) { in SetBitOperationVariables() argument
557 (*variables)["get_" + name] = GenerateGetBit(bitIndex); in SetBitOperationVariables()
558 (*variables)["set_" + name] = GenerateSetBit(bitIndex); in SetBitOperationVariables()
559 (*variables)["clear_" + name] = GenerateClearBit(bitIndex); in SetBitOperationVariables()
560 (*variables)["different_" + name] = GenerateDifferentBit(bitIndex); in SetBitOperationVariables()
Djavanano_helpers.h182 int bitIndex, map<string, string>* variables);
/external/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp548 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) in recurse() local
549 BitValueArray[StartBit + bitIndex] = BIT_UNSET; in recurse()
571 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) { in recurse() local
572 if (Inst.first & (1ULL << bitIndex)) in recurse()
573 BitValueArray[StartBit + bitIndex] = BIT_TRUE; in recurse()
575 BitValueArray[StartBit + bitIndex] = BIT_FALSE; in recurse()
943 for (unsigned bitIndex = BitWidth; bitIndex > 0; bitIndex--) { in dumpFilterArray() local
944 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/libgdx/gdx/jni/etc1/
Detc1_utils.cpp299 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument
329 << bitIndex; in chooseModifier()
/external/skia/third_party/etc1/
Detc1.cpp307 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument
337 << bitIndex; in chooseModifier()
/external/icu/icu4c/source/common/
Ddictbe.cpp1120 static inline int32_t utext_i32_flag(int32_t bitIndex) { in utext_i32_flag() argument
1121 return (int32_t)1 << bitIndex; in utext_i32_flag()
Dutext.cpp33 #define I32_FLAG(bitIndex) ((int32_t)1<<(bitIndex)) argument