Home
last modified time | relevance | path

Searched refs:bitSize (Results 1 – 4 of 4) sorted by relevance

/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidParser.h109 size_t bitSize; // bit length per unit member
118 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; member
173 size_t getByteSize() const { return (bitSize + 7) / 8; }; in getByteSize()
DHidParser.cpp234 .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 <<()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensor.cpp134 .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 …]
/hardware/google/gfxstream/codegen/generic-apigen/
DTypeFactory.cpp118 size_t bitSize = atoi(size.c_str()); in initFromFile() local
119 size_t byteSize = (bitSize + 7) >> 3; in initFromFile()