Searched refs:to_u32 (Results 1 – 8 of 8) sorted by relevance
90 fn to_u32(&self) -> Option<u32> { in to_u32() method91 self.to_u64().as_ref().and_then(ToPrimitive::to_u32) in to_u32()184 fn to_u32 -> u32;257 fn to_u32 -> u32;384 fn to_u32 -> u32;602 impl_from_primitive!(u32, to_u32);632 fn to_u32 -> u32;723 impl_num_cast!(u32, to_u32);
56 EXPECT_EQ(t2.to_u32(), 2345u); in TEST_F()61 EXPECT_EQ(t1.to_u32(), std::numeric_limits<uint32_t>::max()); in TEST_F()
434 uint32_t to_u32() const;
364 uint32_t Token::to_u32() const { in to_u32() function in tint::reader::wgsl::Token
404 EXPECT_EQ(t.to_u32(), params.result); in TEST_P()445 EXPECT_EQ(t.to_u32(), params.result); in TEST_P()
2844 return create<ast::UintLiteralExpression>(t.source(), t.to_u32()); in const_literal()
105 template<typename T> constexpr uint32_t to_u32(T &&elem) in to_u32() function
45 assert_eq!(i.to_u32(), w.to_u32()); in wrapping_to_primitive()388 assert_eq_to!(to_u8 to_u16 to_u32 to_u64 to_usize); in newtype_to_primitive()