Home
last modified time | relevance | path

Searched refs:msg (Results 151 – 175 of 217) sorted by last modified time

123456789

/php-src/ext/standard/tests/file/
H A Dunlink_variation10.phpt54 $msg = "soft link";
58 $msg = "hard link";
60 echo "-- unlinking $msg $tounlink --\n";
H A Dunlink_variation8.phpt81 $msg = "soft link";
85 $msg = "hard link";
87 echo "-- unlinking $msg $tounlink --\n";
/php-src/ext/spl/tests/
H A Diterator_042.phpt6 function test_error_handler($errno, $msg, $filename, $linenum)
8 echo "Error $msg in $filename on line $linenum\n";
H A Dbug79987.phpt10 set_error_handler(function ($type, $msg, $file, $line, $context = []) {
/php-src/ext/sodium/tests/
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_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));
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_shorthash.phpt14 $m2 = 'msg';
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/sockets/tests/
H A Dsocket_sentto_recvfrom_ipv4_udp.phpt20 $msg = "Ping!";
21 $len = strlen($msg);
22 $sent = socket_sendto($socket, $msg, $len, 0, $address, $port);
H A Dsocket_sentto_recvfrom_ipv6_udp.phpt28 $msg = "Ping!";
29 $len = strlen($msg);
30 $sent = socket_sendto($socket, $msg, $len, 0, $address, $port);
/php-src/ext/soap/tests/
H A Dbug68996.phpt17 return new SoapFault("\xfc\x63", "some msg");
45 …/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode></faultcode><faultstring>some msg</faultstring></SOAP…
47 …ult><env:Code><env:Value></env:Value></env:Code><env:Reason><env:Text>some msg</env:Text></env:Rea…
/php-src/ext/phar/phar/
H A Dclicommand.inc90 static function notice ($msg)
92 fprintf(STDERR, $msg);
95 static function error ($msg, $exit_code = 1)
97 self::notice($msg);
/php-src/ext/pdo_mysql/
H A Dphp_pdo_mysql_int.h37 #define PDO_DBG_INF(msg) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg), __LIN… argument
38 #define PDO_DBG_ERR(msg) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg), __LIN… argument
53 static inline void PDO_DBG_INF(char *msg) {} in PDO_DBG_INF() argument
54 static inline void PDO_DBG_ERR(char *msg) {} in PDO_DBG_ERR() argument
/php-src/ext/opcache/tests/
H A Dbug75556.phpt16 $msg = 'Date objects must have UTC as their timezone';
17 throw new \UnexpectedValueException($msg);
H A Dbug73402.phpt11 public function info($msg) {
12 echo $msg;
/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/ext/mysqli/tests/
H A Dmysqli_local_infile_directory_access_allowed.phpt14 if ($msg = check_local_infile_allowed_by_server($link))
15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
/php-src/ext/intl/tests/
H A Duconverter_getstandards_basic.phpt7 function assertTrue($assertion, $msg) {
8 if (!$assertion) var_dump($msg);
/php-src/ext/intl/transliterator/
H A Dtransliterator_methods.c169 char *msg = NULL; in PHP_FUNCTION() local
172 spprintf( &msg, 0, "transliterator_create_from_rules: unable to " in PHP_FUNCTION()
175 if( msg != NULL ) in PHP_FUNCTION()
177 intl_errors_set_custom_msg( INTL_DATA_ERROR_P( to ), msg, 1 ); in PHP_FUNCTION()
178 efree( msg ); in PHP_FUNCTION()
346 char *msg; in PHP_FUNCTION() local
347 spprintf( &msg, 0, in PHP_FUNCTION()
351 if(msg != NULL ) in PHP_FUNCTION()
354 msg, 1 ); in PHP_FUNCTION()
355 efree( msg ); in PHP_FUNCTION()
/php-src/ext/intl/locale/
H A Dlocale_methods.c480 char* msg = NULL; in get_icu_value_src_php() local
518 intl_error_set( NULL, status, msg , 1 ); in get_icu_value_src_php()
519 efree(msg); in get_icu_value_src_php()
570 char* msg = NULL; in get_icu_disp_value_src_php() local
583 spprintf(&msg , 0, "locale_get_display_%s : name too long", tag_name ); in get_icu_disp_value_src_php()
584 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, msg , 1 ); in get_icu_disp_value_src_php()
585 efree(msg); in get_icu_disp_value_src_php()
643 intl_error_set( NULL, status, msg , 1 ); in get_icu_disp_value_src_php()
644 efree(msg); in get_icu_disp_value_src_php()
672 intl_error_set( NULL, status, msg , 1 ); in get_icu_disp_value_src_php()
[all …]
/php-src/ext/intl/msgformat/
H A Dmsgformat.c90 char *msg = NULL; in msgfmt_ctor() local
93 …spprintf( &msg, 0, "pattern syntax error (%s)", parse_error_str.s? ZSTR_VAL(parse_error_str.s) : "… in msgfmt_ctor()
97 intl_errors_set_custom_msg( INTL_DATA_ERROR_P( mfo ), msg, 1 ); in msgfmt_ctor()
99 efree( msg ); in msgfmt_ctor()
/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/intl/idn/
H A Didn.c40 static int php_intl_idn_check_status(UErrorCode err, const char *msg) in php_intl_idn_check_status() argument
47 msg); in php_intl_idn_check_status()
56 static inline void php_intl_bad_args(const char *msg) in php_intl_bad_args() argument
58 php_intl_idn_check_status(U_ILLEGAL_ARGUMENT_ERROR, msg); in php_intl_bad_args()
/php-src/ext/intl/
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 …]

Completed in 43 milliseconds

123456789