/external/webkit/WebCore/platform/graphics/ |
UnitBezier.h | 67 double t2; local 73 for (t2 = x, i = 0; i < 8; i++) { 74 x2 = sampleCurveX(t2) - x; 76 return t2; 77 d2 = sampleCurveDerivativeX(t2); 80 t2 = t2 - x2 / d2; 86 t2 = x; 88 if (t2 < t0) 90 if (t2 > t1 [all...] |
/external/dropbear/libtommath/ |
bn_mp_lcm.c | 22 mp_int t1, t2; local 25 if ((res = mp_init_multi (&t1, &t2, NULL)) != MP_OKAY) { 36 /* store quotient in t2 such that t2 * b is the LCM */ 37 if ((res = mp_div(a, &t1, &t2, NULL)) != MP_OKAY) { 40 res = mp_mul(b, &t2, c); 42 /* store quotient in t2 such that t2 * a is the LCM */ 43 if ((res = mp_div(b, &t1, &t2, NULL)) != MP_OKAY) { 46 res = mp_mul(a, &t2, c) [all...] |
bn_mp_n_root.c | 30 mp_int t1, t2, t3; local 42 if ((res = mp_init (&t2)) != MP_OKAY) { 54 /* t2 = 2 */ 55 mp_set (&t2, 2); 58 /* t1 = t2 */ 59 if ((res = mp_copy (&t2, &t1)) != MP_OKAY) { 63 /* t2 = t1 - ((t1**b - a) / (b * t1**(b-1))) */ 71 /* t2 = t1**b */ 72 if ((res = mp_mul (&t3, &t1, &t2)) != MP_OKAY) { 76 /* t2 = t1**b - a * [all...] |
bn_mp_sqrt.c | 22 mp_int t1,t2; local 39 if ((res = mp_init(&t2)) != MP_OKAY) { 47 if ((res = mp_div(arg,&t1,&t2,NULL)) != MP_OKAY) { 50 if ((res = mp_add(&t1,&t2,&t1)) != MP_OKAY) { 58 if ((res = mp_div(arg,&t1,&t2,NULL)) != MP_OKAY) { 61 if ((res = mp_add(&t1,&t2,&t1)) != MP_OKAY) { 67 /* t1 >= sqrt(arg) >= t2 at this point */ 68 } while (mp_cmp_mag(&t1,&t2) == MP_GT); 72 E1: mp_clear(&t2);
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ltc_ecc_map.c | 35 void *t1, *t2; local 42 if ((err = mp_init_multi(&t1, &t2, NULL)) != CRYPT_OK) { 53 if ((err = mp_sqr(t1, t2)) != CRYPT_OK) { goto done; } 54 if ((err = mp_mod(t2, modulus, t2)) != CRYPT_OK) { goto done; } 55 if ((err = mp_mul(t1, t2, t1)) != CRYPT_OK) { goto done; } 59 if ((err = mp_mul(P->x, t2, P->x)) != CRYPT_OK) { goto done; } 67 mp_clear_multi(t1, t2, NULL);
|
ltc_ecc_projective_add_point.c | 37 void *t1, *t2, *x, *y, *z; local 46 if ((err = mp_init_multi(&t1, &t2, &x, &y, &z, NULL)) != CRYPT_OK) { 56 mp_clear_multi(t1, t2, x, y, z, NULL); 83 /* T2 = X' * T1 */ 84 if ((err = mp_mul(Q->x, t1, t2)) != CRYPT_OK) { goto done; } 85 if ((err = mp_montgomery_reduce(t2, modulus, mp)) != CRYPT_OK) { goto done; } 108 /* X = X - T2 */ 109 if ((err = mp_sub(x, t2, x)) != CRYPT_OK) { goto done; } 113 /* T2 = 2T2 */ [all...] |
ltc_ecc_projective_dbl_point.c | 36 void *t1, *t2; local 44 if ((err = mp_init_multi(&t1, &t2, NULL)) != CRYPT_OK) { 66 /* T2 = X - T1 */ 67 if ((err = mp_sub(R->x, t1, t2)) != CRYPT_OK) { goto done; } 68 if (mp_cmp_d(t2, 0) == LTC_MP_LT) { 69 if ((err = mp_add(t2, modulus, t2)) != CRYPT_OK) { goto done; } 76 /* T2 = T1 * T2 */ 77 if ((err = mp_mul(t1, t2, t2)) != CRYPT_OK) { goto done; [all...] |
/external/iptables/extensions/ |
rename-dups.sh | 4 t2=`mktemp` 7 cat $t1 | sort -u > $t2 8 for f in `diff $t1 $t2 | grep "< " | awk -F"< " '{print $2}'`; do 15 rm -f $t1 $t2
|
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/ |
calc_cor.cpp | 228 Word32 t2; local 238 t2 = 0; 249 t2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1), t2); 254 t2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1), t2); 260 *(corr++) = t2 << 1;
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
calc_cor.cpp | 228 Word32 t2; local 238 t2 = 0; 249 t2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1), t2); 254 t2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1), t2); 260 *(corr++) = t2 << 1;
|
/external/dropbear/libtomcrypt/testprof/ |
x86_prof.c | 107 ulong64 c1, c2, t1, t2, t3; local 115 t2 = (t_read() - t1)>>1; 118 c2 = (t2 > c2) ? t2 : c2; 294 ulong64 t1, t2, c1, c2, a1, a2; local 319 t2 = t_read(); 320 t2 -= t1; 323 c2 = (t2 > c2 ? c2 : t2); 338 t2 = t_read() 366 ulong64 t1, t2, c1, c2, a1, a2; local 441 ulong64 t1, t2, c1, c2, a1, a2; local 516 ulong64 t1, t2, c1, c2, a1, a2; local 593 ulong64 t1, t2, c1, c2; local 647 ulong64 t1, t2; local 678 ulong64 t1, t2; local 712 ulong64 t1, t2; local 767 ulong64 t1, t2; local 812 ulong64 t1, t2; local 936 ulong64 t1, t2; local 1006 ulong64 t1, t2; local 1153 ulong64 t1, t2; local 1285 ulong64 t1, t2; local [all...] |
/external/openssl/crypto/dh/ |
dh_gen.c | 107 BIGNUM *t1,*t2; local 115 t2 = BN_CTX_get(ctx); 116 if (t1 == NULL || t2 == NULL) goto err; 130 if (!BN_set_word(t2,11)) goto err; 137 if (!BN_set_word(t2,5)) goto err; 144 if (!BN_set_word(t2,3)) goto err; 156 if (!BN_set_word(t2,1)) goto err; 160 if(!BN_generate_prime_ex(ret->p,prime_len,1,t1,t2,cb)) goto err;
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
TransformationTest.java | 49 final Transformation t2 = new Transformation(); local 51 t2.setAlpha(0.4f); 53 t2.getMatrix().setScale(3, 1); 55 t2.setTransformationType(Transformation.TYPE_ALPHA); 56 t2.compose(t1); 60 assertEquals(expectedMatrix, t2.getMatrix()); 61 assertEquals(0.4f * 0.5f, t2.getAlpha()); 62 assertEquals(Transformation.TYPE_ALPHA, t2.getTransformationType()); 65 t2.compose(t1); 68 assertEquals(expectedMatrix, t2.getMatrix()) 80 final Transformation t2 = new Transformation(); local 146 final Transformation t2 = new Transformation(); local [all...] |
/external/qemu/ |
def-helper.h | 95 #define DEF_HELPER_2(name, ret, t1, t2) \ 96 DEF_HELPER_FLAGS_2(name, 0, ret, t1, t2) 97 #define DEF_HELPER_3(name, ret, t1, t2, t3) \ 98 DEF_HELPER_FLAGS_3(name, 0, ret, t1, t2, t3) 99 #define DEF_HELPER_4(name, ret, t1, t2, t3, t4) \ 100 DEF_HELPER_FLAGS_4(name, 0, ret, t1, t2, t3, t4) 113 #define DEF_HELPER_FLAGS_2(name, flags, ret, t1, t2) \ 114 dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2)); 116 #define DEF_HELPER_FLAGS_3(name, flags, ret, t1, t2, t3) \ 117 dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2), dh_ctype(t3)) [all...] |
/external/kernel-headers/original/linux/netfilter_ipv4/ |
ip_conntrack_tuple.h | 114 const struct ip_conntrack_tuple *t2) 116 return t1->src.ip == t2->src.ip 117 && t1->src.u.all == t2->src.u.all; 121 const struct ip_conntrack_tuple *t2) 123 return t1->dst.ip == t2->dst.ip 124 && t1->dst.u.all == t2->dst.u.all 125 && t1->dst.protonum == t2->dst.protonum; 129 const struct ip_conntrack_tuple *t2) 131 return ip_ct_tuple_src_equal(t1, t2) && ip_ct_tuple_dst_equal(t1, t2); [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
perf_unittest.c | 27 TIME_STRUCT t1, t2; local 30 TIME_SET(t2, 2, 123456); 37 assert(TIME_DELTA(t2, t1) == 123457); /* DELTA */ 39 TIME_COPY(t2, t1); /* COPY */ 40 assert(TIME_MICROSECONDS(t2) == 999999); 41 assert(TIME_SECONDS(t2) == 1); 52 assert(TIME_DELTA(t2, t1) == 1000000); /* DELTA */ 54 TIME_COPY(t2, t1); /* COPY */ 55 assert(TIME_MICROSECONDS(t2) == 0); 56 assert(TIME_SECONDS(t2) == 1) 72 TIME_STRUCT t1, t2, t3; local [all...] |
/external/dropbear/libtommath/etc/ |
tune.c | 117 ulong64 t1, t2; local 122 t2 = time_mult(x, 1); 123 printf("%d: %9llu %9llu, %9llu\n", x, t1, t2, t2 - t1); 124 if (t2 < t1) break; 130 t2 = time_sqr(x, 1); 131 printf("%d: %9llu %9llu, %9llu\n", x, t1, t2, t2 - t1); 132 if (t2 < t1) break;
|
/external/speex/libspeex/ |
smallft.c | 119 int t0,t1,t2,t3,t4,t5,t6; local 122 t0=(t2=l1*ido); 125 ch[t1<<1]=cc[t1]+cc[t2]; 126 ch[(t1<<1)+t3-1]=cc[t1]-cc[t2]; 128 t2+=ido; 135 t2=t0; 137 t3=t2; 154 t2+=ido; 160 t3=(t2=(t1=ido)-1); 161 t2+=t0 174 int i,k,t0,t1,t2,t3,t4,t5,t6; local 278 int t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10; local 637 int i,k,t0,t1,t2,t3,t4,t5,t6; local 692 int i,k,t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10; local 754 int i,k,t0,t1,t2,t3,t4,t5,t6,t7,t8; local 845 int idij,ipph,i,j,k,l,ik,is,t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10, local [all...] |
/system/extras/tests/bionic/libc/common/ |
test_pthread_join.c | 65 pthread_t t1, t2, t3; local 68 pthread_create( &t2, NULL, thread2_func, (void*)t1 ); 71 pthread_join(t2, NULL);
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/dreturn/jm/ |
T_dreturn_7.java | 42 Thread t2 = new Thread(test); local 45 t2.start();
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/freturn/jm/ |
T_freturn_7.java | 42 Thread t2 = new Thread(test); local 45 t2.start();
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/invokespecial/jm/ |
T_invokespecial_22.java | 41 Thread t2 = new Thread(test); local 44 t2.start();
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/invokestatic/jm/ |
T_invokestatic_12.java | 41 Thread t2 = new Thread(test); local 44 t2.start();
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/invokevirtual/jm/ |
T_invokevirtual_2.java | 41 Thread t2 = new Thread(test); local 44 t2.start();
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/ireturn/jm/ |
T_ireturn_7.java | 42 Thread t2 = new Thread(test); local 45 t2.start();
|