/php-src/ext/intl/formatter/ |
H A D | formatter_attr.c | 356 char *msg; in PHP_FUNCTION() local 357 …spprintf(&msg, 0, "Error setting pattern value at line %d, offset %d", spattern_error.line, spatte… in PHP_FUNCTION() 358 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(nfo), msg, 1); in PHP_FUNCTION() 359 efree(msg); in PHP_FUNCTION()
|
/php-src/ext/intl/idn/ |
H A D | idn.c | 40 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 D | intl_data.h | 47 #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 D | intl_error.c | 90 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 D | intl_error.h | 36 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/intl/locale/ |
H A D | locale_methods.c | 480 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 D | msgformat.c | 90 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()
|
H A D | msgformat_attr.c | 84 char *msg; in PHP_FUNCTION() local 85 …spprintf(&msg, 0, "Error setting symbol value at line %d, offset %d", spattern_error.line, spatter… in PHP_FUNCTION() 86 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(mfo), msg, 1); in PHP_FUNCTION() 87 efree(msg); in PHP_FUNCTION()
|
H A D | msgformat_format.c | 131 char *msg = NULL; in PHP_FUNCTION() local 134 …spprintf( &msg, 0, "pattern syntax error (%s)", parse_error_str.s? ZSTR_VAL(parse_error_str.s) : "… in PHP_FUNCTION() 139 intl_errors_set_custom_msg(/* intl_error* */ NULL, msg, 1 ); in PHP_FUNCTION() 141 efree( msg ); in PHP_FUNCTION()
|
/php-src/ext/intl/spoofchecker/ |
H A D | spoofchecker_class.h | 73 #define SPOOFCHECKER_CHECK_STATUS(co, msg) \ argument 76 intl_errors_set_custom_msg(SPOOFCHECKER_ERROR_P(co), msg, 0); \
|
/php-src/ext/intl/tests/ |
H A D | uconverter_getstandards_basic.phpt | 7 function assertTrue($assertion, $msg) { 8 if (!$assertion) var_dump($msg);
|
/php-src/ext/intl/transliterator/ |
H A D | transliterator_methods.c | 169 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/json/ |
H A D | json_parser.y | 70 static void php_json_yyerror(php_json_parser *parser, char const *msg); 299 static void php_json_yyerror(php_json_parser *parser, char const *msg) in php_json_yyerror() argument
|
/php-src/ext/libxml/ |
H A D | libxml.c | 616 error_copy.message = (char*)xmlStrdup((const xmlChar*)msg); in _php_list_set_error_structure() 638 php_error_docref(NULL, E_WARNING, "%s", msg); in php_libxml_ctx_error_level() 642 void php_libxml_issue_error(int level, const char *msg) in php_libxml_issue_error() argument 645 _php_list_set_error_structure(NULL, msg, 0, 0); in php_libxml_issue_error() 647 php_error_docref(NULL, level, "%s", msg); in php_libxml_issue_error() 656 size_t len = vspprintf(&buf, 0, msg, ap); in php_libxml_internal_error_handler_ex() 834 va_start(args, msg); in php_libxml_pretend_ctx_error_ex() 856 va_start(args, msg); in php_libxml_ctx_error() 864 va_start(args, msg); in php_libxml_ctx_warning() 881 va_start(args, msg); in php_libxml_error_handler() [all …]
|
H A D | php_libxml.h | 175 PHP_LIBXML_API void php_libxml_error_handler(void *ctx, const char *msg, ...); 176 PHP_LIBXML_API void php_libxml_ctx_warning(void *ctx, const char *msg, ...); 177 … void php_libxml_pretend_ctx_error_ex(const char *file, int line, int column, const char *msg,...); 178 PHP_LIBXML_API void php_libxml_ctx_error(void *ctx, const char *msg, ...); 179 …bxml_error_handler_va(php_libxml_error_level error_type, void *ctx, const char *msg, va_list args); 182 PHP_LIBXML_API void php_libxml_issue_error(int level, const char *msg);
|
/php-src/ext/mysqli/tests/ |
H A D | bug49442.phpt | 15 if ($msg = check_local_infile_support($link, $engine)) 16 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
|
H A D | bug53503.phpt | 14 if ($msg = check_local_infile_support($link, $engine)) 15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
|
H A D | bug68077.phpt | 13 if ($msg = check_local_infile_support($link, $engine)) 14 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
|
H A D | bug77956.phpt | 15 if ($msg = check_local_infile_support($link, $engine)) 16 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
|
H A D | mysqli_allow_local_infile_overrides_local_infile_directory.phpt | 14 if ($msg = check_local_infile_allowed_by_server($link)) 15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
|
H A D | mysqli_fork.phpt | 71 msg TEXT) ENGINE = InnoDB")) 90 …$sql = sprintf("INSERT INTO messages(pid, sender, msg) VALUES (%d, 'child', '%%s')", posix_getpid(… 94 …$parent_sql = sprintf("SELECT msg_id, msg_time, msg FROM messages WHERE pid = %d AND sender = 'pa… 116 if ($tmp['msg'] == 'stop') 137 …$sql = sprintf("SELECT msg_id, msg_time, msg FROM messages WHERE pid = %d AND sender = 'child' ORD… 138 …$parent_sql = sprintf("INSERT INTO messages (pid, sender, msg) VALUES (%d, 'parent', '%%s')", posi… 147 switch ($row['msg']) { 154 $client_row = $row['msg']; 215 if (!$res = mysqli_query($link, "SELECT sender, msg FROM messages ORDER BY msg_id ASC")) 219 printf("%10s %s\n", $row['sender'], substr($row['msg'], 0, 5));
|
H A D | mysqli_local_infile_directory_access_allowed.phpt | 14 if ($msg = check_local_infile_allowed_by_server($link)) 15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
|
H A D | mysqli_local_infile_directory_access_denied.phpt | 14 if ($msg = check_local_infile_allowed_by_server($link)) 15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
|
H A D | mysqli_local_infile_directory_vs_open_basedir.phpt | 14 if ($msg = check_local_infile_allowed_by_server($link)) 15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd.h | 200 #define mysqlnd_stat(conn, msg) ((conn)->data)->m->get_server_statistics(((conn)->data), (msg)) argument
|