/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
bigintegertest.cpp | 24 static const BigInteger kOne(1); 50 EXPECT_TRUE(kOne == a); 70 BigInteger b = kOne; 72 EXPECT_TRUE(kOne == b); 92 BigInteger b = kOne; 94 EXPECT_TRUE(kOne == b); 127 EXPECT_EQ(1, kOne.Compare(kZero)); 128 EXPECT_EQ(-1, kZero.Compare(kOne));
|
/external/clang/test/Sema/ |
statements.c | 46 enum Numbers { kOne, kTwo, kThree, kFour}; 48 switch (num == kOne) {// expected-warning {{switch condition has boolean value}}
|
switch.c | 309 kOne = 1, 315 case kOne:
|
/external/ceres-solver/include/ceres/ |
rotation.h | 316 static const T kOne = T(1.0); 321 T costheta = std::min(std::max((R(0, 0) + R(1, 1) + R(2, 2) - kOne) / kTwo, 323 kOne); 330 kOne); 371 const T inv_one_minus_costheta = kOne / (kOne - costheta); 396 static const T kOne = T(1.0); 410 R(0, 0) = costheta + wx*wx*(kOne - costheta); 411 R(1, 0) = wz*sintheta + wx*wy*(kOne - costheta); 412 R(2, 0) = -wy*sintheta + wx*wz*(kOne - costheta) [all...] |
/external/skia/tests/ |
PointTest.cpp | 145 const SkPoint kOne = {1.0f, 1.0f}; 147 SkPoint slow = kOne, fast = kOne;
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
fwd_dct32x32_impl_avx2.h | 91 const __m256i kOne = _mm256_set1_epi16(1); 469 step2[ 0] = _mm256_add_epi16(step2[ 0], kOne); 470 step2[ 1] = _mm256_add_epi16(step2[ 1], kOne); 471 step2[ 2] = _mm256_add_epi16(step2[ 2], kOne); 472 step2[ 3] = _mm256_add_epi16(step2[ 3], kOne); 473 step2[ 4] = _mm256_add_epi16(step2[ 4], kOne); 474 step2[ 5] = _mm256_add_epi16(step2[ 5], kOne); 475 step2[ 6] = _mm256_add_epi16(step2[ 6], kOne); 476 step2[ 7] = _mm256_add_epi16(step2[ 7], kOne); 477 step2[ 8] = _mm256_add_epi16(step2[ 8], kOne); [all...] |
fwd_dct32x32_impl_sse2.h | 108 const __m128i kOne = _mm_set1_epi16(1); 565 step2[0] = _mm_add_epi16(step2[ 0], kOne); 566 step2[1] = _mm_add_epi16(step2[ 1], kOne); 567 step2[2] = _mm_add_epi16(step2[ 2], kOne); 568 step2[3] = _mm_add_epi16(step2[ 3], kOne); 569 step2[4] = _mm_add_epi16(step2[ 4], kOne); 570 step2[5] = _mm_add_epi16(step2[ 5], kOne); 571 step2[6] = _mm_add_epi16(step2[ 6], kOne); 572 step2[7] = _mm_add_epi16(step2[ 7], kOne); 573 step2[8] = _mm_add_epi16(step2[ 8], kOne); [all...] |
fwd_txfm_impl_sse2.h | 612 const __m128i kOne = _mm_set1_epi16(1); 684 in00 = _mm_add_epi16(in00, kOne); 685 in01 = _mm_add_epi16(in01, kOne); 686 in02 = _mm_add_epi16(in02, kOne); 687 in03 = _mm_add_epi16(in03, kOne); 688 in04 = _mm_add_epi16(in04, kOne); 689 in05 = _mm_add_epi16(in05, kOne); 690 in06 = _mm_add_epi16(in06, kOne); 691 in07 = _mm_add_epi16(in07, kOne); 692 in08 = _mm_add_epi16(in08, kOne); [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/ |
vp9_dct32x32_avx2.c | 90 const __m256i kOne = _mm256_set1_epi16(1); 468 step2[ 0] = _mm256_add_epi16(step2[ 0], kOne); 469 step2[ 1] = _mm256_add_epi16(step2[ 1], kOne); 470 step2[ 2] = _mm256_add_epi16(step2[ 2], kOne); 471 step2[ 3] = _mm256_add_epi16(step2[ 3], kOne); 472 step2[ 4] = _mm256_add_epi16(step2[ 4], kOne); 473 step2[ 5] = _mm256_add_epi16(step2[ 5], kOne); 474 step2[ 6] = _mm256_add_epi16(step2[ 6], kOne); 475 step2[ 7] = _mm256_add_epi16(step2[ 7], kOne); 476 step2[ 8] = _mm256_add_epi16(step2[ 8], kOne); [all...] |
vp9_dct32x32_sse2.c | 81 const __m128i kOne = _mm_set1_epi16(1); 459 step2[ 0] = _mm_add_epi16(step2[ 0], kOne); 460 step2[ 1] = _mm_add_epi16(step2[ 1], kOne); 461 step2[ 2] = _mm_add_epi16(step2[ 2], kOne); 462 step2[ 3] = _mm_add_epi16(step2[ 3], kOne); 463 step2[ 4] = _mm_add_epi16(step2[ 4], kOne); 464 step2[ 5] = _mm_add_epi16(step2[ 5], kOne); 465 step2[ 6] = _mm_add_epi16(step2[ 6], kOne); 466 step2[ 7] = _mm_add_epi16(step2[ 7], kOne); 467 step2[ 8] = _mm_add_epi16(step2[ 8], kOne); [all...] |
vp9_dct_avx2.c | 34 const __m128i kOne = _mm_set1_epi16(1); 104 __m128i out01 = _mm_add_epi16(in0, kOne); 105 __m128i out23 = _mm_add_epi16(in2, kOne); 136 const __m128i kOne = _mm_set1_epi16(1); 139 __m128i out01 = _mm_add_epi16(in01, kOne); 140 __m128i out23 = _mm_add_epi16(in23, kOne); 559 const __m128i kOne = _mm_set1_epi16(1); 571 __m128i k_const_rounding = _mm_slli_epi16(kOne, bit_m02); [all...] |
vp9_dct_sse2.c | 237 const __m128i kOne = _mm_set1_epi16(1); 240 __m128i out01 = _mm_add_epi16(in01, kOne); 241 __m128i out23 = _mm_add_epi16(in23, kOne); 660 const __m128i kOne = _mm_set1_epi16(1); 672 __m128i k_const_rounding = _mm_slli_epi16(kOne, bit_m02); [all...] |
/external/v8/src/ |
bit-vector.h | 63 static const uintptr_t kOne = 1; // This saves some static_casts. 98 return (block & (kOne << (i % kDataBits))) != 0; 103 data_[i / kDataBits] |= (kOne << (i % kDataBits)); 110 data_[i / kDataBits] &= ~(kOne << (i % kDataBits));
|
utils.h | 249 static const U kOne = static_cast<U>(1U); 250 static const U kMask = ((kOne << shift) << size) - (kOne << shift); 256 static const T kMax = static_cast<T>((kOne << size) - 1); [all...] |
/external/webrtc/webrtc/modules/audio_processing/intelligibility/ |
intelligibility_enhancer.cc | 282 static const size_t kOne = 1; // Avoids repeated static_cast<>s below. 284 center_freqs_[max(kOne, i - lf) - 1] * freqs_ / 287 center_freqs_[max(kOne, i) - 1] * freqs_ / (0.5f * sample_rate_hz_))); 288 lll = min(freqs_, max(lll, kOne)) - 1; 289 ll = min(freqs_, max(ll, kOne)) - 1; 297 rrr = min(freqs_, max(rrr, kOne)) - 1; 298 rr = min(freqs_, max(rr, kOne)) - 1;
|
/external/boringssl/src/crypto/bn/ |
bn.c | 170 static const BIGNUM kOne = STATIC_BIGNUM(kOneLimbs); 172 return &kOne;
|
/external/skia/gm/ |
bleed.cpp | 125 static const uint8_t kOne = 0xFF; 127 kPremul_SkAlphaType, kZero, kOne, k3Q, kHalf); 274 static const uint8_t kOne = 0xFF; 277 ctx, result, width, height, kAlpha_8_GrPixelConfig, kZero, kOne, k3Q, kHalf, k1Q);
|
/system/core/libmincrypt/ |
p256_ec.c | 71 /* kOne is the number 1 as an felem. It's 2**257 mod p split up into 29 and 73 static const felem kOne = { [all...] |
/external/libvpx/libvpx/vp9/encoder/x86/ |
vp9_dct_sse2.c | 43 const __m128i kOne = _mm_set1_epi16(1); 46 __m128i out01 = _mm_add_epi16(in01, kOne); 47 __m128i out23 = _mm_add_epi16(in23, kOne); [all...] |
/external/vixl/test/ |
test-assembler-a64.cc | [all...] |