/external/dropbear/libtommath/ |
bn_mp_sqrt.c | 22 mp_int t1,t2; local 35 if ((res = mp_init_copy(&t1, arg)) != MP_OKAY) { 44 mp_rshd (&t1,t1.used/2); 46 /* t1 > 0 */ 47 if ((res = mp_div(arg,&t1,&t2,NULL)) != MP_OKAY) { 50 if ((res = mp_add(&t1,&t2,&t1)) != MP_OKAY) { 53 if ((res = mp_div_2(&t1,&t1)) != MP_OKAY) [all...] |
bn_mp_lcm.c | 22 mp_int t1, t2; local 25 if ((res = mp_init_multi (&t1, &t2, NULL)) != MP_OKAY) { 29 /* t1 = get the GCD of the two inputs */ 30 if ((res = mp_gcd (a, b, &t1)) != MP_OKAY) { 37 if ((res = mp_div(a, &t1, &t2, NULL)) != MP_OKAY) { 43 if ((res = mp_div(b, &t1, &t2, NULL)) != MP_OKAY) { 53 mp_clear_multi (&t1, &t2, NULL);
|
bn_mp_n_root.c | 30 mp_int t1, t2, t3; local 38 if ((res = mp_init (&t1)) != MP_OKAY) { 58 /* t1 = t2 */ 59 if ((res = mp_copy (&t2, &t1)) != MP_OKAY) { 63 /* t2 = t1 - ((t1**b - a) / (b * t1**(b-1))) */ 65 /* t3 = t1**(b-1) */ 66 if ((res = mp_expt_d (&t1, b - 1, &t3)) != MP_OKAY) { 71 /* t2 = t1**b * [all...] |
bn_mp_karatsuba_mul.c | 49 mp_int x0, x1, y0, y1, t1, x0y0, x1y1; local 72 if (mp_init_size (&t1, B * 2) != MP_OKAY) 75 goto T1; 126 if (s_mp_add (&x1, &x0, &t1) != MP_OKAY) 127 goto X1Y1; /* t1 = x1 - x0 */ 130 if (mp_mul (&t1, &x0, &t1) != MP_OKAY) 131 goto X1Y1; /* t1 = (x1 + x0) * (y1 + y0) */ 136 if (s_mp_sub (&t1, &x0, &t1) != MP_OKAY [all...] |
bn_mp_karatsuba_sqr.c | 27 mp_int x0, x1, t1, t2, x0x0, x1x1; local 45 if (mp_init_size (&t1, a->used * 2) != MP_OKAY) 48 goto T1; 84 if (s_mp_add (&x1, &x0, &t1) != MP_OKAY) 85 goto X1X1; /* t1 = x1 - x0 */ 86 if (mp_sqr (&t1, &t1) != MP_OKAY) 87 goto X1X1; /* t1 = (x1 - x0) * (x1 - x0) */ 92 if (s_mp_sub (&t1, &t2, &t1) != MP_OKAY [all...] |
/system/extras/tests/bionic/libc/common/ |
test_pthread_join.c | 43 pthread_t t1 = (pthread_t)arg; local 46 pthread_join(t1, &result); 55 pthread_t t1 = (pthread_t)arg; local 58 pthread_join(t1, &result); 65 pthread_t t1, t2, t3; local 67 pthread_create( &t1, NULL, thread1_func, NULL ); 68 pthread_create( &t2, NULL, thread2_func, (void*)t1 ); 69 pthread_create( &t3, NULL, thread3_func, (void*)t1 );
|
/system/core/libpixelflinger/tests/codegen/ |
codegen.cpp | 5 uint32_t n, uint32_t p, uint32_t t0, uint32_t t1); 17 uint32_t t1; local 18 sscanf(argv[1], "%08x:%08x_%08x_%08x", &p, &n, &t0, &t1); 19 ggl_test_codegen(n, p, t0, t1);
|
/system/extras/tests/bionic/libc/bionic/ |
test_pthread_create.c | 22 pthread_t t1, t2; local 24 pthread_create( &t1, NULL, thread1_func, (void *)1 ); 26 pthread_join(t1, NULL);
|
/bionic/libm/src/ |
e_hypotf.c | 26 float a=x,b=y,t1,t2,y1,y2,w; local 53 SET_FLOAT_WORD(t1,0x7e800000); /* t1=2^126 */ 54 b *= t1; 55 a *= t1; 68 SET_FLOAT_WORD(t1,ha&0xfffff000); 69 t2 = a-t1; 70 w = __ieee754_sqrtf(t1*t1-(b*(-b)-t2*(a+t1))); [all...] |
e_hypot.c | 34 * t1*y1+((x-y)*(x-y)+(t1*y2+t2*y)) 35 * where t1 = 2x with lower 32 bits cleared, t2 = 2x-t1, 56 double a=x,b=y,t1,t2,y1,y2,w; local 88 t1=0; 89 SET_HIGH_WORD(t1,0x7fd00000); /* t1=2^1022 */ 90 b *= t1; 91 a *= t1; [all...] |
/external/fdlibm/ |
e_hypot.c | 30 * t1*y1+((x-y)*(x-y)+(t1*y2+t2*y)) 31 * where t1 = 2x with lower 32 bits cleared, t2 = 2x-t1, 55 double a=x,b=y,t1,t2,y1,y2,w; local 80 t1=0; 81 __HI(t1) = 0x7fd00000; /* t1=2^1022 */ 82 b *= t1; 83 a *= t1; [all...] |
/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) { 50 if ((err = mp_invmod(P->z, modulus, t1)) != CRYPT_OK) { goto done; } 53 if ((err = mp_sqr(t1, t2)) != CRYPT_OK) { goto done; } 55 if ((err = mp_mul(t1, t2, t1)) != CRYPT_OK) { goto done; } 56 if ((err = mp_mod(t1, modulus, t1)) != CRYPT_OK) { goto done; } 61 if ((err = mp_mul(P->y, t1, P->y)) != CRYPT_OK) { goto done; } 67 mp_clear_multi(t1, t2, NULL) [all...] |
ecc_import.c | 28 void *prime, *b, *t1, *t2; local 31 if ((err = mp_init_multi(&prime, &b, &t1, &t2, NULL)) != CRYPT_OK) { 40 if ((err = mp_sqr(key->pubkey.y, t1)) != CRYPT_OK) { goto error; } 48 if ((err = mp_sub(t1, t2, t1)) != CRYPT_OK) { goto error; } 51 if ((err = mp_add(t1, key->pubkey.x, t1)) != CRYPT_OK) { goto error; } 52 if ((err = mp_add(t1, key->pubkey.x, t1)) != CRYPT_OK) { goto error; } 53 if ((err = mp_add(t1, key->pubkey.x, t1)) != CRYPT_OK) { goto error; [all...] |
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) { 51 if ((err = mp_sub(modulus, Q->y, t1)) != CRYPT_OK) { goto done; } 55 (mp_cmp(P->y, Q->y) == LTC_MP_EQ || mp_cmp(P->y, t1) == LTC_MP_EQ)) { 56 mp_clear_multi(t1, t2, x, y, z, NULL); 66 /* T1 = Z' * Z' */ 67 if ((err = mp_sqr(Q->z, t1)) != CRYPT_OK) { goto done; } 68 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } 69 /* X = X * T1 */ 70 if ((err = mp_mul(t1, x, x)) != CRYPT_OK) { goto done; [all...] |
/external/iptables/extensions/ |
rename-dups.sh | 3 t1=`mktemp` 6 ls *.c | tr [A-Z] [a-z] | sort > $t1 7 cat $t1 | sort -u > $t2 8 for f in `diff $t1 $t2 | grep "< " | awk -F"< " '{print $2}'`; do 15 rm -f $t1 $t2
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/monitorenter/ |
Test_monitorenter.java | 34 final T_monitorenter_1 t1 = new T_monitorenter_1(); local 35 Runnable r1 = new TestRunnable(t1); 36 Runnable r2 = new TestRunnable(t1); 44 assertEquals(2, t1.counter); 54 final T_monitorenter_2 t1 = new T_monitorenter_2(); local 55 Runnable r1 = new TestRunnable2(t1, 10); 56 Runnable r2 = new TestRunnable2(t1, 20); 64 assertTrue(t1.result); 110 private T_monitorenter_1 t1; field in class:TestRunnable 111 TestRunnable(T_monitorenter_1 t1) { [all...] |
/external/bluetooth/bluez/sbc/ |
sbc_primitives.c | 59 FIXED_A t1[4]; local 64 t1[0] = t1[1] = t1[2] = t1[3] = 69 t1[0] += (FIXED_A) in[hop] * consts[hop]; 70 t1[0] += (FIXED_A) in[hop + 1] * consts[hop + 1]; 71 t1[1] += (FIXED_A) in[hop + 2] * consts[hop + 2]; 72 t1[1] += (FIXED_A) in[hop + 3] * consts[hop + 3]; 73 t1[2] += (FIXED_A) in[hop + 4] * consts[hop + 4] 117 FIXED_A t1[8]; local [all...] |
/external/dropbear/libtommath/etc/ |
tune.c | 61 ulong64 t1; local 80 t1 = t_read(); 84 return t1; 91 ulong64 t1; local 108 t1 = t_read(); 111 return t1; 117 ulong64 t1, t2; local 121 t1 = time_mult(x, 0); 123 printf("%d: %9llu %9llu, %9llu\n", x, t1, t2, t2 - t1); [all...] |
/external/qemu/ |
def-helper.h | 93 #define DEF_HELPER_1(name, ret, t1) \ 94 DEF_HELPER_FLAGS_1(name, 0, ret, t1) 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) 110 #define DEF_HELPER_FLAGS_1(name, flags, ret, t1) \ 111 dh_ctype(ret) HELPER(name) (dh_ctype(t1)); [all...] |
/external/openssl/crypto/0.9.9-dev/sha/ |
sha512-armv4.pl | 38 $t1="r10"; 64 mov $t1,$Ehi,lsr#14 66 eor $t1,$t1,$Elo,lsl#18 68 eor $t1,$t1,$Ehi,lsr#18 70 eor $t1,$t1,$Elo,lsl#14 72 eor $t1,$t1,$Elo,lsr# [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/monitor_enter/ |
Test_monitor_enter.java | 34 final T_monitor_enter_1 t1 = new T_monitor_enter_1(); local 35 Runnable r1 = new TestRunnable(t1); 36 Runnable r2 = new TestRunnable(t1); 44 assertEquals(2, t1.counter); 54 final T_monitor_enter_2 t1 = new T_monitor_enter_2(); local 55 Runnable r1 = new TestRunnable2(t1, 10); 56 Runnable r2 = new TestRunnable2(t1, 20); 64 assertTrue(t1.result); 149 private T_monitor_enter_1 t1; field in class:TestRunnable 150 TestRunnable(T_monitor_enter_1 t1) { [all...] |
/external/dropbear/libtomcrypt/testprof/ |
x86_prof.c | 107 ulong64 c1, c2, t1, t2, t3; local 113 t1 = t_read(); 115 t2 = (t_read() - t1)>>1; 117 c1 = (t1 > c1) ? t1 : c1; 258 ulong64 t1, c1; local 276 t1 = t_read(); 277 c1 = (t1 > c1) ? c1 : t1; 279 t1 = c1 - skew 294 ulong64 t1, t2, c1, c2, a1, a2; local 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/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/ |
calc_cor.cpp | 227 Word32 t1; local 237 t1 = 0; 248 t1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1++), t1); 253 t1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1++), t1); 259 *(corr++) = t1 << 1;
|
/external/webkit/WebCore/platform/graphics/ |
UnitBezier.h | 66 double t1; local 85 t1 = 1.0; 90 if (t2 > t1) 91 return t1; 93 while (t0 < t1) { 100 t1 = t2; 101 t2 = (t1 - t0) * .5 + t0;
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
calc_cor.cpp | 227 Word32 t1; local 237 t1 = 0; 248 t1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1++), t1); 253 t1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1++), t1); 259 *(corr++) = t1 << 1;
|