/external/ceres-solver/include/ceres/ |
D | rotation.h | 316 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/vpx_dsp/x86/ |
D | fwd_dct32x32_impl_avx2.h | 91 const __m256i kOne = _mm256_set1_epi16(1); in FDCT32x32_2D_AVX2() local 469 step2[ 0] = _mm256_add_epi16(step2[ 0], kOne); in FDCT32x32_2D_AVX2() 470 step2[ 1] = _mm256_add_epi16(step2[ 1], kOne); in FDCT32x32_2D_AVX2() 471 step2[ 2] = _mm256_add_epi16(step2[ 2], kOne); in FDCT32x32_2D_AVX2() 472 step2[ 3] = _mm256_add_epi16(step2[ 3], kOne); in FDCT32x32_2D_AVX2() 473 step2[ 4] = _mm256_add_epi16(step2[ 4], kOne); in FDCT32x32_2D_AVX2() 474 step2[ 5] = _mm256_add_epi16(step2[ 5], kOne); in FDCT32x32_2D_AVX2() 475 step2[ 6] = _mm256_add_epi16(step2[ 6], kOne); in FDCT32x32_2D_AVX2() 476 step2[ 7] = _mm256_add_epi16(step2[ 7], kOne); in FDCT32x32_2D_AVX2() 477 step2[ 8] = _mm256_add_epi16(step2[ 8], kOne); in FDCT32x32_2D_AVX2() [all …]
|
D | fwd_dct32x32_impl_sse2.h | 108 const __m128i kOne = _mm_set1_epi16(1); in FDCT32x32_2D() local 565 step2[0] = _mm_add_epi16(step2[ 0], kOne); in FDCT32x32_2D() 566 step2[1] = _mm_add_epi16(step2[ 1], kOne); in FDCT32x32_2D() 567 step2[2] = _mm_add_epi16(step2[ 2], kOne); in FDCT32x32_2D() 568 step2[3] = _mm_add_epi16(step2[ 3], kOne); in FDCT32x32_2D() 569 step2[4] = _mm_add_epi16(step2[ 4], kOne); in FDCT32x32_2D() 570 step2[5] = _mm_add_epi16(step2[ 5], kOne); in FDCT32x32_2D() 571 step2[6] = _mm_add_epi16(step2[ 6], kOne); in FDCT32x32_2D() 572 step2[7] = _mm_add_epi16(step2[ 7], kOne); in FDCT32x32_2D() 573 step2[8] = _mm_add_epi16(step2[ 8], kOne); in FDCT32x32_2D() [all …]
|
D | fwd_txfm_impl_sse2.h | 612 const __m128i kOne = _mm_set1_epi16(1); in FDCT16x16_2D() local 684 in00 = _mm_add_epi16(in00, kOne); in FDCT16x16_2D() 685 in01 = _mm_add_epi16(in01, kOne); in FDCT16x16_2D() 686 in02 = _mm_add_epi16(in02, kOne); in FDCT16x16_2D() 687 in03 = _mm_add_epi16(in03, kOne); in FDCT16x16_2D() 688 in04 = _mm_add_epi16(in04, kOne); in FDCT16x16_2D() 689 in05 = _mm_add_epi16(in05, kOne); in FDCT16x16_2D() 690 in06 = _mm_add_epi16(in06, kOne); in FDCT16x16_2D() 691 in07 = _mm_add_epi16(in07, kOne); in FDCT16x16_2D() 692 in08 = _mm_add_epi16(in08, kOne); in FDCT16x16_2D() [all …]
|
/external/openfst/src/include/fst/extensions/ngram/ |
D | bitmap-index.h | 51 (kOne << (index & kStorageBlockMask))) != 0; in Get() 55 bits[index >> kStorageLogBitSize] |= (kOne << (index & kStorageBlockMask)); in Set() 59 bits[index >> kStorageLogBitSize] &= ~(kOne << (index & kStorageBlockMask)); in Clear() 120 static const uint64 kOne = 1; variable
|
/external/webrtc/webrtc/modules/audio_processing/intelligibility/ |
D | intelligibility_enhancer.cc | 282 static const size_t kOne = 1; // Avoids repeated static_cast<>s below. in CreateErbBank() local 284 center_freqs_[max(kOne, i - lf) - 1] * freqs_ / in CreateErbBank() 287 center_freqs_[max(kOne, i) - 1] * freqs_ / (0.5f * sample_rate_hz_))); in CreateErbBank() 288 lll = min(freqs_, max(lll, kOne)) - 1; in CreateErbBank() 289 ll = min(freqs_, max(ll, kOne)) - 1; in CreateErbBank() 297 rrr = min(freqs_, max(rrr, kOne)) - 1; in CreateErbBank() 298 rr = min(freqs_, max(rr, kOne)) - 1; in CreateErbBank()
|
/external/clang/test/Sema/ |
D | statements.c | 46 enum Numbers { kOne, kTwo, kThree, kFour}; enumerator 48 switch (num == kOne) {// expected-warning {{switch condition has boolean value}} in test12()
|
D | switch.c | 309 kOne = 1, enumerator 315 case kOne: in rdar110822110()
|
/external/v8/src/ |
D | bit-vector.h | 63 static const uintptr_t kOne = 1; // This saves some static_casts. variable 98 return (block & (kOne << (i % kDataBits))) != 0; in Contains() 103 data_[i / kDataBits] |= (kOne << (i % kDataBits)); in Add() 110 data_[i / kDataBits] &= ~(kOne << (i % kDataBits)); in Remove()
|
D | utils.h | 279 static const U kOne = static_cast<U>(1U); 280 static const U kMask = ((kOne << shift) << size) - (kOne << shift); 286 static const T kMax = static_cast<T>((kOne << size) - 1);
|
/external/skia/tests/ |
D | PointTest.cpp | 145 const SkPoint kOne = {1.0f, 1.0f}; in DEF_TEST() local 147 SkPoint slow = kOne, fast = kOne; in DEF_TEST()
|
/external/boringssl/src/crypto/bn/ |
D | bn.c | 170 static const BIGNUM kOne = STATIC_BIGNUM(kOneLimbs); in BN_value_one() local 172 return &kOne; in BN_value_one()
|
/external/skia/gm/ |
D | bleed.cpp | 125 static const uint8_t kOne = 0xFF; in make_ringed_alpha_bitmap() local 127 kPremul_SkAlphaType, kZero, kOne, k3Q, kHalf); in make_ringed_alpha_bitmap() 274 static const uint8_t kOne = 0xFF; in make_ringed_oversized_alpha_texture_bitmap() local 277 ctx, result, width, height, kAlpha_8_GrPixelConfig, kZero, kOne, k3Q, kHalf, k1Q); in make_ringed_oversized_alpha_texture_bitmap()
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_dct_sse2.c | 43 const __m128i kOne = _mm_set1_epi16(1); in write_buffer_4x4() local 46 __m128i out01 = _mm_add_epi16(in01, kOne); in write_buffer_4x4() 47 __m128i out23 = _mm_add_epi16(in23, kOne); in write_buffer_4x4()
|
/external/vixl/test/ |
D | test-assembler-a64.cc | 19175 const float kOne = 1.0f; in TEST() local 19183 __ Fmov(v11.V2S(), kOne); in TEST()
|