Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 104) sorted by path

12345

/php-src/docs-old/
H A Dstreams.md28 const char * fmt, ...);
/php-src/ext/com_dotnet/
H A Dcom_wrapper.c68 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/ffi/tests/
H A Dbug_gh9090.phpt19 void bug_gh9090_void_int_char_var(int i, char *fmt, ...);
/php-src/ext/fileinfo/
H A Dlibmagic.patch1921 file_vprintf(struct magic_set *ms, const char *fmt, va_list ap)
1932 - len = vasprintf(&buf, fmt, ap);
1934 + len = vspprintf(&buf, 0, fmt, ap);
2305 -_w32_append_path(char **hmagicpath, const char *fmt, ...)
2311 - va_start(ap, fmt);
2312 - if (vasprintf(&tmppath, fmt, ap) < 0) {
3063 check_fmt(struct magic_set *ms, const char *fmt)
3072 if (strchr(fmt, '%') == NULL)
3077 - rc = file_regexec(ms, &rx, fmt, 0, 0, 0);
3086 + rv = pcre2_match(re, (PCRE2_SPTR)fmt, strlen(fmt), 0, 0, match_data, php_pcre_mctx()) > 0;
/php-src/ext/fileinfo/libmagic/
H A Dcompress.c838 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 Dfuncs.c94 file_checkfmt(char *msg, size_t mlen, const char *fmt) in file_checkfmt() argument
97 for (p = fmt; *p; p++) { in file_checkfmt()
133 file_vprintf(struct magic_set *ms, const char *fmt, va_list ap) in file_vprintf() argument
142 if (file_checkfmt(tbuf, sizeof(tbuf), fmt)) { in file_vprintf()
144 file_error(ms, 0, "Bad magic format `%s' (%s)", fmt, tbuf); in file_vprintf()
148 len = vspprintf(&buf, 0, fmt, ap); in file_vprintf()
170 file_printf(struct magic_set *ms, const char *fmt, ...) in file_printf() argument
175 va_start(ap, fmt); in file_printf()
176 rv = file_vprintf(ms, fmt, ap); in file_printf()
H A Dis_csv.c47 #define DPRINTF(fmt, ...) printf(fmt, __VA_ARGS__) argument
49 #define DPRINTF(fmt, ...)
H A Dis_simh.c53 #define DPRINTF(fmt, ...) printf(fmt, __VA_ARGS__) argument
55 #define DPRINTF(fmt, ...)
H A Dsoftmagic.c490 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/fileinfo/tests/
H A Dmagic6296 >28 string fmt\x20
11346 # by DROID x-fmt/368 "VisiCalc Database"
27894 !:ext fmt/fj3
33673 # try to find "fmt "
33675 >0 string fmt\x20
34381 >40 search/256 fmt\x20 \b
38746 # Note: called "Outlook Express Database" by TrID and DROID via PUID fmt/838 fmt/839
38749 # skip DROID fmt-838-signature-id-1193.dbx fmt-839-signature-id-1194.dbx by check for valid file si…
39231 # skip DROID x-fmt-75-signature-id-472.pab x-fmt-248-signature-id-260.pst x-fmt-249-signature-id-26…
39250 # by DROID via x-fmt/248 for ANSI and via x-fmt/249 for Unicode
[all …]
H A Dmagic私はガラスを食べられます6296 >28 string fmt\x20
11346 # by DROID x-fmt/368 "VisiCalc Database"
27894 !:ext fmt/fj3
33673 # try to find "fmt "
33675 >0 string fmt\x20
34381 >40 search/256 fmt\x20 \b
38746 # Note: called "Outlook Express Database" by TrID and DROID via PUID fmt/838 fmt/839
38749 # skip DROID fmt-838-signature-id-1193.dbx fmt-839-signature-id-1194.dbx by check for valid file si…
39231 # skip DROID x-fmt-75-signature-id-472.pab x-fmt-248-signature-id-260.pst x-fmt-249-signature-id-26…
39250 # by DROID via x-fmt/248 for ANSI and via x-fmt/249 for Unicode
[all …]
/php-src/ext/gd/libgd/
H A Dgd.h663 void gdImageGd2(gdImagePtr im, FILE *out, int cs, int fmt);
673 void* gdImageGd2Ptr(gdImagePtr im, int cs, int fmt, int *size);
H A Dgd_gd2.c35 #define gd2_compressed(fmt) (((fmt) == GD2_FMT_COMPRESSED) || ((fmt) == GD2_FMT_TRUECOLOR_COMPRESSE… argument
36 #define gd2_truecolor(fmt) (((fmt) == GD2_FMT_TRUECOLOR_RAW) || ((fmt) == GD2_FMT_TRUECOLOR_COMPRES… argument
122 …if ((*fmt != GD2_FMT_RAW) && (*fmt != GD2_FMT_COMPRESSED) && (*fmt != GD2_FMT_TRUECOLOR_RAW) && (* in _gd2GetHeader()
139 if (gd2_compressed(*fmt)) { in _gd2GetHeader()
192 if (gd2_truecolor(*fmt)) { in _gd2CreateFromFile()
273 int vers, fmt; in gdImageCreateFromGd2Ctx() local
443 int vers, fmt; in gdImageCreateFromGd2PartCtx() local
470 if (gd2_truecolor(fmt)) { in gdImageCreateFromGd2PartCtx()
659 gdPutWord(fmt, out); in _gd2PutHeader()
681 if ((fmt != GD2_FMT_RAW) && (fmt != GD2_FMT_COMPRESSED)) { in _gdImageGd2()
[all …]
H A Dpngtogd2.c16 int cs, fmt; in main() local
46 fmt = atoi (argv[4]); in main()
47 gdImageGd2 (im, out, cs, fmt); in main()
/php-src/ext/intl/formatter/
H A Dformatter_functions_arginfo.h10 ZEND_ARG_OBJ_INFO(0, fmt, NumberFormatter, 0)
16 ZEND_ARG_OBJ_INFO(0, fmt, NumberFormatter, 0)
23 ZEND_ARG_OBJ_INFO(0, fmt, NumberFormatter, 0)
29 ZEND_ARG_OBJ_INFO(0, fmt, NumberFormatter, 0)
36 ZEND_ARG_OBJ_INFO(0, fmt, NumberFormatter, 0)
42 ZEND_ARG_OBJ_INFO(0, fmt, NumberFormatter, 0)
47 ZEND_ARG_OBJ_INFO(0, fmt, NumberFormatter, 0)
53 ZEND_ARG_OBJ_INFO(0, fmt, NumberFormatter, 0)
62 ZEND_ARG_OBJ_INFO(0, fmt, NumberFormatter, 0)
67 ZEND_ARG_OBJ_INFO(0, fmt, NumberFormatter, 0)
[all …]
/php-src/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp78 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()
H A Dmsgformat_helpers.h18 int32_t umsg_format_arg_count(UMessageFormat *fmt);
21 void umsg_parse_helper(UMessageFormat *fmt, int *count, zval **args,
/php-src/ext/intl/tests/
H A Dbug14562.phpt12 $fmt = new NumberFormatter("de", NumberFormatter::DECIMAL );
13 $numeric = $fmt->parse("1234,56");
16 $fmt = new NumberFormatter("de", NumberFormatter::DECIMAL );
17 $numeric = $fmt->parse("1234,56");
H A Dbug50590.phpt10 $fmt = new IntlDateFormatter("en_US", IntlDateFormatter::FULL, IntlDateFormatter::FULL);
11 var_dump($fmt->parse("Wednesday, January 20, 2038 3:14:07 AM GMT"));
H A Dbug53735.phpt10 $fmt = numfmt_create("da_DK", \NumberFormatter::CURRENCY);
12 var_dump(numfmt_format($fmt, 5.5));
15 var_dump(numfmt_format($fmt, 5.5));
18 $fmt = new \NumberFormatter("de_DE", \NumberFormatter::DECIMAL);
19 var_dump($fmt->format(23.25));
H A Dbug67052-win32.phpt17 $fmt = new NumberFormatter( 'sl_SI.UTF-8', NumberFormatter::DECIMAL);
19 $res_str = $fmt->parse($num)."\n";
H A Dbug67052.phpt22 $fmt = new NumberFormatter( 'sl_SI.UTF-8', NumberFormatter::DECIMAL);
24 $res_str = $fmt->parse($num)."\n";
H A Dbug81019.phpt8 $fmt = new NumberFormatter('en_US', NumberFormatter::DECIMAL);
9 $fmt->parse('abc');
10 $fmt2 = clone $fmt;
H A Ddateformat_clone2.phpt14 $fmt = ut_datefmt_create( "en-US", IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/New_…
16 $formatted = ut_datefmt_format($fmt,0);
19 $fmt_clone = clone $fmt;
20 ut_datefmt_set_pattern( $fmt , 'yyyy-DDD.hh:mm:ss z' );
22 $formatted = ut_datefmt_format($fmt,0);
H A Ddateformat_create_default.phpt13 $fmt = IntlDateFormatter::create('en_US');
14 echo $fmt->format($ts), "\n";
16 $fmt = new IntlDateFormatter('en_US');
17 echo $fmt->format($ts), "\n";
19 $fmt = datefmt_create('en_US');
20 echo $fmt->format($ts), "\n";

Completed in 215 milliseconds

12345