Lines Matching refs:lval

726 	zend_long lval;  in zend_verify_weak_scalar_type_hint()  local
736 uint8_t type = is_numeric_str_function(Z_STR_P(arg), &lval, &dval); in zend_verify_weak_scalar_type_hint()
739 ZVAL_LONG(arg, lval); in zend_verify_weak_scalar_type_hint()
747 } else if (zend_parse_arg_long_weak(arg, &lval, 0)) { in zend_verify_weak_scalar_type_hint()
749 ZVAL_LONG(arg, lval); in zend_verify_weak_scalar_type_hint()
787 zend_long lval; in zend_verify_weak_scalar_type_hint_no_sideeffect() local
793 if ((type_mask & MAY_BE_LONG) && zend_parse_arg_long_weak(arg, &lval, (uint32_t)-1)) { in zend_verify_weak_scalar_type_hint_no_sideeffect()
2390 static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_undefined_offset(zend_long lval) in zend_undefined_offset() argument
2392 zend_error(E_WARNING, "Undefined array key " ZEND_LONG_FMT, lval); in zend_undefined_offset()
2400 ZEND_API ZEND_COLD zval* ZEND_FASTCALL zend_undefined_offset_write(HashTable *ht, zend_long lval) in zend_undefined_offset_write() argument
2407 zend_undefined_offset(lval); in zend_undefined_offset_write()
2417 return zend_hash_index_add_new(ht, lval, &EG(uninitialized_zval)); in zend_undefined_offset_write()
2552 value->lval = zend_dval_to_lval(Z_DVAL_P(dim)); in slow_index_convert()
2553 if (!zend_is_long_compatible(Z_DVAL_P(dim), value->lval)) { in slow_index_convert()
2583 value->lval = Z_RES_HANDLE_P(dim); in slow_index_convert()
2586 value->lval = 0; in slow_index_convert()
2589 value->lval = 1; in slow_index_convert()
2622 value->lval = zend_dval_to_lval(Z_DVAL_P(dim)); in slow_index_convert_w()
2623 if (!zend_is_long_compatible(Z_DVAL_P(dim), value->lval)) { in slow_index_convert_w()
2657 value->lval = Z_RES_HANDLE_P(dim); in slow_index_convert_w()
2660 value->lval = 0; in slow_index_convert_w()
2663 value->lval = 1; in slow_index_convert_w()
2743 hval = val.lval; in zend_fetch_dimension_address_inner()
3139 zend_long lval; in zend_isset_dim_slow() local
3142 lval = Z_LVAL_P(offset); in zend_isset_dim_slow()
3144 if (UNEXPECTED(lval < 0)) { /* Handle negative offset */ in zend_isset_dim_slow()
3145 lval += (zend_long)Z_STRLEN_P(container); in zend_isset_dim_slow()
3147 if (EXPECTED(lval >= 0) && (size_t)lval < Z_STRLEN_P(container)) { in zend_isset_dim_slow()
3159 lval = zval_get_long_ex(offset, /* is_strict */ true); in zend_isset_dim_slow()
3178 zend_long lval; in zend_isempty_dim_slow() local
3181 lval = Z_LVAL_P(offset); in zend_isempty_dim_slow()
3183 if (UNEXPECTED(lval < 0)) { /* Handle negative offset */ in zend_isempty_dim_slow()
3184 lval += (zend_long)Z_STRLEN_P(container); in zend_isempty_dim_slow()
3186 if (EXPECTED(lval >= 0) && (size_t)lval < Z_STRLEN_P(container)) { in zend_isempty_dim_slow()
3187 return (Z_STRVAL_P(container)[lval] == '0'); in zend_isempty_dim_slow()
3198 lval = zval_get_long_ex(offset, /* is_strict */ true); in zend_isempty_dim_slow()