Home
last modified time | relevance | path

Searched refs:msg (Results 76 – 100 of 217) sorted by path

123456789

/php-src/ext/intl/formatter/
H A Dformatter_attr.c356 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 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_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/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()
H A Dmsgformat_attr.c84 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 Dmsgformat_format.c131 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 Dspoofchecker_class.h73 #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 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/json/
H A Djson_parser.y70 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 Dlibxml.c616 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 Dphp_libxml.h175 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 Dbug49442.phpt15 if ($msg = check_local_infile_support($link, $engine))
16 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
H A Dbug53503.phpt14 if ($msg = check_local_infile_support($link, $engine))
15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
H A Dbug68077.phpt13 if ($msg = check_local_infile_support($link, $engine))
14 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
H A Dbug77956.phpt15 if ($msg = check_local_infile_support($link, $engine))
16 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
H A Dmysqli_allow_local_infile_overrides_local_infile_directory.phpt14 if ($msg = check_local_infile_allowed_by_server($link))
15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
H A Dmysqli_fork.phpt71 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 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));
H A Dmysqli_local_infile_directory_access_denied.phpt14 if ($msg = check_local_infile_allowed_by_server($link))
15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
H A Dmysqli_local_infile_directory_vs_open_basedir.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/mysqlnd/
H A Dmysqlnd.h200 #define mysqlnd_stat(conn, msg) ((conn)->data)->m->get_server_statistics(((conn)->data), (msg)) argument

Completed in 87 milliseconds

123456789