Lines Matching refs:gmpnum_result

487 	mpz_t *gmpnum_a, *gmpnum_b, *gmpnum_result;  in gmp_zval_binary_ui_op_ex()  local
516 INIT_GMP_NUM(gmpnum_result); in gmp_zval_binary_ui_op_ex()
520 long_result = gmp_ui_op(*gmpnum_result, *gmpnum_a, (unsigned long)Z_LVAL_PP(b_arg)); in gmp_zval_binary_ui_op_ex()
525 gmp_ui_op(*gmpnum_result, *gmpnum_a, (unsigned long)Z_LVAL_PP(b_arg)); in gmp_zval_binary_ui_op_ex()
528 gmp_op(*gmpnum_result, *gmpnum_a, *gmpnum_b); in gmp_zval_binary_ui_op_ex()
535 FREE_GMP_NUM(gmpnum_result); in gmp_zval_binary_ui_op_ex()
538 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp); in gmp_zval_binary_ui_op_ex()
629 mpz_t *gmpnum_a, *gmpnum_result; in gmp_zval_unary_op() local
634 INIT_GMP_NUM(gmpnum_result); in gmp_zval_unary_op()
635 gmp_op(*gmpnum_result, *gmpnum_a); in gmp_zval_unary_op()
638 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp); in gmp_zval_unary_op()
646 mpz_t *gmpnum_result; in gmp_zval_unary_ui_op() local
650 INIT_GMP_NUM(gmpnum_result); in gmp_zval_unary_ui_op()
651 gmp_op(*gmpnum_result, Z_LVAL_PP(a_arg)); in gmp_zval_unary_ui_op()
653 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp); in gmp_zval_unary_ui_op()
1008 mpz_t *gmpnum_result, *gmpnum_base; local
1028 INIT_GMP_NUM(gmpnum_result);
1030 mpz_ui_pow_ui(*gmpnum_result, Z_LVAL_PP(base_arg), exp);
1032 mpz_pow_ui(*gmpnum_result, *gmpnum_base, exp);
1035 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);
1044 mpz_t *gmpnum_base, *gmpnum_exp, *gmpnum_mod, *gmpnum_result; local
1074 INIT_GMP_NUM(gmpnum_result);
1076 mpz_powm_ui(*gmpnum_result, *gmpnum_base, (unsigned long)Z_LVAL_PP(exp_arg), *gmpnum_mod);
1078 mpz_powm(*gmpnum_result, *gmpnum_base, *gmpnum_exp, *gmpnum_mod);
1085 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);
1095 mpz_t *gmpnum_a, *gmpnum_result; local
1110 INIT_GMP_NUM(gmpnum_result);
1111 mpz_sqrt(*gmpnum_result, *gmpnum_a);
1114 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);
1245 mpz_t *gmpnum_a, *gmpnum_b, *gmpnum_result; local
1256 INIT_GMP_NUM(gmpnum_result);
1257 res=mpz_invert(*gmpnum_result, *gmpnum_a, *gmpnum_b);
1261 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);
1263 FREE_GMP_NUM(gmpnum_result);
1342 mpz_t *gmpnum_result; local
1348 INIT_GMP_NUM(gmpnum_result);
1360 mpz_urandomb(*gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * GMP_LIMB_BITS);
1362 mpz_urandomb(*gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * __GMP_BITS_PER_MP_LIMB);
1364 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);
1406 mpz_t *gmpnum_a, *gmpnum_b, *gmpnum_result, *gmpnum_t; local
1416 INIT_GMP_NUM(gmpnum_result);
1422 mpz_ior(*gmpnum_result, *gmpnum_a, *gmpnum_b);
1423 mpz_and(*gmpnum_result, *gmpnum_result, *gmpnum_t);
1429 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);