Lines Matching refs:notifier
879 zval *callback = &context->notifier->ptr; in user_space_stream_notifier()
904 static void user_space_stream_notifier_dtor(php_stream_notifier *notifier) in user_space_stream_notifier_dtor() argument
906 if (notifier && Z_TYPE(notifier->ptr) != IS_UNDEF) { in user_space_stream_notifier_dtor()
907 zval_ptr_dtor(¬ifier->ptr); in user_space_stream_notifier_dtor()
908 ZVAL_UNDEF(¬ifier->ptr); in user_space_stream_notifier_dtor()
942 if (context->notifier) { in parse_context_params()
943 php_stream_notification_free(context->notifier); in parse_context_params()
944 context->notifier = NULL; in parse_context_params()
947 context->notifier = php_stream_notification_alloc(); in parse_context_params()
948 context->notifier->func = user_space_stream_notifier; in parse_context_params()
949 ZVAL_COPY(&context->notifier->ptr, tmp); in parse_context_params()
950 context->notifier->dtor = user_space_stream_notifier_dtor; in parse_context_params()
1146 …if (context->notifier && Z_TYPE(context->notifier->ptr) != IS_UNDEF && context->notifier->func == … in PHP_FUNCTION()
1147 Z_TRY_ADDREF(context->notifier->ptr); in PHP_FUNCTION()
1148 …add_assoc_zval_ex(return_value, "notification", sizeof("notification")-1, &context->notifier->ptr); in PHP_FUNCTION()