/PHP-7.0/ext/intl/dateformat/ |
H A D | dateformat_helpers.cpp | 39 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.0/ext/intl/ |
H A D | intl_data.h | 49 #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 D | intl_error.c | 104 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 D | intl_error.h | 38 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.0/ext/mysqlnd/ |
H A D | mysqlnd_debug.h | 92 …INF_EX(dbg_obj, msg) do { if (dbg_skip_trace == FALSE && (dbg_obj)) (dbg_obj)->m->log((dbg_obj), … argument 93 …ERR_EX(dbg_obj, msg) do { if (dbg_skip_trace == FALSE && (dbg_obj)) (dbg_obj)->m->log((dbg_obj), … argument 160 static inline void DBG_INF_EX(MYSQLND_DEBUG * dbg_obj, const char * const msg) {} in DBG_INF_EX() argument 174 #define DBG_INF(msg) DBG_INF_EX(MYSQLND_G(dbg), (msg)) argument 175 #define DBG_ERR(msg) DBG_ERR_EX(MYSQLND_G(dbg), (msg)) argument 186 #define TRACE_ALLOC_INF(msg) DBG_INF_EX(MYSQLND_G(trace_alloc), (msg)) argument 187 #define TRACE_ALLOC_ERR(msg) DBG_ERR_EX(MYSQLND_G(trace_alloc), (msg)) argument 199 static inline void DBG_INF(const char * const msg) {} in DBG_INF() argument 200 static inline void DBG_ERR(const char * const msg) {} in DBG_ERR() argument 210 static inline void TRACE_ALLOC_INF(const char * const msg) {} in TRACE_ALLOC_INF() argument [all …]
|
/PHP-7.0/ext/intl/breakiterator/ |
H A D | breakiterator_methods.cpp | 50 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.0/Zend/tests/ |
H A D | exception_with_by_ref_message.phpt | 8 public function __construct(&$msg) { 9 $this->message =& $msg; 13 $msg = 'Message'; 14 throw new MyException($msg);
|
H A D | bug60569.phpt | 6 $msg = "Some error \x00 message"; 7 throw new Exception($msg); 9 var_dump($e->getMessage(), $msg);
|
H A D | bug61767.phpt | 5 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);
|
H A D | class_alias_005.phpt | 7 static public function msg() { 19 foo::msg();
|
H A D | bug70785.phpt | 6 set_error_handler(function($no, $msg) { 7 throw new Exception($msg);
|
/PHP-7.0/ext/com_dotnet/ |
H A D | com_olechar.c | 63 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 D | com_com.c | 231 char *werr, *msg; in PHP_FUNCTION() local 238 efree(msg); in PHP_FUNCTION() 401 msg = NULL; in php_com_invoke_helper() 413 if (msg) { in php_com_invoke_helper() 415 efree(msg); in php_com_invoke_helper() 490 char *msg = NULL; in php_com_do_invoke_byref() local 495 efree(msg); in php_com_do_invoke_byref() 652 char *msg = NULL; in php_com_do_invoke() local 661 efree(msg); in php_com_do_invoke() 798 MSG msg; in PHP_FUNCTION() local [all …]
|
/PHP-7.0/ext/pgsql/tests/ |
H A D | 21pg_get_notify.phpt | 15 $msg = pg_get_notify($db); 17 isset($msg['message'],$msg['pid']) ? print 'OK' : print 'NG';
|
H A D | 09notice.phpt | 29 $msg = pg_last_notice($db); 30 if ($msg === FALSE) { 32 var_dump($msg); 34 echo $msg."\n";
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_out.c | 903 if (*msg == '&') { in phpdbg_encode_xml() 906 } else if (*msg == '<') { in phpdbg_encode_xml() 913 *tmp++ = *msg; in phpdbg_encode_xml() 999 if (msg) { in phpdbg_process_print() 1010 if (msg) { in phpdbg_process_print() 1022 if (msg) { in phpdbg_process_print() 1050 if (msg) { in phpdbg_process_print() 1126 PHPDBG_G(err_buf).msg = msg; in phpdbg_vprint() 1138 if (msg) { in phpdbg_vprint() 1139 efree(msg); in phpdbg_vprint() [all …]
|
/PHP-7.0/tests/classes/ |
H A D | ctor_failure.phpt | 8 function __construct($msg) { 9 echo __METHOD__ . "($msg)\n"; 10 throw new Exception($msg);
|
/PHP-7.0/ext/opcache/ |
H A D | config.m4 | 98 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.0/ext/pdo_mysql/ |
H A D | php_pdo_mysql_int.h | 42 …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.0/ext/filter/tests/ |
H A D | 046.phpt | 24 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.0/sapi/fpm/fpm/ |
H A D | fpm_trace_mach.c | 63 char *msg = ""; in fpm_trace_ready() local 66 msg = " It seems that master process does not have enough privileges to trace processes."; in fpm_trace_ready() 68 zlog(ZLOG_ERROR, "task_for_pid() failed: %s (%d)%s", mach_error_string(kr), kr, msg); in fpm_trace_ready()
|
/PHP-7.0/ext/imap/tests/ |
H A D | imap_fetchheader_basic.phpt | 18 $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
|
/PHP-7.0/ext/libxml/ |
H A D | php_libxml.h | 107 PHP_LIBXML_API void php_libxml_error_handler(void *ctx, const char *msg, ...); 108 PHP_LIBXML_API void php_libxml_ctx_warning(void *ctx, const char *msg, ...); 109 PHP_LIBXML_API void php_libxml_ctx_error(void *ctx, const char *msg, ...); 112 PHP_LIBXML_API void php_libxml_issue_error(int level, const char *msg);
|
/PHP-7.0/ext/intl/transliterator/ |
H A D | transliterator_methods.c | 184 char *msg = NULL; in PHP_FUNCTION() local 187 spprintf( &msg, 0, "transliterator_create_from_rules: unable to " in PHP_FUNCTION() 190 if( msg != NULL ) in PHP_FUNCTION() 192 intl_errors_set_custom_msg( INTL_DATA_ERROR_P( to ), msg, 1 ); in PHP_FUNCTION() 193 efree( msg ); in PHP_FUNCTION() 388 char *msg; in PHP_FUNCTION() local 389 spprintf( &msg, 0, in PHP_FUNCTION() 393 if(msg != NULL ) in PHP_FUNCTION() 396 msg, 1 ); in PHP_FUNCTION() 397 efree( msg ); in PHP_FUNCTION()
|
/PHP-7.0/ext/sysvmsg/tests/ |
H A D | 006.phpt | 16 unset($msg); 17 var_dump(msg_receive($queue, 1, $msg_type, 1024, $msg, false, MSG_IPC_NOWAIT)); 19 var_dump($elem == $msg); 20 var_dump($elem === $msg);
|