Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_getbits.cpp115 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/
Djava_helpers.cc562 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 …]
Djava_helpers.h261 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/
DIconLoader.java250 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/
DBitUtils.java133 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/
Djavanano_helpers.cc570 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()
Djavanano_helpers.h184 int bitIndex, map<string, string>* variables);
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java506 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/
Detc1.cpp299 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/
DWifiMetricsTest.java2391 for (int bitIndex = 0; mask > 0; mask >>>= 1, bitIndex++) { in intToBitSet()
2392 if ((mask & 1) != 0) bitSet.set(bitIndex); in intToBitSet()