| /src/external/lgpl3/gmp/dist/tests/mpz/ |
| t-set_str.c | 27 check_one (mpz_srcptr want, int fail, int base, const char *str) function 66 check_one (z, 0, 0, "0 "); 67 check_one (z, 0, 0, " 0 0 0 "); 68 check_one (z, 0, 0, " -0B 0 "); 69 check_one (z, 0, 0, " 0X 0 "); 70 check_one (z, 0, 10, "0 "); 71 check_one (z, 0, 10, "-0 "); 72 check_one (z, 0, 10, " 0 000 000 "); 75 check_one (z, 0, 0, "123 "); 76 check_one (z, 0, 0, "123 ") [all...] |
| t-cmp_d.c | 36 check_one (const char *name, mpz_srcptr x, double y, int cmp, int cmpabs) function 112 check_one ("check_data", x, data[i].y, data[i].cmp, data[i].cmpabs); 142 check_one ("check_onebits", x, y, 0, 0); 143 check_one ("check_onebits", x, -y, 1, 0); 145 check_one ("check_onebits", x, y, -1, 0); 146 check_one ("check_onebits", x, -y, 0, 0); 178 check_one ("check_low_z_one", x, y, 0, 0); 179 check_one ("check_low_z_one", x, -y, 1, 0); 181 check_one ("check_low_z_one", x, y, -1, 0); 182 check_one ("check_low_z_one", x, -y, 0, 0) [all...] |
| t-set_f.c | 27 check_one (mpz_srcptr z) function 98 check_one (z); 101 check_one (z); 104 check_one (z); 107 check_one (z);
|
| t-divis_2exp.c | 29 check_one (mpz_srcptr a, unsigned long d, int want) function 113 check_one (a, data[i].d, data[i].want); 116 check_one (a, data[i].d, data[i].want);
|
| t-divis.c | 28 check_one (mpz_srcptr a, mpz_srcptr d, int want) function 107 check_one (a, d, data[i].want); 134 check_one (a, d, want); 137 check_one (a, d, 1); 143 check_one (a, d, 0);
|
| t-cong_2exp.c | 28 check_one (mpz_srcptr a, mpz_srcptr c, unsigned long d, int want) function 100 check_one (a, c, data[i].d, data[i].want); 139 check_one (a, c, d, 0); 142 check_one (a, c, d, 1); 146 check_one (a, c, d, 0); 185 check_one (a, c, d, ea >= d);
|
| t-pprime_p.c | 57 check_one (mpz_srcptr n, int want) function 80 check_one (n, want); 82 check_one (n, want); 170 check_one (n, 1); 200 check_one (pp, want); 210 check_one (pp, want);
|
| t-cmp.c | 31 check_one (mpz_ptr x, mpz_ptr y, int want_cmp, int want_cmpabs) function 62 check_one (x, y, want_cmp, want_cmpabs); 63 check_one (y, x, -want_cmp, -want_cmpabs); 69 check_one (x, y, want_cmp, want_cmpabs); 70 check_one (y, x, -want_cmp, -want_cmpabs);
|
| t-cong.c | 27 check_one (mpz_srcptr a, mpz_srcptr c, mpz_srcptr d, int want) function 124 check_one (a, c, d, data[i].want); 192 check_one (a, c, d, want); 197 check_one (a, c, d, 1); 202 check_one (a, c, d, 0);
|
| /src/external/lgpl3/gmp/dist/tests/mpq/ |
| t-set_str.c | 27 check_one (mpq_srcptr want, int base, const char *str) function 66 check_one (q, 10, "0"); 67 check_one (q, 10, "0/1"); 68 check_one (q, 10, "0 / 1"); 69 check_one (q, 0, "0x0/ 1"); 70 check_one (q, 0, "0x0/ 0x1"); 71 check_one (q, 0, "0 / 0x1"); 73 check_one (q, 10, "-0"); 74 check_one (q, 10, "-0/1"); 75 check_one (q, 10, "-0 / 1") [all...] |
| t-equal.c | 27 check_one (mpq_srcptr x, mpq_srcptr y, int want) function 48 check_one (x, y, want); 49 check_one (y, x, want); 54 check_one (x, y, want); 55 check_one (y, x, want);
|
| /src/external/gpl3/gdb/dist/gdb/unittests/ |
| ui-file-selftests.c | 28 check_one (const char *str, int quoter, const char *result) function 38 check_one ("basic stuff: \\", '\\', 40 check_one ("more basic stuff: \\Q", 'Q', 42 check_one ("more basic stuff: \\Q", '\0', 45 check_one ("weird stuff: \x1f\x90\n\b\t\f\r\033\007", '\\', 49 check_one ("more weird stuff: \xa5", '\\',
|
| /src/external/gpl3/gdb.old/dist/gdb/unittests/ |
| ui-file-selftests.c | 27 check_one (const char *str, int quoter, const char *result) function 37 check_one ("basic stuff: \\", '\\', 39 check_one ("more basic stuff: \\Q", 'Q', 41 check_one ("more basic stuff: \\Q", '\0', 44 check_one ("weird stuff: \x1f\x90\n\b\t\f\r\033\007", '\\', 48 check_one ("more weird stuff: \xa5", '\\',
|
| /src/external/lgpl3/gmp/dist/tests/ |
| t-parity.c | 26 check_one (int want, unsigned long n) function 45 check_one (0, 0L); 46 check_one (BITS_PER_ULONG & 1, ULONG_MAX); 47 check_one (0, 0x11L); 48 check_one (1, 0x111L); 49 check_one (1, 0x3111L); 52 check_one (1, 1UL << i);
|
| /src/external/lgpl3/gmp/dist/tests/mpf/ |
| t-cmp_d.c | 31 check_one (const char *name, mpf_srcptr x, double y, int cmp) function 67 check_one ("check_infinity", x, y, -1); 68 check_one ("check_infinity", x, -y, 1); 72 check_one ("check_infinity", x, y, -1); 73 check_one ("check_infinity", x, -y, 1); 77 check_one ("check_infinity", x, y, -1); 78 check_one ("check_infinity", x, -y, 1); 83 check_one ("check_infinity", x, y, -1); 84 check_one ("check_infinity", x, -y, 1); 88 check_one ("check_infinity", x, y, -1) [all...] |
| t-ui_div.c | 27 check_one (const char *desc, mpf_ptr got, unsigned long u, mpf_srcptr v) function 93 check_one ("separate", got, u, v); 100 check_one ("overlap src==dst", got, u, v); 134 check_one ("1/2^n+1, separate", got, u, v);
|
| t-div.c | 27 check_one (const char *desc, mpf_ptr got, mpf_srcptr u, mpf_srcptr v) function 80 check_one ("separate", got, u, v); 85 check_one ("dst == u", got, u, v); 91 check_one ("dst == v", got, u, v); 167 check_one ("1/2^n+1, separate", got, u, v);
|
| /src/external/lgpl3/gmp/dist/mini-gmp/tests/ |
| t-cmp_d.c | 32 check_one (const char *name, mpz_srcptr x, double y, int cmp, int cmpabs) function 108 check_one ("check_data", x, data[i].y, data[i].cmp, data[i].cmpabs); 138 check_one ("check_onebits", x, y, 0, 0); 139 check_one ("check_onebits", x, -y, 1, 0); 141 check_one ("check_onebits", x, y, -1, 0); 142 check_one ("check_onebits", x, -y, 0, 0); 174 check_one ("check_low_z_one", x, y, 0, 0); 175 check_one ("check_low_z_one", x, -y, 1, 0); 177 check_one ("check_low_z_one", x, y, -1, 0); 178 check_one ("check_low_z_one", x, -y, 0, 0) [all...] |
| t-pprime_p.c | 61 check_one (mpz_srcptr n, int want) function 84 check_one (n, want); 86 check_one (n, want); 172 check_one (n, 1);
|
| /src/external/lgpl3/gmp/dist/tests/rand/ |
| t-iset.c | 28 check_one (const char *name, gmp_randstate_ptr src) function 63 call_rand_algs (check_one);
|
| t-urbui.c | 29 check_one (const char *name, gmp_randstate_ptr rstate) function 60 call_rand_algs (check_one);
|
| t-urmui.c | 27 check_one (const char *name, gmp_randstate_ptr rstate) function 70 call_rand_algs (check_one);
|
| /src/external/lgpl3/gmp/dist/tests/mpn/ |
| logic.c | 43 check_one (mp_srcptr refp, mp_srcptr rp, mp_srcptr ap, mp_srcptr bp, mp_size_t n, const char *funcname) function 93 check_one (refp, rp, ap, bp, n, "and_n"); 97 check_one (refp, rp, ap, bp, n, "ior_n"); 101 check_one (refp, rp, ap, bp, n, "xor_n"); 105 check_one (refp, rp, ap, bp, n, "andn_n"); 109 check_one (refp, rp, ap, bp, n, "iorn_n"); 113 check_one (refp, rp, ap, bp, n, "nand_n"); 117 check_one (refp, rp, ap, bp, n, "nior_n"); 121 check_one (refp, rp, ap, bp, n, "xnor_n"); 125 check_one (refp, rp, ap, bp, n, "com") [all...] |
| t-div.c | 60 check_one (mp_ptr qp, mp_srcptr rp, function 266 check_one (qp, rp, np, nn, dnp, dn, "mpn_sbpi1_div_qr", 0); 276 check_one (qp, NULL, np, nn, dnp, dn, "mpn_sbpi1_divappr_q", 1); 286 check_one (qp, NULL, np, nn, dnp, dn, "mpn_sbpi1_div_q", 0); 302 check_one (qp, rp, np, nn, dup, dn, "mpn_sec_div_qr (unnorm)", 0); 315 /* Note: Since check_one cannot cope with remainder-only functions, we 317 check_one (qp, rp, np, nn, dup, dn, "mpn_sec_div_r (unnorm)", 0); 328 check_one (qp, rp, np, nn, dnp, dn, "mpn_sec_div_qr (norm)", 0); 336 /* Note: Since check_one cannot cope with remainder-only functions, we 338 check_one (qp, rp, np, nn, dnp, dn, "mpn_sec_div_r (norm)", 0) [all...] |
| /src/external/lgpl3/gmp/dist/tests/misc/ |
| t-printf.c | 302 check_one (const char *want, const char *fmt, ...) function 411 check_one (data[i].want, data[i].fmt, z); 424 check_one (data[i].want, nfmt, PTR(z), nsize); 533 check_one (data[i].want, data[i].fmt, q); 695 check_one (data[i].want, data[i].fmt, f); 710 check_one ("0", "%Md", CNST_LIMB(0)); 711 check_one ("1", "%Md", CNST_LIMB(1)); 719 check_one (s, "%Mu", limb); 723 check_one (s, "%Mx", limb); 727 check_one (s, "%MX", limb) [all...] |