Home
last modified time | relevance | path

Searched refs:to_u32 (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/num-traits/src/
Dcast.rs90 fn to_u32(&self) -> Option<u32> { in to_u32() method
91 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);
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dtoken_test.cc56 EXPECT_EQ(t2.to_u32(), 2345u); in TEST_F()
61 EXPECT_EQ(t1.to_u32(), std::numeric_limits<uint32_t>::max()); in TEST_F()
Dtoken.h434 uint32_t to_u32() const;
Dtoken.cc364 uint32_t Token::to_u32() const { in to_u32() function in tint::reader::wgsl::Token
Dlexer_test.cc404 EXPECT_EQ(t.to_u32(), params.result); in TEST_P()
445 EXPECT_EQ(t.to_u32(), params.result); in TEST_P()
Dparser_impl.cc2844 return create<ast::UintLiteralExpression>(t.source(), t.to_u32()); in const_literal()
/third_party/mesa3d/src/tool/pps/
Dpps_counter.h105 template<typename T> constexpr uint32_t to_u32(T &&elem) in to_u32() function
/third_party/rust/crates/num-traits/tests/
Dcast.rs45 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()