/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkGradientShader.cpp | 278 void SkGradientShaderBase::Build16bitCache(uint16_t cache[], SkColor c0, SkColor c1, 282 SkASSERT(SkColorGetA(c1) == 0xFF); 288 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); 289 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); 290 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1); 327 void SkGradientShaderBase::Build32bitCache(SkPMColor cache[], SkColor c0, SkColor c1, 333 uint32_t a1 = SkMulDiv255Round(SkColorGetA(c1), paintAlpha); 343 uint32_t r1 = SkColorGetR(c1); 344 uint32_t g1 = SkColorGetG(c1); 345 uint32_t b1 = SkColorGetB(c1); [all...] |
/external/lzma/C/ |
Ppmd7.c | 392 CTX_PTR c1; /* = AllocContext(p); */
local 394 c1 = (CTX_PTR)(p->HiUnit -= UNIT_SIZE);
396 c1 = (CTX_PTR)RemoveNode(p, 0);
399 c1 = (CTX_PTR)AllocUnitsRare(p, 0);
400 if (!c1)
403 c1->NumStats = 1;
404 *ONE_STATE(c1) = upState;
405 c1->Suffix = REF(c);
406 SetSuccessor(ps[--numPs], REF(c1));
407 c = c1;
[all...] |
/external/skia/src/effects/gradients/ |
SkGradientShader.cpp | 278 void SkGradientShaderBase::Build16bitCache(uint16_t cache[], SkColor c0, SkColor c1, 282 SkASSERT(SkColorGetA(c1) == 0xFF); 288 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); 289 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); 290 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1); 327 void SkGradientShaderBase::Build32bitCache(SkPMColor cache[], SkColor c0, SkColor c1, 333 uint32_t a1 = SkMulDiv255Round(SkColorGetA(c1), paintAlpha); 343 uint32_t r1 = SkColorGetR(c1); 344 uint32_t g1 = SkColorGetG(c1); 345 uint32_t b1 = SkColorGetB(c1); [all...] |
/frameworks/native/opengl/libagl/ |
primitives.cpp | 31 int32_t* it, int32_t c0, int32_t c1, int32_t c2); 304 int32_t c0, int32_t c1, int32_t c2) const 306 int32_t dc01 = c1 - c0; 332 GGLfixed c0, GGLfixed c1, GGLfixed c2) const 334 const GGLfixed dc01 = c1 - c0; 348 int32_t c0, int32_t c1, int32_t c2) const 351 int32_t dc01 = (c1 - c0)>>s; 363 int32_t c0, int32_t c1, int32_t c2) const 365 ::iterators0032(this, it, c0, c1, c2); 369 int32_t c0, int32_t c1, int32_t c2) cons 652 const GGLcolor c1 = v1->color.v[i] * 255; local [all...] |
/external/valgrind/main/perf/ |
test_input_for_tinycc.c | 2182 UChar c1, c2; local 2502 UChar c1; local [all...] |
/external/apache-http/src/org/apache/commons/logging/impl/ |
LogFactoryImpl.java | [all...] |
/external/ceres-solver/include/ceres/ |
rotation.h | 452 const T c1 = cos(yaw); local 459 R(0, 0) = c1*c2; 460 R(0, 1) = -s1*c3 + c1*s2*s3; 461 R(0, 2) = s1*s3 + c1*s2*c3; 464 R(1, 1) = c1*c3 + s1*s2*s3; 465 R(1, 2) = -c1*s3 + s1*s2*c3;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
FontTest.cpp | 59 static UChar c1[] = { 0x0 }; local 60 EXPECT_EQ(Font::Simple, Font::characterRangeCodePath(c1, 1)); 109 static UChar c1[] = { 0xD800, 0xDBFE }; local 110 EXPECT_EQ(Font::Simple, Font::characterRangeCodePath(c1, 2)); 150 static UChar c1[] = { 0x2FF, 0x2FF }; local 151 EXPECT_EQ(Font::Simple, Font::characterRangeCodePath(c1, 2));
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
dtlstransportchannel_unittest.cc | 353 void PrepareDtls(bool c1, bool c2) { 354 if (c1) { 360 if (c1 && c2) 363 void PrepareDtlsSrtp(bool c1, bool c2) { 367 if (c1) 372 if (c1 && c2)
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_rast_tri.c | 78 int c1 = c0 + dcdy; local 79 int c2 = c1 + dcdy; 86 mask |= ((c1 + 0 * dcdx) >> 31) & (1 << 4); 87 mask |= ((c1 + 1 * dcdx) >> 31) & (1 << 5); 88 mask |= ((c1 + 2 * dcdx) >> 31) & (1 << 6); 89 mask |= ((c1 + 3 * dcdx) >> 31) & (1 << 7);
|
/external/chromium_org/third_party/openssl/openssl/crypto/des/ |
DES.xs | 257 des_cblock c1,c2; 260 des_string_to_2keys(str,&c1,&c2); 263 sv_setpvn(s1,(char *)c1,8);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_rast_tri.c | 78 int c1 = c0 + dcdy; local 79 int c2 = c1 + dcdy; 86 mask |= ((c1 + 0 * dcdx) >> 31) & (1 << 4); 87 mask |= ((c1 + 1 * dcdx) >> 31) & (1 << 5); 88 mask |= ((c1 + 2 * dcdx) >> 31) & (1 << 6); 89 mask |= ((c1 + 3 * dcdx) >> 31) & (1 << 7);
|
/external/openssl/crypto/des/ |
DES.xs | 257 des_cblock c1,c2; 260 des_string_to_2keys(str,&c1,&c2); 263 sv_setpvn(s1,(char *)c1,8);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_gc.py | 557 c1 = C1055820(1) 558 c1.keep_c0_alive = c0 559 del c0.loop # now only c1 keeps c0 alive 571 c0 = c1 = c2 = None 573 # What we've set up: c0, c1, and c2 are all trash now. c0 is in 574 # generation 2. The only thing keeping it alive is that c1 points to 575 # it. c1 and c2 are in generation 0, and are in self-loops. There's a 588 # ^->c1 ^->c2 has a wr but no callback 593 # that c2 has a callback-free weakref, and c1 doesn't even have a 595 # the only object that has a weakref with a callback. gc clears c1 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_gc.py | 557 c1 = C1055820(1) 558 c1.keep_c0_alive = c0 559 del c0.loop # now only c1 keeps c0 alive 571 c0 = c1 = c2 = None 573 # What we've set up: c0, c1, and c2 are all trash now. c0 is in 574 # generation 2. The only thing keeping it alive is that c1 points to 575 # it. c1 and c2 are in generation 0, and are in self-loops. There's a 588 # ^->c1 ^->c2 has a wr but no callback 593 # that c2 has a callback-free weakref, and c1 doesn't even have a 595 # the only object that has a weakref with a callback. gc clears c1 [all...] |
/bionic/tests/ |
string_test.cpp | 716 int c1 = random() & 0xff; local 718 memset(state.ptr1, c1, state.MAX_LEN); 719 memset(state.ptr2, c1, state.MAX_LEN); 724 int expected = (static_cast<int>(c1) - static_cast<int>(c2)); 743 unsigned short c1 = rand() & mask; local 746 std::fill(state.ptr1, state.ptr1 + state.MAX_LEN, c1); 747 std::fill(state.ptr2, state.ptr2 + state.MAX_LEN, c1); 752 int expected = (static_cast<unsigned short>(c1) - static_cast<unsigned short>(c2)); 769 int c1 = rand() & mask; local 771 wmemset(state.ptr1, c1, state.MAX_LEN) [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XString.java | 437 char c1 = this.charAt(i); local 440 if (c1 != c2) 442 return c1 - c2; [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
bn_prime.c | 164 int i,j,c1=0; local 193 if(!BN_GENCB_call(cb, 0, c1++)) 221 if(!BN_GENCB_call(cb, 2, c1-1))
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AtomicDoubleArrayTest.java | 321 Counter c1 = new Counter(aa); local 323 Thread t1 = newStartedThread(c1); 327 assertEquals(c1.counts + c2.counts, SIZE * COUNTDOWN);
|
/external/libvpx/libvpx/vp8/encoder/ |
encodemv.c | 269 const int c1 = events [mv_max + j]; /* positive */ local 271 const int c = c1 + c2; 274 sign_ct [0] += c1;
|
/external/linux-tools-perf/util/ |
help.c | 256 const struct cmdname *const *c1 = p1, *const *c2 = p2; local 257 const char *s1 = (*c1)->name, *s2 = (*c2)->name; 258 int l1 = (*c1)->len;
|
/external/openssl/crypto/bn/ |
bn_prime.c | 164 int i,j,c1=0; local 193 if(!BN_GENCB_call(cb, 0, c1++)) 221 if(!BN_GENCB_call(cb, 2, c1-1))
|
/external/speex/libspeex/ |
filters.c | 674 spx_word16_t c1, c2; local 764 c1 = (MULT16_16_Q15(QCONST16(.4,15),comb_gain)+QCONST16(.07,15)); 765 c2 = QCONST16(.5,15)+MULT16_16_Q14(QCONST16(1.72,14),(c1-QCONST16(.07,15))); 767 c1 = .4*comb_gain+.07; 768 c2 = .5+1.72*(c1-.07); 772 c1=c2=0; 781 if (g1<c1) 782 g1 = c1; 783 if (g2<c1) 784 g2 = c1; [all...] |
/frameworks/base/core/java/android/net/ |
UrlQuerySanitizer.java | 860 char c1 = string.charAt(i + 1); local 862 if (isHexDigit(c1) && isHexDigit(c2)) { 863 c = (char) (decodeHexDigit(c1) * 16 + decodeHexDigit(c2));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
ModelInterpreter.java | 473 char c1 = 0; local 479 c1 = command.charAt(7); 482 success = mSimulatedCallState.onChld(c0, c1);
|