Lines Matching refs:gmpnum_result
513 mpz_t *gmpnum_a, *gmpnum_b, *gmpnum_result; in gmp_zval_binary_ui_op_ex() local
542 INIT_GMP_NUM(gmpnum_result); in gmp_zval_binary_ui_op_ex()
546 long_result = gmp_ui_op(*gmpnum_result, *gmpnum_a, (unsigned long)Z_LVAL_PP(b_arg)); in gmp_zval_binary_ui_op_ex()
551 gmp_ui_op(*gmpnum_result, *gmpnum_a, (unsigned long)Z_LVAL_PP(b_arg)); in gmp_zval_binary_ui_op_ex()
554 gmp_op(*gmpnum_result, *gmpnum_a, *gmpnum_b); in gmp_zval_binary_ui_op_ex()
561 FREE_GMP_NUM(gmpnum_result); in gmp_zval_binary_ui_op_ex()
564 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp); in gmp_zval_binary_ui_op_ex()
655 mpz_t *gmpnum_a, *gmpnum_result; in gmp_zval_unary_op() local
660 INIT_GMP_NUM(gmpnum_result); in gmp_zval_unary_op()
661 gmp_op(*gmpnum_result, *gmpnum_a); in gmp_zval_unary_op()
664 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp); in gmp_zval_unary_op()
672 mpz_t *gmpnum_result; in gmp_zval_unary_ui_op() local
676 INIT_GMP_NUM(gmpnum_result); in gmp_zval_unary_ui_op()
677 gmp_op(*gmpnum_result, Z_LVAL_PP(a_arg)); in gmp_zval_unary_ui_op()
679 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp); in gmp_zval_unary_ui_op()
1034 mpz_t *gmpnum_result, *gmpnum_base; local
1054 INIT_GMP_NUM(gmpnum_result);
1056 mpz_ui_pow_ui(*gmpnum_result, Z_LVAL_PP(base_arg), exp);
1058 mpz_pow_ui(*gmpnum_result, *gmpnum_base, exp);
1061 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);
1070 mpz_t *gmpnum_base, *gmpnum_exp, *gmpnum_mod, *gmpnum_result; local
1100 INIT_GMP_NUM(gmpnum_result);
1102 mpz_powm_ui(*gmpnum_result, *gmpnum_base, (unsigned long)Z_LVAL_PP(exp_arg), *gmpnum_mod);
1104 mpz_powm(*gmpnum_result, *gmpnum_base, *gmpnum_exp, *gmpnum_mod);
1111 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);
1121 mpz_t *gmpnum_a, *gmpnum_result; local
1136 INIT_GMP_NUM(gmpnum_result);
1137 mpz_sqrt(*gmpnum_result, *gmpnum_a);
1140 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);
1271 mpz_t *gmpnum_a, *gmpnum_b, *gmpnum_result; local
1282 INIT_GMP_NUM(gmpnum_result);
1283 res=mpz_invert(*gmpnum_result, *gmpnum_a, *gmpnum_b);
1287 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);
1289 FREE_GMP_NUM(gmpnum_result);
1367 mpz_t *gmpnum_result; local
1373 INIT_GMP_NUM(gmpnum_result);
1385 mpz_urandomb(*gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * GMP_LIMB_BITS);
1387 mpz_urandomb(*gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * __GMP_BITS_PER_MP_LIMB);
1389 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);
1431 mpz_t *gmpnum_a, *gmpnum_b, *gmpnum_result, *gmpnum_t; local
1441 INIT_GMP_NUM(gmpnum_result);
1447 mpz_ior(*gmpnum_result, *gmpnum_a, *gmpnum_b);
1448 mpz_and(*gmpnum_result, *gmpnum_result, *gmpnum_t);
1454 ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp);