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

123

/PHP_5_4/sapi/fpm/fpm/
H A Dzlog.h21 __attribute__ ((format(printf,4,5)));
H A Dfpm_log.c107 char format[129]; local
160 memset(format, '\0', sizeof(format)); /* reset format */
177 if (format[0] == '\0' || !strcasecmp(format, "total")) {
181 } else if (!strcasecmp(format, "user")) {
185 } else if (!strcasecmp(format, "system")) {
190 zlog(ZLOG_WARNING, "only 'total', 'user' or 'system' are allowed as a modifier for %%%c ('%s')", *s, format);
194 format[
[all...]
/PHP_5_4/ext/gd/libgd/
H A Dgdkanji.c59 debug (const char *format,...) argument
64 va_start (args, format);
66 vfprintf (stdout, format, args);
73 error (const char *format,...) argument
79 va_start(args, format);
80 vspprintf(&tmp, 0, format, args);
H A Dxbm.c159 void gdCtxPrintf(gdIOCtx * out, const char *format, ...) argument
165 va_start(args, format);
166 len = vspprintf(&buf, 0, format, args);
/PHP_5_4/ext/intl/doc/
H A Dmsgfmt_api.php36 public function format($args) {} function
/PHP_5_4/
H A Dmakedist67 git archive --format=tar --remote=$PHPROOT refs/tags/php-$VER --prefix=php-$VER/ | (cd $MY_OLDPWD; tar xvf -) || exit 4
/PHP_5_4/ext/soap/
H A Dphp_soap.h198 #define soap_error0(severity, format) \
199 php_error(severity, "SOAP-ERROR: " format)
201 #define soap_error1(severity, format, param1) \
202 php_error(severity, "SOAP-ERROR: " format, param1)
204 #define soap_error2(severity, format, param1, param2) \
205 php_error(severity, "SOAP-ERROR: " format, param1, param2)
207 #define soap_error3(severity, format, param1, param2, param3) \
208 php_error(severity, "SOAP-ERROR: " format, param1, param2, param3)
/PHP_5_4/ext/standard/
H A Ddatetime.c53 Return date string in standard format for http headers */
81 char *strptime(const char *s, const char *format, struct tm *tm);
84 /* {{{ proto string strptime(string timestamp, string format)
90 char *format; local
95 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &ts, &ts_length, &format, &format_length) == FAILURE) {
101 unparsed_part = strptime(ts, format, &parsed_time);
H A Dpack.c61 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Type %c: integer overflow in format string", code); \
104 /* {{{ proto string pack(string format, mixed arg1 [, mixed arg2 [, mixed ...]])
105 Takes one or more arguments and packs them into a binary string according to the format argument */
111 char *format; local
128 format = Z_STRVAL_PP(argv[0]);
131 /* We have a maximum of <formatlen> format codes to deal with */
136 /* Preprocess format into formatcodes and formatargs */
138 char code = format[i++];
141 /* Handle format arguments if any */
143 char c = format[
520 char *format, *input, *formatarg, *inputarg; local
[all...]
H A Dscanf.c118 static char *BuildCharSet(CharSet *cset, char *format);
129 * This function examines a character set format specification
134 * Returns the next format position.
141 static char * BuildCharSet(CharSet *cset, char *format) argument
149 ch = format;
152 ch = ++format;
154 end = format + 1; /* verify this - cc */
170 cset->chars = (char *) safe_emalloc(sizeof(char), (end - format - 1), 0);
181 ch = format++;
185 ch = format
311 ValidateFormat(char *format, int numVars, int *totalSubs) argument
579 php_sscanf_internal( char *string, char *format, int argCount, zval ***args, int varStart, zval **return_value TSRMLS_DC) argument
[all...]
H A Dscanf.h32 /* can be caused by bad parameters or format*/
44 PHPAPI int ValidateFormat(char *format, int numVars, int *totalVars);
45 PHPAPI int php_sscanf_internal(char *string,char *format,int argCount,zval ***args,
H A Dformatted_print.c377 char *format, *result, padding; local
417 format = Z_STRVAL_PP(args[format_offset]);
427 PRINTF_DEBUG(("sprintf: format[%d]='%c'\n", inpos, format[inpos]));
429 if (format[inpos] != '%') {
430 php_sprintf_appendchar(&result, &outpos, &size, format[inpos++] TSRMLS_CC);
431 } else if (format[inpos + 1] == '%') {
435 /* starting a new format specifier, reset variables */
443 format[inpos], inpos));
444 if (isascii((int)format[inpo
[all...]
/PHP_5_4/main/
H A Dphp.h282 PHPAPI int php_printf(const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1,
286 int Debug(char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1, 2);
300 PHPAPI void php_verror(const char *docref, const char *params, int type, const char *format, va_list args TSRMLS_DC) PHP_ATTRIBUTE_FORMAT(printf, 4, 0);
308 /* PHPAPI void php_error(int type, const char *format, ...); */
309 PHPAPI void php_error_docref0(const char *docref TSRMLS_DC, int type, const char *format, ...)
311 PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1, int type, const char *format, ...)
313 PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1, const char *param2, int type, const char *format, ...)
H A Dphp_sprintf.c31 php_sprintf (char*s, const char* format, ...) argument
36 va_start (args, format);
38 ret = vsprintf (s, format, args);
H A Dsnprintf.c159 /* exponential format (e.g. 1.2345e+13) */
196 /* standard format 0. */
208 /* standard format */
302 * Convert num to its decimal format.
372 PHPAPI char * php_conv_fp(register char format, register double num, argument
383 if (format == 'F') {
385 } else { /* either e or E format */
399 if (format == 'F') {
439 if (format != 'F') {
444 *s++ = format; /* eithe
477 ap_php_conv_p2(register u_wide_int num, register int nbits, char format, char *buf_end, register int *len) argument
1192 strx_printv(int *ccp, char *buf, size_t len, const char *format, va_list ap) argument
1223 ap_php_slprintf(char *buf, size_t len, const char *format,...) argument
1239 ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap) argument
1252 ap_php_snprintf(char *buf, size_t len, const char *format,...) argument
1264 ap_php_vsnprintf(char *buf, size_t len, const char *format, va_list ap) argument
1273 ap_php_vasprintf(char **buf, const char *format, va_list ap) argument
1297 ap_php_asprintf(char **buf, const char *format, ...) argument
[all...]
H A Dsnprintf.h81 PHPAPI int ap_php_slprintf(char *buf, size_t len, const char *format,...);
82 PHPAPI int ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap);
85 PHPAPI int ap_php_vasprintf(char **buf, const char *format, va_list ap);
86 PHPAPI int ap_php_asprintf(char **buf, const char *format, ...);
87 PHPAPI int php_sprintf (char* s, const char* format, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3);
89 PHPAPI char * php_conv_fp(register char format, register double num,
159 char format, char *buf_end, register int *len);
H A Dspprintf.h40 PHPAPI int spprintf( char **pbuf, size_t max_len, const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
42 PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) PHP_ATTRIBUTE_FORMAT(printf, 3, 0);
/PHP_5_4/Zend/
H A Dzend.c48 ZEND_API int (*zend_printf)(const char *format, ...);
55 ZEND_API void (*zend_error_cb)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args);
56 int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
1005 ZEND_API void zend_error(int type, const char *format, ...) /* {{{ */ argument
1093 va_start(args, format);
1094 zend_vspprintf(&dtrace_error_buffer, 0, format, args);
1101 va_start(args, format);
1107 zend_error_cb(type, error_filename, error_lineno, format, args);
1116 zend_error_cb(type, error_filename, error_lineno, format, args);
1138 Z_STRLEN_P(z_error_message) = zend_vspprintf(&Z_STRVAL_P(z_error_message), 0, format, usr_cop
1257 zend_output_debug_string(zend_bool trigger_break, const char *format, ...) argument
[all...]
H A Dzend_exceptions.h44 ZEND_API zval * zend_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, char *format, ...);
56 int zend_spprintf(char **message, int max_len, char *format, ...);
H A Dzend_sprintf.c31 int zend_sprintf(char *buffer, const char *format, ...) argument
35 va_start(args, format);
36 vsprintf(buffer, format, args);
/PHP_5_4/ext/exif/
H A Dexif.c318 /* {{{ format description defines
319 Describes format descriptor
339 static char *exif_get_tagformat(int format) argument
341 switch(format) {
1167 char * exif_dump_data(int *dump_free, int format, int components, int length, int motorola_intel, char *value_ptr TSRMLS_DC) /* {{{ */ argument
1173 if (format == TAG_FMT_STRING) {
1176 if (format == TAG_FMT_UNDEFINED) {
1179 if (format == TAG_FMT_IFD) {
1182 if (format == TAG_FMT_SINGLE || format
1242 exif_convert_any_format(void *value, int format, int motorola_intel TSRMLS_DC) argument
1291 exif_convert_any_to_int(void *value, int format, int motorola_intel TSRMLS_DC) argument
1370 WORD format; member in struct:__anon67
1574 exif_error_docref(const char *docref EXIFERR_DC, const image_info_type *ImageInfo, int type, const char *format, ...) argument
1673 exif_iif_add_value(image_info_type *image_info, int section_index, char *name, int tag, int format, int length, void* value, int motorola_intel TSRMLS_DC) argument
1801 exif_iif_add_tag(image_info_type *image_info, int section_index, char *name, int tag, int format, size_t length, void* value TSRMLS_DC) argument
2809 int tag, format, components; local
[all...]
/PHP_5_4/ext/mysqli/
H A Dmysqli_exception.c39 void php_mysqli_throw_sql_exception(char *sqlstate, int errorno TSRMLS_DC, char *format, ...) argument
45 va_start(arg, format);
46 vspprintf(&message, 0, format, arg);
H A Dmysqli_report.c30 extern void php_mysqli_throw_sql_exception(char *sqlstate, int errorno TSRMLS_DC, char *format, ...);
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_alloc.h48 int (*m_sprintf)(char **pbuf, size_t max_len, const char *format, ...);
49 int (*m_vsprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
69 PHPAPI int _mysqlnd_sprintf(char **pbuf, size_t max_len, const char *format, ...);
71 PHPAPI int _mysqlnd_vsprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
/PHP_5_4/ext/date/
H A Dphp_date.h166 PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC);
171 PHPAPI char *php_format_date(char *format, int format_len, time_t ts, int localtime TSRMLS_DC);
183 PHPAPI int php_date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, int time_str_len, char *format, zval *timezone_object, int ctor TSRMLS_DC);

Completed in 45 milliseconds

123