Lines Matching refs:ret_constant
331 zval *ret_constant = NULL; in zend_get_constant_ex() local
365 ret_constant = NULL; in zend_get_constant_ex()
371 ret_constant = &c->value; in zend_get_constant_ex()
375 if (ret_constant && Z_CONSTANT_P(ret_constant)) { in zend_get_constant_ex()
376 if (Z_TYPE_P(ret_constant) == IS_CONSTANT_AST) { in zend_get_constant_ex()
377 if (IS_CONSTANT_VISITED(ret_constant)) { in zend_get_constant_ex()
379 ret_constant = NULL; in zend_get_constant_ex()
382 MARK_CONSTANT_VISITED(ret_constant); in zend_get_constant_ex()
384 if (UNEXPECTED(zval_update_constant_ex(ret_constant, c->ce) != SUCCESS)) { in zend_get_constant_ex()
385 RESET_CONSTANT_VISITED(ret_constant); in zend_get_constant_ex()
386 ret_constant = NULL; in zend_get_constant_ex()
389 RESET_CONSTANT_VISITED(ret_constant); in zend_get_constant_ex()
394 return ret_constant; in zend_get_constant_ex()