Home
last modified time | relevance | path

Searched refs:mp_result (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/polly/lib/External/isl/imath/
Dimath.h39 typedef int mp_result; typedef
69 extern const mp_result MP_OK;
70 extern const mp_result MP_FALSE;
71 extern const mp_result MP_TRUE;
72 extern const mp_result MP_MEMORY;
73 extern const mp_result MP_RANGE;
74 extern const mp_result MP_UNDEF;
75 extern const mp_result MP_TRUNC;
76 extern const mp_result MP_BADARG;
77 extern const mp_result MP_MINERR;
[all …]
Dimrat.h52 mp_result mp_rat_init(mp_rat r);
54 mp_result mp_rat_reduce(mp_rat r);
55 mp_result mp_rat_init_size(mp_rat r, mp_size n_prec, mp_size d_prec);
56 mp_result mp_rat_init_copy(mp_rat r, mp_rat old);
57 mp_result mp_rat_set_value(mp_rat r, mp_small numer, mp_small denom);
58 mp_result mp_rat_set_uvalue(mp_rat r, mp_usmall numer, mp_usmall denom);
61 mp_result mp_rat_numer(mp_rat r, mp_int z); /* z = num(r) */
63 mp_result mp_rat_denom(mp_rat r, mp_int z); /* z = den(r) */
67 mp_result mp_rat_copy(mp_rat a, mp_rat c); /* c = a */
69 mp_result mp_rat_abs(mp_rat a, mp_rat c); /* c = |a| */
[all …]
Dimrat.c45 static mp_result s_rat_reduce(mp_rat r);
48 static mp_result s_rat_combine(mp_rat a, mp_rat b, mp_rat c,
49 mp_result (*comb_f)(mp_int, mp_int, mp_int));
51 mp_result mp_rat_init(mp_rat r) in mp_rat_init()
53 mp_result res; in mp_rat_init()
79 mp_result mp_rat_reduce(mp_rat r) { in mp_rat_reduce()
83 mp_result mp_rat_init_size(mp_rat r, mp_size n_prec, mp_size d_prec) in mp_rat_init_size()
85 mp_result res; in mp_rat_init_size()
97 mp_result mp_rat_init_copy(mp_rat r, mp_rat old) in mp_rat_init_copy()
99 mp_result res; in mp_rat_init_copy()
[all …]
Dimath.c45 const mp_result MP_OK = 0; /* no error, all is well */
46 const mp_result MP_FALSE = 0; /* boolean false */
47 const mp_result MP_TRUE = -1; /* boolean true */
48 const mp_result MP_MEMORY = -2; /* out of memory */
49 const mp_result MP_RANGE = -3; /* argument out of range */
50 const mp_result MP_UNDEF = -4; /* result undefined */
51 const mp_result MP_TRUNC = -5; /* output truncated */
52 const mp_result MP_BADARG = -6; /* invalid null argument */
53 const mp_result MP_MINERR = -6;
317 STATIC mp_result s_brmu(mp_int z, mp_int m);
[all …]
Dgmp_compat.c383 mp_result res = mp_int_read_string(rop, base, str); in GMPZAPI()
391 mp_result resN; in GMPQAPI()
392 mp_result resD; in GMPQAPI()
448 mp_result res = mp_int_to_uint(op, &out); in GMPZAPI()
468 mp_result res = mp_int_to_int(op, &out); in GMPZAPI()
835 mp_result res; in GMPZAPI()
/external/python/cpython3/Lib/test/libregrtest/
Druntest_mp.py284 mp_result = self._runtest(test_name)
285 self.output.put((False, mp_result))
287 if must_stop(mp_result.result, self.ns):
409 def display_result(self, mp_result): argument
410 result = mp_result.result
413 if mp_result.error_msg is not None:
415 text += ' (%s)' % mp_result.error_msg
431 mp_result = item[1]
432 self.regrtest.accumulate_result(mp_result.result)
433 self.display_result(mp_result)
[all …]
/external/llvm-project/polly/lib/External/isl/
Disl_imath.c20 mp_result res = mp_int_to_int(op, &out); in isl_imath_fits_slong_p()
29 mp_result res = mp_int_to_uint(op, &out); in isl_imath_fits_ulong_p()
Disl_test_imath.c30 mp_result retval; in test_imath_internals()