Lines Matching refs:arg_pos
128 #define FETCH_GMP_ZVAL_DEP_DEP(gmpnumber, zval, temp, dep1, dep2, arg_pos) \ argument
134 if (convert_to_gmp(temp.num, zval, 0, arg_pos) == FAILURE) { \
144 #define FETCH_GMP_ZVAL_DEP(gmpnumber, zval, temp, dep, arg_pos) \ argument
150 if (convert_to_gmp(temp.num, zval, 0, arg_pos) == FAILURE) { \
159 #define FETCH_GMP_ZVAL(gmpnumber, zval, temp, arg_pos) \ argument
165 if (convert_to_gmp(temp.num, zval, 0, arg_pos) == FAILURE) { \
177 static zend_result convert_to_gmp(mpz_t gmpnumber, zval *val, zend_long base, uint32_t arg_pos);
587 …ult convert_zstr_to_gmp(mpz_t gmp_number, const zend_string *val, zend_long base, uint32_t arg_pos) in convert_zstr_to_gmp() argument
607 if (arg_pos == 0) { in convert_zstr_to_gmp()
610 zend_argument_value_error(arg_pos, "is not an integer string"); in convert_zstr_to_gmp()
620 static zend_result convert_to_gmp(mpz_t gmpnumber, zval *val, zend_long base, uint32_t arg_pos) in convert_to_gmp() argument
627 return convert_zstr_to_gmp(gmpnumber, Z_STR_P(val), base, arg_pos); in convert_to_gmp()
631 if (!zend_parse_arg_long_slow(val, &lval, arg_pos)) { in convert_to_gmp()
632 if (arg_pos == 0) { in convert_to_gmp()
636 zend_argument_type_error(arg_pos, in convert_to_gmp()