Searched refs:bit_index (Results 1 – 2 of 2) sorted by relevance
24 let bit_index = index % T::bit_size(); in get() localVariable27 let bit = <T as BitOps>::get(element, bit_index); in get()38 let bit_index = index % T::bit_size(); in set() localVariable41 let bit = <T as BitOps>::set(element, bit_index, value); in set()132 let bit_index = index % T::bit_size(); in next_index() localVariable135 if let Some(bit) = <T as BitOps>::next_index(element, bit_index) { in next_index()155 let bit_index = index % T::bit_size(); in next_false_index() localVariable158 if let Some(bit) = <T as BitOps>::next_false_index(element, bit_index) { in next_false_index()177 let bit_index = index % T::bit_size(); in prev_index() localVariable180 if let Some(bit) = <T as BitOps>::prev_index(element, bit_index) { in prev_index()[all …]
23 let bit_index = if cfg!(target_endian = "big") { in get_bit() localVariable28 let mask = 1 << bit_index; in get_bit()36 let bit_index = if cfg!(target_endian = "big") { in set_bit() localVariable41 let mask = 1 << bit_index; in set_bit()