Searched defs:vec1 (Results 1 - 25 of 34) sorted by relevance

12

/external/eigen/doc/snippets/
H A DTutorial_AdvancedInitialization_Join.cpp1 RowVectorXd vec1(3);
2 vec1 << 1, 2, 3;
3 std::cout << "vec1 = " << vec1 << std::endl;
10 joined << vec1, vec2; variable
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daudio_vector_unittest.cc42 AudioVector vec1; local
43 EXPECT_TRUE(vec1.Empty());
44 EXPECT_EQ(0u, vec1.Size());
96 AudioVector vec1(kLength);
101 vec1[i] = static_cast<int16_t>(i);
104 // Append vec2 to the back of vec1.
105 vec1.PushBack(vec2);
106 ASSERT_EQ(2 * kLength, vec1.Size());
108 EXPECT_EQ(static_cast<int16_t>(i), vec1[i]); local
125 AudioVector vec1(kLengt
[all...]
H A Dtime_stretch.cc86 // |vec1| starts at 15 ms minus one pitch period.
87 const int16_t* vec1 = &signal[fs_mult_120 - peak_index]; local
90 // Calculate energies for |vec1| and |vec2|, assuming they both contain
93 WebRtcSpl_DotProductWithScale(vec1, vec1, peak_index, scaling);
97 // Calculate cross-correlation between |vec1| and |vec2|.
99 WebRtcSpl_DotProductWithScale(vec1, vec2, peak_index, scaling);
/external/eigen/test/eigen2/
H A Deigen2_sparse_solvers.cpp40 DenseVector vec1 = DenseVector::Random(rows); local
47 DenseVector vec2 = vec1, vec3 = vec1;
H A Deigen2_sparse_basic.cpp60 DenseVector vec1 = DenseVector::Random(rows); local
/external/eigen/test/
H A Deigensolver_complex.cpp17 by checking that the k-th power sums are equal for k = 1, ..., vec1.rows() */
19 void verify_is_approx_upto_permutation(const VectorType& vec1, const VectorType& vec2) argument
23 VERIFY(vec1.cols() == 1);
25 VERIFY(vec1.rows() == vec2.rows());
26 for (int k = 1; k <= vec1.rows(); ++k)
28 VERIFY_IS_APPROX(vec1.array().pow(RealScalar(k)).sum(), vec2.array().pow(RealScalar(k)).sum());
H A Dsparse_solvers.cpp40 DenseVector vec1 = DenseVector::Random(rows); local
47 DenseVector vec2 = vec1, vec3 = vec1;
H A Dsparse_basic.cpp33 DenseVector vec1 = DenseVector::Random(rows); local
/external/valgrind/main/VEX/test/
H A Dfxsave.c10 const unsigned int vec1[4] variable
62 asm __volatile__("movups vec1, %xmm1");
/external/valgrind/main/memcheck/tests/amd64/
H A Dfxsave-amd64.c11 const unsigned int vec1[4] variable
101 asm __volatile__("movups (%0), %%xmm1" : : "r"(&vec1[0]) : "xmm1" );
/external/valgrind/main/memcheck/tests/x86/
H A Dfxsave.c11 const unsigned int vec1[4] variable
63 asm __volatile__("movups " VG_SYM(vec1) ", %xmm1");
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_quad.c96 LLVMValueRef vec1, vec2; local
113 vec1 = lp_build_swizzle_aos(bld, a, swizzle1);
117 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy");
119 return LLVMBuildSub(builder, vec2, vec1, "ddxddy");
131 LLVMValueRef vec1, vec2; local
149 vec1 = LLVMBuildShuffleVector(builder, a, b,
154 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy");
156 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy");
H A Dlp_bld_arit.c384 LLVMValueRef vec1, vec2; local
389 vec1 = LLVMBuildShuffleVector(builder, vecres, vecres,
394 vecres = LLVMBuildFAdd(builder, vec1, vec2, "");
397 vecres = LLVMBuildAdd(builder, vec1, vec2, "");
/external/eigen/unsupported/test/
H A Dsparse_extra.cpp65 DenseVector vec1 = DenseVector::Random(rows); local
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_quad.c96 LLVMValueRef vec1, vec2; local
113 vec1 = lp_build_swizzle_aos(bld, a, swizzle1);
117 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy");
119 return LLVMBuildSub(builder, vec2, vec1, "ddxddy");
131 LLVMValueRef vec1, vec2; local
149 vec1 = LLVMBuildShuffleVector(builder, a, b,
154 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy");
156 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy");
/external/chromium_org/third_party/freetype/src/base/
H A Dftoutln.c224 FT_Vector vec1, vec2; local
234 vec1.x = SCALED( point[-2].x );
235 vec1.y = SCALED( point[-2].y );
251 vec1.x / 64.0, vec1.y / 64.0,
253 error = func_interface->cubic_to( &vec1, &vec2, &vec, user );
262 vec1.x / 64.0, vec1.y / 64.0,
264 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
H A Dftstroke.c370 FT_Vector* vec1 = border->points + start + 1; local
374 for ( ; vec1 < vec2; vec1++, vec2-- )
379 tmp = *vec1;
380 *vec1 = *vec2;
2188 FT_Vector vec1, vec2; local
2198 vec1 = point[-2];
2208 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &vec );
2214 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &v_start );
/external/freetype/src/base/
H A Dftoutln.c224 FT_Vector vec1, vec2; local
234 vec1.x = SCALED( point[-2].x );
235 vec1.y = SCALED( point[-2].y );
251 vec1.x / 64.0, vec1.y / 64.0,
253 error = func_interface->cubic_to( &vec1, &vec2, &vec, user );
262 vec1.x / 64.0, vec1.y / 64.0,
264 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
H A Dftstroke.c370 FT_Vector* vec1 = border->points + start + 1; local
374 for ( ; vec1 < vec2; vec1++, vec2-- )
379 tmp = *vec1;
380 *vec1 = *vec2;
2188 FT_Vector vec1, vec2; local
2198 vec1 = point[-2];
2208 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &vec );
2214 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &v_start );
/external/opencv/cv/src/
H A Dcvoptflowbm.cpp48 icvCmpBlocksL1_8u_C1( const uchar * vec1, const uchar * vec2, int len ) argument
54 int t0 = abs(vec1[i] - vec2[i]);
55 int t1 = abs(vec1[i + 1] - vec2[i + 1]);
56 int t2 = abs(vec1[i + 2] - vec2[i + 2]);
57 int t3 = abs(vec1[i + 3] - vec2[i + 3]);
64 int t0 = abs(vec1[i] - vec2[i]);
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftoutln.c224 FT_Vector vec1, vec2; local
234 vec1.x = SCALED( point[-2].x );
235 vec1.y = SCALED( point[-2].y );
251 vec1.x / 64.0, vec1.y / 64.0,
253 error = func_interface->cubic_to( &vec1, &vec2, &vec, user );
262 vec1.x / 64.0, vec1.y / 64.0,
264 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Darc.c228 double vec0[2], vec1[2]; local
261 vec1[0] = arc->x2 - arc->cx;
262 vec1[1] = arc->y2 - arc->cy;
266 vec0[0], vec0[1], vec1[0], vec1[1], arc->cx, arc->cy);
276 angle = vector_angles(vec0, vec1);
279 angle = 2*M_PI - vector_angles(vec0, vec1);
/external/llvm/test/Bindings/Ocaml/
H A Dvmcore.ml1017 let vec1 = build_insertelement t1 p1 p2 "Vec1" atentry in var
1021 ignore (build_extractelement vec1 p2 "build_extractelement" atentry);
1022 ignore (build_insertelement vec1 p1 p2 "build_insertelement" atentry);
1023 ignore (build_shufflevector vec1 vec2 t3 "build_shufflevector" atentry);
/external/mesa3d/src/gallium/state_trackers/vega/
H A Darc.c228 double vec0[2], vec1[2]; local
261 vec1[0] = arc->x2 - arc->cx;
262 vec1[1] = arc->y2 - arc->cy;
266 vec0[0], vec0[1], vec1[0], vec1[1], arc->cx, arc->cy);
276 angle = vector_angles(vec0, vec1);
279 angle = 2*M_PI - vector_angles(vec0, vec1);
/external/chromium_org/third_party/freetype/src/smooth/
H A Dftgrays.c1671 FT_Vector vec1, vec2; local
1681 vec1.x = SCALED( point[-2].x );
1682 vec1.y = SCALED( point[-2].y );
1698 vec1.x / 64.0, vec1.y / 64.0,
1700 error = func_interface->cubic_to( &vec1, &vec2, &vec, user );
1709 vec1.x / 64.0, vec1.y / 64.0,
1711 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );

Completed in 3843 milliseconds

12