Searched defs:v2 (Results 226 - 250 of 507) sorted by relevance

1234567891011>>

/external/skia/src/animator/
H A DSkOperandIterpolator.cpp112 SkOperand v1[3], v2[3], v[3], vv[3]; local
116 inter.setKeyFrame(1, 200, iset(v2, 110, 220, 330));
132 SkASSERT(memcmp(v, v2, sizeof(v)) == 0);
136 SkASSERT(memcmp(v, v2, sizeof(v)) == 0);
/external/skia/src/gpu/gl/
H A DGrGLUniformManager.cpp111 void GrGLUniformManager::set3f(UniformHandle u, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2) const {
117 GR_GL_CALL(fGpu->glInterface(), Uniform3f(uni.fFSLocation, v0, v1, v2));
120 GR_GL_CALL(fGpu->glInterface(), Uniform3f(uni.fVSLocation, v0, v1, v2));
143 GrGLfloat v2,
150 GR_GL_CALL(fGpu->glInterface(), Uniform4f(uni.fFSLocation, v0, v1, v2, v3));
153 GR_GL_CALL(fGpu->glInterface(), Uniform4f(uni.fVSLocation, v0, v1, v2, v3));
140 set4f(UniformHandle u, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2, GrGLfloat v3) const argument
/external/stlport/test/unit/
H A Dequal_test.cpp79 bool operator < (const Test& v1, int v2) argument
80 { return v1.value < v2; }
82 bool operator < (int v1, const Test& v2) argument
83 { return v1 < v2.value; }
86 bool operator < (const Test& v1, const Test& v2) argument
87 { return v1.value < v2.value; }
144 vector <int> v2(10);
145 CPPUNIT_ASSERT( !equal(v1.begin(), v1.end(), v2.begin()) );
147 copy(v1.begin(), v1.end(), v2.begin());
148 CPPUNIT_ASSERT( equal(v1.begin(), v1.end(), v2
[all...]
/external/valgrind/main/memcheck/tests/vbit-test/
H A Dbinary.c8 /* A convenience function to compute either v1 & ~v2 & val2 or
9 v1 & ~v2 & ~val2 depending on INVERT_VAL2. */
11 and_combine(vbits_t v1, vbits_t v2, value_t val2, int invert_val2) argument
13 assert(v1.num_bits == v2.num_bits);
15 vbits_t new = { .num_bits = v2.num_bits };
18 switch (v2.num_bits) {
28 switch (v2.num_bits) {
30 new.bits.u8 = (v1.bits.u8 & ~v2.bits.u8 & val2.u8) & 0xff;
33 new.bits.u16 = (v1.bits.u16 & ~v2.bits.u16 & val2.u16) & 0xffff;
36 new.bits.u32 = (v1.bits.u32 & ~v2
[all...]
H A Dvbits.c129 equal_vbits(vbits_t v1, vbits_t v2) argument
131 assert(v1.num_bits == v2.num_bits);
134 case 1: return v1.bits.u32 == v2.bits.u32;
135 case 8: return v1.bits.u8 == v2.bits.u8;
136 case 16: return v1.bits.u16 == v2.bits.u16;
137 case 32: return v1.bits.u32 == v2.bits.u32;
138 case 64: return v1.bits.u64 == v2.bits.u64;
139 case 128: return v1.bits.u128[0] == v2.bits.u128[0] &&
140 v1.bits.u128[1] == v2.bits.u128[1];
141 case 256: return v1.bits.u256[0] == v2
348 or_vbits(vbits_t v1, vbits_t v2) argument
376 and_vbits(vbits_t v1, vbits_t v2) argument
404 concat_vbits(vbits_t v1, vbits_t v2) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DNodeVector.java242 * @param v2 Second node to add to vector
244 public final void pushPair(int v1, int v2) argument
267 m_map[m_firstFree + 1] = v2;
/external/chromium_org/ipc/
H A Dipc_fuzzing_tests.cc40 int v2 = 666; local
43 EXPECT_TRUE(m.WriteInt(v2));
53 int v2 = 777; local
56 EXPECT_TRUE(m.WriteInt(v2));
/external/chromium_org/mojo/services/public/cpp/view_manager/tests/
H A Dview_unittest.cc50 TestView v2; local
54 v2.AddChild(&v11);
55 EXPECT_EQ(1U, v2.children().size());
/external/chromium_org/testing/gtest/include/gtest/
H A Dgtest_pred_impl.h47 // ASSERT_PRED_FORMAT2(pred_format, v1, v2)
59 // ASSERT_PRED2(pred, v1, v2)
63 // and the values v1, v2, ..., must support the << operator for
134 const T2& v2) {
135 if (pred(v1, v2)) return AssertionSuccess();
141 << "\n" << e2 << " evaluates to " << v2;
146 #define GTEST_PRED_FORMAT2_(pred_format, v1, v2, on_failure)\
147 GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), \
152 #define GTEST_PRED2_(pred, v1, v2, on_failur
129 AssertPred2Helper(const char* pred_text, const char* e1, const char* e2, Pred pred, const T1& v1, const T2& v2) argument
178 AssertPred3Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, Pred pred, const T1& v1, const T2& v2, const T3& v3) argument
234 AssertPred4Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4) argument
297 AssertPred5Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, const char* e5, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatQuad.cpp64 FloatSize v2 = p - t1; local
69 float dot02 = dot(v0, v2);
71 float dot12 = dot(v1, v2);
143 FloatSize v1, v2, v3, v4; local
148 v2 = m_p3 - m_p2;
153 v2 = m_p1 - m_p2;
162 p = rightMostCornerToVector(rect, v2);
163 if (determinant(v2, p - m_p2) < 0)
H A DFloatRect.cpp183 T min3(const T& v1, const T& v2, const T& v3) argument
185 return std::min(std::min(v1, v2), v3);
189 T max3(const T& v1, const T& v2, const T& v3) argument
191 return std::max(std::max(v1, v2), v3);
195 T min4(const T& v1, const T& v2, const T& v3, const T& v4) argument
197 return std::min(std::min(v1, v2), std::min(v3, v4));
201 T max4(const T& v1, const T& v2, const T& v3, const T& v4) argument
203 return std::max(std::max(v1, v2), std::max(v3, v4));
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFEComponentTransfer.cpp112 double v2 = tableValues[std::min((k + 1), (n - 1))]; local
113 double val = 255.0 * (v1 + (c * (n - 1) - k) * (v2 - v1));
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
H A DTransformOperations.cpp189 FloatPoint3D v2 = normal.cross(v1); local
192 // v2 is a perpenticular basis vector of our plane (+y).
199 // x(t) = r*cos(t)*v1.x + r*sin(t)*v2.x + cx
200 // y(t) = r*cos(t)*v1.y + r*sin(t)*v2.y + cy
201 // z(t) = r*cos(t)*v1.z + r*sin(t)*v2.z + cz
204 // x'(t) = r*cos(t)*v2.x - r*sin(t)*v1.x = 0
205 // tan(t) = v2.x/v1.x
206 // t = atan2(v2.x, v1.x) + n*M_PI;
208 candidates[0] = atan2(v2.x(), v1.x());
210 candidates[2] = atan2(v2
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DSwapChain9.cpp293 float v2 = (y + height) / float(mHeight); local
295 float quad[4][6] = {{x1, y1, 0.0f, 1.0f, u1, v2},
296 {x2, y1, 0.0f, 1.0f, u2, v2},
/external/chromium_org/third_party/boringssl/src/ssl/
H A Dssl_asn1.c129 int v1=0,v2=0,v3=0,v4=0,v5=0,v7=0,v8=0,v13=0,v14=0,v15=0,v16=0; local
290 M_ASN1_I2D_len_EXP_opt(&(a.timeout),i2d_ASN1_INTEGER,2,v2);
329 M_ASN1_I2D_put_EXP_opt(&(a.timeout),i2d_ASN1_INTEGER,2,v2);
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-common.cc184 const void *v2)
187 const unsigned char *p2 = (const unsigned char *) v2;
183 lang_equal(hb_language_t v1, const void *v2) argument
/external/chromium_org/third_party/libjpeg_turbo/
H A Djcarith.c368 int v, v2, m; local
422 v2 = v;
424 while (v2 >>= 1) {
459 int v, v2, m; local
518 v2 = v;
519 if (v2 >>= 1) {
524 while (v2 >>= 1) {
687 int v, v2, m; local
737 v2 = v;
739 while (v2 >>
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_pipe_wide_point.c134 struct vertex_header *v2 = dup_vert(stage, header->v[0], 2); local
139 float *pos2 = v2->data[pos];
175 set_texcoords( wide, v2, tex10 );
181 tri.v[1] = v2;
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/
H A Dgtest_pred_impl.h47 // ASSERT_PRED_FORMAT2(pred_format, v1, v2)
59 // ASSERT_PRED2(pred, v1, v2)
63 // and the values v1, v2, ..., must support the << operator for
134 const T2& v2) {
135 if (pred(v1, v2)) return AssertionSuccess();
141 << "\n" << e2 << " evaluates to " << v2;
146 #define GTEST_PRED_FORMAT2_(pred_format, v1, v2, on_failure)\
147 GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2),\
152 #define GTEST_PRED2_(pred, v1, v2, on_failur
129 AssertPred2Helper(const char* pred_text, const char* e1, const char* e2, Pred pred, const T1& v1, const T2& v2) argument
178 AssertPred3Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, Pred pred, const T1& v1, const T2& v2, const T3& v3) argument
234 AssertPred4Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4) argument
297 AssertPred5Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, const char* e5, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
H A Dnouveau_swtnl_t.c288 swtnl_line(struct gl_context *ctx, GLuint v1, GLuint v2) argument
292 OUT_VERTEX(v2);
296 swtnl_triangle(struct gl_context *ctx, GLuint v1, GLuint v2, GLuint v3) argument
300 OUT_VERTEX(v2);
305 swtnl_quad(struct gl_context *ctx, GLuint v1, GLuint v2, GLuint v3, GLuint v4) argument
309 OUT_VERTEX(v2);
H A Dnv04_render.c236 swtnl_line(struct gl_context *ctx, GLuint v1, GLuint v2) argument
241 swtnl_triangle(struct gl_context *ctx, GLuint v1, GLuint v2, GLuint v3) argument
245 OUT_VERTEX(v2);
251 swtnl_quad(struct gl_context *ctx, GLuint v1, GLuint v2, GLuint v3, GLuint v4) argument
255 OUT_VERTEX(v2);
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_aatriangle.c43 * Compute coefficients of a plane using the X,Y coords of the v0, v1, v2
48 compute_plane(const GLfloat v0[], const GLfloat v1[], const GLfloat v2[], argument
55 const GLfloat qx = v2[0] - v0[0];
56 const GLfloat qy = v2[1] - v0[1];
168 const GLfloat v2[3], GLint winx, GLint winy)
211 const GLfloat dx1 = v2[0] - v1[0];
212 const GLfloat dy1 = v2[1] - v1[1];
213 const GLfloat dx2 = v0[0] - v2[0];
214 const GLfloat dy2 = v0[1] - v2[1];
247 cross = (dx2 * (sy - v2[
167 compute_coveragef(const GLfloat v0[3], const GLfloat v1[3], const GLfloat v2[3], GLint winx, GLint winy) argument
267 rgba_aa_tri(struct gl_context *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2) argument
278 general_aa_tri(struct gl_context *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2) argument
[all...]
/external/chromium_org/third_party/skia/samplecode/
H A DSampleColorFilter.cpp69 int v2 = inflate5To8(t2); local
72 int err2 = i - v2;
74 v0, err0, v1, err1, v2, err2);
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dlobject.c73 lua_Number luaO_arith (int op, lua_Number v1, lua_Number v2) { argument
75 case LUA_OPADD: return luai_numadd(NULL, v1, v2);
76 case LUA_OPSUB: return luai_numsub(NULL, v1, v2);
77 case LUA_OPMUL: return luai_nummul(NULL, v1, v2);
78 case LUA_OPDIV: return luai_numdiv(NULL, v1, v2);
79 case LUA_OPMOD: return luai_nummod(NULL, v1, v2);
80 case LUA_OPPOW: return luai_numpow(NULL, v1, v2);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/
H A Dnasm-preproc.c75 nil_listgen_output(long v, const void *d, unsigned long v2) argument

Completed in 8888 milliseconds

1234567891011>>