Lines Matching defs:it
121 * The '...' can be nothing at all (e.g. "%h %u %r %s %b"), or it can
122 * indicate conditions for inclusion of the item (which will cause it
127 * it, but it is difficult to see how to "do the right thing" with all
140 * If it doesn't have its own LogFormat, it inherits from the main
141 * server. If it doesn't have its own TransferLog, it writes to the
211 * because it's probably a good guess as to what is implemented correctly
250 * set to a opaque structure (usually a fd) after it is opened.
772 * and store it in the cache
896 static char *parse_log_misc_string(apr_pool_t *p, log_format_item *it,
902 it->func = constant_item;
903 it->conditions = NULL;
913 it->arg = apr_palloc(p, s - *sa + 1);
915 d = it->arg;
945 * fashion so that it handles end of string etc.
958 static char *parse_log_item(apr_pool_t *p, log_format_item *it, const char **sa)
964 return parse_log_misc_string(p, it, sa);
968 it->condition_sense = 0;
969 it->conditions = NULL;
972 it->arg = "%";
973 it->func = constant_item;
979 it->want_orig = -1;
980 it->arg = ""; /* For safety's sake... */
988 it->condition_sense = !it->condition_sense;
993 it->want_orig = 1;
998 it->want_orig = 0;
1007 it->arg = ap_getword(p, &s, '}');
1024 if (!it->conditions) {
1025 it->conditions = apr_array_make(p, 4, sizeof(int));
1027 *(int *) apr_array_push(it->conditions) = i;
1049 it->func = handler->func;
1050 if (it->want_orig == -1) {
1051 it->want_orig = handler->want_orig_default;
1108 /* We do. Do it... */
1293 * format. This syntax just defines the nickname - it doesn't actually
1429 return cls; /* Leave it NULL to decline. */
1890 * We don't need to check mls->server_config_logs because it just