/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorPickerDialog.java | 129 int c0 = colors[i]; local 131 int a = ave(Color.alpha(c0), Color.alpha(c1), p); 132 int r = ave(Color.red(c0), Color.red(c1), p); 133 int g = ave(Color.green(c0), Color.green(c1), p); 134 int b = ave(Color.blue(c0), Color.blue(c1), p);
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
ColorWheel.java | 146 int c0 = colors[i]; local 148 int a = ave(Color.alpha(c0), Color.alpha(c1), p); 149 int r = ave(Color.red(c0), Color.red(c1), p); 150 int g = ave(Color.green(c0), Color.green(c1), p); 151 int b = ave(Color.blue(c0), Color.blue(c1), p);
|
/external/chromium_org/third_party/boringssl/src/crypto/bn/ |
generic.c | 651 /* mul_add_c(a,b,c0,c1,c2) -- c+=a*b for three word number c=(c2,c1,c0) */ 652 /* mul_add_c2(a,b,c0,c1,c2) -- c+=2*a*b for three word number c=(c2,c1,c0) */ 653 /* sqr_add_c(a,i,c0,c1,c2) -- c+=a[i]^2 for three word number c=(c2,c1,c0) */ 654 /* sqr_add_c2(a,i,c0,c1,c2) -- c+=2*a[i]*a[j] for three word number c=(c2,c1,c0) */ 657 #define mul_add_c(a, b, c0, c1, c2) \ 661 c0 = (c0 + t1) & BN_MASK2; 1103 BN_ULONG c0, c1, ml, *tp, n0; local [all...] |
/external/chromium_org/third_party/libwebp/dsp/ |
lossless_neon.c | 159 const uint8x8_t c0 = vreinterpret_u8_u64(vcreate_u64(*c)); local 160 const uint8x8_t avg1 = vhadd_u8(a0, c0); 171 const uint8x8_t c0 = vreinterpret_u8_u64(vcreate_u64(*c)); local 174 const uint8x8_t avg2 = vhadd_u8(c0, d0); 207 static WEBP_INLINE uint32_t Select(const uint32_t* const c0, 210 const uint8x8_t p0 = vreinterpret_u8_u64(vcreate_u64(*c0)); 219 return (pa_minus_pb <= 0) ? *c0 : *c1; 226 static WEBP_INLINE uint32_t ClampedAddSubtractFull(const uint32_t* const c0, 229 const uint8x8_t p0 = vreinterpret_u8_u64(vcreate_u64(*c0)); 242 static WEBP_INLINE uint32_t ClampedAddSubtractHalf(const uint32_t* const c0, [all...] |
/external/chromium_org/third_party/skia/tests/ |
RegionTest.cpp | 147 bool c0 = a.contains(b); local 149 REPORTER_ASSERT(reporter, c0 == c1); 154 c0 = a.contains(r); 156 REPORTER_ASSERT(reporter, c0 == c1); 175 bool c0 = a.intersects(b); local 177 REPORTER_ASSERT(reporter, c0 == c1);
|
ImageDecodingTest.cpp | 129 // "c0" is the color of the premultiplied bitmap at (i, j). 130 const SkPMColor c0 = *bm8888.getAddr32(i, j); local 135 int da = SkAbs32(SkGetPackedA32(c0) - SkGetPackedA32(c1)); 136 int dr = SkAbs32(SkGetPackedR32(c0) - SkGetPackedR32(c1)); 137 int dg = SkAbs32(SkGetPackedG32(c0) - SkGetPackedG32(c1)); 138 int db = SkAbs32(SkGetPackedB32(c0) - SkGetPackedB32(c1));
|
WritePixelsTest.cpp | 141 unsigned c0 = SkGetPackedR32(color); local 144 c0 = SkMulDiv255Ceiling(c0, a); 147 return SkPackARGB32NoCheck(a, c0, c1, c2);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
filterbanks_mips.c | 115 int32_t c0, c1, c2, c3; local 122 "lh %[c0], 0(%[coeff_ptr]) \n\t" 136 : [c0] "=&r" (c0), [c1] "=&r" (c1), [c2] "=&r" (c2), [c3] "=&r" (c3), 171 "mul %[t2], %[c0], %[state0_lo] \n\t" 173 "mul %[t1], %[c0], %[state0_hi] \n\t" 211 : [c0] "r" (c0), [c1] "r" (c1), [c2] "r" (c2), [c3] "r" (c3),
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.enum/ |
p1.cpp | 70 C<long long>::E c0 = C<long long>::E::e3; member in struct:C
|
/external/clang/test/Layout/ |
ms-x86-empty-virtual-base.cpp | 14 struct C0 { int a; C0() : a(0xf00000C0) {printf("C0 : %3d\n", ((int)(__SIZE_TYPE__)this)&0xfff);} }; 111 C0 c0; member in struct:D 125 // CHECK: 8 | struct C0 c0 141 // CHECK-X64: 8 | struct C0 c0 152 struct E : virtual B0, virtual C0, virtual C1, virtual C2, virtual B1 [all...] |
/external/clang/test/SemaCXX/ |
attr-deprecated.cpp | 216 c0 // expected-note {{'c0' has been explicitly marked deprecated here}} enumerator in enum:test6::C::Enum 221 x = C<int>::c0; // expected-warning {{'c0' is deprecated}}
|
scope-check.cpp | 80 C c0; local 97 C c0; local 117 C c0; local 227 C c0 = 42; // expected-note {{jump exits scope of variable with non-trivial destructor}} local 239 const C c0 = 17; local 242 const C &c2 = c0;
|
/external/eigen/Eigen/src/SparseLU/ |
SparseLU_gemm_kernel.h | 84 Packet a0, a1, a2, a3, c0, c1, t0, t1; local 91 Scalar* C0 = C+ib+(j+0)*ldc; 109 c0 = pload<Packet>(C0+i+(I)*PacketSize); \ 111 KMADD(c0, a0, b00, t0) \ 114 KMADD(c0, a1, b10, t0) \ 117 if(RK==4) KMADD(c0, a2, b20, t0) \ 120 if(RK==4) KMADD(c0, a3, b30, t0) \ 123 pstore(C0+i+(I)*PacketSize, c0); \ 183 Packet a0, a1, a2, a3, c0, t0\/*, t1*\/; local [all...] |
/external/libcxx/src/ |
debug.cpp | 328 __c_node* c0 = i0 != nullptr ? i0->__c_ : nullptr; local 332 if (c != c0) 339 if (c0 != nullptr) 341 i->__c_ = c0;
|
/external/openssl/crypto/bn/ |
bn_asm.c | 436 /* mul_add_c(a,b,c0,c1,c2) -- c+=a*b for three word number c=(c2,c1,c0) */ 437 /* mul_add_c2(a,b,c0,c1,c2) -- c+=2*a*b for three word number c=(c2,c1,c0) */ 438 /* sqr_add_c(a,i,c0,c1,c2) -- c+=a[i]^2 for three word number c=(c2,c1,c0) */ 439 /* sqr_add_c2(a,i,c0,c1,c2) -- c+=2*a[i]*a[j] for three word number c=(c2,c1,c0) */ 442 #define mul_add_c(a,b,c0,c1,c2) \ 446 c0=(c0+t1)&BN_MASK2; if ((c0) < t1) t2++; 849 BN_ULONG c0,c1,ml,*tp,n0; local 988 BN_ULONG c0,c1,*tp,n0=*n0p; local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
Kube.java | 44 float c0 = -1.0f; local 52 mCubes[0] = new Cube(world, c0, c4, c0, c1, c5, c1); 53 mCubes[1] = new Cube(world, c2, c4, c0, c3, c5, c1); 54 mCubes[2] = new Cube(world, c4, c4, c0, c5, c5, c1); 56 mCubes[3] = new Cube(world, c0, c4, c2, c1, c5, c3); 60 mCubes[6] = new Cube(world, c0, c4, c4, c1, c5, c5); 64 mCubes[9] = new Cube(world, c0, c2, c0, c1, c3, c1); 65 mCubes[10] = new Cube(world, c2, c2, c0, c3, c3, c1) [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestTrees.java | 82 CommonTree c0, c1, c2; local 83 r0.addChild(c0=new CommonTree(new CommonToken(101))); 89 assertEquals(r0, c0.parent); 90 assertEquals(0, c0.childIndex); 104 CommonTree c0, c1, c2; local 105 r0.addChild(c0=new CommonTree(new CommonToken(101))); 114 assertEquals(root, c0.parent); 115 assertEquals(0, c0.childIndex); 116 assertEquals(root, c0.parent); 118 assertEquals(root, c0.parent) 130 CommonTree c0, c1, c2; local 254 CommonTree c0 = new CommonTree(new CommonToken(99, "b")); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_rast_tri.c | 77 int c0 = c; local 78 int c1 = c0 + dcdy; 82 mask |= ((c0 + 0 * dcdx) >> 31) & (1 << 0); 83 mask |= ((c0 + 1 * dcdx) >> 31) & (1 << 1); 84 mask |= ((c0 + 2 * dcdx) >> 31) & (1 << 2); 85 mask |= ((c0 + 3 * dcdx) >> 31) & (1 << 3);
|
/external/chromium_org/third_party/skia/gm/ |
gradients.cpp | 273 SkPoint c0; local 274 c0.iset(-80, 25); 279 SkShader* s = SkGradientShader::CreateTwoPointRadial(c0, r0, c1, r1, colors,
|
/external/eigen/Eigen/src/Eigenvalues/ |
SelfAdjointEigenSolver.h | 503 // The characteristic equation is x^3 - c2*x^2 + c1*x - c0 = 0. The 506 Scalar c0 = m(0,0)*m(1,1)*m(2,2) + Scalar(2)*m(1,0)*m(2,0)*m(2,1) - m(0,0)*m(2,1)*m(2,1) - m(1,1)*m(2,0)*m(2,0) - m(2,2)*m(1,0)*m(1,0); local 517 Scalar half_b = Scalar(0.5)*(c0 + c2_over_3*(Scalar(2)*c2_over_3*c2_over_3 - c1));
|
/external/eigen/unsupported/Eigen/src/SVD/ |
BDCSVD.h | 375 RealScalar lambda, phi, c0, s0; local 429 c0 = 1; 434 c0 = alphaK * lambda / r0; 445 // we shift q1 at the left with a factor c0 446 m_naiveU.col(firstCol).segment( firstCol, k + 1) << (q1 * c0); 452 // q2 *= c0 453 m_naiveU.col(lastCol + 1).segment(firstCol + k + 1, n - k) *= c0; 463 // we shift q1 at the left with a factor c0 464 m_naiveU(0, firstCol) = (q1 * c0); 469 // q2 *= c0 [all...] |
/external/llvm/lib/Support/ |
raw_ostream.cpp | 250 int c0 = buf[len - 1]; local 252 isdigit(static_cast<unsigned char>(c0))) { 255 buf[len - 2] = c0;
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_rast_tri.c | 77 int c0 = c; local 78 int c1 = c0 + dcdy; 82 mask |= ((c0 + 0 * dcdx) >> 31) & (1 << 0); 83 mask |= ((c0 + 1 * dcdx) >> 31) & (1 << 1); 84 mask |= ((c0 + 2 * dcdx) >> 31) & (1 << 2); 85 mask |= ((c0 + 3 * dcdx) >> 31) & (1 << 3);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
bocu1tst.c | 59 * C0 control codes and space are encoded with their US-ASCII bytes. 60 * "prev" is reset for C0 controls but not for space. 78 /* adjust trail byte counts for the use of some C0 control byte values */ 132 * 12 commonly used C0 control codes (and space) are only used to encode 155 * The other 20 C0 controls are also encoded directly (to preserve order) 382 * ISO C0 control & space: 471 /* skip some C0 controls and make the trail byte range contiguous */ 551 * Direct-encoded C0 control code or space. 552 * Reset prev for C0 control codes but not for space. 630 * Unpack a packed BOCU-1 non-C0/space byte sequence and ge 948 static const UChar c0[]={ 1, 0xe40, 0x20, 9 }; variable [all...] |
/external/chromium_org/v8/src/ |
json-parser.h | 111 uint8_t c0 = input_chars[i]; local 112 if (c0 != expected_chars[i] || 113 c0 == '"' || c0 < 0x20 || c0 == '\\') { 723 uc32 c0 = c0_; local 725 if (c0 == '\\') { 726 c0_ = c0; 733 if (c0 < 0x20) return Handle<String>::null(); 734 if (static_cast<uint32_t>(c0) > [all...] |