Searched refs:bitOffset (Results 1 – 3 of 3) sorted by relevance
351 int bitOffset = 0; in decodeSingle() local362 int byteOffset = bitOffset / 8; in decodeSingle()363 int shift = bitOffset % 8; in decodeSingle()371 bitOffset += 7; in decodeSingle()423 int bitOffset = 0; in testDecodeExtended() local427 int byteOffset = bitOffset / 8; in testDecodeExtended()428 int shift = bitOffset % 8; in testDecodeExtended()436 bitOffset += 7; in testDecodeExtended()439 byteOffset = bitOffset / 8; in testDecodeExtended()440 shift = bitOffset % 8; in testDecodeExtended()[all …]
397 for (int i = 0, septets = startingSeptetOffset, bitOffset = startingSeptetOffset * 7; in stringToGsm7BitPacked()399 i++, bitOffset += 7) { in stringToGsm7BitPacked()411 packSmsChar(ret, bitOffset, GSM_EXTENDED_ESCAPE); in stringToGsm7BitPacked()412 bitOffset += 7; in stringToGsm7BitPacked()416 packSmsChar(ret, bitOffset, v); in stringToGsm7BitPacked()432 packSmsChar(byte[] packedChars, int bitOffset, int value) { in packSmsChar() argument433 int byteOffset = bitOffset / 8; in packSmsChar()434 int shift = bitOffset % 8; in packSmsChar()503 int bitOffset = (7 * i) + numPaddingBits; in gsm7BitPackedToString() local505 int byteOffset = bitOffset / 8; in gsm7BitPackedToString()[all …]
226 private int bitOffset; // bit 0 is MSB of data[0]235 int b0 = bitOffset >>> 3;236 int dbit = bitOffset & 0x7;243 bitOffset += Byte.SIZE - dbit;247 bitOffset += sbit + 1;