Lines Matching refs:lval

389 			zend_long lval = zend_dval_to_lval(dval);  in zendi_try_get_long()  local
390 if (!zend_is_long_compatible(dval, lval)) { in zendi_try_get_long()
396 return lval; in zendi_try_get_long()
401 zend_long lval; in zendi_try_get_long() local
406 type = is_numeric_string_ex(Z_STRVAL_P(op), Z_STRLEN_P(op), &lval, &dval, in zendi_try_get_long()
419 return lval; in zendi_try_get_long()
426 lval = zend_dval_to_lval_cap(dval); in zendi_try_get_long()
427 if (!zend_is_long_compatible(dval, lval)) { in zendi_try_get_long()
433 return lval; in zendi_try_get_long()
917 zend_long lval = zend_dval_to_lval(dval); in zval_get_long_func() local
919 if (!zend_is_long_compatible(dval, lval)) { in zval_get_long_func()
923 return lval; in zval_get_long_func()
928 zend_long lval; in zval_get_long_func() local
930 if (0 == (type = is_numeric_string(Z_STRVAL_P(op), Z_STRLEN_P(op), &lval, &dval, true))) { in zval_get_long_func()
933 return lval; in zval_get_long_func()
941 lval = zend_dval_to_lval_cap(dval); in zval_get_long_func()
943 if (!zend_is_long_compatible(dval, lval)) { in zval_get_long_func()
947 return lval; in zval_get_long_func()
1602 zend_long lval = zend_dval_to_lval(Z_DVAL_P(op1)); in bitwise_not_function() local
1603 if (!zend_is_long_compatible(Z_DVAL_P(op1), lval)) { in bitwise_not_function()
1612 ZVAL_LONG(result, ~lval); in bitwise_not_function()
2209 static int compare_long_to_string(zend_long lval, zend_string *str) /* {{{ */ in compare_long_to_string() argument
2216 return lval > str_lval ? 1 : lval < str_lval ? -1 : 0; in compare_long_to_string()
2220 return ZEND_THREEWAY_COMPARE((double) lval, str_dval); in compare_long_to_string()
2223 zend_string *lval_as_str = zend_long_to_str(lval); in compare_long_to_string()
2659 zend_long lval; in increment_function() local
2662 switch (is_numeric_str_function(Z_STR_P(op1), &lval, &dval)) { in increment_function()
2665 if (lval == ZEND_LONG_MAX) { in increment_function()
2667 double d = (double)lval; in increment_function()
2670 ZVAL_LONG(op1, lval+1); in increment_function()
2732 zend_long lval; in decrement_function() local
2754 switch (is_numeric_str_function(Z_STR_P(op1), &lval, &dval)) { in decrement_function()
2757 if (lval == ZEND_LONG_MIN) { in decrement_function()
2758 double d = (double)lval; in decrement_function()
2761 ZVAL_LONG(op1, lval-1); in decrement_function()
3532 ZEND_API uint8_t ZEND_FASTCALL is_numeric_str_function(const zend_string *str, zend_long *lval, dou… argument
3534 return is_numeric_string(ZSTR_VAL(str), ZSTR_LEN(str), lval, dval, false);
3538 …ND_API uint8_t ZEND_FASTCALL _is_numeric_string_ex(const char *str, size_t length, zend_long *lval, argument
3659 if (lval) {
3663 *lval = (zend_long) tmp_lval;