Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 227) sorted by relevance

12345678910

/php-src/ext/intl/dateformat/
H A Ddateformat_helpers.cpp35 char *msg; in datefmt_process_calendar_arg() local
53 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
54 efree(msg); in datefmt_process_calendar_arg()
68 spprintf(&msg, 0, "%s: Found unconstructed IntlCalendar object", in datefmt_process_calendar_arg()
70 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
71 efree(msg); in datefmt_process_calendar_arg()
81 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
82 efree(msg); in datefmt_process_calendar_arg()
90 spprintf(&msg, 0, "%s: Failure instantiating calendar", func_name); in datefmt_process_calendar_arg()
91 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
[all …]
/php-src/ext/dom/lexbor/lexbor/css/
H A Dlog.c13 const char *msg; member
100 if (msg == NULL) { in lxb_css_log_append()
114 msg->type = type; in lxb_css_log_append()
116 return msg; in lxb_css_log_append()
125 if (msg == NULL) { in lxb_css_log_push()
134 msg->type = type; in lxb_css_log_push()
136 return msg; in lxb_css_log_push()
156 if (msg == NULL) { in lxb_css_log_format()
164 msg->text.length = psize; in lxb_css_log_format()
166 return msg; in lxb_css_log_format()
[all …]
/php-src/sapi/phpdbg/
H A Dphpdbg_out.c73 if (msg) { in phpdbg_process_print()
83 if (msg) { in phpdbg_process_print()
84 msgout = pestrndup(msg, msglen, 1); in phpdbg_process_print()
95 if (msg) { in phpdbg_process_print()
97 phpdbg_mixed_write(fd, msg, msglen); in phpdbg_process_print()
103 if (msg) { in phpdbg_process_print()
124 char *msg = NULL; in phpdbg_vprint() local
140 PHPDBG_G(err_buf).msg = msg; in phpdbg_vprint()
152 if (msg) { in phpdbg_vprint()
153 free(msg); in phpdbg_vprint()
[all …]
/php-src/sapi/fpm/tests/
H A Dlog-bwd-multiple-msgs.phpt25 file_put_contents('php://stderr', "msg 1 - ");
27 file_put_contents('php://stderr', "msg 2 - ");
29 file_put_contents('php://stderr', "msg 3");
37 $tester->expectLogLine('msg 1 - msg 2 - msg 3');
38 $tester->expectLogLine('msg 1 - msg 2 - msg 3');
H A Dlog-bwd-multiple-msgs-stdout-stderr.phpt27 file_put_contents('php://stdout', "msg 1 - ");
29 file_put_contents('php://stderr', "msg 2 - ");
31 file_put_contents('php://stderr', "msg 3");
39 $tester->expectLogLine('msg 1 - ', false);
40 $tester->expectLogLine('msg 2 - msg 3', true);
H A Dlog-bwd-msg-with-nl.phpt2 FPM: Buffered worker output decorated log with msg containing new lines
25 file_put_contents('php://stderr', "msg 1\nmsg 2\nmsg 3");
32 $tester->expectLogLine('msg 1');
33 $tester->expectLogLine('msg 2');
34 $tester->expectLogLine('msg 3');
/php-src/ext/intl/
H A Dintl_data.h47 #define INTL_CHECK_STATUS(err, msg) \ argument
51 intl_error_set_custom_msg( NULL, msg, 0 ); \
56 #define INTL_CHECK_STATUS_OR_NULL(err, msg) \ argument
60 intl_error_set_custom_msg( NULL, msg, 0 ); \
66 #define INTL_METHOD_CHECK_STATUS(obj, msg) \ argument
70 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
75 #define INTL_METHOD_CHECK_STATUS_OR_GOTO(obj, msg, label) \ argument
79 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
85 #define INTL_METHOD_CHECK_STATUS_OR_NULL(obj, msg) \ argument
89 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
[all …]
H A Dintl_error.c90 void intl_error_set_custom_msg( intl_error* err, const char* msg, int copyMsg ) in intl_error_set_custom_msg() argument
92 if( !msg ) in intl_error_set_custom_msg()
97 php_error_docref( NULL, INTL_G( error_level ), "%s", msg ); in intl_error_set_custom_msg()
99 zend_throw_exception_ex( IntlException_ce_ptr, 0, "%s", msg ); in intl_error_set_custom_msg()
111 err->custom_error_message = copyMsg ? estrdup( msg ) : (char *) msg; in intl_error_set_custom_msg()
161 void intl_error_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg ) in intl_error_set() argument
164 intl_error_set_custom_msg( err, msg, copyMsg ); in intl_error_set()
172 intl_errors_set_custom_msg( err, msg, copyMsg ); in intl_errors_set()
187 void intl_errors_set_custom_msg( intl_error* err, const char* msg, int copyMsg ) in intl_errors_set_custom_msg() argument
190 intl_error_set_custom_msg( err, msg, copyMsg ); in intl_errors_set_custom_msg()
[all …]
H A Dintl_error.h36 void intl_error_set_custom_msg( intl_error* err, const char* msg, int copyMsg );
37 void intl_error_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg );
43 void intl_errors_set_custom_msg( intl_error* err, const char* msg, int copyMsg );
45 void intl_errors_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg );
/php-src/ext/sodium/tests/
H A Dcrypto_aead.phpt15 $msg = random_bytes(random_int(1, 1000));
22 var_dump($ciphertext !== $msg);
23 var_dump($msg === $msg2);
45 var_dump($ciphertext !== $msg);
46 var_dump($msg === $msg2);
74 var_dump($ciphertext !== $msg);
75 var_dump($msg === $msg2);
100 var_dump($ciphertext !== $msg);
101 var_dump($msg === $msg2);
127 var_dump($msg === $msg2);
[all …]
H A Dcrypto_auth.phpt7 $msg = random_bytes(1000);
9 $mac = sodium_crypto_auth($msg, $key);
12 var_dump(sodium_crypto_auth_verify($mac, $msg, $key));
16 $mac = sodium_crypto_auth($msg, $bad_key);
23 $badmsg = $msg;
28 $badmsg = $msg;
30 \ord($msg[$i]) ^ (
40 var_dump(sodium_crypto_auth_verify($badmac, $msg, $key));
H A Dcrypto_sign.phpt21 $msg = "Here is the message, to be signed using Alice's secret key, and " .
24 $msg_signed = sodium_crypto_sign($msg, $alice_secretkey);
25 var_dump(strlen($msg_signed) - strlen($msg) === SODIUM_CRYPTO_SIGN_BYTES);
28 var_dump($msg_orig === $msg);
40 $msg_signed = sodium_crypto_sign($msg, $alice_secretkey);
41 var_dump(strlen($msg_signed) - strlen($msg) === SODIUM_CRYPTO_SIGN_BYTES);
44 var_dump($msg_orig === $msg);
46 $signature = sodium_crypto_sign_detached($msg, $alice_secretkey);
49 $msg, $alice_publickey));
51 $msg . "\0", $alice_publickey));
[all …]
/php-src/ext/com_dotnet/
H A Dcom_olechar.c59 char *msg = php_win32_error_to_msg(GetLastError()); in php_com_string_to_olestring() local
62 "Could not convert string to unicode: `%s'", msg); in php_com_string_to_olestring()
64 php_win32_error_msg_free(msg); in php_com_string_to_olestring()
89 char *msg = php_win32_error_to_msg(GetLastError()); in php_com_olestring_to_string() local
92 "Could not convert string from unicode: `%s'", msg); in php_com_olestring_to_string()
94 php_win32_error_msg_free(msg); in php_com_olestring_to_string()
119 char *msg = php_win32_error_to_msg(GetLastError()); in php_com_string_to_bstr()
121 "Could not convert string to unicode: `%s'", msg); in php_com_string_to_bstr()
122 LocalFree(msg); in php_com_string_to_bstr()
140 char *msg = php_win32_error_to_msg(GetLastError()); in php_com_bstr_to_string() local
[all …]
H A Dcom_com.c217 char *werr, *msg; in PHP_METHOD() local
224 efree(msg); in PHP_METHOD()
388 msg = NULL; in php_com_invoke_helper()
400 if (msg) { in php_com_invoke_helper()
402 efree(msg); in php_com_invoke_helper()
473 char *msg = NULL; in php_com_do_invoke_byref() local
478 efree(msg); in php_com_do_invoke_byref()
636 char *msg = NULL; in php_com_do_invoke() local
645 efree(msg); in php_com_do_invoke()
774 MSG msg; in PHP_FUNCTION() local
[all …]
/php-src/ext/mysqlnd/
H A Dmysqlnd_debug.h99 …INF_EX(dbg_obj, msg) do { if (dbg_skip_trace == FALSE && (dbg_obj)) (dbg_obj)->m->log((dbg_obj), … argument
100 …ERR_EX(dbg_obj, msg) do { if (dbg_skip_trace == FALSE && (dbg_obj)) (dbg_obj)->m->log((dbg_obj), … argument
168 static inline void DBG_INF_EX(MYSQLND_DEBUG * dbg_obj, const char * const msg) {} in DBG_INF_EX() argument
182 #define DBG_INF(msg) DBG_INF_EX(MYSQLND_G(dbg), (msg)) argument
183 #define DBG_ERR(msg) DBG_ERR_EX(MYSQLND_G(dbg), (msg)) argument
194 #define TRACE_ALLOC_INF(msg) DBG_INF_EX(MYSQLND_G(trace_alloc), (msg)) argument
195 #define TRACE_ALLOC_ERR(msg) DBG_ERR_EX(MYSQLND_G(trace_alloc), (msg)) argument
207 static inline void DBG_INF(const char * const msg) {} in DBG_INF() argument
208 static inline void DBG_ERR(const char * const msg) {} in DBG_ERR() argument
218 static inline void TRACE_ALLOC_INF(const char * const msg) {} in TRACE_ALLOC_INF() argument
[all …]
/php-src/Zend/tests/
H A Dexception_with_by_ref_message.phpt8 public function __construct(&$msg) {
9 $this->message =& $msg;
13 $msg = 'Message';
14 throw new MyException($msg);
H A Dbug60569.phpt6 $msg = "Some error \x00 message";
7 throw new Exception($msg);
9 var_dump($e->getMessage(), $msg);
/php-src/ext/sodium/
H A Dlibsodium.c292 unsigned char *msg; in PHP_FUNCTION() local
322 unsigned char *msg; in PHP_FUNCTION() local
362 zend_string *msg; in PHP_FUNCTION() local
405 unsigned char *msg; in PHP_FUNCTION() local
732 unsigned char *msg; in PHP_FUNCTION() local
776 zend_string *msg; in PHP_FUNCTION() local
821 unsigned char *msg; in PHP_FUNCTION() local
854 zend_string *msg; in PHP_FUNCTION() local
1179 unsigned char *msg; in PHP_FUNCTION() local
2889 char *msg; in PHP_FUNCTION() local
[all …]
/php-src/ext/zend_test/tests/
H A Dobserver_call_user_func_04.phpt14 public static function myMethod(string $msg)
16 echo 'MyClass::myMethod ' . $msg . PHP_EOL;
20 function my_function(string $msg)
22 echo 'my_function ' . $msg . PHP_EOL;
H A Dobserver_call_user_func_02.phpt14 public static function myMethod(string $msg)
16 echo 'MyClass::myMethod ' . $msg . PHP_EOL;
20 function my_function(string $msg)
22 echo 'my_function ' . $msg . PHP_EOL;
/php-src/ext/pgsql/tests/
H A D21pg_get_notify.phpt17 $msg = pg_get_notify($db);
19 isset($msg['message'],$msg['pid']) ? print 'OK' : print 'NG';
/php-src/tests/classes/
H A Dctor_failure.phpt8 function __construct($msg) {
9 echo __METHOD__ . "($msg)\n";
10 throw new Exception($msg);
/php-src/ext/pdo_firebird/
H A Dfirebird_statement.c283 php_firebird_error_stmt_with_info(stmt, "HY000", strlen("HY000"), msg, strlen(msg)); in pdo_firebird_stmt_fetch()
397 php_firebird_error_stmt_with_info(stmt, "HY000", strlen("HY000"), msg, strlen(msg)); in php_firebird_fetch_blob()
439 php_firebird_error_stmt_with_info(stmt, "HY000", strlen("HY000"), msg, strlen(msg)); in php_firebird_fetch_blob()
641 php_firebird_error_stmt_with_info(stmt, "HY093", strlen("HY093"), msg, strlen(msg)); in pdo_firebird_stmt_param_hook()
667 php_firebird_error_stmt_with_info(stmt, "HY093", strlen("HY093"), msg, strlen(msg)); in pdo_firebird_stmt_param_hook()
719 php_firebird_error_stmt_with_info(stmt, "HY000", strlen("HY000"), msg, strlen(msg)); in pdo_firebird_stmt_param_hook()
728 php_firebird_error_stmt_with_info(stmt, "HY105", strlen("HY105"), msg, strlen(msg)); in pdo_firebird_stmt_param_hook()
776 php_firebird_error_stmt_with_info(stmt, "HY105", strlen("HY105"), msg, strlen(msg)); in pdo_firebird_stmt_param_hook()
789 php_firebird_error_stmt_with_info(stmt, "HY105", strlen("HY105"), msg, strlen(msg)); in pdo_firebird_stmt_param_hook()
846 php_firebird_error_stmt_with_info(stmt, "HY105", strlen("HY105"), msg, strlen(msg)); in pdo_firebird_stmt_param_hook()
[all …]
/php-src/ext/filter/tests/
H A D046.phpt24 function test_validation($val, $msg) {
26 echo "$msg filtered: "; var_dump($f); // filtered value (or false)
27 echo "$msg is_long: "; var_dump(is_long($f)); // test validation
28 echo "$msg equal: "; var_dump($val == $f); // test equality of result
/php-src/ext/pdo_mysql/
H A Dphp_pdo_mysql_int.h39 #define PDO_DBG_INF(msg) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg), __LIN… argument
40 #define PDO_DBG_ERR(msg) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg), __LIN… argument
55 static inline void PDO_DBG_INF(char *msg) {} in PDO_DBG_INF() argument
56 static inline void PDO_DBG_ERR(char *msg) {} in PDO_DBG_ERR() argument

Completed in 60 milliseconds

12345678910