Home
last modified time | relevance | path

Searched refs:v1 (Results 1 – 25 of 164) sorted by relevance

1234567

/frameworks/compile/libbcc/lib/Renderscript/runtime/arch/
Dgeneric.c87 extern float __attribute__((overloadable)) fmax(float v1, float v2) { in fmax() argument
88 return v1 > v2 ? v1 : v2; in fmax()
91 extern float2 __attribute__((overloadable)) fmax(float2 v1, float2 v2) { in fmax() argument
93 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
94 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
98 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { in fmax() argument
100 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
101 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
102 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax()
106 extern float4 __attribute__((overloadable)) fmax(float4 v1, float4 v2) { in fmax() argument
[all …]
Dneon.ll131 define <4 x float> @_Z4fmaxDv4_fS_(<4 x float> %v1, <4 x float> %v2) nounwind readonly {
132 …%1 = tail call <4 x float> @llvm.arm.neon.vmaxs.v4f32(<4 x float> %v1, <4 x float> %v2) nounwind r…
136 define <4 x float> @_Z4fmaxDv4_ff(<4 x float> %v1, float %v2) nounwind readonly {
138 …%2 = tail call <4 x float> @llvm.arm.neon.vmaxs.v4f32(<4 x float> %v1, <4 x float> %1) nounwind re…
142 define <3 x float> @_Z4fmaxDv3_fS_(<3 x float> %v1, <3 x float> %v2) nounwind readonly {
143 %1 = shufflevector <3 x float> %v1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
150 define <3 x float> @_Z4fmaxDv3_ff(<3 x float> %v1, float %v2) nounwind readonly {
151 %1 = shufflevector <3 x float> %v1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
158 define <2 x float> @_Z4fmaxDv2_fS_(<2 x float> %v1, <2 x float> %v2) nounwind readonly {
159 …%1 = tail call <2 x float> @llvm.arm.neon.vmaxs.v2f32(<2 x float> %v1, <2 x float> %v2) nounwind r…
[all …]
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
DUT_math_agree.java149 private float min(float v1, float v2) { in min() argument
150 return v1 < v2 ? v1 : v2; in min()
152 private float[] min(float[] v1, float[] v2) { in min() argument
153 assert v1.length == v2.length; in min()
154 float[] rv = new float[v1.length]; in min()
155 for (int i = 0; i < v1.length; ++i) in min()
156 rv[i] = min(v1[i], v2[i]); in min()
159 private byte min(byte v1, byte v2) { in min() argument
160 return v1 < v2 ? v1 : v2; in min()
162 private byte[] min(byte[] v1, byte[] v2) { in min() argument
[all …]
DUT_bug_char.java40 private byte min(byte v1, byte v2) { in min() argument
41 return v1 < v2 ? v1 : v2; in min()
43 private byte[] min(byte[] v1, byte[] v2) { in min() argument
44 assert v1.length == v2.length; in min()
45 byte[] rv = new byte[v1.length]; in min()
46 for (int i = 0; i < v1.length; ++i) in min()
47 rv[i] = min(v1[i], v2[i]); in min()
Dmath_agree.rs58 static void fail_f1(float v1, float v2, float actual, float expected, char *op_name) {
61 rsDebug("v1", v1);
68 static void fail_f2(float2 v1, float2 v2, float2 actual, float2 expected, char *op_name) {
73 rsDebug("v1.x", v1.x);
74 rsDebug("v1.y", v1.y);
85 static void fail_f3(float3 v1, float3 v2, float3 actual, float3 expected, char *op_name) {
91 rsDebug("v1.x", v1.x);
92 rsDebug("v1.y", v1.y);
93 rsDebug("v1.z", v1.z);
108 static void fail_f4(float4 v1, float4 v2, float4 actual, float4 expected, char *op_name) {
[all …]
/frameworks/compile/libbcc/lib/Renderscript/runtime/
Drs_cl.c56 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \
58 r.x = fnc(v1.x, v2.x); \
59 r.y = fnc(v1.y, v2.y); \
62 extern float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2) { \
64 r.x = fnc(v1.x, v2.x); \
65 r.y = fnc(v1.y, v2.y); \
66 r.z = fnc(v1.z, v2.z); \
69 extern float4 __attribute__((overloadable)) fnc(float4 v1, float4 v2) { \
71 r.x = fnc(v1.x, v2.x); \
72 r.y = fnc(v1.y, v2.y); \
[all …]
Dmath.ll12 define float @_Z3powf(float %v1, float %v2) {
13 %1 = tail call float @llvm.pow.f32(float %v1, float %v2)
/frameworks/native/opengl/libagl/
Dprimitives.cpp38 static void primitive_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1);
40 vertex_t* v0, vertex_t* v1, vertex_t* v2);
43 static void primitive_nop_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1);
45 vertex_t* v0, vertex_t* v1, vertex_t* v2);
48 vertex_t* v0, vertex_t* v1, vertex_t* v2);
51 vertex_t* v0, vertex_t* v1, vertex_t* v2);
54 vertex_t* v0, vertex_t* v1, vertex_t* v2);
57 vertex_t* v0, vertex_t* v1, vertex_t* v2);
60 vertex_t* v0, vertex_t* v1, vertex_t* v2);
63 vertex_t* v0, vertex_t* v1, vertex_t* v2);
[all …]
Darray.cpp565 vertex_t *v, *v0, *v1; in drawPrimitivesLineStrip() local
585 v1 = v++; in drawPrimitivesLineStrip()
586 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineStrip()
588 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineStrip()
589 v0 = v1; in drawPrimitivesLineStrip()
606 vertex_t* v1 = c->vc.vBuffer + 1; in drawPrimitivesLineLoop() local
607 c->arrays.compileElement(c, v1, first); in drawPrimitivesLineLoop()
608 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineLoop()
610 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineLoop()
655 vertex_t *v, *v0, *v1, *v2; in drawPrimitivesTriangleFanOrStrip() local
[all …]
/frameworks/base/libs/hwui/
DPatch.cpp159 float v1 = 0.0f; in updateVertices() local
173 v1 += vOffset / bitmapHeight; in updateVertices()
180 generateRow(vertex, y1, y2, v1, v2, stretchX, rescaleX, right - left, in updateVertices()
188 v1 = stepY / bitmapHeight; in updateVertices()
199 generateRow(vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, right - left, in updateVertices()
220 void Patch::generateRow(TextureVertex*& vertex, float y1, float y2, float v1, float v2, in generateRow() argument
248 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); in generateRow()
266 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); in generateRow()
271 float u1, float v1, float u2, float v2, uint32_t& quadCount) { in generateQuad() argument
284 PATCH_LOGD(" left, top = %.2f, %.2f\t\tu1, v1 = %.4f, %.4f", x1, y1, u1, v1); in generateQuad()
[all …]
DPatch.h78 float v1, float v2, float stretchX, float rescaleX,
82 float u1, float v1, float u2, float v2,
DFontRenderer.h126 void appendMeshQuadNoClip(float x1, float y1, float u1, float v1,
130 void appendMeshQuad(float x1, float y1, float u1, float v1,
134 void appendRotatedMeshQuad(float x1, float y1, float u1, float v1,
/frameworks/support/renderscript/v8/rs_support/scriptc/
Drs_cl.rsh111 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2); \
112 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2); \
113 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, float4 v2);
116 _RS_RUNTIME float __attribute__((overloadable)) fnc(float2 v1, float2 v2); \
117 _RS_RUNTIME float __attribute__((overloadable)) fnc(float3 v1, float3 v2); \
118 _RS_RUNTIME float __attribute__((overloadable)) fnc(float4 v1, float4 v2);
121 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float v2); \
122 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v1, float v2); \
123 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, float v2);
126 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, int2 v2); \
[all …]
/frameworks/rs/scriptc/
Drs_cl.rsh111 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2); \
112 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2); \
113 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, float4 v2);
116 _RS_RUNTIME float __attribute__((overloadable)) fnc(float2 v1, float2 v2); \
117 _RS_RUNTIME float __attribute__((overloadable)) fnc(float3 v1, float3 v2); \
118 _RS_RUNTIME float __attribute__((overloadable)) fnc(float4 v1, float4 v2);
121 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float v2); \
122 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v1, float v2); \
123 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, float v2);
126 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, int2 v2); \
[all …]
/frameworks/base/core/java/android/content/pm/
DXmlSerializerAndParser.java19 import org.xmlpull.v1.XmlSerializer;
20 import org.xmlpull.v1.XmlPullParser;
21 import org.xmlpull.v1.XmlPullParserException;
DRegisteredServicesCache.java42 import org.xmlpull.v1.XmlPullParser;
43 import org.xmlpull.v1.XmlPullParserException;
44 import org.xmlpull.v1.XmlSerializer;
380 for (V v1 : user.persistentServices.keySet()) { in generateServicesMap()
381 if (!containsType(serviceInfos, v1)) { in generateServicesMap()
382 toBeRemoved.add(v1); in generateServicesMap()
385 for (V v1 : toBeRemoved) { in generateServicesMap()
387 changes.append(" Service removed: ").append(v1).append("\n"); in generateServicesMap()
390 user.persistentServices.remove(v1); in generateServicesMap()
391 notifyListener(v1, userId, true /* removed */); in generateServicesMap()
/frameworks/base/tools/layoutlib/bridge/tests/src/android/graphics/
DMatrix_DelegateTest.java49 float[] v1 = new float[9]; in testCopyConstructor() local
51 m1.getValues(v1); in testCopyConstructor()
55 assertEquals(v1[i], v2[i]); in testCopyConstructor()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dconceal.cpp142 uint8 *y1, *y2, *u1, *u2, *v1, *v2; in CopyVopMB() local
156 v1 = curr->vChan + chrstart; in CopyVopMB()
182 oscl_memcpy(v1, v2, B_SIZE); in CopyVopMB()
183 v1 += width_C; in CopyVopMB()
185 oscl_memcpy(v1, v2, B_SIZE); in CopyVopMB()
186 v1 += width_C; in CopyVopMB()
/frameworks/base/core/java/android/util/
DXml.java30 import org.xmlpull.v1.XmlPullParser;
31 import org.xmlpull.v1.XmlPullParserException;
32 import org.xmlpull.v1.XmlPullParserFactory;
33 import org.xmlpull.v1.XmlSerializer;
/frameworks/base/services/java/com/android/server/pm/
DPreferredActivity.java22 import org.xmlpull.v1.XmlPullParser;
23 import org.xmlpull.v1.XmlPullParserException;
24 import org.xmlpull.v1.XmlSerializer;
/frameworks/native/opengl/tests/angeles/
Ddemo.c169 static void vector3Sub(VECTOR3 *dest, VECTOR3 *v1, VECTOR3 *v2) in vector3Sub() argument
171 dest->x = v1->x - v2->x; in vector3Sub()
172 dest->y = v1->y - v2->y; in vector3Sub()
173 dest->z = v1->z - v2->z; in vector3Sub()
244 VECTOR3 v1, v2, n; in createSuperShape() local
258 vector3Sub(&v1, &pb, &pa); in createSuperShape()
267 n.x = v1.y * v2.z - v1.z * v2.y; in createSuperShape()
268 n.y = v1.z * v2.x - v1.x * v2.z; in createSuperShape()
269 n.z = v1.x * v2.y - v1.y * v2.x; in createSuperShape()
/frameworks/base/core/java/android/accounts/
DAccountAuthenticatorCache.java28 import org.xmlpull.v1.XmlPullParser;
29 import org.xmlpull.v1.XmlPullParserException;
30 import org.xmlpull.v1.XmlSerializer;
/frameworks/base/core/java/android/content/
DSyncAdaptersCache.java24 import org.xmlpull.v1.XmlPullParser;
25 import org.xmlpull.v1.XmlSerializer;
26 import org.xmlpull.v1.XmlPullParserException;
/frameworks/av/services/camera/tests/CameraServiceTest/
DCameraServiceTest.cpp192 bool test(OP op, int v1, int v2);
193 void assertTest(OP op, int v1, int v2);
205 bool MCameraClient::test(OP op, int v1, int v2) { in test() argument
207 case EQ: return v1 == v2; in test()
208 case GT: return v1 > v2; in test()
209 case LT: return v1 < v2; in test()
210 case GE: return v1 >= v2; in test()
211 case LE: return v1 <= v2; in test()
217 void MCameraClient::assertTest(OP op, int v1, int v2) { in assertTest() argument
218 if (!test(op, v1, v2)) { in assertTest()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DSpnOverride.java25 import org.xmlpull.v1.XmlPullParser;
26 import org.xmlpull.v1.XmlPullParserException;

1234567