Lines Matching refs:notifier
829 zval *callback = &context->notifier->ptr; in user_space_stream_notifier()
854 static void user_space_stream_notifier_dtor(php_stream_notifier *notifier) in user_space_stream_notifier_dtor() argument
856 if (notifier && Z_TYPE(notifier->ptr) != IS_UNDEF) { in user_space_stream_notifier_dtor()
857 zval_ptr_dtor(¬ifier->ptr); in user_space_stream_notifier_dtor()
858 ZVAL_UNDEF(¬ifier->ptr); in user_space_stream_notifier_dtor()
891 if (context->notifier) { in parse_context_params()
892 php_stream_notification_free(context->notifier); in parse_context_params()
893 context->notifier = NULL; in parse_context_params()
896 context->notifier = php_stream_notification_alloc(); in parse_context_params()
897 context->notifier->func = user_space_stream_notifier; in parse_context_params()
898 ZVAL_COPY(&context->notifier->ptr, tmp); in parse_context_params()
899 context->notifier->dtor = user_space_stream_notifier_dtor; in parse_context_params()
1048 …if (context->notifier && Z_TYPE(context->notifier->ptr) != IS_UNDEF && context->notifier->func == … in PHP_FUNCTION()
1049 …add_assoc_zval_ex(return_value, "notification", sizeof("notification")-1, &context->notifier->ptr); in PHP_FUNCTION()
1050 if (Z_REFCOUNTED(context->notifier->ptr)) Z_ADDREF(context->notifier->ptr); in PHP_FUNCTION()