Home
last modified time | relevance | path

Searched refs:nbyte (Results 1 – 6 of 6) sorted by relevance

/hardware/invensense/60xx/libsensors_iio/
DMPLSensor.cpp1860 int lp_quaternion_on = 0, nbyte; in readEvents() local
1867 nbyte= (8 * sensors + 8) * 1; in readEvents()
1872 nbyte += sizeof(mCachedQuaternionData); //currently 16 bytes for Q data in readEvents()
1879 ssize_t rsize = read(iio_fd, rdata, nbyte); in readEvents()
1907 if (rsize < (nbyte - 8)) { in readEvents()
1909 rsize, nbyte, sensors, errno, strerror(errno)); in readEvents()
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.cpp3712 size_t nbyte; in buildMpuEvent() local
3727 nbyte= (BYTES_PER_SENSOR + 8) * sensors * 1; in buildMpuEvent()
3736 nbyte += BYTES_QUAT_DATA; in buildMpuEvent()
3745 nbyte += BYTES_QUAT_DATA; in buildMpuEvent()
3749 nbyte += BYTES_PER_SENSOR_PACKET; in buildMpuEvent()
3753 nbyte += BYTES_PER_SENSOR_PACKET; in buildMpuEvent()
3757 nbyte = 24 - mLeftOverBufferSize; in buildMpuEvent()
3776 rsize = read(iio_fd, rdataP, nbyte); in buildMpuEvent()
3816 rsize, nbyte, in buildMpuEvent()
3825 checkBatchEnabled(), *((short *) rdata), nbyte, (int)rsize, readCounter); in buildMpuEvent()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h679 #define MAXNBVAL(nbyte) MAXBITVAL((nbyte) * 8) argument
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp3291 void swap_byte(char *pByte, int nbyte) in swap_byte() argument
3295 for (i=0; i<nbyte/2; i++) in swap_byte()
3297 pByte[i] ^= pByte[nbyte-i-1]; in swap_byte()
3298 pByte[nbyte-i-1] ^= pByte[i]; in swap_byte()
3299 pByte[i] ^= pByte[nbyte-i-1]; in swap_byte()
/hardware/invensense/6515/libsensors_iio/
DMPLSensor.cpp3702 size_t nbyte; local
3722 nbyte = MAX_READ_SIZE - mLeftOverBufferSize;
3741 rsize = read(iio_fd, rdataP, nbyte);
3756 (int)rsize, nbyte,
3771 (int)rsize, nbyte,
3783 (int)rsize, nbyte,
3841 checkBatchEnabled(), *((short *) rdata), nbyte, (int)rsize, (int)readCounter);
4051 …Not enough data readCounter=%d, expected nbyte=%d, rsize=%d", (int)readCounter, nbyte, (int)rsize);
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp3695 void swap_byte(char *pByte, int nbyte) in swap_byte() argument
3699 for (i=0; i<nbyte/2; i++) { in swap_byte()
3700 pByte[i] ^= pByte[nbyte-i-1]; in swap_byte()
3701 pByte[nbyte-i-1] ^= pByte[i]; in swap_byte()
3702 pByte[i] ^= pByte[nbyte-i-1]; in swap_byte()