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

/PHP_5_4/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_5_4/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.h515 void gdImageGd2(gdImagePtr im, FILE *out, int cs, int fmt);
525 void* gdImageGd2Ptr(gdImagePtr im, int cs, int fmt, int *size);
/PHP_5_4/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_5_4/ext/sqlite3/libsqlite/
H A Dsqlite3.c19003 ** fmt This is the format string, as in the usual print.
19019 const char *fmt, /* Format string */
19055 for(; (c=(*fmt))!=0; ++fmt){
19058 bufpt = (char *)fmt;
19060 while( (c=(*++fmt))!='%' && c!=0 ) amt++;
19064 if( (c=(*++fmt))==0 ){
19082 }while( !done && (c=(*++fmt))!=0 );
19091 c = *++fmt;
19095 c = *++fmt;
19016 sqlite3VXPrintf( StrAccum *pAccum, int useExtended, const char *fmt, va_list ap ) argument
[all...]
/PHP_5_4/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp51 U_CFUNC int32_t umsg_format_arg_count(UMessageFormat *fmt) argument
54 MessageFormatAdapter::getArgTypeList(*(const MessageFormat*)fmt, fmt_count);
58 U_CFUNC void umsg_format_helper(UMessageFormat *fmt, int arg_count, zval **args, UChar **formatted, int *formatted_len, UErrorCode *status TSRMLS_DC) argument
62 MessageFormatAdapter::getArgTypeList(*(const MessageFormat*)fmt, fmt_count);
122 ((const MessageFormat*)fmt)->format(fargs, fmt_count, resultStr, fieldPosition, *status);
137 U_CFUNC void umsg_parse_helper(UMessageFormat *fmt, int *count, zval ***args, UChar *source, int source_len, UErrorCode *status) argument
140 Formattable *fargs = ((const MessageFormat*)fmt)->parse(srcString, *count, *status);
H A Dmsgformat_helpers.h20 int32_t umsg_format_arg_count(UMessageFormat *fmt);
21 void umsg_format_helper(UMessageFormat *fmt, int arg_count, zval **args,
23 void umsg_parse_helper(UMessageFormat *fmt, int *count, zval ***args,
/PHP_5_4/ext/mbstring/oniguruma/
H A Dregerror.c302 UChar* pat, UChar* pat_end, const UChar *fmt, ...)
304 onig_snprintf_with_pattern(buf, bufsize, enc, pat, pat_end, fmt, va_alist)
310 const UChar *fmt;
319 va_init_list(args, fmt);
320 n = vsnprintf((char* )buf, bufsize, (const char* )fmt, args);
301 onig_snprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, UChar* pat, UChar* pat_end, const UChar *fmt, ...) argument
H A Dregint.h821 extern void onig_snprintf_with_pattern PV_((UChar buf[], int bufsize, OnigEncoding enc, UChar* pat, UChar* pat_end, const UChar *fmt, ...));
/PHP_5_4/main/
H A Dphp_ini.c550 const char *fmt = "php-%s.ini"; local
552 spprintf(&ini_fname, 0, fmt, sapi_module.name);
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...]
H A Dphp_streams.h308 PHPAPI size_t _php_stream_printf(php_stream *stream TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
310 PHPAPI size_t _php_stream_printf(php_stream *stream TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3);
570 PHPAPI void php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 4, 5);
572 PHPAPI void php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options TSRMLS_DC, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
/PHP_5_4/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);
1253 PHPAPI size_t _php_stream_printf(php_stream *stream TSRMLS_DC, const char *fmt, ...) argument
1259 va_start(ap, fmt);
1260 count = vspprintf(&buf, 0, fmt, ap);
/PHP_5_4/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_5_4/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_5_4/ext/fileinfo/libmagic/
H A Dfuncs.c59 file_printf(struct magic_set *ms, const char *fmt, ...) argument
65 va_start(ap, fmt);
66 len = vspprintf(&buf, 0, fmt, ap);
/PHP_5_4/ext/interbase/
H A Dphp_ibase_udf.c217 char const *fmt; local
/PHP_5_4/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_5_4/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);

Completed in 192 milliseconds