HomeSort by: relevance | last modified time | path
    Searched refs:MP_OK (Results 1 - 8 of 8) sorted by relevancy

  /src/external/mit/isl/dist/imath/
imrat.c 39 if ((res = (E)) != MP_OK) goto CLEANUP; \
55 if ((res = mp_int_init(MP_NUMER_P(r))) != MP_OK) return res;
56 if ((res = mp_int_init(MP_DENOM_P(r))) != MP_OK) {
68 if (mp_rat_init(out) != MP_OK) {
82 if ((res = mp_int_init_size(MP_NUMER_P(r), n_prec)) != MP_OK) {
85 if ((res = mp_int_init_size(MP_DENOM_P(r), d_prec)) != MP_OK) {
96 if ((res = mp_int_init_copy(MP_NUMER_P(r), MP_NUMER_P(old))) != MP_OK) {
99 if ((res = mp_int_init_copy(MP_DENOM_P(r), MP_DENOM_P(old))) != MP_OK)
110 if ((res = mp_int_set_value(MP_NUMER_P(r), numer)) != MP_OK) {
113 if ((res = mp_int_set_value(MP_DENOM_P(r), denom)) != MP_OK) {
    [all...]
imath.c 34 const mp_result MP_OK = 0; /* no error, all is well */
143 .err = MP_OK, \
158 if (temp_.err != MP_OK) { \
166 /* Evaluate E, an expression of type mp_result expected to return MP_OK. If
167 the value is not MP_OK, the error is cached and control resumes at the
173 if (temp_.err != MP_OK) goto CLEANUP; \
224 return s_pad(Z, N) ? MP_OK : MP_MEMORY;
375 return MP_OK;
405 return MP_OK;
417 if (res != MP_OK) return res
    [all...]
gmp_compat.c 43 #define CHECK(res) assert(((res) == MP_OK) && "expected MP_OK")
352 return ((res == MP_OK) ? 0 : -1);
382 if (resN != MP_OK || resD != MP_OK) {
424 if (res == MP_OK) return out;
428 CHECK(res == MP_RANGE ? MP_OK : MP_RANGE);
442 if (res == MP_OK) return out;
446 CHECK(res == MP_RANGE ? MP_OK : MP_RANGE);
811 CHECK((res > 0) == MP_OK);
    [all...]
imath.h 71 extern const mp_result MP_OK;
313 /** Returns `MP_OK` if `z` is representable as `mp_small`, else `MP_RANGE`.
314 If `out` is not NULL, `*out` is set to the value of `z` when `MP_OK`. */
317 /** Returns `MP_OK` if `z` is representable as `mp_usmall`, or `MP_RANGE`.
318 If `out` is not NULL, `*out` is set to the value of `z` when `MP_OK`. */
343 If the whole string was consumed, `MP_OK` is returned; otherwise
358 If the whole string was consumed, `MP_OK` is returned; otherwise
  /src/external/mit/isl/dist/
isl_test_imath.c 40 assert(retval == MP_OK);
47 assert(retval == MP_OK);
54 assert(retval == MP_OK);
61 assert(retval == MP_OK);
isl_imath.c 21 return res == MP_OK;
30 return res == MP_OK;
isl_int_sioimath.h 396 if (mp_int_to_int(isl_sioimath_get_big(*dst), &small) != MP_OK)
465 return mp_int_to_int(isl_sioimath_get_big(val), &dummy) == MP_OK;
491 return mp_int_to_uint(isl_sioimath_get_big(val), &dummy) == MP_OK;
  /src/external/mit/isl/dist/imath_wrap/
wrap.h 9 #define MP_OK ISL_MP_OK

Completed in 75 milliseconds