Home | History | Annotate | Download | only in libtommath

Lines Matching refs:res

21   int res;
35 if ((res = mp_init_copy(&t1, arg)) != MP_OKAY) {
36 return res;
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) {
53 if ((res = mp_div_2(&t1,&t1)) != MP_OKAY) {
58 if ((res = mp_div(arg,&t1,&t2,NULL)) != MP_OKAY) {
61 if ((res = mp_add(&t1,&t2,&t1)) != MP_OKAY) {
64 if ((res = mp_div_2(&t1,&t1)) != MP_OKAY) {
74 return res;