Searched defs:fmt (Results 1 - 18 of 18) sorted by relevance

/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);
/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);
/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/sqlite3/libsqlite/
H A Dsqlite3.c20918 ** Render a string given by "fmt" into the StrAccum object.
20923 const char *fmt, /* Format string */
20970 for(; (c=(*fmt))!=0; ++fmt){
20972 bufpt = (char *)fmt;
20974 fmt = strchrnul(fmt, '%');
20976 do{ fmt++; }while( *fmt && *fmt !
20920 sqlite3VXPrintf( StrAccum *pAccum, u32 bFlags, const char *fmt, va_list ap ) argument
[all...]
/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/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.c213 char const *fmt; local
/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);
/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/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/standard/
H A Dformatted_print.c210 int adjust, char fmt,
227 *buffer, pos, &(*buffer)->len, number, width, padding, alignment, fmt));
249 switch (fmt) {
261 s = php_conv_fp((fmt == 'f')?'F':fmt, number, 0, precision,
262 (fmt == 'f')?LCONV_DECIMAL_POINT:'.',
289 s = php_gcvt(number, precision, LCONV_DECIMAL_POINT, (fmt == 'G')?'E':'e', &num_buf[1]);
206 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 ) argument
H A Dinfo.c77 static int php_info_printf(const char *fmt, ...) /* {{{ */ argument
83 va_start(argv, fmt);
84 len = vspprintf(&buf, 0, fmt, argv);
/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 Dsnprintf.c587 static int format_converter(register buffy * odp, const char *fmt, va_list ap) /* {{{ */ argument
636 while (*fmt) {
637 if (*fmt != '%') {
638 INS_CHAR(*fmt, sp, bep, cc);
649 fmt++;
654 if (isascii((int)*fmt) && !islower((int)*fmt)) {
658 for (;; fmt++) {
659 if (*fmt == '-')
661 else if (*fmt
[all...]
H A Dspprintf.c203 static void xbuf_format_converter(void *xbuf, zend_bool is_char, const char *fmt, va_list ap) /* {{{ */ argument
244 while (*fmt) {
245 if (*fmt != '%') {
246 INS_CHAR(xbuf, *fmt, is_char);
257 fmt++;
262 if (isascii((int)*fmt) && !islower((int)*fmt)) {
266 for (;; fmt++) {
267 if (*fmt == '-')
269 else if (*fmt
[all...]
/PHP_TRUNK/main/streams/
H A Dstreams.c250 PHPAPI void php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options, 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, const char *fmt, ...) argument
1258 va_start(ap, fmt);
1259 count = vspprintf(&buf, 0, fmt, ap);
/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) { 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
1203 phpdbg_xml_internal(int fd, const char *fmt, ...) argument
1233 phpdbg_log_internal(int fd, const char *fmt, ...) argument
1249 phpdbg_out_internal(int fd, const char *fmt, ...) argument
1288 phpdbg_rlog_internal(int fd, const char *fmt, ...) argument
[all...]

Completed in 138 milliseconds