/external/lzma/CS/7zip/Compress/RangeCoder/ |
D | RangeCoderBitTree.cs | 25 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/ |
D | BitTreeDecoder.java | 22 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()
|
D | BitTreeEncoder.java | 23 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/icu/icu4c/source/test/perf/usetperf/ |
D | bitset.cpp | 34 UBool BitSet::get(int32_t bitIndex) const { in get() 35 uint32_t longIndex = bitIndex >> 5; in get() 36 int32_t bitInLong = bitIndex & 0x1F; in get() 41 void BitSet::set(int32_t bitIndex) { in set() argument 42 uint32_t longIndex = bitIndex >> 5; in set() 43 int32_t bitInLong = bitIndex & 0x1F; in set()
|
D | bitset.h | 32 UBool get(int32_t bitIndex) const; 34 void set(int32_t bitIndex);
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_helpers.cc | 638 std::string GetBitFieldNameForBit(int bitIndex) { in GetBitFieldNameForBit() argument 639 return GetBitFieldName(bitIndex / 32); in GetBitFieldNameForBit() 644 std::string GenerateGetBitInternal(const std::string& prefix, int bitIndex) { in GenerateGetBitInternal() argument 645 std::string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateGetBitInternal() 646 int bitInVarIndex = bitIndex % 32; in GenerateGetBitInternal() 653 std::string GenerateSetBitInternal(const std::string& prefix, int bitIndex) { in GenerateSetBitInternal() argument 654 std::string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateSetBitInternal() 655 int bitInVarIndex = bitIndex % 32; in GenerateSetBitInternal() 664 std::string GenerateGetBit(int bitIndex) { in GenerateGetBit() argument 665 return GenerateGetBitInternal("", bitIndex); in GenerateGetBit() [all …]
|
D | java_helpers.h | 269 std::string GetBitFieldNameForBit(int bitIndex); 274 std::string GenerateGetBit(int bitIndex); 279 std::string GenerateSetBit(int bitIndex); 284 std::string GenerateClearBit(int bitIndex); 290 std::string GenerateGetBitFromLocal(int bitIndex); 296 std::string GenerateSetBitToLocal(int bitIndex); 302 std::string GenerateGetBitMutableLocal(int bitIndex); 308 std::string GenerateSetBitMutableLocal(int bitIndex);
|
/external/skia/src/codec/ |
D | SkSwizzler.cpp | 95 int bitIndex = offset % 8; in swizzle_bit_to_grayscale() local 98 dst[0] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale() 101 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_grayscale() 102 bitIndex = bitOffset % 8; in swizzle_bit_to_grayscale() 104 dst[x] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale() 119 int bitIndex = offset % 8; in swizzle_bit_to_n32() local 122 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32() 125 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_n32() 126 bitIndex = bitOffset % 8; in swizzle_bit_to_n32() 128 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32() [all …]
|
/external/skqp/src/codec/ |
D | SkSwizzler.cpp | 95 int bitIndex = offset % 8; in swizzle_bit_to_grayscale() local 98 dst[0] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale() 101 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_grayscale() 102 bitIndex = bitOffset % 8; in swizzle_bit_to_grayscale() 104 dst[x] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale() 119 int bitIndex = offset % 8; in swizzle_bit_to_n32() local 122 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32() 125 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_n32() 126 bitIndex = bitOffset % 8; in swizzle_bit_to_n32() 128 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | UnmodifiableBitSet.java | 38 public void clear(int bitIndex) { in clear() argument 48 public void flip(int bitIndex) { in flip() argument 58 public void set(int bitIndex) { in set() argument 63 public void set(int bitIndex, boolean value) { in set() argument
|
/external/guava/android/guava/src/com/google/common/hash/ |
D | BloomFilterStrategies.java | 170 boolean set(long bitIndex) { in set() argument 171 if (get(bitIndex)) { in set() 175 int longIndex = (int) (bitIndex >>> LONG_ADDRESSABLE_BITS); in set() 176 long mask = 1L << bitIndex; // only cares about low 6 bits of bitIndex in set() 193 boolean get(long bitIndex) { in get() argument 194 return (data.get((int) (bitIndex >>> LONG_ADDRESSABLE_BITS)) & (1L << bitIndex)) != 0; in get()
|
/external/guava/guava/src/com/google/common/hash/ |
D | BloomFilterStrategies.java | 170 boolean set(long bitIndex) { in set() argument 171 if (get(bitIndex)) { in set() 175 int longIndex = (int) (bitIndex >>> LONG_ADDRESSABLE_BITS); in set() 176 long mask = 1L << bitIndex; // only cares about low 6 bits of bitIndex in set() 193 boolean get(long bitIndex) { in get() argument 194 return (data.get((int) (bitIndex >>> LONG_ADDRESSABLE_BITS)) & (1L << bitIndex)) != 0; in get()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_helpers.cc | 570 int bitIndex, std::map<string, string>* variables) { in SetBitOperationVariables() argument 571 (*variables)["get_" + name] = GenerateGetBit(bitIndex); in SetBitOperationVariables() 572 (*variables)["set_" + name] = GenerateSetBit(bitIndex); in SetBitOperationVariables() 573 (*variables)["clear_" + name] = GenerateClearBit(bitIndex); in SetBitOperationVariables() 574 (*variables)["different_" + name] = GenerateDifferentBit(bitIndex); in SetBitOperationVariables()
|
D | javanano_helpers.h | 184 int bitIndex, std::map<string, string>* variables);
|
/external/llvm/utils/TableGen/ |
D | FixedLenDecoderEmitter.cpp | 545 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) in recurse() local 546 BitValueArray[StartBit + bitIndex] = BIT_UNSET; in recurse() 567 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) { in recurse() local 568 if (Inst.first & (1ULL << bitIndex)) in recurse() 569 BitValueArray[StartBit + bitIndex] = BIT_TRUE; in recurse() 571 BitValueArray[StartBit + bitIndex] = BIT_FALSE; in recurse() 945 for (unsigned bitIndex = BitWidth; bitIndex > 0; bitIndex--) { in dumpFilterArray() local 946 switch (filter[bitIndex - 1]) { in dumpFilterArray()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | FixedLenDecoderEmitter.cpp | 559 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) in recurse() local 560 BitValueArray[StartBit + bitIndex] = BIT_UNSET; in recurse() 581 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) { in recurse() local 582 if (Inst.first & (1ULL << bitIndex)) in recurse() 583 BitValueArray[StartBit + bitIndex] = BIT_TRUE; in recurse() 585 BitValueArray[StartBit + bitIndex] = BIT_FALSE; in recurse() 974 for (unsigned bitIndex = BitWidth; bitIndex > 0; bitIndex--) { in dumpFilterArray() local 975 switch (filter[bitIndex - 1]) { in dumpFilterArray()
|
/external/pdfium/fxbarcode/qrcode/ |
D | BC_QRCoderMatrixUtil.cpp | 204 int32_t bitIndex = 6 * 3 - 1; in MaybeEmbedVersionInfo() local 207 int32_t bit = versionInfoBits.At(bitIndex); in MaybeEmbedVersionInfo() 208 bitIndex--; in MaybeEmbedVersionInfo()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | TablePrinter.java | 280 public boolean getSortAscending(int bitIndex) { in getSortAscending() argument 281 return ascending.get(bitIndex); in getSortAscending() 284 public void setSortAscending(int bitIndex, boolean value) { in setSortAscending() argument 285 ascending.set(bitIndex, value); in setSortAscending()
|
/external/antlr/runtime/C/src/ |
D | antlr3collections.c | 1752 static ANTLR3_UINT8 bitIndex[256] = variable 2068 depth = 56 + bitIndex[((xorKey & 0xFF00000000000000)>>56)]; in intTrieAdd() 2072 depth = 48 + bitIndex[((xorKey & 0x00FF000000000000)>>48)]; in intTrieAdd() 2079 depth = 40 + bitIndex[((xorKey & 0x0000FF0000000000)>>40)]; in intTrieAdd() 2083 depth = 32 + bitIndex[((xorKey & 0x000000FF00000000)>>32)]; in intTrieAdd() 2094 depth = 24 + bitIndex[((xorKey & 0x00000000FF000000)>>24)]; in intTrieAdd() 2098 depth = 16 + bitIndex[((xorKey & 0x0000000000FF0000)>>16)]; in intTrieAdd() 2105 depth = 8 + bitIndex[((xorKey & 0x0000000000000FF00)>>8)]; in intTrieAdd() 2109 depth = bitIndex[xorKey & 0x00000000000000FF]; in intTrieAdd()
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3collections.inl | 84 static ANTLR_UINT8 bitIndex[256] = local 107 return bitIndex; 347 const ANTLR_UINT8* bitIndex = this->get_bitIndex(); local 355 depth = 56 + bitIndex[((xorKey & 0xFF00000000000000)>>56)]; 359 depth = 48 + bitIndex[((xorKey & 0x00FF000000000000)>>48)]; 366 depth = 40 + bitIndex[((xorKey & 0x0000FF0000000000)>>40)]; 370 depth = 32 + bitIndex[((xorKey & 0x000000FF00000000)>>32)]; 381 depth = 24 + bitIndex[((xorKey & 0x00000000FF000000)>>24)]; 385 depth = 16 + bitIndex[((xorKey & 0x0000000000FF0000)>>16)]; 392 depth = 8 + bitIndex[((xorKey & 0x0000000000000FF00)>>8)]; [all …]
|
/external/swiftshader/src/Renderer/ |
D | ETC_Decoder.cpp | 595 int bitIndex = x * 4 + y; in getIndex() local 596 int bitOffset = bitIndex & 7; in getIndex() 597 int lsb = (pixelIndexLSB[1 - (bitIndex >> 3)] >> bitOffset) & 1; in getIndex() 598 int msb = (pixelIndexMSB[1 - (bitIndex >> 3)] >> bitOffset) & 1; in getIndex()
|
/external/swiftshader/src/Device/ |
D | ETC_Decoder.cpp | 592 int bitIndex = x * 4 + y; in getIndex() local 593 int bitOffset = bitIndex & 7; in getIndex() 594 int lsb = (pixelIndexLSB[1 - (bitIndex >> 3)] >> bitOffset) & 1; in getIndex() 595 int msb = (pixelIndexMSB[1 - (bitIndex >> 3)] >> bitOffset) & 1; in getIndex()
|
/external/skia/third_party/etc1/ |
D | etc1.cpp | 307 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument 337 << bitIndex; in chooseModifier()
|
/external/skqp/third_party/etc1/ |
D | etc1.cpp | 307 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument 337 << bitIndex; in chooseModifier()
|
/external/OpenCL-CTS/test_conformance/c11_atomics/ |
D | test_atomics.cpp | 878 size_t bitIndex = tid - (whichResult * numBits); in HostFunction() local 880 …oldValues[tid] = host_atomic_fetch_or(&destMemory[whichResult], ((HostDataType)1 << bitIndex), Mem… in HostFunction() 970 int bitIndex = (numBits-1)*(tid+1)/threadCount; in HostFunction() local 972 …oldValues[tid] = host_atomic_fetch_xor(&destMemory[0], ((HostDataType)1 << bitIndex), MemoryOrder(… in HostFunction() 980 int bitIndex = (numBits-1)*(i+1)/threadCount; in ExpectedValue() local 981 expected ^= ((HostDataType)1 << bitIndex); in ExpectedValue() 1066 size_t bitIndex = tid - (whichResult * numBits); in HostFunction() local 1068 …oldValues[tid] = host_atomic_fetch_and(&destMemory[whichResult], ~((HostDataType)1 << bitIndex), M… in HostFunction()
|