Lines Matching refs:context

20 typedef void (*php_stream_notification_func)(php_stream_context *context,
37 #define php_stream_context_to_zval(context, zval) { ZVAL_RES(zval, (context)->res); GC_ADDREF((cont… argument
56 PHPAPI void php_stream_context_free(php_stream_context *context);
58 PHPAPI zval *php_stream_context_get_option(php_stream_context *context,
60 PHPAPI void php_stream_context_set_option(php_stream_context *context,
84 PHPAPI void php_stream_notification_notify(php_stream_context *context, int notifycode, int severit…
86 PHPAPI php_stream_context *php_stream_context_set(php_stream *stream, php_stream_context *context);
89 #define php_stream_notify_info(context, code, xmsg, xcode) do { if ((context) && (context)->notifie… argument
90 php_stream_notification_notify((context), (code), PHP_STREAM_NOTIFY_SEVERITY_INFO, \
93 #define php_stream_notify_progress(context, bsofar, bmax) do { if ((context) && (context)->notifier… argument
94 …php_stream_notification_notify((context), PHP_STREAM_NOTIFY_PROGRESS, PHP_STREAM_NOTIFY_SEVERITY_I…
97 #define php_stream_notify_completed(context) do { if ((context) && (context)->notifier) { \ argument
98 …php_stream_notification_notify((context), PHP_STREAM_NOTIFY_COMPLETED, PHP_STREAM_NOTIFY_SEVERITY_…
99 NULL, 0, (context)->notifier->progress, (context)->notifier->progress_max, NULL); } } while(0)
101 #define php_stream_notify_progress_init(context, sofar, bmax) do { if ((context) && (context)->noti… argument
102 (context)->notifier->progress = (sofar); \
103 (context)->notifier->progress_max = (bmax); \
104 (context)->notifier->mask |= PHP_STREAM_NOTIFIER_PROGRESS; \
105 php_stream_notify_progress((context), (sofar), (bmax)); } } while (0)
107 … php_stream_notify_progress_increment(context, dsofar, dmax) do { if ((context) && (context)->noti… argument
108 (context)->notifier->progress += (dsofar); \
109 (context)->notifier->progress_max += (dmax); \
110 …php_stream_notify_progress((context), (context)->notifier->progress, (context)->notifier->progress…
112 #define php_stream_notify_file_size(context, file_size, xmsg, xcode) do { if ((context) && (context argument
113 …php_stream_notification_notify((context), PHP_STREAM_NOTIFY_FILE_SIZE_IS, PHP_STREAM_NOTIFY_SEVERI…
116 #define php_stream_notify_error(context, code, xmsg, xcode) do { if ((context) && (context)->notifi… argument
117 php_stream_notification_notify((context), (code), PHP_STREAM_NOTIFY_SEVERITY_ERR, \