Searched refs:bitIndex (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_getbits.cpp | 115 uint32 bitIndex; in getNbits() local 141 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getNbits() 144 returnValue <<= bitIndex; in getNbits() 163 uint32 bitIndex; in getUpTo9bits() local 178 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo9bits() 182 returnValue = (returnValue << (bitIndex)); in getUpTo9bits() 199 uint32 bitIndex; in getUpTo17bits() local 217 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo17bits() 221 returnValue = 0xFFFFFF & (returnValue << (bitIndex)); in getUpTo17bits() 237 uint32 bitIndex; in get1bit() local [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_helpers.cc | 562 string GetBitFieldNameForBit(int bitIndex) { in GetBitFieldNameForBit() argument 563 return GetBitFieldName(bitIndex / 32); in GetBitFieldNameForBit() 568 string GenerateGetBitInternal(const string& prefix, int bitIndex) { in GenerateGetBitInternal() argument 569 string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateGetBitInternal() 570 int bitInVarIndex = bitIndex % 32; in GenerateGetBitInternal() 577 string GenerateSetBitInternal(const string& prefix, int bitIndex) { in GenerateSetBitInternal() argument 578 string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateSetBitInternal() 579 int bitInVarIndex = bitIndex % 32; in GenerateSetBitInternal() 588 string GenerateGetBit(int bitIndex) { in GenerateGetBit() argument 589 return GenerateGetBitInternal("", bitIndex); in GenerateGetBit() [all …]
|
D | java_helpers.h | 261 string GetBitFieldNameForBit(int bitIndex); 266 string GenerateGetBit(int bitIndex); 271 string GenerateSetBit(int bitIndex); 276 string GenerateClearBit(int bitIndex); 282 string GenerateGetBitFromLocal(int bitIndex); 288 string GenerateSetBitToLocal(int bitIndex); 294 string GenerateGetBitMutableLocal(int bitIndex); 300 string GenerateSetBitMutableLocal(int bitIndex);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | IconLoader.java | 250 int bitIndex = 7; in parseToBnW() local 256 bitIndex = 7; in parseToBnW() 258 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); in parseToBnW() 309 int bitIndex = bitsStartOffset; in parseToRGB() local 315 if (bitIndex < 0) { in parseToRGB() 317 bitIndex = bitsOverlaps ? (bitsStartOffset) : (bitIndex * -1); in parseToRGB() 319 int clutEntry = ((currentByte >> bitIndex) & mask); in parseToRGB() 323 bitIndex -= bitsPerImg; in parseToRGB()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | BitUtils.java | 133 public static boolean isBitSet(long flags, int bitIndex) { in isBitSet() argument 134 return (flags & bitAt(bitIndex)) != 0; in isBitSet() 137 public static long bitAt(int bitIndex) { in bitAt() argument 138 return 1L << bitIndex; in bitAt()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/ |
D | javanano_helpers.cc | 570 int bitIndex, 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, map<string, string>* variables);
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/ |
D | IccUtils.java | 506 int bitIndex = 7; in parseToBnW() local 512 bitIndex = 7; in parseToBnW() 514 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()
|
/frameworks/native/opengl/libs/ETC1/ |
D | etc1.cpp | 299 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument 329 << bitIndex; in chooseModifier()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 2391 for (int bitIndex = 0; mask > 0; mask >>>= 1, bitIndex++) { in intToBitSet() 2392 if ((mask & 1) != 0) bitSet.set(bitIndex); in intToBitSet()
|