Lines Matching refs:dst

182 #define convert_object_to_type(op, dst, ctype)									\  argument
183 ZVAL_UNDEF(dst); \
184 if (Z_OBJ_HT_P(op)->cast_object(Z_OBJ_P(op), dst, ctype) == FAILURE) { \
226 zval dst; in convert_scalar_to_number() local
228 convert_object_to_type(op, &dst, _IS_NUMBER); in convert_scalar_to_number()
231 if (Z_TYPE(dst) == IS_LONG || Z_TYPE(dst) == IS_DOUBLE) { in convert_scalar_to_number()
232 ZVAL_COPY_VALUE(op, &dst); in convert_scalar_to_number()
388 zval dst; in zendi_try_get_long() local
389 if (Z_OBJ_HT_P(op)->cast_object(Z_OBJ_P(op), &dst, IS_LONG) == FAILURE in zendi_try_get_long()
394 ZEND_ASSERT(Z_TYPE(dst) == IS_LONG); in zendi_try_get_long()
395 return Z_LVAL(dst); in zendi_try_get_long()
518 zval dst; in convert_to_long() local
520 convert_object_to_type(op, &dst, IS_LONG); in convert_to_long()
523 if (Z_TYPE(dst) == IS_LONG) { in convert_to_long()
524 ZVAL_LONG(op, Z_LVAL(dst)); in convert_to_long()
577 zval dst; in convert_to_double() local
579 convert_object_to_type(op, &dst, IS_DOUBLE); in convert_to_double()
582 if (Z_TYPE(dst) == IS_DOUBLE) { in convert_to_double()
583 ZVAL_DOUBLE(op, Z_DVAL(dst)); in convert_to_double()
649 zval dst; in convert_to_boolean() local
651 convert_object_to_type(op, &dst, _IS_BOOL); in convert_to_boolean()
654 if (Z_TYPE_INFO(dst) == IS_FALSE || Z_TYPE_INFO(dst) == IS_TRUE) { in convert_to_boolean()
655 Z_TYPE_INFO_P(op) = Z_TYPE_INFO(dst); in convert_to_boolean()
897 zval dst; in zval_get_long_func() local
898 convert_object_to_type(op, &dst, IS_LONG); in zval_get_long_func()
899 if (Z_TYPE(dst) == IS_LONG) { in zval_get_long_func()
900 return Z_LVAL(dst); in zval_get_long_func()
935 zval dst; in zval_get_double_func() local
936 convert_object_to_type(op, &dst, IS_DOUBLE); in zval_get_double_func()
938 if (Z_TYPE(dst) == IS_DOUBLE) { in zval_get_double_func()
939 return Z_DVAL(dst); in zval_get_double_func()