Searched refs:bitSize (Results 1 – 4 of 4) sorted by relevance
109 size_t bitSize; // bit length per unit member118 return (bitOffset & 7) == 0 && (bitSize & 7) == 0; in isByteAligned()152 return (one << bitSize) - 1; in rawMask()161 return ((one << (bitSize - 1)) & value) != 0; in isNegative()169 size_t bitSize; member173 size_t getByteSize() const { return (bitSize + 7) / 8; }; in getByteSize()
234 .bitSize = 0, in convertGroupToPacket()265 .bitOffset = packet.bitSize, in convertGroupToPacket()266 .bitSize = r.getSize(), in convertGroupToPacket()270 packet.bitSize += digest.bitSize * digest.count; in convertGroupToPacket()299 << " size: " << packet.bitSize in operator <<()308 os << " " << report.bitOffset << " size: " << report.bitSize in operator <<()
134 .byteSize = pReportAccuracy->bitSize / 8, in HidRawSensor()181 || (digest.bitSize != 8 && digest.bitSize != 16 && digest.bitSize != 32)) { in HidRawSensor()193 .byteSize = digest.bitSize / 8, in HidRawSensor()210 record.byteOffset += digest.bitSize / 8; in HidRawSensor()243 if ((quat.bitSize != 16 && quat.bitSize != 32) || !quat.isByteAligned()) { in processQuaternionUsage()266 .byteSize = quat.bitSize / 8, in processQuaternionUsage()275 record.byteOffset = (quat.bitOffset + quat.bitSize) / 8; in processQuaternionUsage()280 record.byteOffset = (quat.bitOffset + 3 * quat.bitSize) / 8; in processQuaternionUsage()285 record.byteOffset = (quat.bitOffset + 2 * quat.bitSize) / 8; in processQuaternionUsage()335 || (reportX.bitSize != 16 && reportX.bitSize != 32) in processTriAxisUsage()[all …]
118 size_t bitSize = atoi(size.c_str()); in initFromFile() local119 size_t byteSize = (bitSize + 7) >> 3; in initFromFile()