/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/ |
D | vec2.rs | 13 pub const fn vec2(x: f32, y: f32) -> Vec2 { in vec2() 22 pub struct Vec2 { struct 27 impl Vec2 { argument 809 impl Default for Vec2 { implementation 816 impl Div<Vec2> for Vec2 { implementation 827 impl DivAssign<Vec2> for Vec2 { implementation 835 impl Div<f32> for Vec2 { implementation 846 impl DivAssign<f32> for Vec2 { implementation 857 fn div(self, rhs: Vec2) -> Vec2 { in div() 865 impl Mul<Vec2> for Vec2 { implementation [all …]
|
D | affine2.rs | 41 pub const fn from_cols(x_axis: Vec2, y_axis: Vec2, z_axis: Vec2) -> Self { in from_cols() 181 pub fn from_scale_angle_translation(scale: Vec2, angle: f32, translation: Vec2) -> Self { in from_scale_angle_translation() 235 pub fn to_scale_angle_translation(self) -> (Vec2, f32, Vec2) { in to_scale_angle_translation() 255 pub fn transform_point2(&self, rhs: Vec2) -> Vec2 { in transform_point2() 264 pub fn transform_vector2(&self, rhs: Vec2) -> Vec2 { in transform_vector2()
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/cpu/ |
H A D | utils.h | 59 struct Vec2 { struct 61 Vec2(Vectorized<float> v0, Vectorized<float> v1) : val0(v0), val1(v1) {} in Vec2() argument 62 Vec2(float v) : val0(v), val1(v) {} in Vec2() function 63 static Vec2 loadu(const BFloat16* ptr) { in loadu() argument 67 static Vec2 loadu(const Half* ptr) { in loadu() argument 71 static Vec2 loadu(const float* ptr) { in loadu() argument 87 inline Vec2 operator+(const Vec2& a, const Vec2& b) { return {a.val0 + b.val0, a.val1 + b.val1}; } argument
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/common/ |
H A D | types.h | 135 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() function 155 Vec2(const Vec2<S>& f) : x(f.x), y(f.y) {} in Vec2() argument 177 using float2 = Vec2<float>; argument
|
/aosp_15_r20/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/ |
H A D | Vec2.kt | 28 typealias Vec2 = Offset typealias 30 fun Vec2.str(fmt: String = "%+.2f"): String = "<$fmt,$fmt>".format(x, y) in str() method 32 fun Vec2(x: Float, y: Float): Vec2 = Offset(x, y) in str() method 34 fun Vec2.mag(): Float { in str() method 38 fun Vec2.distance(other: Vec2): Float { in distance() method 42 fun Vec2.angle(): Float { in Vec2() method 46 fun Vec2.dot(o: Vec2): Float { in Vec2() method 50 fun Vec2.product(f: Float): Vec2 { in product() method 58 fun Vec2.rotate(angle: Float, origin: Vec2 = Vec2.Zero): Offset { in rotate() method
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/coresimd/ |
D | vec3a_impl.rs | 10 type Vec2 = Vec2; typedef 16 fn xx(self) -> Vec2 { in xx() 25 fn xy(self) -> Vec2 { in xy() 34 fn xz(self) -> Vec2 { in xz() 43 fn yx(self) -> Vec2 { in yx() 52 fn yy(self) -> Vec2 { in yy() 61 fn yz(self) -> Vec2 { in yz() 70 fn zx(self) -> Vec2 { in zx() 79 fn zy(self) -> Vec2 { in zy() 88 fn zz(self) -> Vec2 { in zz()
|
D | vec4_impl.rs | 10 type Vec2 = Vec2; typedef 16 fn xx(self) -> Vec2 { in xx() 25 fn xy(self) -> Vec2 { in xy() 34 fn xz(self) -> Vec2 { in xz() 43 fn xw(self) -> Vec2 { in xw() 52 fn yx(self) -> Vec2 { in yx() 61 fn yy(self) -> Vec2 { in yy() 70 fn yz(self) -> Vec2 { in yz() 79 fn yw(self) -> Vec2 { in yw() 88 fn zx(self) -> Vec2 { in zx() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/wasm32/ |
D | vec3a_impl.rs | 10 type Vec2 = Vec2; typedef 16 fn xx(self) -> Vec2 { in xx() 25 fn xy(self) -> Vec2 { in xy() 34 fn xz(self) -> Vec2 { in xz() 43 fn yx(self) -> Vec2 { in yx() 52 fn yy(self) -> Vec2 { in yy() 61 fn yz(self) -> Vec2 { in yz() 70 fn zx(self) -> Vec2 { in zx() 79 fn zy(self) -> Vec2 { in zy() 88 fn zz(self) -> Vec2 { in zz()
|
D | vec4_impl.rs | 10 type Vec2 = Vec2; typedef 16 fn xx(self) -> Vec2 { in xx() 25 fn xy(self) -> Vec2 { in xy() 34 fn xz(self) -> Vec2 { in xz() 43 fn xw(self) -> Vec2 { in xw() 52 fn yx(self) -> Vec2 { in yx() 61 fn yy(self) -> Vec2 { in yy() 70 fn yz(self) -> Vec2 { in yz() 79 fn yw(self) -> Vec2 { in yw() 88 fn zx(self) -> Vec2 { in zx() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/sse2/ |
D | vec3a_impl.rs | 13 type Vec2 = Vec2; typedef 19 fn xx(self) -> Vec2 { in xx() 28 fn xy(self) -> Vec2 { in xy() 37 fn xz(self) -> Vec2 { in xz() 46 fn yx(self) -> Vec2 { in yx() 55 fn yy(self) -> Vec2 { in yy() 64 fn yz(self) -> Vec2 { in yz() 73 fn zx(self) -> Vec2 { in zx() 82 fn zy(self) -> Vec2 { in zy() 91 fn zz(self) -> Vec2 { in zz()
|
D | vec4_impl.rs | 13 type Vec2 = Vec2; typedef 19 fn xx(self) -> Vec2 { in xx() 28 fn xy(self) -> Vec2 { in xy() 37 fn xz(self) -> Vec2 { in xz() 46 fn xw(self) -> Vec2 { in xw() 55 fn yx(self) -> Vec2 { in yx() 64 fn yy(self) -> Vec2 { in yy() 73 fn yz(self) -> Vec2 { in yz() 82 fn yw(self) -> Vec2 { in yw() 91 fn zx(self) -> Vec2 { in zx() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/ |
D | vec3_impl.rs | 6 type Vec2 = Vec2; typedef 12 fn xx(self) -> Vec2 { in xx() 21 fn xy(self) -> Vec2 { in xy() 30 fn xz(self) -> Vec2 { in xz() 39 fn yx(self) -> Vec2 { in yx() 48 fn yy(self) -> Vec2 { in yy() 57 fn yz(self) -> Vec2 { in yz() 66 fn zx(self) -> Vec2 { in zx() 75 fn zy(self) -> Vec2 { in zy() 84 fn zz(self) -> Vec2 { in zz()
|
D | vec_traits.rs | 70 type Vec2; typedef 80 fn xx(self) -> Self::Vec2; in xx() 82 fn xy(self) -> Self::Vec2; in xy() 84 fn xz(self) -> Self::Vec2; in xz() 86 fn yx(self) -> Self::Vec2; in yx() 88 fn yy(self) -> Self::Vec2; in yy() 90 fn yz(self) -> Self::Vec2; in yz() 92 fn zx(self) -> Self::Vec2; in zx() 94 fn zy(self) -> Self::Vec2; in zy() 96 fn zz(self) -> Self::Vec2; in zz() [all …]
|
D | vec2_impl.rs | 5 impl Vec2Swizzles for Vec2 { implementation 12 fn xx(self) -> Vec2 { in xx() 21 fn xy(self) -> Vec2 { in xy() 30 fn yx(self) -> Vec2 { in yx() 39 fn yy(self) -> Vec2 { in yy()
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/scalar/ |
D | vec3a_impl.rs | 6 type Vec2 = Vec2; typedef 12 fn xx(self) -> Vec2 { in xx() 21 fn xy(self) -> Vec2 { in xy() 30 fn xz(self) -> Vec2 { in xz() 39 fn yx(self) -> Vec2 { in yx() 48 fn yy(self) -> Vec2 { in yy() 57 fn yz(self) -> Vec2 { in yz() 66 fn zx(self) -> Vec2 { in zx() 75 fn zy(self) -> Vec2 { in zy() 84 fn zz(self) -> Vec2 { in zz()
|
D | vec4_impl.rs | 6 type Vec2 = Vec2; typedef 12 fn xx(self) -> Vec2 { in xx() 21 fn xy(self) -> Vec2 { in xy() 30 fn xz(self) -> Vec2 { in xz() 39 fn xw(self) -> Vec2 { in xw() 48 fn yx(self) -> Vec2 { in yx() 57 fn yy(self) -> Vec2 { in yy() 66 fn yz(self) -> Vec2 { in yz() 75 fn yw(self) -> Vec2 { in yw() 84 fn zx(self) -> Vec2 { in zx() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/coresimd/ |
D | mat2.rs | 14 pub const fn mat2(x_axis: Vec2, y_axis: Vec2) -> Mat2 { in mat2() 47 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() 155 pub fn col(&self, index: usize) -> Vec2 { in col() 169 pub fn col_mut(&mut self, index: usize) -> &mut Vec2 { in col_mut() 184 pub fn row(&self, index: usize) -> Vec2 { in row() 250 pub fn mul_vec2(&self, rhs: Vec2) -> Vec2 { in mul_vec2() 256 unsafe { *(&result as *const f32x4 as *const Vec2) } in mul_vec2() constant
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/wasm32/ |
D | mat2.rs | 14 pub const fn mat2(x_axis: Vec2, y_axis: Vec2) -> Mat2 { in mat2() 47 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() 155 pub fn col(&self, index: usize) -> Vec2 { in col() 169 pub fn col_mut(&mut self, index: usize) -> &mut Vec2 { in col_mut() 184 pub fn row(&self, index: usize) -> Vec2 { in row() 250 pub fn mul_vec2(&self, rhs: Vec2) -> Vec2 { in mul_vec2() 260 *(&out.assume_init() as *const v128 as *const Vec2) in mul_vec2() constant
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/scalar/ |
D | mat2.rs | 12 pub const fn mat2(x_axis: Vec2, y_axis: Vec2) -> Mat2 { in mat2() 52 pub const fn from_cols(x_axis: Vec2, y_axis: Vec2) -> Self { in from_cols() 102 pub fn from_scale_angle(scale: Vec2, angle: f32) -> Self { in from_scale_angle() 160 pub fn col(&self, index: usize) -> Vec2 { in col() 174 pub fn col_mut(&mut self, index: usize) -> &mut Vec2 { in col_mut() 189 pub fn row(&self, index: usize) -> Vec2 { in row() 255 pub fn mul_vec2(&self, rhs: Vec2) -> Vec2 { in mul_vec2()
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/f32/sse2/ |
D | mat2.rs | 23 pub const fn mat2(x_axis: Vec2, y_axis: Vec2) -> Mat2 { in mat2() 61 pub const fn from_cols(x_axis: Vec2, y_axis: Vec2) -> Self { in from_cols() 116 pub fn from_scale_angle(scale: Vec2, angle: f32) -> Self { in from_scale_angle() 174 pub fn col(&self, index: usize) -> Vec2 { in col() 188 pub fn col_mut(&mut self, index: usize) -> &mut Vec2 { in col_mut() 203 pub fn row(&self, index: usize) -> Vec2 { in row() 273 pub fn mul_vec2(&self, rhs: Vec2) -> Vec2 { in mul_vec2()
|
/aosp_15_r20/external/llvm/unittests/ADT/ |
H A D | PackedVectorTest.cpp | 34 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
|
/aosp_15_r20/external/clang/test/CodeGen/ |
H A D | arm_function_epilog.cpp | 4 struct Vec2 { struct 10 // CHECK: define arm_aapcs_vfpcc %struct.Vec2 @_Z7getVec2v() argument
|
/aosp_15_r20/cts/apps/CtsVerifier/include/colorchecker/ |
H A D | vec2.h | 26 Vec2(T inputX, T inputY) { in Vec2() function 31 Vec2() {} in Vec2() function
|
/aosp_15_r20/external/rust/android-crates-io/crates/glam/benches/ |
D | support.rs | 43 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()
|
/aosp_15_r20/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
H A D | Transform.kt | 140 private data class Vec2(val x: Float, val y: Float) class in android.tools.traces.surfaceflinger.Transform
|