Lines Matching refs:holder

292 …inline zval* ZEND_FASTCALL _zendi_convert_scalar_to_number_silent(zval *op, zval *holder) /* {{{ */  in _zendi_convert_scalar_to_number_silent()  argument
297 ZVAL_LONG(holder, 0); in _zendi_convert_scalar_to_number_silent()
298 return holder; in _zendi_convert_scalar_to_number_silent()
300 ZVAL_LONG(holder, 1); in _zendi_convert_scalar_to_number_silent()
301 return holder; in _zendi_convert_scalar_to_number_silent()
303 …if ((Z_TYPE_INFO_P(holder) = is_numeric_string(Z_STRVAL_P(op), Z_STRLEN_P(op), &Z_LVAL_P(holder), … in _zendi_convert_scalar_to_number_silent()
304 ZVAL_LONG(holder, 0); in _zendi_convert_scalar_to_number_silent()
306 return holder; in _zendi_convert_scalar_to_number_silent()
308 ZVAL_LONG(holder, Z_RES_HANDLE_P(op)); in _zendi_convert_scalar_to_number_silent()
309 return holder; in _zendi_convert_scalar_to_number_silent()
311 convert_object_to_type(op, holder, _IS_NUMBER); in _zendi_convert_scalar_to_number_silent()
313 UNEXPECTED(Z_TYPE_P(holder) != IS_LONG && Z_TYPE_P(holder) != IS_DOUBLE)) { in _zendi_convert_scalar_to_number_silent()
314 ZVAL_LONG(holder, 1); in _zendi_convert_scalar_to_number_silent()
316 return holder; in _zendi_convert_scalar_to_number_silent()
325 …ine zend_result ZEND_FASTCALL _zendi_try_convert_scalar_to_number(zval *op, zval *holder) /* {{{ */ in _zendi_try_convert_scalar_to_number() argument
330 ZVAL_LONG(holder, 0); in _zendi_try_convert_scalar_to_number()
333 ZVAL_LONG(holder, 1); in _zendi_try_convert_scalar_to_number()
339 if (0 == (Z_TYPE_INFO_P(holder) = is_numeric_string_ex(Z_STRVAL_P(op), Z_STRLEN_P(op), in _zendi_try_convert_scalar_to_number()
340 &Z_LVAL_P(holder), &Z_DVAL_P(holder), /* allow errors */ true, NULL, &trailing_data))) { in _zendi_try_convert_scalar_to_number()
353 if (Z_OBJ_HT_P(op)->cast_object(Z_OBJ_P(op), holder, _IS_NUMBER) == FAILURE in _zendi_try_convert_scalar_to_number()
357 ZEND_ASSERT(Z_TYPE_P(holder) == IS_LONG || Z_TYPE_P(holder) == IS_DOUBLE); in _zendi_try_convert_scalar_to_number()
367 static zend_always_inline zend_result zendi_try_convert_scalar_to_number(zval *op, zval *holder) /*… in zendi_try_convert_scalar_to_number() argument
370 ZVAL_COPY_VALUE(holder, op); in zendi_try_convert_scalar_to_number()
373 return _zendi_try_convert_scalar_to_number(op, holder); in zendi_try_convert_scalar_to_number()