Lines Matching refs:format

109 	char format[129];  in fpm_log_write()  local
162 memset(format, '\0', sizeof(format)); /* reset format */ in fpm_log_write()
179 if (format[0] == '\0' || !strcasecmp(format, "total")) { in fpm_log_write()
183 } else if (!strcasecmp(format, "user")) { in fpm_log_write()
187 } else if (!strcasecmp(format, "system")) { in fpm_log_write()
192 …WARNING, "only 'total', 'user' or 'system' are allowed as a modifier for %%%c ('%s')", *s, format); in fpm_log_write()
196 format[0] = '\0'; in fpm_log_write()
205 if (format[0] == '\0' || !strcasecmp(format, "seconds")) { in fpm_log_write()
211 } else if (!strcasecmp(format, "miliseconds") || !strcasecmp(format, "mili")) { in fpm_log_write()
217 } else if (!strcasecmp(format, "microseconds") || !strcasecmp(format, "micro")) { in fpm_log_write()
223 …, 'miliseconds', 'micro' or 'microseconds' are allowed as a modifier for %%%c ('%s')", *s, format); in fpm_log_write()
226 format[0] = '\0'; in fpm_log_write()
230 if (format[0] == '\0') { in fpm_log_write()
236 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format)); in fpm_log_write()
239 format[0] = '\0'; in fpm_log_write()
262 if (format[0] == '\0' || !strcasecmp(format, "bytes")) { in fpm_log_write()
268 } else if (!strcasecmp(format, "kilobytes") || !strcasecmp(format, "kilo")) { in fpm_log_write()
274 } else if (!strcasecmp(format, "megabytes") || !strcasecmp(format, "mega")) { in fpm_log_write()
280 …'kilo', 'kilobytes', 'mega' or 'megabytes' are allowed as a modifier for %%%c ('%s')", *s, format); in fpm_log_write()
283 format[0] = '\0'; in fpm_log_write()
293 if (format[0] == '\0') { in fpm_log_write()
301 size_t format_len = strlen(format); in fpm_log_write()
310 if (!strstr(h->header, format)) { in fpm_log_write()
337 format[0] = '\0'; in fpm_log_write()
392 if (format[0] == '\0') { in fpm_log_write()
395 strftime(tmp, sizeof(tmp) - 1, format, localtime(t)); in fpm_log_write()
399 format[0] = '\0'; in fpm_log_write()
420 if (l >= sizeof(format) - 1) { in fpm_log_write()
421 l = sizeof(format) - 1; in fpm_log_write()
424 memcpy(format, start, l); in fpm_log_write()
425 format[l] = '\0'; in fpm_log_write()
442 if (*s != '}' && format[0] != '\0') { in fpm_log_write()