Searched refs:t2 (Results 1 - 25 of 103) sorted by relevance

12345

/barrelfish-2018-10-04/lib/tommath/
H A Dbn_mp_lcm.c22 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,
[all...]
H A Dbn_mp_n_root.c30 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
[all...]
H A Dbn_mp_sqrt.c22 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);
H A Dbn_mp_exteuclid.c23 mp_int u1,u2,u3,v1,v2,v3,t1,t2,t3,q,tmp; local
26 if ((err = mp_init_multi(&u1, &u2, &u3, &v1, &v2, &v3, &t1, &t2, &t3, &q, &tmp, NULL)) != MP_OKAY) {
43 /* (t1,t2,t3) = (u1,u2,u3) - (v1,v2,v3)q */
47 if ((err = mp_sub(&u2, &tmp, &t2)) != MP_OKAY) { goto _ERR; }
56 /* (v1,v2,v3) = (t1,t2,t3) */
58 if ((err = mp_copy(&t2, &v2)) != MP_OKAY) { goto _ERR; }
75 _ERR: mp_clear_multi(&u1, &u2, &u3, &v1, &v2, &v3, &t1, &t2, &t3, &q, &tmp, NULL);
H A Dbn_mp_karatsuba_sqr.c27 mp_int x0, x1, t1, t2, x0x0, x1x1; local
47 if (mp_init_size (&t2, a->used * 2) != MP_OKAY)
90 if (s_mp_add (&x0x0, &x1x1, &t2) != MP_OKAY)
91 goto X1X1; /* t2 = x0x0 + x1x1 */
92 if (s_mp_sub (&t1, &t2, &t1) != MP_OKAY)
110 T2:mp_clear (&t2);
/barrelfish-2018-10-04/lib/msun/src/
H A Dk_logf.h29 float hfsq,s,z,R,w,t1,t2; local
35 t2= z*(Lg1+w*Lg3);
36 R = t2+t1;
H A Dk_log.h90 double hfsq,s,z,R,w,t1,t2; local
96 t2= z*(Lg1+w*(Lg3+w*(Lg5+w*Lg7)));
97 R = t2+t1;
H A De_hypot.c33 * t1*y1+((x-y)*(x-y)+(t1*y2+t2*y))
34 * where t1 = 2x with lower 32 bits cleared, t2 = 2x-t1,
57 double a,b,t1,t2,y1,y2,w; local
108 t2 = a-t1;
109 w = sqrt(t1*t1-(b*(-b)-t2*(a+t1)));
117 t2 = a - t1;
118 w = sqrt(t1*y1-(w*(-w)-(t1*y2+t2*b)));
H A De_hypotf.c25 float a,b,t1,t2,y1,y2,w; local
69 t2 = a-t1;
70 w = __ieee754_sqrtf(t1*t1-(b*(-b)-t2*(a+t1)));
76 t2 = a - t1;
77 w = __ieee754_sqrtf(t1*y1-(w*(-w)-(t1*y2+t2*b)));
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/dh/
H A Ddh_gen.c105 BIGNUM *t1,*t2; local
113 t2 = BN_CTX_get(ctx);
114 if (t1 == NULL || t2 == NULL) goto err;
128 if (!BN_set_word(t2,11)) goto err;
135 if (!BN_set_word(t2,5)) goto err;
142 if (!BN_set_word(t2,3)) goto err;
154 if (!BN_set_word(t2,1)) goto err;
158 if(!BN_generate_prime_ex(ret->p,prime_len,1,t1,t2,cb)) goto err;
/barrelfish-2018-10-04/lib/tommath/etc/
H A Dtune.c117 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;
/barrelfish-2018-10-04/lib/libc/string/
H A Dstrcoll.c54 wchar_t *t1 = NULL, *t2 = NULL; local
91 if ((t2 = malloc(sz2 * sizeof (wchar_t))) == NULL)
93 w2 = t2;
103 free(t2);
109 free(t2);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/sha/asm/
H A Dsha1-thumb.pl30 $t2="r2";
47 lsl $t2,$a,#5
48 add $t2,$e
50 add $t2,$e @ E+=ROR(A,27)
51 add $t2,$t1 @ E+=X[i]
62 add $a,$t2,$t1 @ A=E+F_xx_xx(B,C,D)
134 mov $t2,sp
135 sub $t2,#16*4 @ [3]
149 cmp sp,$t2
153 sub $t2,#3
[all...]
H A Dsha512-armv4.pl45 $t2="r11";
64 ldr $t2,[sp,#$Hoff+0] @ h.lo
85 adds $Tlo,$Tlo,$t2
86 ldr $t2,[sp,#$Goff+0] @ g.lo
90 eor $t0,$t0,$t2
98 eor $t0,$t0,$t2
99 ldr $t2,[$Ktbl,#4] @ K[i].lo
107 adds $Tlo,$Tlo,$t2
112 and $t0,$t2,#0xff
116 ldr $t2,[s
[all...]
H A Dsha256-armv4.pl37 $t2="r12";
50 ldrb $t2,[$inp,#2]
53 orr $T1,$T1,$t2,lsl#8
59 ldr $t2,[$Ktbl],#4 @ *K256++
72 add $T1,$T1,$t2
89 ldr $t2,[sp,#`($i+14)%16`*4]
95 mov $t1,$t2,ror#$sigma1[0]
97 eor $t1,$t1,$t2,ror#$sigma1[1]
99 eor $t1,$t1,$t2,lsr#$sigma1[2] @ sigma1(X[i+14])
145 and $t2,
[all...]
H A Dsha1-armv4-large.pl65 $t2="r11";
75 ldr $t2,[$Xi,#7*4]
79 eor $t2,$t2,$t3
83 eor $t0,$t0,$t2,ror#31
96 ldrb $t2,[$inp,#-2]
102 orr $t0,$t0,$t2,lsl#8
131 &Xupdate(@_,"and $t1,$b,$t1,ror#2","and $t2,$c,$d");
134 add $e,$e,$t2,ror#2
202 ldmia $ctx,{$K,$t0,$t1,$t2,
[all...]
/barrelfish-2018-10-04/usr/bench/bomp_benchmark/
H A Dc_randdp.c46 double t1,t2,t3,t4,a1,a2,x1,x2,z; local
64 t2 = (int)(r23 * t1);
65 z = t1 - t23 * t2;
105 double x,t1,t2,t3,t4,a1,a2,x1,x2,z; local
129 t2 = (int)(r23 * t1);
130 z = t1 - t23 * t2;
H A Dep.c69 double Mops, t1, t2, t3, t4, x1, x2, sx, sy, tm, an, tt, gc; local
135 t2 = randlc(&t1, t1);
157 double t1, t2, t3, t4, x1, x2; local
167 t2 = an;
173 if (2 * ik != kk) t3 = randlc(&t1, t2);
175 t3 = randlc(&t2, t2);
197 t2 = sqrt(-2.0 * log(t1) / t1);
198 t3 = (x1 * t2); /* Xi */
199 t4 = (x2 * t2); /* Y
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/bn/
H A Dbn_asm.c395 BN_ULONG t1,t2; local
404 t1=a[0]; t2=b[0];
405 r[0]=(t1-t2-c)&BN_MASK2;
406 if (t1 != t2) c=(t1 < t2);
407 t1=a[1]; t2=b[1];
408 r[1]=(t1-t2-c)&BN_MASK2;
409 if (t1 != t2) c=(t1 < t2);
410 t1=a[2]; t2
564 BN_ULONG t1,t2; local
673 BN_ULONG t1,t2; local
718 BN_ULONG t1,t2; local
799 BN_ULONG t1,t2; local
[all...]
H A Dbn_add.c108 BN_ULONG *ap,*bp,*rp,carry,t1,t2; local
141 t2 = (t1+1) & BN_MASK2;
142 *(rp++) = t2;
143 if (t2)
169 register BN_ULONG t1,t2,*ap,*bp,*rp; local
199 t2= *(bp++);
202 carry=(t1 <= t2);
203 t1=(t1-t2-1)&BN_MASK2;
207 carry=(t1 < t2);
208 t1=(t1-t2)
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/aes/asm/
H A Daes-armv4.pl38 $t2="r5";
172 ldrb $t2,[$rounds,#1]
176 orr $s0,$s0,$t2,lsl#16
179 ldrb $t2,[$rounds,#5]
183 orr $s1,$s1,$t2,lsl#16
186 ldrb $t2,[$rounds,#9]
190 orr $s2,$s2,$t2,lsl#16
193 ldrb $t2,[$rounds,#13]
196 orr $s3,$s3,$t2,lsl#16
203 mov $t2,
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Kernel/src/
H A Dsch_eng_interface.h32 #define ComnNode(t1,t2) ((t1)->knot==(t2)->knot && (t1)->site==(t2)->site)
H A Dbip_comp.c73 static int p_termless(value v1, type t1, value v2, type t2),
74 p_termlesseq(value v1, type t1, value v2, type t2),
75 p_termgreater(value v1, type t1, value v2, type t2),
76 p_termgreatereq(value v1, type t1, value v2, type t2),
77 p_unify(value v1, type t1, value v2, type t2, value vl, type tl),
82 p_compare_instances4(value vr, type tr, value v1, type t1, value v2, type t2, value vl, type tl),
83 p_merge5(value vk, type tk, value vo, type to, value v1, type t1, value v2, type t2, value v, type t),
84 p_number_merge5(value vk, type tk, value vo, type to, value v1, type t1, value v2, type t2, value v, type t),
85 p_sort4(value vk, type tk, value vo, type to, value v1, type t1, value v2, type t2),
86 p_array_sort(value vk, type tk, value vo, type to, value v1, type t1, value v2, type t2),
130 p_termless(value v1, type t1, value v2, type t2) argument
139 p_termlesseq(value v1, type t1, value v2, type t2) argument
148 p_termgreater(value v1, type t1, value v2, type t2) argument
157 p_termgreatereq(value v1, type t1, value v2, type t2) argument
169 p_unify(value v1, type t1, value v2, type t2, value vl, type tl) argument
211 ec_compare_terms(value v1, type t1, value v2, type t2) argument
485 p_compare_instances4(value vr, type tr, value v1, type t1, value v2, type t2, value vl, type tl) argument
586 _instance(int rel, value v1, type t1, value v2, type t2, pword *meta) argument
873 p_sort4(value vk, type tk, value vo, type to, value v1, type t1, value v2, type t2) argument
922 p_number_sort4(value vk, type tk, value vo, type to, value v1, type t1, value v2, type t2) argument
977 p_array_sort(value vk, type tk, value vo, type to, value v1, type t1, value v2, type t2) argument
1416 _merge(value vk, type tk, value v1, type t1, value v2, type t2, value v, type t, int reverse, int keep_duplicates, int number_sort) argument
1572 p_merge5(value vk, type tk, value vo, type to, value v1, type t1, value v2, type t2, value v, type t) argument
1581 p_number_merge5(value vk, type tk, value vo, type to, value v1, type t1, value v2, type t2, value v, type t) argument
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/bugs/
H A Dsgiccbug.c37 register unsigned long t1,t2,*ap,*bp,*rp; local
50 t2= *(bp++);
51 t1=(t1-t2);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/bn/asm/
H A Dx86_64-gcc.c236 BN_ULONG t1,t2; local
243 t1=a[0]; t2=b[0];
244 r[0]=(t1-t2-c)&BN_MASK2;
245 if (t1 != t2) c=(t1 < t2);
248 t1=a[1]; t2=b[1];
249 r[1]=(t1-t2-c)&BN_MASK2;
250 if (t1 != t2) c=(t1 < t2);
253 t1=a[2]; t2
355 BN_ULONG t1,t2; local
459 BN_ULONG t1,t2; local
499 BN_ULONG t1,t2; local
575 BN_ULONG t1,t2; local
[all...]

Completed in 140 milliseconds

12345