/external/dropbear/libtommath/ |
bn_mp_mod.c | 23 int res; local 25 if ((res = mp_init (&t)) != MP_OKAY) { 26 return res; 29 if ((res = mp_div (a, b, NULL, &t)) != MP_OKAY) { 31 return res; 35 res = mp_add (b, &t, c); 37 res = MP_OKAY; 42 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_gcd.c | 22 int k, u_lsb, v_lsb, res; local 33 if ((res = mp_init_copy (&u, a)) != MP_OKAY) { 34 return res; 37 if ((res = mp_init_copy (&v, b)) != MP_OKAY) { 51 if ((res = mp_div_2d(&u, k, &u, NULL)) != MP_OKAY) { 55 if ((res = mp_div_2d(&v, k, &v, NULL)) != MP_OKAY) { 62 if ((res = mp_div_2d(&u, u_lsb - k, &u, NULL)) != MP_OKAY) { 68 if ((res = mp_div_2d(&v, v_lsb - k, &v, NULL)) != MP_OKAY) { 81 if ((res = s_mp_sub(&v, &u, &v)) != MP_OKAY) { 86 if ((res = mp_div_2d(&v, mp_cnt_lsb(&v), &v, NULL)) != MP_OKAY) [all...] |
bn_mp_invmod_slow.c | 22 int res; local 30 if ((res = mp_init_multi(&x, &y, &u, &v, 32 return res; 36 if ((res = mp_mod(a, b, &x)) != MP_OKAY) { 39 if ((res = mp_copy (b, &y)) != MP_OKAY) { 45 res = MP_VAL; 50 if ((res = mp_copy (&x, &u)) != MP_OKAY) { 53 if ((res = mp_copy (&y, &v)) != MP_OKAY) { 63 if ((res = mp_div_2 (&u, &u)) != MP_OKAY) { 69 if ((res = mp_add (&A, &y, &A)) != MP_OKAY) [all...] |
bn_mp_addmod.c | 22 int res; local 25 if ((res = mp_init (&t)) != MP_OKAY) { 26 return res; 29 if ((res = mp_add (a, b, &t)) != MP_OKAY) { 31 return res; 33 res = mp_mod (&t, c, d); 35 return res;
|
bn_mp_expt_d.c | 21 int res, x; local 24 if ((res = mp_init_copy (&g, a)) != MP_OKAY) { 25 return res; 33 if ((res = mp_sqr (c, c)) != MP_OKAY) { 35 return res; 40 if ((res = mp_mul (c, &g, c)) != MP_OKAY) { 42 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_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_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_sqr.c | 22 int res; local 27 res = mp_toom_sqr(a, b); 33 res = mp_karatsuba_sqr (a, b); 42 res = fast_s_mp_sqr (a, b); 46 res = s_mp_sqr (a, b); 48 res = MP_VAL; 52 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_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;
|
/external/srec/config/en.us/ |
adb_pull_system_usr_srec_change_sample_rate2.sh | 6 adb pull $TESTDIR/config/en.us/recog4_SHIP_change_sample_rate2.res recog4_SHIP_change_sample_rate2.res
|
adb_pull_system_usr_srec_set_get_param.sh | 6 adb pull $TESTDIR/config/en.us/recog4_SHIP_set_get_param.res recog4_SHIP_set_get_param.res
|
/external/libffi/testsuite/libffi.call/ |
return_sl.c | 19 ffi_arg res; local 33 ffi_call(&cif, FFI_FN(return_sl), &res, values); 34 printf("res: %ld, %ld\n", (long)res, l1 - l2); 35 /* { dg-output "res: -1, -1" } */
|
return_ul.c | 19 ffi_arg res; local 33 ffi_call(&cif, FFI_FN(return_ul), &res, values); 34 printf("res: %lu, %lu\n", (unsigned long)res, ul1 + ul2); 35 /* { dg-output "res: 2147483647, 2147483647" } */
|
cls_ulonglong.c | 28 unsigned long long res; local 43 res = (*((cls_ret_ulonglong)pcl))(214LL); 45 printf("res: %lld\n", res); 48 res = (*((cls_ret_ulonglong)pcl))(9223372035854775808LL); 50 printf("res: %lld\n", res);
|
/system/wlan/ti/wilink_6_1/CUDK/os/linux/src/ |
cu_wext.c | 69 S32 res = 0; local 75 res = 1; 150 return res; 181 S32 res; local 189 res = IPC_STA_Wext_Send(pCuWext->hIpcSta, SIOCGIWESSID, &pCuWext->req_data, sizeof(struct iw_point)); 190 if(res != OK) 191 return res; 201 S32 res,i; local 205 res = IPC_STA_Wext_Send(pCuWext->hIpcSta, SIOCGIWAP, &pCuWext->req_data, sizeof(struct sockaddr)); 206 if(res != OK) 218 S32 res; local 235 S32 res; local 273 S32 res, NumberOfItems; local 333 S32 res; local 348 S32 res; local 369 S32 res; local 386 S32 res; local 403 S32 res; local 420 S32 res; local 437 S32 res; local 453 S32 res; local [all...] |
/external/iproute2/tc/ |
p_ip.c | 29 int res = -1; local 39 res = parse_cmd(&argc, &argv, 4, TIPV4,RU32,sel,tkey); 45 res = parse_cmd(&argc, &argv, 4, TIPV4,RU32,sel,tkey); 55 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey); 61 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey); 67 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey); 74 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey); 81 res = parse_cmd(&argc, &argv, 1, TU32,0x3F,sel,tkey); 88 res = parse_cmd(&argc, &argv, 1, TU32,0x1F,sel,tkey); 94 res = parse_cmd(&argc, &argv, 1, TU32,0x80,sel,tkey) 144 int res = -1; local [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
ArrayTest.java | 17 package android.content.res.cts; 19 import android.content.res.Resources; 34 private void checkEntry(final int resid, final int index, final Object res, 37 + " at index " + index, expected, res); 41 final String[] res = mResources.getStringArray(resid); local 42 assertEquals(res.length, expected.length); 44 checkEntry(resid, i, res[i], expected[i]); 49 final CharSequence[] res = mResources.getTextArray(resid); local 50 assertEquals(res.length, expected.length); 52 checkEntry(resid, i, res[i], expected[i]) 57 final int[] res = mResources.getIntArray(resid); local [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
GridDrawables.java | 24 import com.cooliris.app.Res; 38 private static final int TEXTURE_FRAME = Res.drawable.stack_frame; 39 private static final int TEXTURE_GRID_FRAME = Res.drawable.grid_frame; 40 private static final int TEXTURE_FRAME_FOCUS = Res.drawable.stack_frame_focus; 41 private static final int TEXTURE_FRAME_PRESSED = Res.drawable.stack_frame_gold; 42 private static final int TEXTURE_LOCATION = Res.drawable.btn_location_filter_unscaled; 43 private static final int TEXTURE_VIDEO = Res.drawable.videooverlay; 44 private static final int TEXTURE_CHECKMARK_ON = Res.drawable.grid_check_on; 45 private static final int TEXTURE_CHECKMARK_OFF = Res.drawable.grid_check_off; 46 private static final int TEXTURE_CAMERA_SMALL = Res.drawable.icon_camera_small_unscaled [all...] |
/external/astl/tests/ |
test_set.cpp | 57 pair<set<int>::iterator, bool> res; local 61 res = s.insert(10); 64 EXPECT_TRUE(res.first == s.begin()); 66 EXPECT_TRUE(*(res.first) == 10); 67 set<int>::iterator elt_in_set = res.first; 71 EXPECT_TRUE(res.second); 77 res = s.insert(10); 79 EXPECT_TRUE(!res.second); 83 EXPECT_TRUE(res.first == elt_in_set); 93 pair<set<string>::iterator, bool> res; local [all...] |
/prebuilt/sdk/7/ |
android.jar | |