Home
last modified time | relevance | path

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

12345678

/PHP-7.2/ext/intl/dateformat/
H A Ddateformat_helpers.cpp39 char *msg; in datefmt_process_calendar_arg() local
59 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
60 efree(msg); in datefmt_process_calendar_arg()
77 spprintf(&msg, 0, "%s: Found unconstructed IntlCalendar object", in datefmt_process_calendar_arg()
79 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
80 efree(msg); in datefmt_process_calendar_arg()
90 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
91 efree(msg); in datefmt_process_calendar_arg()
99 spprintf(&msg, 0, "%s: Failure instantiating calendar", func_name); in datefmt_process_calendar_arg()
100 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
[all …]
/PHP-7.2/ext/sodium/tests/
H A Dcrypto_aead.phpt12 $msg = random_bytes(random_int(1, 1000));
19 var_dump($ciphertext !== $msg);
20 var_dump($msg === $msg2);
35 $msg = random_bytes(random_int(1, 1000));
42 var_dump($ciphertext !== $msg);
43 var_dump($msg === $msg2);
64 $msg = random_bytes(random_int(1, 1000));
71 var_dump($ciphertext !== $msg);
72 var_dump($msg === $msg2);
97 var_dump($ciphertext !== $msg);
[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 …]
H A Dcrypto_generichash.phpt7 $q = sodium_crypto_generichash('msg');
9 $q = sodium_crypto_generichash('msg', '0123456789abcdef');
11 $q = sodium_crypto_generichash('msg', '0123456789abcdef', 64);
13 $q = sodium_crypto_generichash('msg', '0123456789abcdef0123456789abcdef', 64);
H A Dcrypto_box.phpt35 $msg = "Here is another message, to be signed using Alice's secret key, and " .
40 $msg,
47 $msg,
75 var_dump($msg === $plaintext);
127 $msg = sodium_hex2bin(
135 var_dump(sodium_crypto_box_seal_open($msg, $kp));
/PHP-7.2/ext/intl/
H A Dintl_data.h49 #define INTL_CHECK_STATUS(err, msg) \ argument
53 intl_error_set_custom_msg( NULL, msg, 0 ); \
58 #define INTL_CHECK_STATUS_OR_NULL(err, msg) \ argument
62 intl_error_set_custom_msg( NULL, msg, 0 ); \
68 #define INTL_METHOD_CHECK_STATUS(obj, msg) \ argument
72 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
77 #define INTL_METHOD_CHECK_STATUS_OR_NULL(obj, msg) \ argument
81 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
87 #define INTL_CTOR_CHECK_STATUS(obj, msg) \ argument
91 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
H A Dintl_error.c104 void intl_error_set_custom_msg( intl_error* err, const char* msg, int copyMsg ) in intl_error_set_custom_msg() argument
106 if( !msg ) in intl_error_set_custom_msg()
111 php_error_docref( NULL, INTL_G( error_level ), "%s", msg ); in intl_error_set_custom_msg()
113 zend_throw_exception_ex( IntlException_ce_ptr, 0, "%s", msg ); in intl_error_set_custom_msg()
125 err->custom_error_message = copyMsg ? estrdup( msg ) : (char *) msg; in intl_error_set_custom_msg()
183 void intl_error_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg ) in intl_error_set() argument
186 intl_error_set_custom_msg( err, msg, copyMsg ); in intl_error_set()
196 intl_errors_set_custom_msg( err, msg, copyMsg ); in intl_errors_set()
213 void intl_errors_set_custom_msg( intl_error* err, const char* msg, int copyMsg ) in intl_errors_set_custom_msg() argument
216 intl_error_set_custom_msg( err, msg, copyMsg ); in intl_errors_set_custom_msg()
[all …]
H A Dintl_error.h38 void intl_error_set_custom_msg( intl_error* err, const char* msg, int copyMsg );
39 void intl_error_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg );
45 void intl_errors_set_custom_msg( intl_error* err, const char* msg, int copyMsg );
47 void intl_errors_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg );
/PHP-7.2/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-7.2/ext/intl/breakiterator/
H A Dbreakiterator_methods.cpp50 char *msg; in _breakiter_factory() local
56 spprintf(&msg, 0, "%s: bad arguments", func_name); in _breakiter_factory()
58 efree(msg); in _breakiter_factory()
71 intl_error_set_custom_msg(NULL, msg, 1); in _breakiter_factory()
72 efree(msg); in _breakiter_factory()
186 char *msg; in _breakiter_no_args_ret_int32() local
191 spprintf(&msg, 0, "%s: bad arguments", func_name); in _breakiter_no_args_ret_int32()
193 efree(msg); in _breakiter_no_args_ret_int32()
209 char *msg; in _breakiter_int32_ret_int32() local
217 efree(msg); in _breakiter_int32_ret_int32()
[all …]
/PHP-7.2/ext/com_dotnet/
H A Dcom_olechar.c63 char *msg = php_win32_error_to_msg(GetLastError()); in php_com_string_to_olestring() local
66 "Could not convert string to unicode: `%s'", msg); in php_com_string_to_olestring()
68 LocalFree(msg); in php_com_string_to_olestring()
94 char *msg = php_win32_error_to_msg(GetLastError()); in php_com_olestring_to_string() local
97 "Could not convert string from unicode: `%s'", msg); in php_com_olestring_to_string()
99 LocalFree(msg); in php_com_olestring_to_string()
H A Dcom_com.c233 char *werr, *msg; in PHP_FUNCTION() local
240 efree(msg); in PHP_FUNCTION()
403 msg = NULL; in php_com_invoke_helper()
415 if (msg) { in php_com_invoke_helper()
417 efree(msg); in php_com_invoke_helper()
492 char *msg = NULL; in php_com_do_invoke_byref() local
497 efree(msg); in php_com_do_invoke_byref()
654 char *msg = NULL; in php_com_do_invoke() local
663 efree(msg); in php_com_do_invoke()
800 MSG msg; in PHP_FUNCTION() local
[all …]
/PHP-7.2/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);
H A Dbug61767.phpt5 set_error_handler(function($code, $msg, $file = null, $line = null) {
6 echo "Error handler called ($msg)\n";
7 throw new \ErrorException($msg, $code, 0, $file, $line);
/PHP-7.2/ext/sodium/
H A Dlibsodium.c752 unsigned char *msg; in PHP_FUNCTION() local
867 RETURN_STR(msg); in PHP_FUNCTION()
1304 RETURN_STR(msg); in PHP_FUNCTION()
1379 RETURN_STR(msg); in PHP_FUNCTION()
1644 RETURN_STR(msg); in PHP_FUNCTION()
2276 RETURN_STR(msg); in PHP_FUNCTION()
2402 RETURN_STR(msg); in PHP_FUNCTION()
2536 RETURN_STR(msg); in PHP_FUNCTION()
2667 RETURN_STR(msg); in PHP_FUNCTION()
3045 char *msg; in PHP_FUNCTION() local
[all …]
/PHP-7.2/ext/pgsql/tests/
H A D21pg_get_notify.phpt15 $msg = pg_get_notify($db);
17 isset($msg['message'],$msg['pid']) ? print 'OK' : print 'NG';
/PHP-7.2/ext/opcache/
H A Dconfig.m498 msg=yes,msg=no,msg=no)
99 AC_MSG_RESULT([$msg])
150 msg=yes,msg=no,msg=no)
151 AC_MSG_RESULT([$msg])
205 msg=yes,msg=no,msg=no)
206 AC_MSG_RESULT([$msg])
274 msg=yes,msg=no,msg=no)
275 AC_MSG_RESULT([$msg])
343 msg=yes,msg=no,msg=no)
344 AC_MSG_RESULT([$msg])
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_out.c902 if (*msg == '&') { in phpdbg_encode_xml()
905 } else if (*msg == '<') { in phpdbg_encode_xml()
912 *tmp++ = *msg; in phpdbg_encode_xml()
998 if (msg) { in phpdbg_process_print()
1009 if (msg) { in phpdbg_process_print()
1021 if (msg) { in phpdbg_process_print()
1049 if (msg) { in phpdbg_process_print()
1125 PHPDBG_G(err_buf).msg = msg; in phpdbg_vprint()
1137 if (msg) { in phpdbg_vprint()
1138 efree(msg); in phpdbg_vprint()
[all …]
/PHP-7.2/tests/classes/
H A Dctor_failure.phpt8 function __construct($msg) {
9 echo __METHOD__ . "($msg)\n";
10 throw new Exception($msg);
/PHP-7.2/ext/pdo_mysql/
H A Dphp_pdo_mysql_int.h42 …ine PDO_DBG_INF(msg) do { if (dbg_skip_trace == FALSE) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg), … argument
43 …ine PDO_DBG_ERR(msg) do { if (dbg_skip_trace == FALSE) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg), … argument
58 static inline void PDO_DBG_INF(char *msg) {} in PDO_DBG_INF() argument
59 static inline void PDO_DBG_ERR(char *msg) {} in PDO_DBG_ERR() argument
/PHP-7.2/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-7.2/sapi/fpm/fpm/
H A Dfpm_trace_mach.c62 char *msg = ""; in fpm_trace_ready() local
65 msg = " It seems that master process does not have enough privileges to trace processes."; in fpm_trace_ready()
67 zlog(ZLOG_ERROR, "task_for_pid() failed: %s (%d)%s", mach_error_string(kr), kr, msg); in fpm_trace_ready()
/PHP-7.2/ext/imap/tests/
H A Dimap_fetchheader_basic.phpt18 $stream_id = setup_test_mailbox('', 1, $mailbox, 'multiPart'); // setup temp mailbox with 1 msg
52 Subject: Test msg 1
60 Subject: Test msg 1
68 Subject: Test msg 1
77 Subject: Test msg 1

Completed in 46 milliseconds

12345678