Home
last modified time | relevance | path

Searched refs:kOne (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/components/feedback/
Dfeedback_common_unittest.cc16 const char kOne[] = "one"; variable
39 feedback->set_category_tag(kOne); in TEST_F()
45 EXPECT_EQ(kOne, report.bucket()); in TEST_F()
52 feedback->AddLog(kOne, kTwo); in TEST_F()
61 feedback->AddLog(kOne, kTwo); in TEST_F()
66 EXPECT_EQ(kOne, report.web_data().product_specific_data(0).key()); in TEST_F()
72 feedback->AddLog(kOne, kTwo); in TEST_F()
/external/ceres-solver/include/ceres/
Drotation.h316 static const T kOne = T(1.0); in RotationMatrixToAngleAxis() local
321 T costheta = std::min(std::max((R(0, 0) + R(1, 1) + R(2, 2) - kOne) / kTwo, in RotationMatrixToAngleAxis()
323 kOne); in RotationMatrixToAngleAxis()
330 kOne); in RotationMatrixToAngleAxis()
371 const T inv_one_minus_costheta = kOne / (kOne - costheta); in RotationMatrixToAngleAxis()
396 static const T kOne = T(1.0); in AngleAxisToRotationMatrix() local
410 R(0, 0) = costheta + wx*wx*(kOne - costheta); in AngleAxisToRotationMatrix()
411 R(1, 0) = wz*sintheta + wx*wy*(kOne - costheta); in AngleAxisToRotationMatrix()
412 R(2, 0) = -wy*sintheta + wx*wz*(kOne - costheta); in AngleAxisToRotationMatrix()
413 R(0, 1) = wx*wy*(kOne - costheta) - wz*sintheta; in AngleAxisToRotationMatrix()
[all …]
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_dct32x32_sse2.c81 const __m128i kOne = _mm_set1_epi16(1); in FDCT32x32_2D() local
459 step2[ 0] = _mm_add_epi16(step2[ 0], kOne); in FDCT32x32_2D()
460 step2[ 1] = _mm_add_epi16(step2[ 1], kOne); in FDCT32x32_2D()
461 step2[ 2] = _mm_add_epi16(step2[ 2], kOne); in FDCT32x32_2D()
462 step2[ 3] = _mm_add_epi16(step2[ 3], kOne); in FDCT32x32_2D()
463 step2[ 4] = _mm_add_epi16(step2[ 4], kOne); in FDCT32x32_2D()
464 step2[ 5] = _mm_add_epi16(step2[ 5], kOne); in FDCT32x32_2D()
465 step2[ 6] = _mm_add_epi16(step2[ 6], kOne); in FDCT32x32_2D()
466 step2[ 7] = _mm_add_epi16(step2[ 7], kOne); in FDCT32x32_2D()
467 step2[ 8] = _mm_add_epi16(step2[ 8], kOne); in FDCT32x32_2D()
[all …]
Dvp9_dct32x32_avx2.c90 const __m256i kOne = _mm256_set1_epi16(1); in FDCT32x32_2D_AVX2() local
468 step2[ 0] = _mm256_add_epi16(step2[ 0], kOne); in FDCT32x32_2D_AVX2()
469 step2[ 1] = _mm256_add_epi16(step2[ 1], kOne); in FDCT32x32_2D_AVX2()
470 step2[ 2] = _mm256_add_epi16(step2[ 2], kOne); in FDCT32x32_2D_AVX2()
471 step2[ 3] = _mm256_add_epi16(step2[ 3], kOne); in FDCT32x32_2D_AVX2()
472 step2[ 4] = _mm256_add_epi16(step2[ 4], kOne); in FDCT32x32_2D_AVX2()
473 step2[ 5] = _mm256_add_epi16(step2[ 5], kOne); in FDCT32x32_2D_AVX2()
474 step2[ 6] = _mm256_add_epi16(step2[ 6], kOne); in FDCT32x32_2D_AVX2()
475 step2[ 7] = _mm256_add_epi16(step2[ 7], kOne); in FDCT32x32_2D_AVX2()
476 step2[ 8] = _mm256_add_epi16(step2[ 8], kOne); in FDCT32x32_2D_AVX2()
[all …]
Dvp9_dct_avx2.c34 const __m128i kOne = _mm_set1_epi16(1); in vp9_fdct4x4_avx2() local
104 __m128i out01 = _mm_add_epi16(in0, kOne); in vp9_fdct4x4_avx2()
105 __m128i out23 = _mm_add_epi16(in2, kOne); in vp9_fdct4x4_avx2()
136 const __m128i kOne = _mm_set1_epi16(1); in write_buffer_4x4_avx2() local
139 __m128i out01 = _mm_add_epi16(in01, kOne); in write_buffer_4x4_avx2()
140 __m128i out23 = _mm_add_epi16(in23, kOne); in write_buffer_4x4_avx2()
559 const __m128i kOne = _mm_set1_epi16(1); in right_shift_8x8_avx2() local
571 __m128i k_const_rounding = _mm_slli_epi16(kOne, bit_m02); in right_shift_8x8_avx2()
1104 const __m128i kOne = _mm_set1_epi16(1); in vp9_fdct16x16_avx2() local
1173 in00 = _mm_add_epi16(in00, kOne); in vp9_fdct16x16_avx2()
[all …]
Dvp9_dct_sse2.c237 const __m128i kOne = _mm_set1_epi16(1); in write_buffer_4x4() local
240 __m128i out01 = _mm_add_epi16(in01, kOne); in write_buffer_4x4()
241 __m128i out23 = _mm_add_epi16(in23, kOne); in write_buffer_4x4()
660 const __m128i kOne = _mm_set1_epi16(1); in right_shift_8x8() local
672 __m128i k_const_rounding = _mm_slli_epi16(kOne, bit_m02); in right_shift_8x8()
1205 const __m128i kOne = _mm_set1_epi16(1); in vp9_fdct16x16_sse2() local
1274 in00 = _mm_add_epi16(in00, kOne); in vp9_fdct16x16_sse2()
1275 in01 = _mm_add_epi16(in01, kOne); in vp9_fdct16x16_sse2()
1276 in02 = _mm_add_epi16(in02, kOne); in vp9_fdct16x16_sse2()
1277 in03 = _mm_add_epi16(in03, kOne); in vp9_fdct16x16_sse2()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/x86/
Dvp9_dct32x32_sse2.c84 const __m128i kOne = _mm_set1_epi16(1); in FDCT32x32_2D() local
462 step2[ 0] = _mm_add_epi16(step2[ 0], kOne); in FDCT32x32_2D()
463 step2[ 1] = _mm_add_epi16(step2[ 1], kOne); in FDCT32x32_2D()
464 step2[ 2] = _mm_add_epi16(step2[ 2], kOne); in FDCT32x32_2D()
465 step2[ 3] = _mm_add_epi16(step2[ 3], kOne); in FDCT32x32_2D()
466 step2[ 4] = _mm_add_epi16(step2[ 4], kOne); in FDCT32x32_2D()
467 step2[ 5] = _mm_add_epi16(step2[ 5], kOne); in FDCT32x32_2D()
468 step2[ 6] = _mm_add_epi16(step2[ 6], kOne); in FDCT32x32_2D()
469 step2[ 7] = _mm_add_epi16(step2[ 7], kOne); in FDCT32x32_2D()
470 step2[ 8] = _mm_add_epi16(step2[ 8], kOne); in FDCT32x32_2D()
[all …]
Dvp9_dct32x32_avx2.c90 const __m256i kOne = _mm256_set1_epi16(1); in FDCT32x32_2D_AVX2() local
468 step2[ 0] = _mm256_add_epi16(step2[ 0], kOne); in FDCT32x32_2D_AVX2()
469 step2[ 1] = _mm256_add_epi16(step2[ 1], kOne); in FDCT32x32_2D_AVX2()
470 step2[ 2] = _mm256_add_epi16(step2[ 2], kOne); in FDCT32x32_2D_AVX2()
471 step2[ 3] = _mm256_add_epi16(step2[ 3], kOne); in FDCT32x32_2D_AVX2()
472 step2[ 4] = _mm256_add_epi16(step2[ 4], kOne); in FDCT32x32_2D_AVX2()
473 step2[ 5] = _mm256_add_epi16(step2[ 5], kOne); in FDCT32x32_2D_AVX2()
474 step2[ 6] = _mm256_add_epi16(step2[ 6], kOne); in FDCT32x32_2D_AVX2()
475 step2[ 7] = _mm256_add_epi16(step2[ 7], kOne); in FDCT32x32_2D_AVX2()
476 step2[ 8] = _mm256_add_epi16(step2[ 8], kOne); in FDCT32x32_2D_AVX2()
[all …]
Dvp9_dct_avx2.c34 const __m128i kOne = _mm_set1_epi16(1); in vp9_fdct4x4_avx2() local
104 __m128i out01 = _mm_add_epi16(in0, kOne); in vp9_fdct4x4_avx2()
105 __m128i out23 = _mm_add_epi16(in2, kOne); in vp9_fdct4x4_avx2()
136 const __m128i kOne = _mm_set1_epi16(1); in write_buffer_4x4_avx2() local
139 __m128i out01 = _mm_add_epi16(in01, kOne); in write_buffer_4x4_avx2()
140 __m128i out23 = _mm_add_epi16(in23, kOne); in write_buffer_4x4_avx2()
559 const __m128i kOne = _mm_set1_epi16(1); in right_shift_8x8_avx2() local
571 __m128i k_const_rounding = _mm_slli_epi16(kOne, bit_m02); in right_shift_8x8_avx2()
1104 const __m128i kOne = _mm_set1_epi16(1); in vp9_fdct16x16_avx2() local
1173 in00 = _mm_add_epi16(in00, kOne); in vp9_fdct16x16_avx2()
[all …]
Dvp9_dct_sse2.c237 const __m128i kOne = _mm_set1_epi16(1); in write_buffer_4x4() local
240 __m128i out01 = _mm_add_epi16(in01, kOne); in write_buffer_4x4()
241 __m128i out23 = _mm_add_epi16(in23, kOne); in write_buffer_4x4()
660 const __m128i kOne = _mm_set1_epi16(1); in right_shift_8x8() local
672 __m128i k_const_rounding = _mm_slli_epi16(kOne, bit_m02); in right_shift_8x8()
1205 const __m128i kOne = _mm_set1_epi16(1); in vp9_fdct16x16_sse2() local
1274 in00 = _mm_add_epi16(in00, kOne); in vp9_fdct16x16_sse2()
1275 in01 = _mm_add_epi16(in01, kOne); in vp9_fdct16x16_sse2()
1276 in02 = _mm_add_epi16(in02, kOne); in vp9_fdct16x16_sse2()
1277 in03 = _mm_add_epi16(in03, kOne); in vp9_fdct16x16_sse2()
[all …]
/external/clang/test/Sema/
Dstatements.c46 enum Numbers { kOne, kTwo, kThree, kFour}; enumerator
48 switch (num == kOne) {// expected-warning {{switch condition has boolean value}} in test12()
Dswitch.c309 kOne = 1, enumerator
315 case kOne: in rdar110822110()
/external/chromium_org/third_party/skia/tests/
DPointTest.cpp145 const SkPoint kOne = {1.0f, 1.0f}; in DEF_TEST() local
147 SkPoint slow = kOne, fast = kOne; in DEF_TEST()
/external/skia/tests/
DPointTest.cpp145 const SkPoint kOne = {1.0f, 1.0f}; in DEF_TEST() local
147 SkPoint slow = kOne, fast = kOne; in DEF_TEST()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dparsing.cc36 static const char kOne[] = "1"; variable
73 return val.empty() ? def : (val == kTrue || val == kOne); in GetXmlAttr()
/external/chromium_org/native_client_sdk/src/examples/demo/life_simd/
Dlife.c279 const u8x16_t kOne = broadcast(1); in Render() local
359 *(u8x16_t*)dst = alive & kOne; in Render()
/external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/
Dearth.cc437 const f32x4_t kOne = {1.0f, 1.0f, 1.0f, 1.0f}; in wRenderPixelSpan() local
536 f32x4_t pc = min(p, kOne); in wRenderPixelSpan()
537 f32x4_t fc = dc * p + nc * (kOne - pc); in wRenderPixelSpan()
/external/chromium_org/v8/src/
Dutils.h265 static const U kOne = static_cast<U>(1U);
266 static const U kMask = ((kOne << shift) << size) - (kOne << shift);