Home | History | Annotate | Download | only in imath

Lines Matching refs:MP_OK

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;
424 return MP_OK;
493 return MP_OK;
520 if ((res = mp_int_copy(a, c)) != MP_OK) return res;
523 return MP_OK;
530 if ((res = mp_int_copy(a, c)) != MP_OK) return res;
534 return MP_OK;
571 return MP_OK;
591 return MP_OK;
653 return MP_OK;
671 return MP_OK;
712 return MP_OK;
728 if (res != MP_OK) return res;
731 return MP_OK;
771 return MP_OK;
778 mp_result res = MP_OK;
788 if (r && (res = mp_int_copy(a, r)) != MP_OK) return res;
792 return MP_OK;
806 return MP_OK;
869 return MP_OK;
883 return MP_OK;
889 mp_result res = MP_OK;
890 if (q != NULL && (res = mp_int_copy(a, q)) == MP_OK) {
894 if (res == MP_OK && r != NULL && (res = mp_int_copy(a, r)) == MP_OK) {
922 return MP_OK;
946 return MP_OK;
972 return MP_OK;
1063 return MP_OK;
1109 return MP_OK;
1146 return MP_OK;
1204 return MP_OK;
1214 mp_result res = MP_OK;
1220 if ((res = mp_int_abs(b, c)) != MP_OK) return res;
1223 return MP_OK;
1225 if ((res = mp_int_abs(a, c)) != MP_OK) return res;
1228 return MP_OK;
1305 return MP_OK;
1324 return MP_OK;
1330 if (mp_int_div_value(a, v, NULL, &rem) != MP_OK) {
1390 return MP_OK;
1414 return MP_OK;
1438 return MP_OK;
1453 if ((res = mp_int_init_copy(&tmp, z)) != MP_OK) return res;
1484 return MP_OK;
1556 return MP_OK;
1617 return MP_OK;
1657 return MP_OK;
2377 if (mp_int_copy(x, q1) != MP_OK) return 0;
2477 return MP_OK;
2511 return MP_OK;
2670 return MP_OK;
2777 return (uz == 0) ? MP_OK : MP_TRUNC;