Home
last modified time | relevance | path

Searched refs:src_bit_offset (Results 1 – 3 of 3) sorted by relevance

/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidUtils.cpp23 unsigned int src_bit_offset, unsigned int dst_bit_offset, in copyBits() argument
39 p_src = static_cast<const uint8_t*>(src) + (src_bit_offset / 8); in copyBits()
40 src_bit_offset = src_bit_offset % 8; in copyBits()
47 bit_block_count = std::min(bits_rem, 8 - src_bit_offset); in copyBits()
55 (((*p_src >> src_bit_offset) << dst_bit_offset) & dst_mask); in copyBits()
58 src_bit_offset += bit_block_count; in copyBits()
59 p_src += src_bit_offset / 8; in copyBits()
60 src_bit_offset = src_bit_offset % 8; in copyBits()
DHidUtils.h24 unsigned int src_bit_offset, unsigned int dst_bit_offset,
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DCopyBitsTest.cpp26 int src_bit_offset; in TEST() member
42 test_vector.src_bit_offset, test_vector.dst_bit_offset, in TEST()
52 unsigned int src_bit_offset; in TEST() member
68 test_vector.src_bit_offset, test_vector.dst_bit_offset, in TEST()