Lines Matching refs:format
107 char format[129]; in fpm_log_write() local
160 memset(format, '\0', sizeof(format)); /* reset format */ in fpm_log_write()
177 if (format[0] == '\0' || !strcasecmp(format, "total")) { in fpm_log_write()
181 } else if (!strcasecmp(format, "user")) { in fpm_log_write()
185 } else if (!strcasecmp(format, "system")) { in fpm_log_write()
190 …WARNING, "only 'total', 'user' or 'system' are allowed as a modifier for %%%c ('%s')", *s, format); in fpm_log_write()
194 format[0] = '\0'; in fpm_log_write()
203 if (format[0] == '\0' || !strcasecmp(format, "seconds")) { in fpm_log_write()
209 } else if (!strcasecmp(format, "miliseconds") || !strcasecmp(format, "mili")) { in fpm_log_write()
215 } else if (!strcasecmp(format, "microseconds") || !strcasecmp(format, "micro")) { in fpm_log_write()
221 …, 'miliseconds', 'micro' or 'microseconds' are allowed as a modifier for %%%c ('%s')", *s, format); in fpm_log_write()
224 format[0] = '\0'; in fpm_log_write()
228 if (format[0] == '\0') { in fpm_log_write()
234 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format)); in fpm_log_write()
237 format[0] = '\0'; in fpm_log_write()
260 if (format[0] == '\0' || !strcasecmp(format, "bytes")) { in fpm_log_write()
266 } else if (!strcasecmp(format, "kilobytes") || !strcasecmp(format, "kilo")) { in fpm_log_write()
272 } else if (!strcasecmp(format, "megabytes") || !strcasecmp(format, "mega")) { in fpm_log_write()
278 …'kilo', 'kilobytes', 'mega' or 'megabytes' are allowed as a modifier for %%%c ('%s')", *s, format); in fpm_log_write()
281 format[0] = '\0'; in fpm_log_write()
291 if (format[0] == '\0') { in fpm_log_write()
299 size_t format_len = strlen(format); in fpm_log_write()
308 if (!strstr(h->header, format)) { in fpm_log_write()
335 format[0] = '\0'; in fpm_log_write()
390 if (format[0] == '\0') { in fpm_log_write()
393 strftime(tmp, sizeof(tmp) - 1, format, localtime(t)); in fpm_log_write()
397 format[0] = '\0'; in fpm_log_write()
418 if (l >= sizeof(format) - 1) { in fpm_log_write()
419 l = sizeof(format) - 1; in fpm_log_write()
422 memcpy(format, start, l); in fpm_log_write()
423 format[l] = '\0'; in fpm_log_write()
440 if (*s != '}' && format[0] != '\0') { in fpm_log_write()