/php-src/ext/intl/tests/ |
H A D | dateformat_format_parse_version2.phpt | 83 … $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry,$timezone); 84 $formatted = ut_datefmt_format( $fmt , $timestamp_entry); 86 $parsed = ut_datefmt_parse( $fmt , $formatted); 108 … $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry,$timezone); 109 $formatted1 = ut_datefmt_format( $fmt , $localtime_entry); 116 $parsed_arr = ut_datefmt_localtime( $fmt, $formatted1 );
|
H A D | dateformat_format_parse_version_icu72-1.phpt | 82 … $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry,$timezone); 83 $formatted = ut_datefmt_format( $fmt , $timestamp_entry); 85 $parsed = ut_datefmt_parse( $fmt , $formatted); 107 … $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry,$timezone); 108 $formatted1 = ut_datefmt_format( $fmt , $localtime_entry); 115 $parsed_arr = ut_datefmt_localtime( $fmt, $formatted1 );
|
H A D | dateformat_format.phpt | 96 …$fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry, $timezone, IntlDateFor… 97 $formatted = ut_datefmt_format( $fmt , $timestamp_entry); 116 …$fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry, $timezone, IntlDateFor… 117 $formatted1 = ut_datefmt_format( $fmt , $localtime_entry); 134 …$fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry, $timezone, IntlDateFor… 135 $formatted1 = ut_datefmt_format( $fmt , $date_entry);
|
H A D | dateformat_format_variant2.phpt | 96 …$fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry, $timezone, IntlDateFor… 97 $formatted = ut_datefmt_format( $fmt , $timestamp_entry); 116 …$fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry, $timezone, IntlDateFor… 117 $formatted1 = ut_datefmt_format( $fmt , $localtime_entry); 134 …$fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry, $timezone, IntlDateFor… 135 $formatted1 = ut_datefmt_format( $fmt , $date_entry);
|
H A D | dateformat_format_variant3.phpt | 98 …$fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry, $timezone, IntlDateFor… 99 $formatted = ut_datefmt_format( $fmt , $timestamp_entry); 118 …$fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry, $timezone, IntlDateFor… 119 $formatted1 = ut_datefmt_format( $fmt , $localtime_entry); 136 …$fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry, $timezone, IntlDateFor… 137 $formatted1 = ut_datefmt_format( $fmt , $date_entry);
|
/php-src/main/streams/ |
H A D | transports.c | 42 #define ERR_REPORT(out_err, fmt, arg) \ argument 43 if (out_err) { *out_err = strpprintf(0, fmt, arg); } \ 44 else { php_error_docref(NULL, E_WARNING, fmt, arg); } 46 #define ERR_RETURN(out_err, local_err, fmt) \ argument 48 …else { php_error_docref(NULL, E_WARNING, fmt, local_err ? ZSTR_VAL(local_err) : "Unspecified error…
|
H A D | streams.c | 241 … php_stream_wrapper_log_error(const php_stream_wrapper *wrapper, int options, const char *fmt, ...) in php_stream_wrapper_log_error() argument 246 va_start(args, fmt); in php_stream_wrapper_log_error() 247 vspprintf(&buffer, 0, fmt, args); in php_stream_wrapper_log_error() 1315 PHPAPI ssize_t _php_stream_printf(php_stream *stream, const char *fmt, ...) in _php_stream_printf() argument 1321 va_start(ap, fmt); in _php_stream_printf() 1322 count = vspprintf(&buf, 0, fmt, ap); in _php_stream_printf()
|
/php-src/ext/ffi/tests/ |
H A D | bug_gh9090.phpt | 19 void bug_gh9090_void_int_char_var(int i, char *fmt, ...);
|
/php-src/ext/pdo_firebird/ |
H A D | firebird_statement.c | 443 char *fmt; in pdo_firebird_stmt_get_col() local 479 fmt = S->H->date_format ? S->H->date_format : PDO_FB_DEF_DATE_FMT; in pdo_firebird_stmt_get_col() 483 fmt = S->H->time_format ? S->H->time_format : PDO_FB_DEF_TIME_FMT; in pdo_firebird_stmt_get_col() 490 fmt = S->H->timestamp_format ? S->H->timestamp_format : PDO_FB_DEF_TIMESTAMP_FMT; in pdo_firebird_stmt_get_col() 494 size_t len = strftime(buf, sizeof(buf), fmt, &t); in pdo_firebird_stmt_get_col()
|
/php-src/main/ |
H A D | fastcgi.h | 104 typedef void (*fcgi_logger)(int type, const char *fmt, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);
|
H A D | php_ini.c | 574 const char *fmt = "php-%s.ini"; in php_init_config() local 576 spprintf(&ini_fname, 0, fmt, sapi_module.name); in php_init_config()
|
H A D | php_streams.h | 337 PHPAPI ssize_t _php_stream_printf(php_stream *stream, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(pr… 605 …pper_log_error(const php_stream_wrapper *wrapper, int options, const char *fmt, ...) PHP_ATTRIBUTE…
|
/php-src/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 78 U_CFUNC int32_t umsg_format_arg_count(UMessageFormat *fmt) in umsg_format_arg_count() argument 81 MessageFormatAdapter::phpGetArgTypeList(*(const MessageFormat*)fmt, fmt_count); in umsg_format_arg_count() 621 U_CFUNC void umsg_parse_helper(UMessageFormat *fmt, int *count, zval **args, UChar *source, int32_t… in umsg_parse_helper() argument 624 Formattable *fargs = ((const MessageFormat*)fmt)->parse(srcString, *count, *status); in umsg_parse_helper()
|
/php-src/ext/sockets/ |
H A D | conversions.c | 143 const char *fmt, in do_from_to_zval_err() argument 168 user_msg_size = vspprintf(&user_msg, 0, fmt, ap); in do_from_to_zval_err() 182 static void do_from_zval_err(ser_context *ctx, const char *fmt, ...) in do_from_zval_err() argument 186 va_start(ap, fmt); in do_from_zval_err() 187 do_from_to_zval_err(&ctx->err, &ctx->keys, "user", fmt, ap); in do_from_zval_err() 191 static void do_to_zval_err(res_context *ctx, const char *fmt, ...) in do_to_zval_err() argument 195 va_start(ap, fmt); in do_to_zval_err() 196 do_from_to_zval_err(&ctx->err, &ctx->keys, "native", fmt, ap); in do_to_zval_err()
|
/php-src/sapi/litespeed/ |
H A D | lsapi_main.c | 522 static void log_message (const char *fmt, ...) 525 va_start(ap, fmt); 527 vsnprintf(buf, sizeof(buf), fmt, ap); 535 #define DEBUG_MESSAGE(fmt, ...) log_message("LS:%d " fmt "\n", __LINE__, ##__VA_ARGS__) 537 #define DEBUG_MESSAGE(fmt, ...) argument
|
H A D | lsapilib.h | 420 void LSAPI_Log(int flag, const char * fmt, ...)
|
/php-src/ext/com_dotnet/ |
H A D | com_wrapper.c | 68 static inline void trace(char *fmt, ...) in trace() argument 76 va_start(ap, fmt); in trace() 77 vsnprintf(buf, sizeof(buf), fmt, ap); in trace()
|
/php-src/ext/fileinfo/libmagic/ |
H A D | compress.c | 838 makeerror(unsigned char **buf, size_t *len, const char *fmt, ...) in makeerror() argument 844 DPRINTF("Makeerror %s\n", fmt); in makeerror() 846 va_start(ap, fmt); in makeerror() 847 rv = vasprintf(&msg, fmt, ap); in makeerror()
|
H A D | softmagic.c | 490 check_fmt(struct magic_set *ms, const char *fmt) in check_fmt() argument 496 if (strchr(fmt, '%') == NULL) in check_fmt() 506 rv = pcre2_match(re, (PCRE2_SPTR)fmt, strlen(fmt), 0, 0, match_data, php_pcre_mctx()) > 0; in check_fmt()
|
/php-src/ext/standard/ |
H A D | info.c | 66 static ZEND_COLD int php_info_printf(const char *fmt, ...) /* {{{ */ in php_info_printf() argument 72 va_start(argv, fmt); in php_info_printf() 73 len = vspprintf(&buf, 0, fmt, argv); in php_info_printf()
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_main.c | 418 static void fpm_fcgi_log(int type, const char *fmt, ...) /* {{{ */ in fpm_fcgi_log() argument 420 void fcgi_log(int type, const char *fmt, ...) in fpm_fcgi_log() 424 va_start(args, fmt); in fpm_fcgi_log() 425 vzlog("", 0, type, fmt, args); in fpm_fcgi_log()
|
/php-src/ext/zend_test/ |
H A D | test.c | 1364 PHP_ZEND_TEST_API void bug_gh9090_void_int_char_var(int i, char *fmt, ...) { in bug_gh9090_void_int_char_var() argument 1368 va_start(args, fmt); in bug_gh9090_void_int_char_var() 1370 zend_vspprintf(&buffer, 0, fmt, args); in bug_gh9090_void_int_char_var()
|
/php-src/ext/gd/libgd/ |
H A D | gd.h | 663 void gdImageGd2(gdImagePtr im, FILE *out, int cs, int fmt); 673 void* gdImageGd2Ptr(gdImagePtr im, int cs, int fmt, int *size);
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | minilua.c | 668 const char*e=strchr(fmt,'%'); in luaO_pushvfstring() 670 setsvalue(L,L->top,luaS_newlstr(L,fmt,e-fmt)); in luaO_pushvfstring() 716 fmt=e+2; in luaO_pushvfstring() 718 pushstr(L,fmt); in luaO_pushvfstring() 726 va_start(argp,fmt); 727 msg=luaO_pushvfstring(L,fmt,argp); 2591 va_start(argp,fmt); 5547 ret=luaO_pushvfstring(L,fmt,argp); 5554 va_start(argp,fmt); 5909 va_start(argp,fmt); [all …]
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 1891 file_vprintf(struct magic_set *ms, const char *fmt, va_list ap) 1902 - len = vasprintf(&buf, fmt, ap); 1904 + len = vspprintf(&buf, 0, fmt, ap); 2275 -_w32_append_path(char **hmagicpath, const char *fmt, ...) 2281 - va_start(ap, fmt); 2282 - if (vasprintf(&tmppath, fmt, ap) < 0) { 3033 check_fmt(struct magic_set *ms, const char *fmt) 3042 if (strchr(fmt, '%') == NULL) 3047 - rc = file_regexec(ms, &rx, fmt, 0, 0, 0); 3056 + rv = pcre2_match(re, (PCRE2_SPTR)fmt, strlen(fmt), 0, 0, match_data, php_pcre_mctx()) > 0;
|