/external/eigen/doc/snippets/ |
Tutorial_AdvancedInitialization_Join.cpp | 1 RowVectorXd vec1(3); 2 vec1 << 1, 2, 3; 3 std::cout << "vec1 = " << vec1 << std::endl; 10 joined << vec1, vec2; variable
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
SensorSynchronizationTestActivity.java | 151 protected double angleBetweenVecsDegrees(float[] vec1, float[] vec2) { 152 return Math.toDegrees(Math.acos((vec1[0] * vec2[0] + vec1[1] * vec2[1] + vec1[2] * vec2[2]) 153 / normVec(vec1) / normVec(vec2))); 156 protected double normVec(float[] vec1) { 157 return Math.sqrt(vec1[0] * vec1[0] + vec1[1] * vec1[1] + vec1[2] * vec1[2]) [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
audio_multi_vector_unittest.cc | 73 AudioMultiVector vec1(num_channels_); 74 EXPECT_TRUE(vec1.Empty()); 75 EXPECT_EQ(num_channels_, vec1.Channels()); 76 EXPECT_EQ(0u, vec1.Size()); 135 AudioMultiVector vec1(num_channels_, array_length()); 143 vec1[channel][i] = static_cast<int16_t>(i + 100 * channel); 148 // Append vec2 to the back of vec1. 149 vec1.PushBack(vec2); 150 ASSERT_EQ(2u * array_length(), vec1.Size()); 153 EXPECT_EQ(static_cast<int16_t>(i + 100 * channel), vec1[channel][i]) [all...] |
audio_vector_unittest.cc | 42 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(kLength) [all...] |
time_stretch.cc | 86 // |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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_quad.c | 96 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/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_quad.c | 96 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/eigen/test/ |
eigensolver_complex.cpp | 17 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) 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());
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/include/isl/ |
vec.h | 50 int isl_vec_is_equal(__isl_keep isl_vec *vec1, __isl_keep isl_vec *vec2); 65 __isl_give isl_vec *isl_vec_add(__isl_take isl_vec *vec1, 69 __isl_give isl_vec *isl_vec_concat(__isl_take isl_vec *vec1,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/isl/ |
vec.h | 50 int isl_vec_is_equal(__isl_keep isl_vec *vec1, __isl_keep isl_vec *vec2); 65 __isl_give isl_vec *isl_vec_add(__isl_take isl_vec *vec1, 69 __isl_give isl_vec *isl_vec_concat(__isl_take isl_vec *vec1,
|
/ndk/tests/build/issue22345-ICE-postreload/jni/ |
issue22345-ICE-postreload.cpp | 7 inline float32x4_t dot4VecResult(const float32x4_t& vec1, const float32x4_t& vec2) { 8 float32x4_t result = vmulq_f32(vec1, vec2);
|
/development/ndk/platforms/android-3/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|