Lines Matching refs:lval
160 static void php_long2num(bc_num *num, zend_long lval) in php_long2num() argument
162 *num = bc_long2num(lval); in php_long2num()
1167 …end_result bcmath_number_parse_num(zval *zv, zend_object **obj, zend_string **str, zend_long *lval) in bcmath_number_parse_num() argument
1175 *lval = Z_LVAL_P(zv); in bcmath_number_parse_num()
1183 *lval = 0; in bcmath_number_parse_num()
1187 return zend_parse_arg_long_slow(zv, lval, 1 /* dummy */) ? SUCCESS : FAILURE; in bcmath_number_parse_num()
1193 bc_num *num, size_t *full_scale, const zend_object *obj, const zend_string *str, zend_long lval) in bc_num_from_obj_or_str_or_long() argument
1205 php_long2num(num, lval); in bc_num_from_obj_or_str_or_long()
1375 bc_num *num, size_t *scale, zend_object *obj, zend_string *str, zend_long lval, uint32_t arg_num) in bc_num_from_obj_or_str_or_long_with_err() argument
1378 if (UNEXPECTED(bc_num_from_obj_or_str_or_long(num, &full_scale, obj, str, lval) == FAILURE)) { in bc_num_from_obj_or_str_or_long_with_err()
1395 zend_long lval = 0; in PHP_METHOD() local
1398 Z_PARAM_STR_OR_LONG(str, lval); in PHP_METHOD()
1409 if (bc_num_from_obj_or_str_or_long_with_err(&num, &scale, NULL, str, lval, 1) == FAILURE) { in PHP_METHOD()