/external/dropbear/libtommath/ |
bn_mp_mul.c | 21 int res, neg; local 27 res = mp_toom_mul(a, b, c); 33 res = mp_karatsuba_mul (a, b, c); 49 res = fast_s_mp_mul_digs (a, b, c, digs); 53 res = s_mp_mul (a, b, c); /* uses s_mp_mul_digs */ 55 res = MP_VAL; 60 return res;
|
bn_mp_mulmod.c | 21 int res; local 24 if ((res = mp_init (&t)) != MP_OKAY) { 25 return res; 28 if ((res = mp_mul (a, b, &t)) != MP_OKAY) { 30 return res; 32 res = mp_mod (&t, c, d); 34 return res;
|
bn_mp_prime_is_divisible.c | 26 mp_digit res; local 33 if ((err = mp_mod_d (a, ltm_prime_tab[ix], &res)) != MP_OKAY) { 38 if (res == 0) {
|
bn_mp_rand.c | 22 int res; local 35 if ((res = mp_add_d (a, d, a)) != MP_OKAY) { 36 return res; 40 if ((res = mp_lshd (a, 1)) != MP_OKAY) { 41 return res; 44 if ((res = mp_add_d (a, ((mp_digit) abs (rand ())), a)) != MP_OKAY) { 45 return res;
|
bn_mp_reduce.c | 25 int res, um = m->used; local 28 if ((res = mp_init_copy (&q, x)) != MP_OKAY) { 29 return res; 37 if ((res = mp_mul (&q, mu, &q)) != MP_OKAY) { 42 if ((res = s_mp_mul_high_digs (&q, mu, &q, um)) != MP_OKAY) { 46 if ((res = fast_s_mp_mul_high_digs (&q, mu, &q, um)) != MP_OKAY) { 51 res = MP_VAL; 61 if ((res = mp_mod_2d (x, DIGIT_BIT * (um + 1), x)) != MP_OKAY) { 66 if ((res = s_mp_mul_digs (&q, m, &q, um + 1)) != MP_OKAY) { 71 if ((res = mp_sub (x, &q, x)) != MP_OKAY) [all...] |
bn_mp_reduce_2k.c | 22 int p, res; local 24 if ((res = mp_init(&q)) != MP_OKAY) { 25 return res; 31 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { 37 if ((res = mp_mul_d(&q, d, &q)) != MP_OKAY) { 43 if ((res = s_mp_add(a, &q, a)) != MP_OKAY) { 54 return res;
|
bn_mp_reduce_2k_l.c | 25 int p, res; local 27 if ((res = mp_init(&q)) != MP_OKAY) { 28 return res; 34 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { 39 if ((res = mp_mul(&q, d, &q)) != MP_OKAY) { 44 if ((res = s_mp_add(a, &q, a)) != MP_OKAY) { 55 return res;
|
bn_mp_reduce_2k_setup.c | 21 int res, p; local 24 if ((res = mp_init(&tmp)) != MP_OKAY) { 25 return res; 29 if ((res = mp_2expt(&tmp, p)) != MP_OKAY) { 31 return res; 34 if ((res = s_mp_sub(&tmp, a, &tmp)) != MP_OKAY) { 36 return res;
|
bn_mp_reduce_2k_setup_l.c | 21 int res; local 24 if ((res = mp_init(&tmp)) != MP_OKAY) { 25 return res; 28 if ((res = mp_2expt(&tmp, mp_count_bits(a))) != MP_OKAY) { 32 if ((res = s_mp_sub(&tmp, a, d)) != MP_OKAY) { 38 return res;
|
bn_mp_set_int.c | 21 int x, res; local 28 if ((res = mp_mul_2d (a, 4, a)) != MP_OKAY) { 29 return res;
|
bn_mp_sqrmod.c | 22 int res; local 25 if ((res = mp_init (&t)) != MP_OKAY) { 26 return res; 29 if ((res = mp_sqr (a, &t)) != MP_OKAY) { 31 return res; 33 res = mp_mod (&t, b, c); 35 return res;
|
bn_mp_sqrt.c | 21 int res; local 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) [all...] |
bn_mp_sub.c | 22 int sa, sb, res; local 33 res = s_mp_add (a, b, c); 43 res = s_mp_sub (a, b, c); 49 res = s_mp_sub (b, a, c); 52 return res;
|
bn_mp_submod.c | 22 int res; local 26 if ((res = mp_init (&t)) != MP_OKAY) { 27 return res; 30 if ((res = mp_sub (a, b, &t)) != MP_OKAY) { 32 return res; 34 res = mp_mod (&t, c, d); 36 return res;
|
bn_mp_to_unsigned_bin.c | 21 int x, res; local 24 if ((res = mp_init_copy (&t, a)) != MP_OKAY) { 25 return res; 35 if ((res = mp_div_2d (&t, 8, &t, NULL)) != MP_OKAY) { 37 return res;
|
/external/elfutils/lib/ |
xstrndup.c | 27 char *res; local 29 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0'; 30 return res;
|
/external/elfutils/libebl/ |
eblcorenotetypename.c | 31 const char *res = ebl->core_note_type_name (type, buf, len); local 33 if (res == NULL) 58 res = knowntypes[type]; 63 res = buf; 67 return res;
|
eblobjnotetypename.c | 31 const char *res = ebl->object_note_type_name (type, buf, len); local 33 if (res == NULL) 44 res = knowntypes[type]; 49 res = buf; 53 return res;
|
eblsectionname.c | 33 const char *res = ebl != NULL ? ebl->section_name (section, xsection, local 36 if (res == NULL) 39 res = "UNDEF"; 41 res = "ABS"; 43 res = "COMMON"; 45 res = "BEFORE"; 47 res = "AFTER"; 54 res = scnnames[idx]; 58 res = buf; 76 res = buf [all...] |
eblsegmenttypename.c | 30 const char *res; local 32 res = ebl != NULL ? ebl->segment_type_name (segment, buf, len) : NULL; 33 if (res == NULL) 50 res = ptypes[segment]; 52 res = "GNU_EH_FRAME"; 54 res = "GNU_STACK"; 56 res = "GNU_RELRO"; 58 res = "SUNWBSS"; 60 res = "SUNWSTACK"; 70 res = buf [all...] |
eblsymbolbindingname.c | 30 const char *res; local 32 res = ebl != NULL ? ebl->symbol_type_name (binding, buf, len) : NULL; 33 if (res == NULL) 42 res = stb_names[binding]; 52 res = buf; 56 return res;
|
eblsymboltypename.c | 30 const char *res; local 32 res = ebl != NULL ? ebl->symbol_type_name (symbol, buf, len) : NULL; 33 if (res == NULL) 48 res = stt_names[symbol]; 58 res = buf; 62 return res;
|
/external/icu4c/i18n/ |
tzrule.cpp | 24 int32_t res = l < r ? -1 : (l == r ? 0 : 1); local 25 return res; 461 UBool res = TRUE; 464 res = FALSE; 468 return res; 510 UBool res = TRUE; 513 res = FALSE; 517 return res;
|
/external/iproute2/tc/ |
p_icmp.c | 30 int res = -1; local 40 res = parse_u8(&argc, &argv, 0); 45 res = parse_u8(&argc, &argv, 1); 54 return res;
|
p_tcp.c | 29 int res = -1; local 30 return res;
|