Searched refs:fmt (Results 1 - 25 of 28) sorted by relevance

12

/PHP_TRUNK/sapi/fpm/fpm/
H A Dzlog.c101 void zlog_ex(const char *function, int line, int flags, const char *fmt, ...) /* {{{ */ argument
112 va_start(args, fmt);
113 len = vsnprintf(buf, buf_size, fmt, args);
160 va_start(args, fmt);
161 len += vsnprintf(buf + len, buf_size - len, fmt, args);
H A Dzlog.h20 void zlog_ex(const char *function, int line, int flags, const char *fmt, ...)
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_gd2.c34 #define gd2_compressed(fmt) (((fmt) == GD2_FMT_COMPRESSED) || ((fmt) == GD2_FMT_TRUECOLOR_COMPRESSED))
35 #define gd2_truecolor(fmt) (((fmt) == GD2_FMT_TRUECOLOR_RAW) || ((fmt) == GD2_FMT_TRUECOLOR_COMPRESSED))
54 static int _gd2GetHeader(gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** chunkIdx) argument
116 if (gdGetWord(fmt, in) != 1) {
119 GD2_DBG(php_gd_error("Format: %d", *fmt));
121 if ((*fmt !
165 _gd2CreateFromFile(gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** cidx) argument
255 int vers, fmt; local
421 int vers, fmt; local
622 _gd2PutHeader(gdImagePtr im, gdIOCtx * out, int cs, int fmt, int cx, int cy) argument
642 _gdImageGd2(gdImagePtr im, gdIOCtx * out, int cs, int fmt) argument
810 gdImageGd2(gdImagePtr im, FILE * outFile, int cs, int fmt) argument
819 gdImageGd2Ptr(gdImagePtr im, int cs, int fmt, int *size) argument
[all...]
H A Dpngtogd2.c16 int cs, fmt; local
20 fprintf (stderr, "Usage: pngtogd2 filename.png filename.gd2 cs fmt\n");
22 fprintf (stderr, " fmt is 1 for raw, 2 for compressed\n");
46 fmt = atoi (argv[4]);
47 gdImageGd2 (im, out, cs, fmt);
H A Dgd.h635 void gdImageGd2(gdImagePtr im, FILE *out, int cs, int fmt);
645 void* gdImageGd2Ptr(gdImagePtr im, int cs, int fmt, int *size);
/PHP_TRUNK/ext/intl/doc/
H A Ddatefmt_api.php267 * @param DateFormatter $fmt The date formatter resource
273 function datefmt_format($fmt , $value) {}
282 * @param DateFormatter $fmt The date formatter resource
289 function datefmt_parse($fmt , $value, $parse_pos=0) {}
298 * @param DateFormatter $fmt The date formatter resource
305 function datefmt_localtime($fmt , $value, $parse_pos=0) {}
310 * @param DateFormatter $fmt The date formatter resource
313 function datefmt_get_datetype($fmt ) {}
318 * @param DateFormatter $fmt The date formatter resource
321 function datefmt_get_timetype($fmt) {}
[all...]
H A Dmsgfmt_api.php125 * @param MessageFormatter $fmt The message formatter
129 function msgfmt_format($fmt, $args) {}
137 * @param MessageFormatter $fmt The message formatter
142 function msgfmt_parse($fmt, $value) {}
171 * @param MessageFormatter $fmt The message formatter
174 function msgfmt_get_pattern($fmt) {}
179 * @param MessageFormatter $fmt The message formatter
183 function msgfmt_set_pattern($fmt, $pattern) {}
190 * @param MessageFormatter $fmt The message formatter
193 function msgfmt_get_error_code($fmt) {}
[all...]
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_helpers.h20 int32_t umsg_format_arg_count(UMessageFormat *fmt);
23 void umsg_parse_helper(UMessageFormat *fmt, int *count, zval ***args,
H A Dmsgformat_helpers.cpp79 U_CFUNC int32_t umsg_format_arg_count(UMessageFormat *fmt) argument
82 MessageFormatAdapter::getArgTypeList(*(const MessageFormat*)fmt, fmt_count);
639 U_CFUNC void umsg_parse_helper(UMessageFormat *fmt, int *count, zval ***args, UChar *source, int source_len, UErrorCode *status) argument
642 Formattable *fargs = ((const MessageFormat*)fmt)->parse(srcString, *count, *status);
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregerror.c318 UChar* pat, UChar* pat_end, const UChar *fmt, ...)
320 onig_snprintf_with_pattern(buf, bufsize, enc, pat, pat_end, fmt, va_alist)
326 const UChar *fmt;
335 va_init_list(args, fmt);
336 n = xvsnprintf((char* )buf, bufsize, (const char* )fmt, args);
317 onig_snprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, UChar* pat, UChar* pat_end, const UChar *fmt, ...) argument
/PHP_TRUNK/ext/sockets/
H A Dconversions.c142 const char *fmt,
167 user_msg_size = vspprintf(&user_msg, 0, fmt, ap);
181 static void do_from_zval_err(ser_context *ctx, const char *fmt, ...) argument
185 va_start(ap, fmt);
186 do_from_to_zval_err(&ctx->err, &ctx->keys, "user", fmt, ap);
190 static void do_to_zval_err(res_context *ctx, const char *fmt, ...) argument
194 va_start(ap, fmt);
195 do_from_to_zval_err(&ctx->err, &ctx->keys, "native", fmt, ap);
139 do_from_to_zval_err(struct err_s *err, zend_llist *keys, const char *what_conv, const char *fmt, va_list ap) argument
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_wrapper.c72 static inline void trace(char *fmt, ...) argument
80 va_start(ap, fmt);
81 vsnprintf(buf, sizeof(buf), fmt, ap);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_alloc.h87 #define mnd_sprintf(p, mx_len, fmt,...) mysqlnd_allocator.m_sprintf((p), (mx_len), (fmt), __VA_ARGS__)
88 #define mnd_vsprintf(p, mx_len, fmt,ap) mysqlnd_allocator.m_vsprintf((p), (mx_len), (fmt), (ap))
/PHP_TRUNK/ext/standard/
H A Dformatted_print.c209 int adjust, char fmt,
221 *buffer, pos, size, number, width, padding, alignment, fmt));
243 switch (fmt) {
251 s = php_conv_fp((fmt == 'f')?'F':fmt, number, 0, precision,
252 (fmt == 'f')?LCONV_DECIMAL_POINT:'.',
275 s = php_gcvt(number, precision, LCONV_DECIMAL_POINT, (fmt == 'G')?'E':'e', &num_buf[1]);
205 php_sprintf_appenddouble(char **buffer, int *pos, int *size, double number, int width, char padding, int alignment, int precision, int adjust, char fmt, int always_sign TSRMLS_DC) argument
H A Dinfo.c78 static int php_info_printf(const char *fmt, ...) /* {{{ */ argument
85 va_start(argv, fmt);
86 len = vspprintf(&buf, 0, fmt, argv);
/PHP_TRUNK/main/
H A Dphp_streams.h301 PHPAPI size_t _php_stream_printf(php_stream *stream TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
303 PHPAPI size_t _php_stream_printf(php_stream *stream TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3);
562 PHPAPI void php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 4, 5);
564 PHPAPI void php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
H A Dsnprintf.c582 static int format_converter(register buffy * odp, const char *fmt, va_list ap) /* {{{ */ argument
626 while (*fmt) {
627 if (*fmt != '%') {
628 INS_CHAR(*fmt, sp, bep, cc);
639 fmt++;
644 if (isascii((int)*fmt) && !islower((int)*fmt)) {
648 for (;; fmt++) {
649 if (*fmt == '-')
651 else if (*fmt
[all...]
H A Dspprintf.c198 static void xbuf_format_converter(smart_str *xbuf, const char *fmt, va_list ap) /* {{{ */ argument
234 while (*fmt) {
235 if (*fmt != '%') {
236 INS_CHAR(xbuf, *fmt);
247 fmt++;
252 if (isascii((int)*fmt) && !islower((int)*fmt)) {
256 for (;; fmt++) {
257 if (*fmt == '-')
259 else if (*fmt
[all...]
/PHP_TRUNK/main/streams/
H A Dtransports.c42 #define ERR_REPORT(out_err, fmt, arg) \
43 if (out_err) { spprintf(out_err, 0, fmt, arg); } \
44 else { php_error_docref(NULL TSRMLS_CC, E_WARNING, fmt, arg); }
46 #define ERR_RETURN(out_err, local_err, fmt) \
48 else { php_error_docref(NULL TSRMLS_CC, E_WARNING, fmt, local_err ? local_err : "Unspecified error"); \
H A Dstreams.c249 PHPAPI void php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options TSRMLS_DC, const char *fmt, ...) argument
254 va_start(args, fmt);
255 vspprintf(&buffer, 0, fmt, args);
1248 PHPAPI size_t _php_stream_printf(php_stream *stream TSRMLS_DC, const char *fmt, ...) argument
1254 va_start(ap, fmt);
1255 count = vspprintf(&buf, 0, fmt, ap);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c283 PHPDBG_API int phpdbg_rlog(FILE *fp, const char *fmt, ...) { /* {{{ */ argument
289 va_start(args, fmt);
299 &format, "[%s]: %s\n", buffer, fmt);
H A Dphpdbg_utils.h53 PHPDBG_API int phpdbg_rlog(FILE *stream, const char *fmt, ...);
55 #define phpdbg_error(fmt, ...) phpdbg_print(P_ERROR TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDOUT], fmt, ##__VA_ARGS__)
56 #define phpdbg_notice(fmt, ...) phpdbg_print(P_NOTICE TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDOUT], fmt, ##__VA_ARGS__)
57 #define phpdbg_writeln(fmt, ...) phpdbg_print(P_WRITELN TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDOUT], fmt, ##__VA_ARGS__)
58 #define phpdbg_write(fmt, ...) phpdbg_print(P_WRITE TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDOUT], fmt, ##__VA_ARGS__)
59 #define phpdbg_log(fmt,
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfuncs.c62 file_printf(struct magic_set *ms, const char *fmt, ...) argument
68 va_start(ap, fmt);
69 len = vspprintf(&buf, 0, fmt, ap);
/PHP_TRUNK/ext/interbase/
H A Dphp_ibase_udf.c217 char const *fmt; local
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_statement.c354 char *fmt; local
386 fmt = S->H->date_format ? S->H->date_format : PDO_FB_DEF_DATE_FMT;
390 fmt = S->H->time_format ? S->H->time_format : PDO_FB_DEF_TIME_FMT;
394 fmt = S->H->timestamp_format ? S->H->timestamp_format : PDO_FB_DEF_TIMESTAMP_FMT;
399 *len = strftime(*ptr, *len, fmt, &t);

Completed in 51 milliseconds

12