Home
last modified time | relevance | path

Searched refs:trailing_zeros (Results 1 – 22 of 22) sorted by relevance

/external/rust/crates/num-integer/benches/
Dgcd.rs32 let shift = (m | n).trailing_zeros();
52 n >>= n.trailing_zeros();
55 m >>= m.trailing_zeros();
90 let shift = (m | n).trailing_zeros();
94 n >>= n.trailing_zeros();
97 m >>= m.trailing_zeros();
/external/rust/crates/ryu/src/
Ds2d.rs117 let mut trailing_zeros: bool; in s2d() localVariable
154 trailing_zeros = in s2d()
172 trailing_zeros = multiple_of_power_of_5(m10, -e10 as u32); in s2d()
201 trailing_zeros &= (m2 & ((1_u64 << (shift - 1)) - 1)) == 0; in s2d()
203 let round_up = last_removed_bit != 0 && (!trailing_zeros || ((m2 >> shift) & 1) != 0); in s2d()
Ds2f.rs117 let mut trailing_zeros: bool; in s2f() localVariable
149 trailing_zeros = in s2f()
162 trailing_zeros = multiple_of_power_of_5_32(m10, -e10 as u32); in s2f()
192 trailing_zeros &= (m2 & ((1_u32 << (shift - 1)) - 1)) == 0; in s2f()
194 let round_up = last_removed_bit != 0 && (!trailing_zeros || ((m2 >> shift) & 1) != 0); in s2f()
/external/rust/crates/bstr/src/
Dascii.rs138 return mask.trailing_zeros() as usize; in first_non_ascii_byte_sse2()
162 return at + mask.trailing_zeros() as usize; in first_non_ascii_byte_sse2()
168 return at + mask.trailing_zeros() as usize; in first_non_ascii_byte_sse2()
174 return at + mask.trailing_zeros() as usize; in first_non_ascii_byte_sse2()
180 return at + mask.trailing_zeros() as usize; in first_non_ascii_byte_sse2()
191 return sub(ptr, start_ptr) + mask.trailing_zeros() as usize; in first_non_ascii_byte_sse2()
228 mask.trailing_zeros() as usize / 8 in first_non_ascii_byte_mask()
/external/rust/crates/hashbrown/src/raw/
Dbitmask.rs74 self.trailing_zeros() in lowest_set_bit_nonzero()
79 pub fn trailing_zeros(self) -> usize { in trailing_zeros() method
88 self.0.trailing_zeros() as usize / BITMASK_STRIDE in trailing_zeros()
Dmod.rs1458 let ctrl = if empty_before.leading_zeros() + empty_after.trailing_zeros() >= Group::WIDTH { in erase()
/external/rust/crates/num-traits/src/
Dint.rs107 fn trailing_zeros(self) -> u32; in trailing_zeros() method
328 fn trailing_zeros(self) -> u32 {
329 <$T>::trailing_zeros(self)
/external/rust/crates/num-integer/src/
Dlib.rs471 let shift = (m | n).trailing_zeros();
490 m >>= m.trailing_zeros();
491 n >>= n.trailing_zeros();
496 m >>= m.trailing_zeros();
499 n >>= n.trailing_zeros();
830 let shift = (m | n).trailing_zeros();
833 m >>= m.trailing_zeros();
834 n >>= n.trailing_zeros();
839 m >>= m.trailing_zeros();
842 n >>= n.trailing_zeros();
Droots.rs231 if hi.next_power_of_two().trailing_zeros() * n >= bits::<$T>() {
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/
Dfloat_conversion.cc474 int padding_offset, int trailing_zeros, in FinalPrint() argument
480 state.sink->Append(trailing_zeros, '0'); in FinalPrint()
487 static_cast<size_t>(trailing_zeros), in FinalPrint()
496 state.sink->Append(trailing_zeros, '0'); in FinalPrint()
907 int trailing_zeros = in FormatA() local
909 assert(trailing_zeros >= 0); in FormatA()
926 trailing_zeros, // num remaining mantissa padding zeros in FormatA()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc460 int padding_offset, int trailing_zeros, in FinalPrint() argument
466 state.sink->Append(trailing_zeros, '0'); in FinalPrint()
473 static_cast<size_t>(trailing_zeros), in FinalPrint()
482 state.sink->Append(trailing_zeros, '0'); in FinalPrint()
893 int trailing_zeros = in FormatA() local
895 assert(trailing_zeros >= 0); in FormatA()
912 trailing_zeros, // num remaining mantissa padding zeros in FormatA()
/external/angle/third_party/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc479 int padding_offset, int trailing_zeros, in FinalPrint() argument
485 state.sink->Append(trailing_zeros, '0'); in FinalPrint()
492 static_cast<size_t>(trailing_zeros), in FinalPrint()
501 state.sink->Append(trailing_zeros, '0'); in FinalPrint()
912 int trailing_zeros = in FormatA() local
914 assert(trailing_zeros >= 0); in FormatA()
931 trailing_zeros, // num remaining mantissa padding zeros in FormatA()
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc460 int padding_offset, int trailing_zeros, in FinalPrint() argument
466 state.sink->Append(trailing_zeros, '0'); in FinalPrint()
473 static_cast<size_t>(trailing_zeros), in FinalPrint()
482 state.sink->Append(trailing_zeros, '0'); in FinalPrint()
893 int trailing_zeros = in FormatA() local
895 assert(trailing_zeros >= 0); in FormatA()
912 trailing_zeros, // num remaining mantissa padding zeros in FormatA()
/external/crosvm/sys_util/poll_token_derive/
Dpoll_token_derive.rs33 variants.len().next_power_of_two().trailing_zeros() in variant_bits()
/external/rust/crates/tokio/src/time/driver/wheel/
Dlevel.rs199 let zeros = occupied.trailing_zeros() as usize; in next_occupied_slot()
/external/rust/crates/tokio/src/util/
Dslab.rs102 const PAGE_INDEX_SHIFT: u32 = PAGE_INITIAL_SIZE.trailing_zeros() + 1;
/external/crosvm/bit_field/bit_field_derive/
Dbit_field_derive.rs230 let bits = len.trailing_zeros() as u8; in bitfield_enum_without_width_impl()
/external/rust/crates/crossbeam-epoch/src/
Datomic.rs107 (1 << T::ALIGN.trailing_zeros()) - 1 in low_bits()
/external/rust/crates/aho-corasick/src/packed/teddy/
Druntime.rs343 let bit = cand.trailing_zeros() as usize; in verify64()
/external/rust/crates/memchr/src/x86/
Davx.rs633 mask.trailing_zeros() as usize in forward_pos()
Dsse2.rs723 mask.trailing_zeros() as usize in forward_pos()
/external/crosvm/fuse/src/
Dserver.rs964 map_alignment: pagesize().trailing_zeros() as u16, in init()