Home
last modified time | relevance | path

Searched defs:Vec2 (Results 1 – 25 of 67) sorted by relevance

123

/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dtypes.h135 struct alignas(sizeof(T)) Vec2 { struct
143 Vec2() : Vec2(T(0.0f)) {} in Vec2() argument
146 Vec2(S x_, S y_) : x(x_), y(y_) {} in Vec2() argument
147 explicit Vec2(T v) : x(v), y(v) {} in Vec2() function
150 explicit Vec2(S v) : x(v), y(v) {} in Vec2() argument
152 Vec2(const Vec2& f) : x(f.x), y(f.y) {} in Vec2() argument
155 Vec2(const Vec2<S>& f) : x(f.x), y(f.y) {} in Vec2() argument
177 using float2 = Vec2<float>; argument
/external/rust/crates/glam/src/f32/
Dvec2.rs16 pub const fn vec2(x: f32, y: f32) -> Vec2 { in vec2()
25 pub struct Vec2 { struct
30 impl Vec2 { implementation
671 impl Default for Vec2 { implementation
678 impl Div<Vec2> for Vec2 { implementation
689 impl DivAssign<Vec2> for Vec2 { implementation
697 impl Div<f32> for Vec2 { implementation
708 impl DivAssign<f32> for Vec2 { implementation
719 fn div(self, rhs: Vec2) -> Vec2 { in div()
727 impl Mul<Vec2> for Vec2 { implementation
[all …]
Daffine2.rs40 pub const fn from_cols(x_axis: Vec2, y_axis: Vec2, z_axis: Vec2) -> Self { in from_cols()
169 pub fn from_scale_angle_translation(scale: Vec2, angle: f32, translation: Vec2) -> Self { in from_scale_angle_translation()
211 pub fn transform_point2(&self, rhs: Vec2) -> Vec2 { in transform_point2()
220 pub fn transform_vector2(&self, rhs: Vec2) -> Vec2 { in transform_vector2()
/external/llvm/unittests/ADT/
DPackedVectorTest.cpp34 PackedVector<unsigned, 2> Vec2(3); in TEST() local
77 PackedVector<unsigned, 3> Vec2(1); in TEST() local
92 PackedVector<signed, 3> Vec2(1); in TEST() local
/external/rust/crates/glam/src/swizzles/
Dvec2_impl.rs5 impl Vec2Swizzles for Vec2 { implementation
11 fn xx(self) -> Vec2 { in xx()
19 fn xy(self) -> Vec2 { in xy()
27 fn yx(self) -> Vec2 { in yx()
35 fn yy(self) -> Vec2 { in yy()
Dvec3_impl.rs6 type Vec2 = Vec2; typedef
11 fn xx(self) -> Vec2 { in xx()
19 fn xy(self) -> Vec2 { in xy()
27 fn xz(self) -> Vec2 { in xz()
35 fn yx(self) -> Vec2 { in yx()
43 fn yy(self) -> Vec2 { in yy()
51 fn yz(self) -> Vec2 { in yz()
59 fn zx(self) -> Vec2 { in zx()
67 fn zy(self) -> Vec2 { in zy()
75 fn zz(self) -> Vec2 { in zz()
Dvec_traits.rs69 type Vec2; typedef
78 fn xx(self) -> Self::Vec2; in xx()
80 fn xy(self) -> Self::Vec2; in xy()
82 fn xz(self) -> Self::Vec2; in xz()
84 fn yx(self) -> Self::Vec2; in yx()
86 fn yy(self) -> Self::Vec2; in yy()
88 fn yz(self) -> Self::Vec2; in yz()
90 fn zx(self) -> Self::Vec2; in zx()
92 fn zy(self) -> Self::Vec2; in zy()
94 fn zz(self) -> Self::Vec2; in zz()
[all …]
/external/clang/test/CodeGen/
Darm_function_epilog.cpp4 struct Vec2 { struct
10 // CHECK: define arm_aapcs_vfpcc %struct.Vec2 @_Z7getVec2v() argument
/external/rust/crates/glam/src/swizzles/coresimd/
Dvec3a_impl.rs10 type Vec2 = Vec2; typedef
15 fn xx(self) -> Vec2 { in xx()
23 fn xy(self) -> Vec2 { in xy()
31 fn xz(self) -> Vec2 { in xz()
39 fn yx(self) -> Vec2 { in yx()
47 fn yy(self) -> Vec2 { in yy()
55 fn yz(self) -> Vec2 { in yz()
63 fn zx(self) -> Vec2 { in zx()
71 fn zy(self) -> Vec2 { in zy()
79 fn zz(self) -> Vec2 { in zz()
Dvec4_impl.rs10 type Vec2 = Vec2; typedef
15 fn xx(self) -> Vec2 { in xx()
23 fn xy(self) -> Vec2 { in xy()
31 fn xz(self) -> Vec2 { in xz()
39 fn xw(self) -> Vec2 { in xw()
47 fn yx(self) -> Vec2 { in yx()
55 fn yy(self) -> Vec2 { in yy()
63 fn yz(self) -> Vec2 { in yz()
71 fn yw(self) -> Vec2 { in yw()
79 fn zx(self) -> Vec2 { in zx()
[all …]
/external/rust/crates/glam/src/swizzles/wasm32/
Dvec3a_impl.rs10 type Vec2 = Vec2; typedef
15 fn xx(self) -> Vec2 { in xx()
23 fn xy(self) -> Vec2 { in xy()
31 fn xz(self) -> Vec2 { in xz()
39 fn yx(self) -> Vec2 { in yx()
47 fn yy(self) -> Vec2 { in yy()
55 fn yz(self) -> Vec2 { in yz()
63 fn zx(self) -> Vec2 { in zx()
71 fn zy(self) -> Vec2 { in zy()
79 fn zz(self) -> Vec2 { in zz()
Dvec4_impl.rs10 type Vec2 = Vec2; typedef
15 fn xx(self) -> Vec2 { in xx()
23 fn xy(self) -> Vec2 { in xy()
31 fn xz(self) -> Vec2 { in xz()
39 fn xw(self) -> Vec2 { in xw()
47 fn yx(self) -> Vec2 { in yx()
55 fn yy(self) -> Vec2 { in yy()
63 fn yz(self) -> Vec2 { in yz()
71 fn yw(self) -> Vec2 { in yw()
79 fn zx(self) -> Vec2 { in zx()
[all …]
/external/rust/crates/glam/src/swizzles/scalar/
Dvec3a_impl.rs6 type Vec2 = Vec2; typedef
11 fn xx(self) -> Vec2 { in xx()
19 fn xy(self) -> Vec2 { in xy()
27 fn xz(self) -> Vec2 { in xz()
35 fn yx(self) -> Vec2 { in yx()
43 fn yy(self) -> Vec2 { in yy()
51 fn yz(self) -> Vec2 { in yz()
59 fn zx(self) -> Vec2 { in zx()
67 fn zy(self) -> Vec2 { in zy()
75 fn zz(self) -> Vec2 { in zz()
Dvec4_impl.rs6 type Vec2 = Vec2; typedef
11 fn xx(self) -> Vec2 { in xx()
19 fn xy(self) -> Vec2 { in xy()
27 fn xz(self) -> Vec2 { in xz()
35 fn xw(self) -> Vec2 { in xw()
43 fn yx(self) -> Vec2 { in yx()
51 fn yy(self) -> Vec2 { in yy()
59 fn yz(self) -> Vec2 { in yz()
67 fn yw(self) -> Vec2 { in yw()
75 fn zx(self) -> Vec2 { in zx()
[all …]
/external/rust/crates/glam/src/swizzles/sse2/
Dvec3a_impl.rs13 type Vec2 = Vec2; typedef
18 fn xx(self) -> Vec2 { in xx()
26 fn xy(self) -> Vec2 { in xy()
34 fn xz(self) -> Vec2 { in xz()
42 fn yx(self) -> Vec2 { in yx()
50 fn yy(self) -> Vec2 { in yy()
58 fn yz(self) -> Vec2 { in yz()
66 fn zx(self) -> Vec2 { in zx()
74 fn zy(self) -> Vec2 { in zy()
82 fn zz(self) -> Vec2 { in zz()
Dvec4_impl.rs13 type Vec2 = Vec2; typedef
18 fn xx(self) -> Vec2 { in xx()
26 fn xy(self) -> Vec2 { in xy()
34 fn xz(self) -> Vec2 { in xz()
42 fn xw(self) -> Vec2 { in xw()
50 fn yx(self) -> Vec2 { in yx()
58 fn yy(self) -> Vec2 { in yy()
66 fn yz(self) -> Vec2 { in yz()
74 fn yw(self) -> Vec2 { in yw()
82 fn zx(self) -> Vec2 { in zx()
[all …]
/external/rust/crates/glam/src/f32/scalar/
Dmat2.rs15 pub const fn mat2(x_axis: Vec2, y_axis: Vec2) -> Mat2 { in mat2()
53 pub const fn from_cols(x_axis: Vec2, y_axis: Vec2) -> Self { in from_cols()
97 pub fn from_scale_angle(scale: Vec2, angle: f32) -> Self { in from_scale_angle()
150 pub fn col(&self, index: usize) -> Vec2 { in col()
164 pub fn col_mut(&mut self, index: usize) -> &mut Vec2 { in col_mut()
178 pub fn row(&self, index: usize) -> Vec2 { in row()
240 pub fn mul_vec2(&self, rhs: Vec2) -> Vec2 { in mul_vec2()
Dmat3a.rs282 pub fn from_scale_angle_translation(scale: Vec2, angle: f32, translation: Vec2) -> Self { in from_scale_angle_translation()
455 pub fn transform_point2(&self, rhs: Vec2) -> Vec2 { in transform_point2()
470 pub fn transform_vector2(&self, rhs: Vec2) -> Vec2 { in transform_vector2()
/external/rust/crates/glam/src/f32/wasm32/
Dmat2.rs17 pub const fn mat2(x_axis: Vec2, y_axis: Vec2) -> Mat2 { in mat2()
44 pub const fn from_cols(x_axis: Vec2, y_axis: Vec2) -> Self { in from_cols()
88 pub fn from_scale_angle(scale: Vec2, angle: f32) -> Self { in from_scale_angle()
141 pub fn col(&self, index: usize) -> Vec2 { in col()
155 pub fn col_mut(&mut self, index: usize) -> &mut Vec2 { in col_mut()
169 pub fn row(&self, index: usize) -> Vec2 { in row()
231 pub fn mul_vec2(&self, rhs: Vec2) -> Vec2 { in mul_vec2()
241 *(&out.assume_init() as *const v128 as *const Vec2) in mul_vec2() constant
/external/rust/crates/glam/src/f32/coresimd/
Dmat2.rs17 pub const fn mat2(x_axis: Vec2, y_axis: Vec2) -> Mat2 { in mat2()
44 pub const fn from_cols(x_axis: Vec2, y_axis: Vec2) -> Self { in from_cols()
88 pub fn from_scale_angle(scale: Vec2, angle: f32) -> Self { in from_scale_angle()
141 pub fn col(&self, index: usize) -> Vec2 { in col()
155 pub fn col_mut(&mut self, index: usize) -> &mut Vec2 { in col_mut()
169 pub fn row(&self, index: usize) -> Vec2 { in row()
231 pub fn mul_vec2(&self, rhs: Vec2) -> Vec2 { in mul_vec2()
237 unsafe { *(&result as *const f32x4 as *const Vec2) } in mul_vec2() constant
/external/rust/crates/glam/src/f32/sse2/
Dmat2.rs25 pub const fn mat2(x_axis: Vec2, y_axis: Vec2) -> Mat2 { in mat2()
57 pub const fn from_cols(x_axis: Vec2, y_axis: Vec2) -> Self { in from_cols()
106 pub fn from_scale_angle(scale: Vec2, angle: f32) -> Self { in from_scale_angle()
159 pub fn col(&self, index: usize) -> Vec2 { in col()
173 pub fn col_mut(&mut self, index: usize) -> &mut Vec2 { in col_mut()
187 pub fn row(&self, index: usize) -> Vec2 { in row()
253 pub fn mul_vec2(&self, rhs: Vec2) -> Vec2 { in mul_vec2()
Dmat3a.rs284 pub fn from_scale_angle_translation(scale: Vec2, angle: f32, translation: Vec2) -> Self { in from_scale_angle_translation()
462 pub fn transform_point2(&self, rhs: Vec2) -> Vec2 { in transform_point2()
477 pub fn transform_vector2(&self, rhs: Vec2) -> Vec2 { in transform_vector2()
/external/rust/crates/glam/benches/
Dsupport.rs43 pub fn random_vec2(rng: &mut PCG32) -> Vec2 { in random_vec2()
64 pub fn random_nonzero_vec2(rng: &mut PCG32) -> Vec2 { in random_nonzero_vec2()
/external/rust/crates/glam/src/features/
Dimpl_bytemuck.rs17 unsafe impl Pod for Vec2 {} implementation
18 unsafe impl Zeroable for Vec2 {} implementation
/external/deqp/framework/common/
DtcuVectorType.hpp39 typedef Vector<float, 2> Vec2; typedef

123