Searched refs:message (Results 1 - 25 of 87) sorted by relevance

1234

/PHP-7.3/ext/pcre/pcre2lib/
H A Dpcre2_error.c272 * Return error message *
275 /* This function copies an error message into a buffer whose units are of an
282 buffer where to put the message (zero terminated)
285 Returns: length of message if all is well
292 const unsigned char *message; local
300 message = compile_error_texts;
305 message = match_error_texts;
310 message = (unsigned char *)"\0"; /* Empty message list */
316 while (*message
[all...]
/PHP-7.3/ext/mysqli/
H A Dmysqli_exception.c43 char *message; local
46 vspprintf(&message, 0, format, arg);
50 php_error_docref(NULL, E_WARNING, "(%s/%d): %s", sqlstate, errorno, message);
51 efree(message);
57 if (message) {
58 zend_update_property_string(mysqli_exception_class_entry, &sql_ex, "message", sizeof("message") - 1,
59 message);
70 efree(message);
H A Dmysqli_prop.c191 MYSQLND_ERROR_LIST_ELEMENT * message; local
193 for (message = (MYSQLND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&mysql->mysql->data->error_info->error_list, &pos);
194 message;
195 message = (MYSQLND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(&mysql->mysql->data->error_info->error_list, &pos))
199 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no);
200 add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, message->sqlstate);
201 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, message->error);
383 MYSQLND_ERROR_LIST_ELEMENT * message; local
385 for (message = (MYSQLND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(&stmt->stmt->data->error_info->error_list, &pos);
386 message;
[all...]
/PHP-7.3/ext/intl/common/
H A Dcommon_date.cpp44 char *message; local
63 spprintf(&message, 0, "%s: object has an time zone offset "
66 message, 1);
67 efree(message);
94 spprintf(&message, 0, "%s: time zone id '%s' "
97 message, 1);
98 efree(message);
111 char *message; local
130 spprintf(&message, 0, "%s: error calling ::getTimeStamp() on the "
133 message,
179 char *message; local
[all...]
/PHP-7.3/ext/intl/collator/
H A Dcollator_error.c62 zend_string* message = NULL; local
81 /* Return last error message. */
82 message = intl_error_get_message( COLLATOR_ERROR_P( co ) );
83 RETURN_STR(message);
/PHP-7.3/pear/
H A Dfetch.php9 function stream_notification_callback($notification_code, $severity, $message, $message_code, $bytes_transferred, $bytes_max) {
22 echo "Being redirected to: ", $message, "\n";
35 echo "Mime-type: ", $message, "\n";
73 echo "\nError..\n", $err["message"], "\n";
/PHP-7.3/ext/intl/timezone/
H A Dtimezone_class.cpp68 char *message = NULL; local
74 spprintf(&message, 0, "%s: could not obtain TimeZone id", func);
76 message, 1);
95 spprintf(&message, 0, "%s: could not convert id to UTF-8", func);
97 message, 1);
103 spprintf(&message, 0,
106 message, 1);
122 if (message) {
123 efree(message);
136 char *message local
[all...]
/PHP-7.3/win32/
H A Dwsyslog.c77 * message
81 void syslog(int priority, const char *message, ...) argument
85 va_start(args, message); /* initialize vararg mechanism */
86 vsyslog(priority, message, args);
90 void vsyslog(int priority, const char *message, va_list args) argument
116 vspprintf(&tmp, 0, message, args); /* build message */
134 strs[1] = tmp; /* then the message */
/PHP-7.3/ext/com_dotnet/
H A Dcom_misc.c30 void php_com_throw_exception(HRESULT code, char *message) argument
33 if (message == NULL) {
34 message = php_win32_error_to_msg(code);
38 zend_throw_exception(php_com_exception_class_entry, message, (zend_long)(uint32_t)code);
40 zend_throw_exception(php_com_exception_class_entry, message, (zend_long)code);
43 LocalFree(message);
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_connection.h47 #define SET_NEW_MESSAGE(buf, buf_len, message, len) \
52 if ((message)) { \
53 (buf) = mnd_pestrndup((message), (len), 0); \
/PHP-7.3/ext/intl/dateformat/
H A Ddateformat.c99 zend_string *message = NULL; local
114 /* Return last error message. */
115 message = intl_error_get_message( INTL_DATA_ERROR_P(dfo) );
116 RETURN_STR( message);
H A Ddateformat_format.c68 char *message; local
76 spprintf(&message, 0, "datefmt_format: parameter array contains "
78 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, message, 1);
79 efree(message);
83 spprintf(&message, 0, "datefmt_format: value " ZEND_LONG_FMT " is out of "
86 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, message, 1);
87 efree(message);
/PHP-7.3/ext/soap/tests/schema/
H A Dtest_schema.inc28 <message name="testMessage">
30 </message>
33 <input message="testMessage"/>
/PHP-7.3/sapi/fpm/tests/
H A Dlogtool.inc15 private $message;
53 * @param string $message
57 public function setExpectedMessage(string $message, int $limit, int $repeat = 0)
59 $this->message = ($repeat > 0) ? str_repeat($message, $repeat) : $message;
95 if ($this->message === null) {
96 throw new \LogicException('The message has not been set');
102 $this->pattern = '/^PHP message: (.*?)(\.\.\.)?$/';
104 return $this->error("Unexpected truncated message
[all...]
H A Dresponse.inc152 * Check if the response is valid and if not emit error message
270 * Emit error message
272 * @param string $message
275 private function error($message)
277 echo "ERROR: $message\n";
/PHP-7.3/ext/intl/formatter/
H A Dformatter_main.c140 zend_string *message = NULL; local
155 /* Return last error message. */
156 message = intl_error_get_message( INTL_DATA_ERROR_P(nfo) );
157 RETURN_STR(message);
/PHP-7.3/ext/sysvmsg/
H A Dsysvmsg.c49 ZEND_ARG_INFO(0, message)
60 ZEND_ARG_INFO(1, message)
151 Set information for a message queue */
192 Returns information about a message queue */
227 Check whether a message queue exists */
245 Attach to a message queue */
296 /* {{{ proto mixed msg_receive(resource queue, int desiredmsgtype, int &msgtype, int maxsize, mixed message [, bool unserialize=true [, int flags=0 [, int errorcode]]])
297 Send a message of type msgtype (must be > 0) to a message queue */
317 php_error_docref(NULL, E_WARNING, "maximum size of the message ha
388 zval *message, *queue, *zerror=NULL; local
[all...]
/PHP-7.3/Zend/
H A Dzend_exceptions.h57 * message NULL or the message of the exception */
58 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *message, zend_long code);
63 ZEND_API zend_object *zend_throw_error_exception(zend_class_entry *exception_ce, const char *message, zend_long code, int severity);
H A Dzend_extensions.c232 int message; local
238 message = va_arg(args, int);
240 extension->message_handler(message, arg);
244 ZEND_API void zend_extension_dispatch_message(int message, void *arg) argument
246 zend_llist_apply_with_arguments(&zend_extensions, (llist_apply_with_args_func_t) zend_extension_message_dispatcher, 2, message, arg);
H A Dzend.c82 static void (*zend_message_dispatcher_p)(zend_long message, const void *data);
202 ZEND_API size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) /* {{{ */ argument
208 len = zend_vspprintf(message, max_len, format, arg);
214 ZEND_API size_t zend_spprintf_unchecked(char **message, size_t max_len, const char *format, ...) /* {{{ */ argument
220 len = zend_vspprintf(message, max_len, format, arg);
1132 ZEND_API void zend_message_dispatcher(zend_long message, const void *data) /* {{{ */ argument
1135 zend_message_dispatcher_p(message, data);
1424 char *message = NULL; local
1436 zend_vspprintf(&message, 0, format, va);
1440 zend_throw_exception(exception_ce, message,
1453 char *message = NULL; local
1465 char *message = NULL; local
1482 char *message = NULL; local
[all...]
/PHP-7.3/ext/standard/
H A Dmail.c246 case sizeof("message-id")-1: /* "references" */
247 if (!strncasecmp("message-id", ZSTR_VAL(key), ZSTR_LEN(key))) {
248 PHP_MAIL_BUILD_HEADER_CHECK("message-id", s, key, val);
282 /* {{{ proto int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]])
283 Send an email message */
286 char *to=NULL, *message=NULL; local
299 Z_PARAM_STRING(message, message_len)
308 MAIL_ASCIIZ_CHECK(message, message_len);
375 if (php_mail(to_r, subject_r, message, str_headers && ZSTR_LEN(str_headers) ? ZSTR_VAL(str_headers) : NULL, extra_cmd ? ZSTR_VAL(extra_cmd) : NULL)) {
398 void php_mail_log_crlf_to_spaces(char *message) { argument
409 php_mail_log_to_syslog(char *message) argument
417 php_mail_log_to_file(char *filename, char *message, size_t message_size) argument
467 php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd) argument
[all...]
H A Dphp_mail.h28 PHPAPI extern int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd);
/PHP-7.3/ext/intl/msgformat/
H A Dmsgformat.c81 /* Create an ICU message formatter. */
88 INTL_CTOR_CHECK_STATUS(mfo, "msgfmt_create: message formatter creation failed");
160 zend_string* message = NULL; local
176 /* Return last error message. */
177 message = intl_error_get_message( &mfo->mf_data.error );
178 RETURN_STR(message);
H A Dmsgformat_helpers.cpp445 char *message; local
446 spprintf(&message, 0,
448 intl_errors_set(&err, err.code, message, 1);
449 efree(message);
460 /* Convert zval to formattable according to message format type
481 char *message; local
482 spprintf(&message, 0, "Invalid UTF-8 data in string argument: "
484 intl_errors_set(&err, err.code, message, 1);
485 efree(message);
553 char *message; local
597 char *message; local
[all...]
/PHP-7.3/ext/spl/
H A Dspl.php257 /** The exception message */
258 protected $message; variable
281 * @param $message Some text describing the exception
284 function __construct($message = NULL, $code = 0) {
286 $this->message = $message; variable
295 /** @return the message passed to the constructor
299 return $this->message;

Completed in 28 milliseconds

1234