Searched refs:to_i32 (Results 1 – 12 of 12) sorted by relevance
/third_party/flutter/skia/resources/ |
D | SkVMTest.expected | 18 v15 = to_i32 v14 36 r4 = to_i32 r4 62 v21 = to_i32 v20 86 r8 = to_i32 r8 119 v28 = to_i32 v27 121 v30 = to_i32 v29 123 v32 = to_i32 v31 125 v34 = to_i32 v33 160 r7 = to_i32 r7 162 r8 = to_i32 r8 [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | token_test.cc | 38 EXPECT_EQ(t1.to_i32(), -2345); in TEST_F() 41 EXPECT_EQ(t2.to_i32(), 2345); in TEST_F() 46 EXPECT_EQ(t1.to_i32(), std::numeric_limits<int32_t>::max()); in TEST_F() 51 EXPECT_EQ(t1.to_i32(), std::numeric_limits<int32_t>::min()); in TEST_F()
|
D | token.h | 438 int32_t to_i32() const;
|
D | token.cc | 368 int32_t Token::to_i32() const { in to_i32() function in tint::reader::wgsl::Token
|
D | lexer_test.cc | 332 EXPECT_EQ(t.to_i32(), params.result); in TEST_P() 483 EXPECT_EQ(t.to_i32(), params.result); in TEST_P()
|
D | parser_impl.cc | 2841 return create<ast::SintLiteralExpression>(t.source(), t.to_i32()); in const_literal() 3260 return {t.to_i32(), t.source()}; in expect_sint()
|
/third_party/rust/crates/num-traits/src/ |
D | cast.rs | 44 fn to_i32(&self) -> Option<i32> { in to_i32() method 45 self.to_i64().as_ref().and_then(ToPrimitive::to_i32) in to_i32() 174 fn to_i32 -> i32; 247 fn to_i32 -> i32; 374 fn to_i32 -> i32; 595 impl_from_primitive!(i32, to_i32); 624 fn to_i32 -> i32; 730 impl_num_cast!(i32, to_i32);
|
/third_party/rust/crates/num-traits/tests/ |
D | cast.rs | 50 assert_eq!(i.to_i32(), w.to_i32()); in wrapping_to_primitive() 387 assert_eq_to!(to_i8 to_i16 to_i32 to_i64 to_isize); in newtype_to_primitive()
|
/third_party/flutter/skia/src/core/ |
D | SkVM.h | 253 to_i32, to_f32, enumerator 351 I32 to_i32(F32 x);
|
D | SkVM.cpp | 212 I32 Builder::to_i32(F32 x) { return {this->push(Op::to_i32, x.id)}; } in to_i32() function in skvm::Builder 1060 CASE(Op::to_i32): r(d).i32 = skvx::cast<int> (r(x).f32); break; in eval() 1522 case Op::to_i32: a->vcvttps2dq(dst(), r[x]); break; in jit() 1597 case Op::to_i32: a->fcvtzs4s(dst(), r[x]); break; in jit()
|
/third_party/flutter/skia/tools/ |
D | SkVMBuilders.cpp | 63 return to_i32(mad(f32, _255, _0_5)); in SrcoverBuilder_F32()
|
/third_party/flutter/skia/tests/ |
D | SkVMTest.cpp | 162 case Op::to_i32: write(o, V{id}, "= to_i32", V{x}); break; in dump_builder() 266 case Op::to_i32: write(o, R{d}, "= to_i32", R{x}); break; in dump_program() 757 b.store32(arg, b.to_i32(v)); in DEF_TEST()
|