Home
last modified time | relevance | path

Searched refs:bit_count (Results 1 – 2 of 2) sorted by relevance

/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc1835 uint8_t bit_count = 0; in rw_t1t_get_lock_bits_for_segment() local
1876 bit_count = 0; in rw_t1t_get_lock_bits_for_segment()
1877 while (bit_count < num_bits) { in rw_t1t_get_lock_bits_for_segment()
1882 *p_start_bit = bit_count; in rw_t1t_get_lock_bits_for_segment()
1883 bit_count++; in rw_t1t_get_lock_bits_for_segment()
1887 bit_count++; in rw_t1t_get_lock_bits_for_segment()
1914 if ((bytes_locked_per_bit * (num_bits - bit_count)) + byte_count < in rw_t1t_get_lock_bits_for_segment()
1916 byte_count += bytes_locked_per_bit * (num_bits - bit_count); in rw_t1t_get_lock_bits_for_segment()
1917 total_bits += num_bits - bit_count; in rw_t1t_get_lock_bits_for_segment()
1918 bit_count = 0; in rw_t1t_get_lock_bits_for_segment()
[all …]
Drw_t2t_ndef.cc2091 uint8_t bit_count = 0; in rw_t2t_get_lock_bits_for_segment() local
2142 bit_count = 0; in rw_t2t_get_lock_bits_for_segment()
2143 while (bit_count < num_bits) { in rw_t2t_get_lock_bits_for_segment()
2149 *p_start_bit = bit_count; in rw_t2t_get_lock_bits_for_segment()
2150 bit_count++; in rw_t2t_get_lock_bits_for_segment()
2154 bit_count++; in rw_t2t_get_lock_bits_for_segment()
2179 if ((bytes_locked_per_bit * (num_bits - bit_count)) + byte_count < in rw_t2t_get_lock_bits_for_segment()
2182 byte_count += bytes_locked_per_bit * (num_bits - bit_count); in rw_t2t_get_lock_bits_for_segment()
2183 total_bits += num_bits - bit_count; in rw_t2t_get_lock_bits_for_segment()
2184 bit_count = 0; in rw_t2t_get_lock_bits_for_segment()
[all …]