Searched refs:severity (Results 1 - 15 of 15) sorted by relevance

H A Dtest.inc13 // {{{ bool sybase_msg_handler(int msgnumber, int severity, int state, int line, string text)
15 function sybase_msg_handler($msgnumber, $severity, $state, $line, $text) {
19 $severity,
30 // {{{ public static bool static_handler(int msgnumber, int severity, int state, int line, string text)
32 static function static_handler($msgnumber, $severity, $state, $line, $text) {
33 return sybase_msg_handler($msgnumber, $severity, $state, $line, $text);
37 // {{{ public bool static_handler(int msgnumber, int severity, int state, int line, string text)
39 function handler($msgnumber, $severity, $state, $line, $text) {
40 return sybase_msg_handler($msgnumber, $severity, $state, $line, $text);
H A Dfetch.php9 function stream_notification_callback($notification_code, $severity, $message, $message_code, $bytes_transferred, $bytes_max) {
H A Dfpm_children.c185 int severity = ZLOG_NOTICE; local
202 severity = ZLOG_WARNING;
223 severity = ZLOG_WARNING;
250 severity = ZLOG_DEBUG;
252 zlog(severity, "[pool %s] child %d exited %s after %ld.%06d seconds from start", child->wp->config->name, (int) pid, buf, tv2.tv_sec, (int) tv2.tv_usec);
H A Ddblib_driver.c60 spprintf(&message, 0, "%s [%d] (severity %d) [%s]",
61 msg, einfo->dberr, einfo->severity, stmt ? stmt->active_query_string : "");
66 add_next_index_long(info, einfo->severity);
403 "SQLSTATE[%s] %s (severity %d)",
406 DBLIB_G(err).severity);
H A Dpdo_dblib.c89 int error_handler(DBPROCESS *dbproc, int severity, int dberr,
103 einfo->severity = severity;
133 "dblib error: %d %s (severity %d)",
134 dberr, dberrstr, severity);
141 int severity, char *msgtext, char *srvname, char *procname, DBUSMALLINT line)
146 if (severity) {
160 php_error_docref(NULL TSRMLS_CC, E_WARNING, "dblib message: %s (severity %d)", msgtext, severity);
140 msg_handler(DBPROCESS *dbproc, DBINT msgno, int msgstate, int severity, char *msgtext, char *srvname, char *procname, DBUSMALLINT line) argument
H A Dphp_pdo_dblib_int.h92 int error_handler(DBPROCESS *dbproc, int severity, int dberr,
96 int severity, char *msgtext, char *srvname, char *procname, DBUSMALLINT line);
102 int severity; member in struct:__anon156
H A Dphp_soap.h205 #define soap_error0(severity, format) \
206 php_error(severity, "SOAP-ERROR: " format)
208 #define soap_error1(severity, format, param1) \
209 php_error(severity, "SOAP-ERROR: " format, param1)
211 #define soap_error2(severity, format, param1, param2) \
212 php_error(severity, "SOAP-ERROR: " format, param1, param2)
214 #define soap_error3(severity, format, param1, param2, param3) \
215 php_error(severity, "SOAP-ERROR: " format, param1, param2, param3)
H A Dstreamsfuncs.c874 static void user_space_stream_notifier(php_stream_context *context, int notifycode, int severity, argument
892 ZVAL_LONG(ps[1], severity);
H A Dphp_sybase_ct.c140 ZEND_ARG_INFO(0, severity)
144 ZEND_ARG_INFO(0, severity)
391 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Client message: %s (severity %ld)", errmsg->msgstring, (long)CS_SEVERITY(errmsg->msgnumber));
414 zval *msgnumber, *severity, *state, *line, *text, *retval = NULL; local
425 MAKE_STD_ZVAL(severity);
426 ZVAL_LONG(severity, srvmsg->severity);
427 args[1] = &severity;
458 zval_ptr_dtor(&severity);
489 /* Check mininum server severity leve
2146 long severity; local
2161 long severity; local
H A Dphp_stream_context.h25 int notifycode, int severity,
88 PHPAPI void php_stream_notification_notify(php_stream_context *context, int notifycode, int severity,
H A Dstreams.c2177 PHPAPI void php_stream_notification_notify(php_stream_context *context, int notifycode, int severity, argument
2181 context->notifier->func(context, notifycode, severity, xmsg, xcode, bytes_sofar, bytes_max, ptr TSRMLS_CC);
H A Dzend_API.c305 static const char *zend_parse_arg_impl(int arg_num, zval **arg, va_list *va, const char **spec, char **error, int *severity TSRMLS_DC) /* {{{ */
634 *severity = E_STRICT;
643 *severity = E_WARNING;
689 int severity = E_WARNING; local
691 expected_type = zend_parse_arg_impl(arg_num, arg, va, spec, &error, &severity TSRMLS_CC);
698 zend_error(severity, "%s%s%s() expects parameter %d %s",
702 zend_error(severity, "%s%s%s() expects parameter %d to be %s, %s given",
707 if (severity != E_STRICT) {
2927 int severity; local
2930 severity
H A Dzend_exceptions.h48 ZEND_API zval * zend_throw_error_exception(zend_class_entry *exception_ce, const char *message, long code, int severity TSRMLS_DC);
52 /* show an exception using zend_error(severity,...), severity should be E_ERROR */
53 ZEND_API void zend_exception_error(zval *exception, int severity TSRMLS_DC);
H A Dzend_exceptions.c221 /* {{{ proto ErrorException::__construct(string message, int code, int severity [, string filename [, int lineno [, Exception previous]]])
226 long code = 0, severity = E_ERROR, lineno; local
230 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "|sllslO!", &message, &message_len, &code, &severity, &filename, &filename_len, &lineno, &previous, default_exception_ce) == FAILURE) {
231 zend_error(E_ERROR, "Wrong parameters for ErrorException([string $exception [, long $code, [ long $severity, [ string $filename, [ long $lineno [, Exception $previous = NULL]]]]]])");
248 zend_update_property_long(default_exception_ce, object, "severity", sizeof("severity")-1, severity TSRMLS_CC);
328 Get the exception severity */
333 _default_exception_get_entry(getThis(), "severity", sizeof("severity")
H A Dphp_mssql.c115 ZEND_ARG_INFO(0, severity)
267 static int php_mssql_error_handler(DBPROCESS *dbproc, int severity, int dberr, int oserr, char *dberrstr, char *oserrstr) argument
271 if (severity >= MS_SQL_G(min_error_severity)) {
272 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s (severity %d)", dberrstr, severity);
280 static int php_mssql_message_handler(DBPROCESS *dbproc, DBINT msgno,int msgstate, int severity,char *msgtext,char *srvname, char *procname,DBUSMALLINT line) argument
284 if (severity >= MS_SQL_G(min_message_severity)) {
285 php_error_docref(NULL TSRMLS_CC, E_WARNING, "message: %s (severity %d)", msgtext, severity);
1942 /* {{{ proto void mssql_min_error_severity(int severity)
1946 long severity; local
1961 long severity; local

Completed in 26 milliseconds