Searched refs:MP_OK (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/polly/lib/External/isl/imath/ |
D | imrat.c | 35 do{if((res = (E)) != MP_OK) goto CLEANUP; ++(C);}while(0) 55 if ((res = mp_int_init(MP_NUMER_P(r))) != MP_OK) in mp_rat_init() 57 if ((res = mp_int_init(MP_DENOM_P(r))) != MP_OK) { in mp_rat_init() 70 if (mp_rat_init(out) != MP_OK) { in mp_rat_alloc() 87 if ((res = mp_int_init_size(MP_NUMER_P(r), n_prec)) != MP_OK) in mp_rat_init_size() 89 if ((res = mp_int_init_size(MP_DENOM_P(r), d_prec)) != MP_OK) { in mp_rat_init_size() 101 if ((res = mp_int_init_copy(MP_NUMER_P(r), MP_NUMER_P(old))) != MP_OK) in mp_rat_init_copy() 103 if ((res = mp_int_init_copy(MP_DENOM_P(r), MP_DENOM_P(old))) != MP_OK) in mp_rat_init_copy() 116 if ((res = mp_int_set_value(MP_NUMER_P(r), numer)) != MP_OK) in mp_rat_set_value() 118 if ((res = mp_int_set_value(MP_DENOM_P(r), denom)) != MP_OK) in mp_rat_set_value() [all …]
|
D | imath.c | 45 const mp_result MP_OK = 0; /* no error, all is well */ variable 171 if ((res = (E)) != MP_OK) \ 370 return MP_OK; in mp_int_init() 402 return MP_OK; in mp_int_init_size() 419 if ((res = mp_int_init_size(z, target)) != MP_OK) in mp_int_init_copy() 427 return MP_OK; in mp_int_init_copy() 505 return MP_OK; in mp_int_copy() 538 if ((res = mp_int_copy(a, c)) != MP_OK) in mp_int_abs() 542 return MP_OK; in mp_int_abs() 551 if ((res = mp_int_copy(a, c)) != MP_OK) in mp_int_neg() [all …]
|
D | gmp_compat.c | 41 #define CHECK(res) assert(((res) == MP_OK) && "expected MP_OK") 384 return ((res == MP_OK) ? 0 : -1); in GMPZAPI() 414 if (resN != MP_OK || resD != MP_OK) in GMPQAPI() 449 if (res == MP_OK) in GMPZAPI() 454 CHECK(res == MP_RANGE ? MP_OK : MP_RANGE); in GMPZAPI() 469 if (res == MP_OK) in GMPZAPI() 474 CHECK(res == MP_RANGE ? MP_OK : MP_RANGE); in GMPZAPI() 844 CHECK((res > 0) == MP_OK); in GMPZAPI()
|
D | imath.h | 69 extern const mp_result MP_OK;
|
/external/llvm-project/polly/lib/External/isl/ |
D | isl_test_imath.c | 41 assert(retval == MP_OK); in test_imath_internals() 48 assert(retval == MP_OK); in test_imath_internals() 55 assert(retval == MP_OK); in test_imath_internals() 62 assert(retval == MP_OK); in test_imath_internals()
|
D | isl_imath.c | 21 return res == MP_OK; in isl_imath_fits_slong_p() 30 return res == MP_OK; in isl_imath_fits_ulong_p()
|
D | isl_int_sioimath.h | 396 if (mp_int_to_int(isl_sioimath_get_big(*dst), &small) != MP_OK) in isl_sioimath_try_demote() 465 return mp_int_to_int(isl_sioimath_get_big(val), &dummy) == MP_OK; in isl_sioimath_fits_slong() 491 return mp_int_to_uint(isl_sioimath_get_big(val), &dummy) == MP_OK; in isl_sioimath_fits_ulong()
|
/external/llvm-project/polly/lib/External/isl/imath_wrap/ |
D | wrap.h | 9 #define MP_OK ISL_MP_OK macro
|