Home
last modified time | relevance | path

Searched refs:total_bits (Results 1 – 5 of 5) sorted by relevance

/system/bt/gd/packet/
Dbit_inserter.cc31 size_t total_bits = num_bits + num_saved_bits_; in insert_bits() local
33 if (total_bits >= 8) { in insert_bits()
35 total_bits -= 8; in insert_bits()
38 num_saved_bits_ = total_bits; in insert_bits()
Dfragmenting_inserter.cc31 size_t total_bits = num_bits + num_saved_bits_; in insert_bits() local
33 if (total_bits >= 8) { in insert_bits()
41 total_bits -= 8; in insert_bits()
44 num_saved_bits_ = total_bits; in insert_bits()
/system/bt/gd/packet/parser/
Dstruct_def.cc119 Size total_bits{0}; in GenParse() local
125 total_bits += field->GetSize().bits(); in GenParse()
129 s << "if (to_bound.NumBytesRemaining() < " << total_bits.bytes() << ")"; in GenParse()
/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc1833 uint8_t total_bits = 0; in rw_t1t_get_lock_bits_for_segment() local
1884 total_bits = 1; in rw_t1t_get_lock_bits_for_segment()
1917 total_bits += num_bits - bit_count; in rw_t1t_get_lock_bits_for_segment()
1928 total_bits += (bit_count + 1); in rw_t1t_get_lock_bits_for_segment()
1935 return total_bits; in rw_t1t_get_lock_bits_for_segment()
1967 uint8_t total_bits; in rw_t1t_update_lock_attributes() local
2003 total_bits = rw_t1t_get_lock_bits_for_segment( in rw_t1t_update_lock_attributes()
2005 if (total_bits != 0) { in rw_t1t_update_lock_attributes()
2020 num_lock_bits = (total_bits % 8 == 0) ? 8 : total_bits % 8; in rw_t1t_update_lock_attributes()
Drw_t2t_ndef.cc2053 uint8_t total_bits = 0; in rw_t2t_get_lock_bits_for_segment() local
2117 total_bits = 1; in rw_t2t_get_lock_bits_for_segment()
2149 total_bits += num_bits - bit_count; in rw_t2t_get_lock_bits_for_segment()
2161 total_bits += (bit_count + 1); in rw_t2t_get_lock_bits_for_segment()
2168 return total_bits; in rw_t2t_get_lock_bits_for_segment()
2200 uint8_t total_bits; in rw_t2t_update_lock_attributes() local
2241 total_bits = rw_t2t_get_lock_bits_for_segment( in rw_t2t_update_lock_attributes()
2243 if (total_bits != 0) { in rw_t2t_update_lock_attributes()