Lines Matching refs:notifier
881 zval *callback = (zval*)context->notifier->ptr; in user_space_stream_notifier()
917 static void user_space_stream_notifier_dtor(php_stream_notifier *notifier) in user_space_stream_notifier_dtor() argument
919 if (notifier && notifier->ptr) { in user_space_stream_notifier_dtor()
920 zval_ptr_dtor((zval **)&(notifier->ptr)); in user_space_stream_notifier_dtor()
921 notifier->ptr = NULL; in user_space_stream_notifier_dtor()
964 if (context->notifier) { in parse_context_params()
965 php_stream_notification_free(context->notifier); in parse_context_params()
966 context->notifier = NULL; in parse_context_params()
969 context->notifier = php_stream_notification_alloc(); in parse_context_params()
970 context->notifier->func = user_space_stream_notifier; in parse_context_params()
971 context->notifier->ptr = *tmp; in parse_context_params()
973 context->notifier->dtor = user_space_stream_notifier_dtor; in parse_context_params()
1110 …if (context->notifier && context->notifier->ptr && context->notifier->func == user_space_stream_no… in PHP_FUNCTION()
1111 add_assoc_zval_ex(return_value, ZEND_STRS("notification"), context->notifier->ptr); in PHP_FUNCTION()
1112 Z_ADDREF_P(context->notifier->ptr); in PHP_FUNCTION()