Searched refs:bitOffset (Results 1 – 3 of 3) sorted by relevance
22 private int bitOffset; field in ParsableBitArray37 bitOffset = 0; in reset()42 if (++bitOffset == 8) { in skipBit()43 bitOffset = 0; in skipBit()51 bitOffset += numBits - (numBytes * 8); in skipBits()52 if (bitOffset > 7) { in skipBits()54 bitOffset -= 8; in skipBits()59 boolean returnValue = (data[byteOffset] & (0x80 >> bitOffset)) != 0; in readBit()69 bitOffset += numBits; in readBits()70 while (bitOffset > 8) { in readBits()[all …]
381 int bitOffset = 0; in decodeSingle() local392 int byteOffset = bitOffset / 8; in decodeSingle()393 int shift = bitOffset % 8; in decodeSingle()401 bitOffset += 7; in decodeSingle()453 int bitOffset = 0; in testDecodeExtended() local457 int byteOffset = bitOffset / 8; in testDecodeExtended()458 int shift = bitOffset % 8; in testDecodeExtended()466 bitOffset += 7; in testDecodeExtended()469 byteOffset = bitOffset / 8; in testDecodeExtended()470 shift = bitOffset % 8; in testDecodeExtended()[all …]
415 for (int i = 0, septets = startingSeptetOffset, bitOffset = startingSeptetOffset * 7; in stringToGsm7BitPacked()417 i++, bitOffset += 7) { in stringToGsm7BitPacked()429 packSmsChar(ret, bitOffset, GSM_EXTENDED_ESCAPE); in stringToGsm7BitPacked()430 bitOffset += 7; in stringToGsm7BitPacked()434 packSmsChar(ret, bitOffset, v); in stringToGsm7BitPacked()451 packSmsChar(byte[] packedChars, int bitOffset, int value) { in packSmsChar() argument452 int byteOffset = bitOffset / 8; in packSmsChar()453 int shift = bitOffset % 8; in packSmsChar()524 int bitOffset = (7 * i) + numPaddingBits; in gsm7BitPackedToString() local526 int byteOffset = bitOffset / 8; in gsm7BitPackedToString()[all …]