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/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/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/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/intl/msgformat/
H A Dmsgformat_helpers.cpp79 U_CFUNC int32_t umsg_format_arg_count(UMessageFormat *fmt) argument
82 MessageFormatAdapter::getArgTypeList(*(const MessageFormat*)fmt, fmt_count);
631 U_CFUNC void umsg_parse_helper(UMessageFormat *fmt, int *count, zval **args, UChar *source, int source_len, UErrorCode *status) argument
634 Formattable *fargs = ((const MessageFormat*)fmt)->parse(srcString, *count, *status);
H A Dmsgformat_helpers.h20 int32_t umsg_format_arg_count(UMessageFormat *fmt);
23 void umsg_parse_helper(UMessageFormat *fmt, int *count, zval **args,
/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/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);
/PHP_TRUNK/main/
H A Dphp_ini.c562 const char *fmt = "php-%s.ini"; local
564 spprintf(&ini_fname, 0, fmt, sapi_module.name);
H A Dspprintf.c198 static void xbuf_format_converter(void *xbuf, zend_bool is_char, const char *fmt, va_list ap) /* {{{ */ argument
235 while (*fmt) {
236 if (*fmt != '%') {
237 INS_CHAR(xbuf, *fmt, is_char);
248 fmt++;
253 if (isascii((int)*fmt) && !islower((int)*fmt)) {
257 for (;; fmt++) {
258 if (*fmt == '-')
260 else if (*fmt
[all...]
H A Dphp_streams.h299 PHPAPI size_t _php_stream_printf(php_stream *stream TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
301 PHPAPI size_t _php_stream_printf(php_stream *stream TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3);
560 PHPAPI void php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 4, 5);
562 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
627 while (*fmt) {
628 if (*fmt != '%') {
629 INS_CHAR(*fmt, sp, bep, cc);
640 fmt++;
645 if (isascii((int)*fmt) && !islower((int)*fmt)) {
649 for (;; fmt++) {
650 if (*fmt == '-')
652 else if (*fmt
[all...]
/PHP_TRUNK/ext/interbase/
H A Dphp_ibase_udf.c213 char const *fmt; local
/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/main/streams/
H A Dstreams.c250 PHPAPI void php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options TSRMLS_DC, const char *fmt, ...) argument
255 va_start(args, fmt);
256 vspprintf(&buffer, 0, fmt, args);
1252 PHPAPI size_t _php_stream_printf(php_stream *stream TSRMLS_DC, const char *fmt, ...) argument
1258 va_start(ap, fmt);
1259 count = vspprintf(&buf, 0, fmt, ap);
H A Dtransports.c42 #define ERR_REPORT(out_err, fmt, arg) \
43 if (out_err) { *out_err = strpprintf(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->val : "Unspecified error"); \
/PHP_TRUNK/ext/standard/
H A Dformatted_print.c205 int adjust, char fmt,
218 *buffer, pos, &(*buffer)->len, number, width, padding, alignment, fmt));
240 switch (fmt) {
248 s = php_conv_fp((fmt == 'f')?'F':fmt, number, 0, precision,
249 (fmt == 'f')?LCONV_DECIMAL_POINT:'.',
272 s = php_gcvt(number, precision, LCONV_DECIMAL_POINT, (fmt == 'G')?'E':'e', &num_buf[1]);
201 php_sprintf_appenddouble(zend_string **buffer, size_t *pos, double number, size_t width, char padding, size_t alignment, int precision, int adjust, char fmt, int always_sign TSRMLS_DC) argument
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_out.c132 static int format_converter(register buffy *odp, const char *fmt, zend_bool escape_xml, va_list ap TSRMLS_DC) { argument
176 while (*fmt) {
177 if (*fmt != '%') {
178 INS_CHAR(*fmt, sp, bep, cc);
189 fmt++;
194 if (isascii((int)*fmt) && !islower((int)*fmt)) {
198 for (;; fmt++) {
199 if (*fmt == '-')
201 else if (*fmt
1197 phpdbg_xml_internal(int fd TSRMLS_DC, const char *fmt, ...) argument
1223 phpdbg_log_internal(int fd TSRMLS_DC, const char *fmt, ...) argument
1239 phpdbg_out_internal(int fd TSRMLS_DC, const char *fmt, ...) argument
1274 phpdbg_rlog_internal(int fd TSRMLS_DC, const char *fmt, ...) argument
[all...]
H A Dphpdbg_out.h39 PHPDBG_API int phpdbg_xml_internal(int fd TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
40 PHPDBG_API int phpdbg_log_internal(int fd TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
41 PHPDBG_API int phpdbg_out_internal(int fd TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
42 PHPDBG_API int phpdbg_rlog_internal(int fd TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
45 PHPDBG_API int phpdbg_xml_internal(int fd, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3);
46 PHPDBG_API int phpdbg_log_internal(int fd, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3);
47 PHPDBG_API int phpdbg_out_internal(int fd, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3);
48 PHPDBG_API int phpdbg_rlog_internal(int fd, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3);
56 #define phpdbg_script(type, fmt, ...) phpdbg_print(type TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDOUT].fd, NULL, NULL, fmt, ##__VA_ARGS_
[all...]

Completed in 38 milliseconds

12