Lines Matching defs:fmt
669 char *fmt = a;
671 if (fmt && *fmt) {
672 if (!strncmp(fmt, "begin", 5)) {
673 fmt += 5;
674 if (!*fmt) {
677 else if (*fmt == ':') {
678 fmt++;
679 a = fmt;
682 else if (!strncmp(fmt, "end", 3)) {
683 fmt += 3;
684 if (!*fmt) {
688 else if (*fmt == ':') {
689 fmt++;
690 a = fmt;
694 if (!strncmp(fmt, "msec", 4)) {
695 fmt += 4;
696 if (!*fmt) {
699 else if (!strcmp(fmt, "_frac")) {
703 else if (!strncmp(fmt, "usec", 4)) {
704 fmt += 4;
705 if (!*fmt) {
708 else if (!strcmp(fmt, "_frac")) {
712 else if (!strcmp(fmt, "sec")) {
715 else if (!*fmt) {
1284 static const char *log_format(cmd_parms *cmd, void *dummy, const char *fmt,
1297 parse_log_string(cmd->pool, fmt, &err_string);
1299 apr_table_setn(mls->formats, name, fmt);
1303 mls->default_format_string = fmt;
1304 mls->default_format = parse_log_string(cmd->pool, fmt, &err_string);
1311 const char *fmt, const char *envclause)
1345 cls->format_string = fmt;
1347 if (fmt == NULL) {
1351 cls->format = parse_log_string(cmd->pool, fmt, &err_string);
1359 const char *fmt, const char *envclause) {
1373 ret = add_custom_log(cmd, dummy, fn, fmt, envclause);