/frameworks/base/rs/java/android/renderscript/ |
D | Double3.java | 26 public double z; field in Double3 34 this.z = data.z; in Double3() 37 public Double3(double x, double y, double z) { in Double3() argument 40 this.z = z; in Double3() 54 res.z = a.z + b.z; in add() 67 z += value.z; in add() 78 z += value; in add() 92 res.z = a.z + b; in add() 105 z -= value.z; in sub() 119 res.z = a.z - b.z; in sub() [all …]
|
D | Long3.java | 26 public long z; field in Long3 33 this.x = this.y = this.z = i; in Long3() 36 public Long3(long x, long y, long z) { in Long3() argument 39 this.z = z; in Long3() 46 this.z = source.z; in Long3() 57 this.z += a.z; in add() 71 result.z = a.z + b.z; in add() 84 z += value; in add() 98 result.z = a.z + b; in add() 111 this.z -= a.z; in sub() [all …]
|
D | Short3.java | 26 public short z; field in Short3 33 this.x = this.y = this.z = i; in Short3() 36 public Short3(short x, short y, short z) { in Short3() argument 39 this.z = z; in Short3() 46 this.z = source.z; in Short3() 57 this.z += a.z; in add() 71 result.z = (short)(a.z + b.z); in add() 84 z += value; in add() 98 result.z = (short)(a.z + b); in add() 111 this.z -= a.z; in sub() [all …]
|
D | Int3.java | 26 public int z; field in Int3 33 this.x = this.y = this.z = i; in Int3() 36 public Int3(int x, int y, int z) { in Int3() argument 39 this.z = z; in Int3() 46 this.z = source.z; in Int3() 57 this.z += a.z; in add() 71 result.z = a.z + b.z; in add() 84 z += value; in add() 98 result.z = a.z + b; in add() 111 this.z -= a.z; in sub() [all …]
|
D | Float3.java | 26 public float z; field in Float3 34 this.z = data.z; in Float3() 37 public Float3(float x, float y, float z) { in Float3() argument 40 this.z = z; in Float3() 54 res.z = a.z + b.z; in add() 67 z += value.z; in add() 78 z += value; in add() 92 res.z = a.z + b; in add() 105 z -= value.z; in sub() 119 res.z = a.z - b.z; in sub() [all …]
|
D | Byte3.java | 27 public byte z; field in Byte3 35 z = initZ; in Byte3() 42 this.z = source.z; in Byte3() 53 this.z += a.z; in add() 67 result.z = (byte)(a.z + b.z); in add() 80 z += value; in add() 94 result.z = (byte)(a.z + b); in add() 107 this.z -= a.z; in sub() 121 result.z = (byte)(a.z - b.z); in sub() 134 z -= value; in sub() [all …]
|
D | Int4.java | 26 public int z; field in Int4 34 this.x = this.y = this.z = this.w = i; in Int4() 37 public Int4(int x, int y, int z, int w) { in Int4() argument 40 this.z = z; in Int4() 48 this.z = source.z; in Int4() 60 this.z += a.z; in add() 75 result.z = a.z + b.z; in add() 89 z += value; in add() 104 result.z = a.z + b; in add() 118 this.z -= a.z; in sub() [all …]
|
D | Short4.java | 26 public short z; field in Short4 34 this.x = this.y = this.z = this.w = i; in Short4() 37 public Short4(short x, short y, short z, short w) { in Short4() argument 40 this.z = z; in Short4() 48 this.z = source.z; in Short4() 60 this.z += a.z; in add() 75 result.z = (short)(a.z + b.z); in add() 89 z += value; in add() 104 result.z = (short)(a.z + b); in add() 118 this.z -= a.z; in sub() [all …]
|
D | Long4.java | 26 public long z; field in Long4 34 this.x = this.y = this.z = this.w = i; in Long4() 37 public Long4(long x, long y, long z, long w) { in Long4() argument 40 this.z = z; in Long4() 48 this.z = source.z; in Long4() 60 this.z += a.z; in add() 75 result.z = a.z + b.z; in add() 89 z += value; in add() 104 result.z = a.z + b; in add() 118 this.z -= a.z; in sub() [all …]
|
D | Float4.java | 26 public float z; field in Float4 35 this.z = data.z; in Float4() 39 public Float4(float x, float y, float z, float w) { in Float4() argument 42 this.z = z; in Float4() 57 res.z = a.z + b.z; in add() 71 z += value.z; in add() 83 z += value; in add() 98 res.z = a.z + b; in add() 112 z -= value.z; in sub() 124 z -= value; in sub() [all …]
|
D | Double4.java | 26 public double z; field in Double4 35 this.z = data.z; in Double4() 39 public Double4(double x, double y, double z, double w) { in Double4() argument 42 this.z = z; in Double4() 57 res.z = a.z + b.z; in add() 71 z += value.z; in add() 83 z += value; in add() 98 res.z = a.z + b; in add() 112 z -= value.z; in sub() 124 z -= value; in sub() [all …]
|
D | Byte4.java | 27 public byte z; field in Byte4 36 z = initZ; in Byte4() 43 this.z = source.z; in Byte4() 55 this.z += a.z; in add() 70 result.z = (byte)(a.z + b.z); in add() 84 z += value; in add() 99 result.z = (byte)(a.z + b); in add() 113 this.z -= a.z; in sub() 128 result.z = (byte)(a.z - b.z); in sub() 142 z -= value; in sub() [all …]
|
/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 45 r.z = amount.z < low.z ? low.z : (amount.z > high.z ? high.z : amount.z); \ 53 r.z = amount.z < low.z ? low.z : (amount.z > high.z ? high.z : amount.z); \ 69 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); \ 77 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); \ 129 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax() 137 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax() 153 r.z = v1.z > v2 ? v1.z : v2; in fmax() 161 r.z = v1.z > v2 ? v1.z : v2; in fmax() 185 r.z = v1.z < v2.z ? v1.z : v2.z; in fmin() 193 r.z = v1.z < v2.z ? v1.z : v2.z; in fmin() [all …]
|
D | clamp.c | 56 r.z = amount.z < low.z ? low.z : (amount.z > high.z ? high.z : amount.z); \ 64 r.z = amount.z < low.z ? low.z : (amount.z > high.z ? high.z : amount.z); \ 80 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); \ 88 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); \
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | UT_vector.java | 41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals() 46 F3.z = 4.99f; in initializeGlobals() 50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals() 55 F4.z = 4.99f; in initializeGlobals() 68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals() 73 D3.z = 4.99; in initializeGlobals() 77 if (D4.x != 1.0 || D4.y != 2.0 || D4.z != 3.0 || D4.w != 4.0) { in initializeGlobals() 82 D4.z = 4.99; in initializeGlobals() 95 if (B3.x != 1 || B3.y != 2 || B3.z != 3) { in initializeGlobals() 100 B3.z = 4; in initializeGlobals() [all …]
|
D | vector.rs | 53 _RS_ASSERT(f3.z == 4.99f); 57 _RS_ASSERT(f4.z == 4.99f); 66 _RS_ASSERT(d3.z == 4.99); 70 _RS_ASSERT(d4.z == 4.99); 79 _RS_ASSERT(i8_3.z == 4); 83 _RS_ASSERT(i8_4.z == 4); 92 _RS_ASSERT(u8_3.z == 4); 96 _RS_ASSERT(u8_4.z == 4); 105 _RS_ASSERT(i16_3.z == 4); 109 _RS_ASSERT(i16_4.z == 4); [all …]
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | UT_vector.java | 41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals() 46 F3.z = 4.99f; in initializeGlobals() 50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals() 55 F4.z = 4.99f; in initializeGlobals() 68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals() 73 D3.z = 4.99; in initializeGlobals() 77 if (D4.x != 1.0 || D4.y != 2.0 || D4.z != 3.0 || D4.w != 4.0) { in initializeGlobals() 82 D4.z = 4.99; in initializeGlobals() 95 if (B3.x != 1 || B3.y != 2 || B3.z != 3) { in initializeGlobals() 100 B3.z = 4; in initializeGlobals() [all …]
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | UT_vector.java | 41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals() 46 F3.z = 4.99f; in initializeGlobals() 50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals() 55 F4.z = 4.99f; in initializeGlobals() 68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals() 73 D3.z = 4.99; in initializeGlobals() 77 if (D4.x != 1.0 || D4.y != 2.0 || D4.z != 3.0 || D4.w != 4.0) { in initializeGlobals() 82 D4.z = 4.99; in initializeGlobals() 95 if (B3.x != 1 || B3.y != 2 || B3.z != 3) { in initializeGlobals() 100 B3.z = 4; in initializeGlobals() [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_vector.java | 41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals() 46 F3.z = 4.99f; in initializeGlobals() 50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals() 55 F4.z = 4.99f; in initializeGlobals() 68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals() 73 D3.z = 4.99; in initializeGlobals() 77 if (D4.x != 1.0 || D4.y != 2.0 || D4.z != 3.0 || D4.w != 4.0) { in initializeGlobals() 82 D4.z = 4.99; in initializeGlobals() 95 if (B3.x != 1 || B3.y != 2 || B3.z != 3) { in initializeGlobals() 100 B3.z = 4; in initializeGlobals() [all …]
|
D | vector.rs | 53 _RS_ASSERT(f3.z == 4.99f); 57 _RS_ASSERT(f4.z == 4.99f); 66 _RS_ASSERT(d3.z == 4.99); 70 _RS_ASSERT(d4.z == 4.99); 79 _RS_ASSERT(i8_3.z == 4); 83 _RS_ASSERT(i8_4.z == 4); 92 _RS_ASSERT(u8_3.z == 4); 96 _RS_ASSERT(u8_4.z == 4); 105 _RS_ASSERT(i16_3.z == 4); 109 _RS_ASSERT(i16_4.z == 4); [all …]
|
/frameworks/native/include/ui/ |
D | vec3.h | 43 struct { T x, y, z; }; member 67 tvec3() : x(0), y(0), z(0) { } in tvec3() 71 tvec3(A v) : x(v), y(v), z(v) { } in tvec3() 74 tvec3(A x, B y, C z) : x(x), y(y), z(z) { } in tvec3() argument 77 tvec3(const tvec2<A>& v, B z) : x(v.x), y(v.y), z(z) { } in tvec3() argument 80 explicit tvec3(const tvec3<A>& v) : x(v.x), y(v.y), z(v.z) { } in tvec3() 86 z(((const tvec3<A>&)v).z) { } in tvec3() 89 tvec3(const Impersonator< tvec2<A> >& v, B z) in tvec3() argument 92 z(z) { } in tvec3() 99 u.y*v.z - u.z*v.y, in cross() [all …]
|
D | vec4.h | 43 struct { T x, y, z, w; }; member 71 tvec4() : x(0), y(0), z(0), w(0) { } in tvec4() 75 tvec4(A v) : x(v), y(v), z(v), w(v) { } in tvec4() 78 tvec4(A x, B y, C z, D w) : x(x), y(y), z(z), w(w) { } in tvec4() argument 81 tvec4(const tvec2<A>& v, B z, C w) : x(v.x), y(v.y), z(z), w(w) { } in tvec4() argument 84 tvec4(const tvec3<A>& v, B w) : x(v.x), y(v.y), z(v.z), w(w) { } in tvec4() 87 explicit tvec4(const tvec4<A>& v) : x(v.x), y(v.y), z(v.z), w(v.w) { } in tvec4() 93 z(((const tvec4<A>&)v).z), in tvec4() 100 z(((const tvec3<A>&)v).z), in tvec4() 104 tvec4(const Impersonator< tvec2<A> >& v, B z, C w) in tvec4() argument [all …]
|
/frameworks/rs/driver/runtime/ll64/ |
D | allocation.ll | 6 …re i8* @rsOffset(%struct.rs_allocation* nocapture readonly %a, i32 %sizeOf, i32 %x, i32 %y, i32 %z) 7 declare i8* @rsOffsetNs(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z) 33 …pl_char(%struct.rs_allocation* nocapture readonly %a, i8 signext %val, i32 %x, i32 %y, i32 %z) #1 { 34 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2 39 …@rsGetElementAtImpl_char(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z) #0 { 40 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2 46 …ntAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i16 %val, i32 %x, i32 %y, i32 %z) #1 { 47 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 2, i32 %x, i32 %y, i32 %z) #2 54 …rsGetElementAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z) #0 { 55 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 2, i32 %x, i32 %y, i32 %z) #2 [all …]
|
/frameworks/rs/driver/runtime/ll32/ |
D | allocation.ll | 4 declare i8* @rsOffset([1 x i32] %a.coerce, i32 %sizeOf, i32 %x, i32 %y, i32 %z) 5 declare i8* @rsOffsetNs([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z) 31 define void @rsSetElementAtImpl_char([1 x i32] %a.coerce, i8 signext %val, i32 %x, i32 %y, i32 %z) … 32 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 1, i32 %x, i32 %y, i32 %z) #2 37 define signext i8 @rsGetElementAtImpl_char([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z) #0 { 38 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 1, i32 %x, i32 %y, i32 %z) #2 44 define void @rsSetElementAtImpl_char2([1 x i32] %a.coerce, <2 x i8> %val, i32 %x, i32 %y, i32 %z) #… 45 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 2, i32 %x, i32 %y, i32 %z) #2 51 define <2 x i8> @rsGetElementAtImpl_char2([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z) #0 { 52 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 2, i32 %x, i32 %y, i32 %z) #2 [all …]
|
/frameworks/native/libs/ui/tests/ |
D | vec_test.cpp | 46 EXPECT_EQ(v0.z, 0); in TEST_F() 52 EXPECT_EQ(v1.z, 1); in TEST_F() 58 EXPECT_EQ(v2.z, 3); in TEST_F() 64 EXPECT_EQ(v3.z, 3); in TEST_F() 70 EXPECT_EQ(v4.z, 3); in TEST_F() 76 EXPECT_EQ(v5.z, 42); in TEST_F() 82 EXPECT_EQ(vd.z, 2); in TEST_F() 90 v0.z = 30; in TEST_F() 94 EXPECT_EQ(v0.z, 30); in TEST_F() 103 EXPECT_EQ(v0.z, 300); in TEST_F() [all …]
|